@peculiar/asn1-x509-attr breaking changes
@peculiar/asn1-x509-attr 3.1.0 (November 19, 2026) is its newest release with breaking changes, 4 of them. The first: Behavior changed IssuerSerial.issuerUID. Every breaking API change we have recorded in @peculiar/asn1-x509-attr on npm: 15 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.1.0, released November 19, 2026. Source repository
Its 3.0.0 release requires Node.js 20.19.0 or later. Node.js end of life dates.
@peculiar/asn1-x509-attr 3.1.0 breaking changes
- Behavior changed
IssuerSerial.issuerUID
The issuerUID field is now typed as UniqueIdentifier | undefined and is undefined when not set. Code compiled with strictNullChecks must check for undefined before using the value. github.com - Behavior changed
RoleSyntax
GeneralName values in RoleSyntax are now encoded with explicit tags, which changes the serialized output for existing data. github.com - Behavior changed
Target
GeneralName values in Target are now encoded with explicit tags, which changes the serialized output for existing data. github.com - Signature changed
IssuerSerial.issuerUID
Was issuerUID: UniqueIdentifier; now issuerUID?: UniqueIdentifier. npmjs.com
@peculiar/asn1-x509-attr 3.0.0 breaking changes
- Removed
The build/cjs, build/es2015 and build/types folders are replaced by build/*.js and build/*.d.ts. Code importing from the old folders must change. github.com - Removed
The engines field changed from >=14 to ^20.19.0 || >=22.12.0, so users must run Node.js 20.19.0 or later or 22.12.0 or later. github.com - Behavior changed
All @peculiar/asn1-* packages are now ESM-only and need Node.js ^20.19.0 or >=22.12.0. Users on older Node.js versions must upgrade their runtime. github.com - Behavior changed
Deep imports into package internals are no longer allowed because of the exports field. Users must import only the public entry points. github.com - Behavior changed
asn1js 3 objects no longer pass instanceof checks against the asn1js 4 classes. Users must use asn1js 4 objects. github.com - Behavior changed
Every package now ships ESM only, and deep imports are blocked by the exports field. CommonJS code can still require() them on supported Node.js versions. github.com - Configuration changed
@peculiar/asn1-schema ^3 and asn1js ^4 are now peer dependencies, so users must install them alongside the package. github.com - Configuration changed
TypeScript projects that compile to CommonJS must set "module" to "node20" or "nodenext" to keep working. github.com - Configuration changed
@peculiar/asn1-schema ^3 and asn1js ^4 must now be installed as peer dependencies by the user. github.com - Configuration changed
TypeScript projects compiling to CommonJS must set module to node20 or nodenext. The node16 setting fails with TS1479. github.com
And 1 more in this version. Sign up to see every change
Related packages
- @peculiar/asn1-schema
- @peculiar/asn1-pkcs9
- @peculiar/asn1-pfx
- @peculiar/asn1-cms
- @peculiar/asn1-ecc
- @peculiar/asn1-rsa
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.