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

# @wyw-in-js/transform breaking changes

@wyw-in-js/transform 2.0.0 (June 14, 2026) is its newest release with breaking changes, 31 of them. The first: @wyw-in-js/transform 2.0.0 requires Node.js 22.0.0 or later. Every breaking API change we have recorded in @wyw-in-js/transform on npm: 35 breaking changes in 3 versions. Below, its 3 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 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): 32 breaking changes in 2 versions.

## @wyw-in-js/transform 2.0.0 breaking changes

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

- **Removed**  

The package now requires Node.js 22.0.0 or later, so older Node.js versions no longer work. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/transform%402.0.0)
- **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/transform%402.0.0)
- **Removed** `applyProcessors`  

applyProcessors was removed in @wyw-in-js/transform 2.0.0 [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Removed** `babelTransformPlugin`  

babelTransformPlugin was removed in @wyw-in-js/transform 2.0.0 [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Removed** `findIdentifiers`  

findIdentifiers was removed in @wyw-in-js/transform 2.0.0 [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Removed** `IPluginState`  

IPluginState was removed in @wyw-in-js/transform 2.0.0 [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Removed** `MissedBabelCoreTypes`  

MissedBabelCoreTypes was removed in @wyw-in-js/transform 2.0.0 [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Removed** `Module.resolveDependency`  

Module.resolveDependency was removed in @wyw-in-js/transform 2.0.0 [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Removed** `preeval`  

preeval was removed in @wyw-in-js/transform 2.0.0 [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Removed** `Services.babel`  

Services.babel was removed in @wyw-in-js/transform 2.0.0 [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Behavior changed**  

Build-time evaluation now runs through the async ESM evaluator, which changes how eval-time code runs. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/transform%402.0.0)
- **Behavior changed**  

Equivalent extracted CSS rules can be emitted in a different order, so projects relying on cascade ties should make precedence explicit. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/transform%402.0.0)
- **Behavior changed** `eval.globals`  

Non-plain object globals such as Date, Map, Set and class instances are rejected. Use plain objects, arrays, primitives, functions or symbols. [wyw-in-js.dev](https://wyw-in-js.dev/migration/v2)
- **Default changed** `eval.strategy`  

The default strategy is now hybrid, which tries static resolution first and falls back to the evaluator. Set eval.strategy to execute for the old evaluator-only behavior. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/transform%402.0.0)
- **Configuration 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)
- **Signature changed** `asyncResolveImports`  

Was function asyncResolveImports(this: IResolveImportsAction, resolve: (what: string, importer: string, stack: string\[\]) => Promise\<string | null>): AsyncScenarioForAction\<IResolveImportsAction>; now function asyncResolveImports(this... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `baseHandlers`  

Was const baseHandlers: {collect: typeof collect; evalFile: typeof evalFile; extract: typeof extract; workflow: typeof workflow; explodeReexports: typeof import("./explodeReexports").explodeReexports; getExports: typeof... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `Entrypoint.create`  

Was protected static create(services: Services, parent: ParentEntrypoint | null, name: string, only: string\[\], loadedCode: string | undefined): Entrypoint | 'loop'; now protected static create(services: Services, parent: ParentEntrypoint |... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `Entrypoint.createRoot`  

Was static createRoot(services: Services, name: string, only: string\[\], loadedCode: string | undefined): Entrypoint; now static createRoot(services: Services, name: string, only: string\[\], loadedCode: string | undefined, options?... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `EventEmitter.constructor`  

Was constructor(onEvent: OnEvent, onAction: OnAction, onEntrypointEvent: OnEntrypointEvent); now constructor(onEvent: OnEvent, onAction: OnAction, onEntrypointEvent: OnEntrypointEvent, enabled?: boolean). [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `getVisitorKeys`  

Was function getVisitorKeys\<TNode extends Node>(node: TNode): VisitorKeys\<TNode>\[\]; now function getVisitorKeys\<TNode extends AstNode>(node: TNode): VisitorKeys\<TNode>\[\]. [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `IEvaluatedEntrypoint`  

Was interface IEvaluatedEntrypoint; now interface IEvaluatedEntrypoint extends ParentEntrypoint. [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `isNode`  

Was const isNode: (obj: unknown) => obj is Node; now const isNode: (obj: unknown) => obj is AstNode. [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `Module.evaluate`  

The top-level evaluate option is replaced by eval.strategy. Move your setting to eval.strategy. [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `Module.require`  

Was require: {(id: string): unknown; ensure: () => void; resolve: (id: string) => string;}; now require: {(id: string, nonLiteral?: boolean): unknown; ensure: () => void; resolve: (id: string) => string;}. [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `parseFile`  

Was function parseFile(babel: Core, filename: string, originalCode: string, parseConfig: TransformOptions): File; now function parseFile(\_runtime: unknown, filename: string, originalCode: string): ParsedAst. [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `prepareCode`  

Was const prepareCode: (services: Services, item: Entrypoint, originalAst: File) => ReturnType\<PrepareCodeFn>; now const prepareCode: (services: Services, item: Entrypoint, originalAst: unknown | null) => ReturnType\<PrepareCodeFn>. [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `Services`  

Was type Services = {babel: Core; cache: TransformCacheCollection; emitWarning?: (message: string) => void; eventEmitter: EventEmitter; loadAndParseFn: LoadAndParseFn; log: Debugger; options: Options & {pluginOptions: StrictOptions;};}... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `TransformCacheCollection.invalidateIfChanged`  

Was invalidateIfChanged(filename: string, content: string, previousVisitedFiles?: Set\<string>, source?: 'fs' | 'loaded', changedFiles?: Set\<string>): boolean; now invalidateIfChanged(filename: string, content: string... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `VisitorKeys`  

Was type VisitorKeys\<T extends Node> = {\[K in keyof T\]: Exclude\<T\[K\], undefined> extends Node | Node\[\] | null ? K : never;}\[keyof T\] & string; now type VisitorKeys\<T extends AstNode> = {\[K in keyof T\]: Exclude\<T\[K\], undefined> extends... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)
- **Signature changed** `withDefaultServices`  

Was const withDefaultServices: ({babel, cache, emitWarning, eventEmitter, loadAndParseFn, log, options}: PartialServices) => Services; now const withDefaultServices: ({cache, emitWarning, eventEmitter, loadAndParseFn, log, options... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/transform/v/2.0.0)

## @wyw-in-js/transform 2.0.0-alpha.1 breaking changes

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

- **Renamed** `eval.resolver`  

The eval resolver mode node is renamed to native and uses oxc-resolver. Update eval.resolver values that say node. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/transform%402.0.0-alpha.1)

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

@wyw-in-js/transform 2.0.0-alpha.0, released June 14, 2026: 3 breaking changes.

- **Behavior changed**  

Inline non-serializable preset or plugin options now throw an error with migration guidance. Move function-valued options to a config file. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/transform%402.0.0-alpha.0)
- **Behavior changed** `__wywPreval`  

Unsupported values in \_\_wywPreval now fail explicitly instead of being silently converted through JSON. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/transform%402.0.0-alpha.0)
- **Default changed** `eval.require`  

require() inside eval now follows the eval.require setting, which defaults to warn-and-run. Set it to error or off to avoid runtime require during eval. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/transform%402.0.0-alpha.0)

## Related packages

- [@wyw-in-js/processor-utils](https://since.dev/packages/npm/@wyw-in-js/processor-utils.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.
