---
title: "@wyw-in-js/processor-utils 2.0.0 Breaking Changes on npm"
description: "What each @wyw-in-js/processor-utils release removed, renamed or changed: 15 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@wyw-in-js/processor-utils
last_updated: 2026-12-04
---

# @wyw-in-js/processor-utils breaking changes

@wyw-in-js/processor-utils 2.0.0 (June 14, 2026) is its newest release with breaking changes, 14 of them. The first: CommonJS package entrypoints removed in @wyw-in-js/processor-utils 2.0.0. Every breaking API change we have recorded in @wyw-in-js/processor-utils on npm: 15 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.8.0`, released December 4, 2026. [Source repository](https://github.com/Anber/wyw-in-js)

Its 2.0.0-alpha.0 release requires Node.js 22.0.0 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.0.0-alpha.0](#v-2-0-0-alpha-0) to [2.0.0](#v-2-0-0): 14 breaking changes in 1 version.

## @wyw-in-js/processor-utils 2.0.0 breaking changes

@wyw-in-js/processor-utils 2.0.0, released June 14, 2026: 14 breaking changes.

- **Removed**  

CommonJS require() entrypoints were removed. Migrate configs and tooling to ESM using import() or .mjs files. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/processor-utils%402.0.0)
- **Renamed** `eval.resolver: "node"`  

The eval.resolver value "node" was replaced by "native", backed by oxc-resolver. [wyw-in-js.dev](https://wyw-in-js.dev/migration/v2)
- **Renamed** `evaluate`  

The top-level evaluate option was replaced by eval.strategy. Update configs to use the new option. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/processor-utils%402.0.0)
- **Behavior changed**  

Evaluation now runs through the async ESM evaluator (vm.SourceTextModule with runner RPC) instead of the previous path. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/processor-utils%402.0.0)
- **Behavior changed**  

Equivalent extracted CSS rules may be emitted in a different order, which can change cascade ties. Make precedence explicit in selectors or source structure. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/processor-utils%402.0.0)
- **Behavior changed** `eval.globals`  

Eval globals that are non-plain objects such as Date, Map, Set, or class instances are rejected. Use plain values, functions, or symbols. [wyw-in-js.dev](https://wyw-in-js.dev/migration/v2)
- **Behavior changed** `eval.require`  

require() calls during eval now follow the configured eval.require behavior (warn-and-run, error, or off). [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/processor-utils%402.0.0)
- **Behavior changed** `turbopackLoaderOptions`  

Next Turbopack rules accept only JSON-serializable loader options. Pass non-JSON config through configFile. [wyw-in-js.dev](https://wyw-in-js.dev/migration/v2)
- **Default changed** `eval.require`  

eval.require defaults to warn-and-run, which executes require() at runtime during eval. Use importOverrides or set eval.require to error or off. [wyw-in-js.dev](https://wyw-in-js.dev/migration/v2)
- **Default changed** `eval.strategy`  

The default eval.strategy is now hybrid, which tries static resolution first and falls back to the evaluator. Set execute for evaluator-only behavior. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/processor-utils%402.0.0)
- **Signature changed** `BaseProcessor.astService`  

Was protected readonly astService: typeof t & {addDefaultImport: (source: string, nameHint?: string) => Identifier; addNamedImport: (name: string, source: string, nameHint?: string) => Identifier;}; now protected readonly astService... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/processor-utils/v/2.0.0)
- **Signature changed** `BaseProcessor.constructor`  

Was constructor(params: Params, tagSource: TagSource, astService: typeof t & {addDefaultImport: (source: string, nameHint?: string) => Identifier; addNamedImport: (name: string, source: string, nameHint?: string) => Identifier;}, location... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/processor-utils/v/2.0.0)
- **Signature changed** `BaseProcessor.replacer`  

Was protected readonly replacer: (replacement: Expression | ((tagPath: NodePath) => Expression), isPure: boolean) => void; now protected readonly replacer: (replacement: Expression | ((tagPath: unknown) => Expression), isPure: boolean) =>... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/processor-utils/v/2.0.0)
- **Signature changed** `IFileContext`  

Was type IFileContext = Pick\<TransformOptions, 'root' | 'filename'>; now type IFileContext = {filename?: string | null; root?: string | null;}. [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/processor-utils/v/2.0.0)

## @wyw-in-js/processor-utils 2.0.0-alpha.0 breaking changes

@wyw-in-js/processor-utils 2.0.0-alpha.0, released June 14, 2026: 1 breaking change.

- **Behavior changed**  

WyW-in-JS packages are now ESM-only and require Node.js 22.0.0 or later. Move tooling and configs to ESM. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/processor-utils%402.0.0-alpha.0)

## Related packages

- [@wyw-in-js/transform](https://since.dev/packages/npm/@wyw-in-js/transform.md)
- [@wyw-in-js/shared](https://since.dev/packages/npm/@wyw-in-js/shared.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
