@peculiar/utils breaking changes
@peculiar/utils 4.1.1 (November 16, 2026) is its newest release with breaking changes. The first: Fixes quadratic-time PEM parsing performance issue in @peculiar/utils 4.1.1. Every breaking API change we have recorded in @peculiar/utils on npm: 11 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.1.1, released November 16, 2026. Source repository
Its 3.0.1 release requires Node.js 16 or later. Node.js end of life dates.
- From 3.0.1 to 4.1.1: 6 breaking changes in 4 versions.
- From 3.0.0 to 4.1.1: 7 breaking changes in 5 versions.
@peculiar/utils 4.1.1 breaking changes
- Behavior changed
PEM parsing no longer takes quadratic time; this is a performance fix with no change users must make. github.com
@peculiar/utils 4.1.0 breaking changes
- Removed
base64url.Base64UrlDecodeOptions.__base64UrlDecodeOptionsBrand
Base64UrlDecodeOptions.__base64UrlDecodeOptionsBrand was removed in @peculiar/utils 4.1.0 npmjs.com - Signature changed
base64url.decode
Was function decode(text: string, _options?: Base64UrlDecodeOptions): Uint8Array; now function decode(text: string, options?: Base64UrlDecodeOptions): Uint8Array. npmjs.com - Signature changed
base64url.is
Was function is(text: unknown): text is string; now function is(text: unknown, options?: Base64UrlDecodeOptions): text is string. npmjs.com
@peculiar/utils 4.0.1 breaking changes
- Signature changed
TextEncoding
Was type TextEncoding = "ascii" | "utf8" | "utf16" | "utf16be" | "utf16le" | "usc2"; now type TextEncoding = "ascii" | "utf8" | "utf-8" | "utf16" | "utf16be" | "utf16le" | "usc2". npmjs.com
@peculiar/utils 4.0.0 breaking changes
- Behavior changed
The package now ships only ESM output and supports Node.js ^20.19.0 || >=22.12.0. Code that loads it with require() must switch to import and run on a supported Node.js version. github.com
@peculiar/utils 3.0.1 breaking changes
- Configuration changed
The package now declares a Node.js 16 or later engine requirement, and its build output targets Node.js 16 syntax. Users on older Node.js versions should upgrade Node.js to 16 or later. github.com
@peculiar/utils 3.0.0 breaking changes
- Removed
The build output moved from build/{cjs,esm,types}/ to flat build/*.js and .cjs entries. Only paths listed in exports are supported, so deep imports into the old build folders will break. github.com - Removed
encoding.*
Import encoding helpers from @peculiar/utils/encoding or the package root instead of the per-file ./encoding/* subpaths. github.com - Signature changed
defaultConverterRegistry
Was const defaultConverterRegistry: import("./types.js").ConverterRegistry; now const defaultConverterRegistry: ConverterRegistry. npmjs.com - Signature changed
defaultConverters
Was const defaultConverters: readonly [Converter<any, any, any>, Converter<any, any, any>, Converter<any, any, any>, Converter<any, any, any>, Converter<any, any, any>, Converter<any, any, any>, Converter<any, any, any>... npmjs.com
Related packages
- @peculiar/asn1-android
- @peculiar/asn1-cms
- @peculiar/asn1-csr
- @peculiar/asn1-ecc
- @peculiar/asn1-pfx
- @peculiar/asn1-pkcs8
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.