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

# @wyw-in-js/shared breaking changes

@wyw-in-js/shared 2.0.0 (June 14, 2026) is its newest release with breaking changes, 11 of them. The first: Removed EvalRule.babelOptions. Every breaking API change we have recorded in @wyw-in-js/shared on npm: 16 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-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): 12 breaking changes in 2 versions.

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

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

- **Removed** `EvalRule.babelOptions`  

EvalRule.babelOptions was removed in @wyw-in-js/shared 2.0.0 [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/shared/v/2.0.0)
- **Removed** `StrictOptions.babelOptions`  

StrictOptions.babelOptions was removed in @wyw-in-js/shared 2.0.0 [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/shared/v/2.0.0)
- **Removed** `StrictOptions.evaluate`  

Set eval.strategy instead of the top-level evaluate option. [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/shared/v/2.0.0)
- **Behavior changed**  

Review generated CSS and make precedence explicit where cascade ties relied on source order. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/shared%402.0.0)
- **Behavior changed** `eval.globals`  

Use plain objects, arrays, primitives, functions or symbols for eval.globals values. [wyw-in-js.dev](https://wyw-in-js.dev/migration/v2)
- **Behavior changed** `turbopackLoaderOptions`  

Pass non-JSON config through configFile instead of inline options. [wyw-in-js.dev](https://wyw-in-js.dev/migration/v2)
- **Default changed** `eval.require`  

Eval-time require() warns and runs at runtime by default; set eval.require to error or off to change this. [wyw-in-js.dev](https://wyw-in-js.dev/migration/v2)
- **Default changed** `eval.strategy`  

Values are resolved statically first with evaluator fallback; use execute or static to keep the old behavior. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/shared%402.0.0)
- **Signature changed** `EvalRule`  

Was type EvalRule = {action: Evaluator | 'ignore' | string; babelOptions?: TransformOptions; test?: RegExp | ((path: string, code: string) => boolean);}; now type EvalRule = {action: Evaluator | 'ignore' | string; oxcOptions?: OxcOptions... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/shared/v/2.0.0)
- **Signature changed** `Evaluator`  

Was type Evaluator = (evalConfig: TransformOptions, ast: File, code: string, config: EvaluatorConfig, babel: Core) => \[ast: File, code: string, imports: Map\<string, string\[\]> | null, exports?: string\[\] | null\]; now type Evaluator =... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/shared/v/2.0.0)
- **Signature changed** `StrictOptions`  

Was type StrictOptions = {babelOptions: TransformOptions; classNameSlug?: string | ClassNameFn; codeRemover?: CodeRemoverOptions; conditionNames?: string\[\]; displayName: boolean; evaluate: boolean; extensions: string\[\]; features... [npmjs.com](https://www.npmjs.com/package/@wyw-in-js/shared/v/2.0.0)

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

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

- **Renamed** `eval.resolver`  

Replace the node resolver mode with native, which resolves imports with oxc-resolver. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/shared%402.0.0-alpha.1)

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

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

- **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/shared%402.0.0-alpha.0)
- **Behavior changed**  

Update Node.js to version 22 or later in CI and local development. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/shared%402.0.0-alpha.0)
- **Behavior changed** `__wywPreval`  

Values not serializable through JSON now fail explicitly rather than being silently coerced. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/shared%402.0.0-alpha.0)
- **Behavior changed** `eval.require`  

Eval-time require() now follows the eval.require setting, which can warn, error or be turned off. [github.com](https://github.com/wyw-in-js/wyw-in-js/releases/tag/%40wyw-in-js/shared%402.0.0-alpha.0)

## Related packages

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