tslib breaking changes
tslib 2.9.1 (October 30, 2026) is its newest release with breaking changes. The first: Signature changed __rewriteRelativeImportExtension. Every breaking API change we have recorded in tslib on npm: 10 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.9.1, released October 30, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
tslib 2.9.1 breaking changes
- Signature changed
__rewriteRelativeImportExtension
Was function __rewriteRelativeImportExtension(path: string, preserveJsx?: boolean): string; now function __rewriteRelativeImportExtension(path: string, preserveJsx?: boolean, extraExtensions?: {[extension: string]: string}, ignoreCase?... npmjs.com
tslib 2.8.1 breaking changes
- Behavior changed
__importStar
The __importStar helper now includes non-enumerable keys when building the namespace object, so code relying on the previous enumerable-only output may see extra properties. github.com
tslib 2.5.3 breaking changes
- Removed
tslib.es6.js
The package no longer references tslib.es6.js in its exports map, so code importing that file through the package may fail. Import the package's main entry point instead. github.com
tslib 2.5.1 breaking changes
- Behavior changed
Init hooks provided by decorators now run in reversed order to match the proposed behavior. Code that depends on the previous order should be checked. github.com
tslib 2.3.0 breaking changes
- Signature changed
__spreadArray
Was function __spreadArray(to: any[], from: any[]): any[]; now function __spreadArray(to: any[], from: any[], pack?: boolean): any[]. npmjs.com
tslib 2.2.0 breaking changes
- Signature changed
__classPrivateFieldGet
Was function __classPrivateFieldGet<T extends object, V>(receiver: T, privateMap: {has(o: T): boolean, get(o: T): V | undefined}): V; now function __classPrivateFieldGet<T extends new (...args: any[]) => unknown, V extends (...args: any[])... npmjs.com - Signature changed
__classPrivateFieldSet
Was function __classPrivateFieldSet<T extends object, V>(receiver: T, privateMap: {has(o: T): boolean, set(o: T, value: V): any}, value: V): V; now function __classPrivateFieldSet<T extends new (...args: any[]) => unknown, V>(receiver: T... npmjs.com
Older versions
2 older versions.
Show 2 older versions
tslib 2.0.1 breaking changes
- Signature changed
__exportStar
Was function __exportStar(m: any, exports: any): void; now function __exportStar(m: any, o: any): void. npmjs.com
tslib 2.0.0 breaking changes
- Behavior changed
__exportStar
The __exportStar helper now uses __createBinding, so it is incompatible with TypeScript 3.8 and older. Upgrade TypeScript to 3.9 or later. github.com - Behavior changed
__importStar
The __importStar helper now uses __createBinding, so it is incompatible with TypeScript 3.8 and older. Upgrade TypeScript to 3.9 or later. github.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.