---
title: "oniguruma-to-es 4.3.6 Breaking Changes on npm | Since.dev"
description: "What each oniguruma-to-es release removed, renamed or changed: 10 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/oniguruma-to-es
last_updated: 2026-12-04
---

# 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

Latest version `4.3.6`, released April 19, 2026. [Source repository](https://github.com/slevithan/oniguruma-to-es)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [3.0.0](#v-3-0-0) to [4.3.6](#v-4-3-6): 4 breaking changes in 2 versions.

## oniguruma-to-es 4.3.6 breaking changes

oniguruma-to-es 4.3.6, released April 19, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/oniguruma-to-es/v/4.3.6)

## oniguruma-to-es 4.0.0 breaking changes

oniguruma-to-es 4.0.0, released March 7, 2025: 3 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](https://www.npmjs.com/package/oniguruma-to-es/v/4.0.0)
- **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](https://github.com/slevithan/oniguruma-to-es/releases/tag/v4.0.0)
- **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](https://github.com/slevithan/oniguruma-to-es/releases/tag/v4.0.0)

## oniguruma-to-es 3.0.0 breaking changes

oniguruma-to-es 3.0.0, released February 1, 2025: 6 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](https://www.npmjs.com/package/oniguruma-to-es/v/3.0.0)
- **Removed** `toDetails`  

The toDetails function was renamed to toRegExpDetails. Update calls to use the new name. [npmjs.com](https://www.npmjs.com/package/oniguruma-to-es/v/3.0.0)
- **Renamed** `OnigurumaToEs`  

The browser bundle's global object was renamed to OnigurumaToEs. Browser code referencing the old global must be updated. [github.com](https://github.com/slevithan/oniguruma-to-es/releases/tag/v3.0.0)
- **Renamed** `OnigurumaToEsOptions`  

The OnigurumaToEsOptions type was renamed to ToRegExpOptions. Update type references to the new name. [npmjs.com](https://www.npmjs.com/package/oniguruma-to-es/v/3.0.0)
- **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](https://github.com/slevithan/oniguruma-to-es/releases/tag/v3.0.0)
- **Signature changed** `toRegExp`  

Was function toRegExp(pattern: string, options?: OnigurumaToEsOptions): RegExp | EmulatedRegExp; now function toRegExp(pattern: string, options?: ToRegExpOptions): RegExp | EmulatedRegExp. [npmjs.com](https://www.npmjs.com/package/oniguruma-to-es/v/3.0.0)

## 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.
