oniguruma-to-es breaking changes
oniguruma-to-es 4.3.6 (April 19, 2026) is its newest release with breaking changes. The first: Signature changed EmulatedRegExp.constructor. Every breaking API change we have recorded in oniguruma-to-es on npm: 10 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
On this page
Latest version 4.3.6, released April 19, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
oniguruma-to-es 4.3.6 breaking changes
- Signature changed
EmulatedRegExp.constructor
Was constructor(pattern: EmulatedRegExp, flags?: string) constructor(pattern: string, flags?: string, options?: EmulatedRegExpOptions); now constructor(pattern: EmulatedRegExp, flags?: string | undefined) constructor(pattern: string... npmjs.com
oniguruma-to-es 4.0.0 breaking changes
- Removed
toOnigurumaAst
The toOnigurumaAst function is gone; its functionality now lives in the oniguruma-parser library, whose AST structure has changed. npmjs.com - Behavior changed
toRegExp
toRegExp throws if its second argument is not an object or undefined, so callers passing other values must fix them. github.com - Behavior changed
toRegExpDetails
toRegExpDetails throws if its second argument is not an object or undefined, so callers passing other values must fix them. github.com
oniguruma-to-es 3.0.0 breaking changes
- Removed
EmulatedRegExp.rawArgs
The rawArgs property was removed and replaced with rawOptions. Pattern and flags are no longer needed for serialization. npmjs.com - Removed
toDetails
The toDetails function was renamed to toRegExpDetails. Update calls to use the new name. npmjs.com - Renamed
OnigurumaToEs
The browser bundle's global object was renamed to OnigurumaToEs. Browser code referencing the old global must be updated. github.com - Renamed
OnigurumaToEsOptions
The OnigurumaToEsOptions type was renamed to ToRegExpOptions. Update type references to the new name. npmjs.com - Behavior changed
EmulatedRegExp
Metadata for hidden/transfer captures is no longer embedded in the pattern and is provided via options instead. Serialized subclassed regexes have changed. github.com - Signature changed
toRegExp
Was function toRegExp(pattern: string, options?: OnigurumaToEsOptions): RegExp | EmulatedRegExp; now function toRegExp(pattern: string, options?: ToRegExpOptions): RegExp | EmulatedRegExp. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.