@peculiar/asn1-schema
3.1.0 · 19 Nov 2026MIT37.8M / weekRepositoryHomepagenpmAtom feed
56 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 3.x · latest line
3.1.0
19 Nov 2026cms: add AES algorithm identifiers
schema: preserve precision when serializing integers
Features
cms: add AES algorithm identifiers
Bug Fixes
schema: preserve precision when serializing integers
x509-attr: omit IssuerSerial.issuerUID when not set (#196) (f6e5e6d), closes #194.
IssuerSerial.issuerUIDis now typed asUniqueIdentifier | undefinedand reads asundefinedwhen absent. WithstrictNullChecks, check forundefinedbefore accessing the value.x509-attr: use explicit tags for GeneralName in RoleSyntax and Target (#195) (4f7148e), closes #193
3.0.0
26 Oct 2026Summary· from the note as AI read it
Read before upgrading: 2 changes to make.
- Breaking
All @peculiar/asn1-* packages are ESM-only and require Node.js ^20.19.0 || >=22.12.0 (was >=14). CommonJS code can still require() them on those versions; Node.js 22.0-22.11 cannot. build/cjs, build/es2015 and build/types are replaced by build/.js and build/.d.ts, and deep imports are blocked by
exports. TypeScript projects compiling to CommonJS need "module": "node20" or "nodenext" (node16 fails with TS1479). @peculiar/asn1-schema ^3 and asn1js ^4 are now peer dependencies, and asn1js 3 objects fail the instanceof checks. tslib is no longer a dependency, and @peculiar/utils moves to ^4.1.0. The public API is unchanged. Migration notes: the "Breaking Changes In v3" section of github.com/PeculiarVentures/asn1-schema
Breaking changes
- Breaking
All @peculiar/asn1-* packages are ESM-only and require Node.js ^20.19.0 || >=22.12.0 (was >=14). CommonJS code can still require() them on those versions; Node.js 22.0-22.11 cannot. build/cjs, build/es2015 and build/types are replaced by build/.js and build/.d.ts, and deep imports are blocked by
exports. TypeScript projects compiling to CommonJS need "module": "node20" or "nodenext" (node16 fails with TS1479). @peculiar/asn1-schema ^3 and asn1js ^4 are now peer dependencies, and asn1js 3 objects fail the instanceof checks. tslib is no longer a dependency, and @peculiar/utils moves to ^4.1.0. The public API is unchanged. Migration notes: the "Breaking Changes In v3" section of github.com/PeculiarVentures/asn1-schema
- 2.x
2.11.1
25 Oct 2026x509: Preserve time during DST fallback
npm publish status
All intended npm packages were published successfully.
What's Changed
x509: Preserve time during DST fallback
2.11.0
12 Oct 2026schema: Don't apply fromBER limits when serializing ANY values
mtc: Backport uint24 proof framing and assigned OIDs to v2
npm publish status
All intended npm packages were published successfully.
What's Changed
schema: Don't apply fromBER limits when serializing ANY values
mtc: Backport uint24 proof framing and assigned OIDs to v2
2.10.0
27 Sep 2026- Removed
Remove exports field for 2.x compatibility with 2.6
npm publish status
All intended npm packages were published successfully.
What's Changed
- Removed
Remove exports field for 2.x compatibility with 2.6
2.9.5
20 Sep 2026ocsp: Tag singleRequestExtensions with [0] EXPLICIT
npm publish status
All intended npm packages were published successfully.
What's Changed
ocsp: Tag singleRequestExtensions with [0] EXPLICIT
2.9.4
20 Aug 2026schema: Use root @peculiar/utils imports
npm publish status
All intended npm packages were published successfully.
What's Changed
schema: Use root @peculiar/utils imports
2.9.3
18 Aug 2026All intended npm packages were published successfully.
2.9.2
18 Aug 2026Successfully published: 30
First manual publish required: 0
Failed automatic publish: 2
npm publish status
This release was partially published to npm.
Successfully published: 30
First manual publish required: 0
Failed automatic publish: 2
Packages that failed automatic publishing
@peculiar/asn1-mtc@2.9.2: Tarball:
.release/tarballs/peculiar-asn1-mtc-2.9.2.tgz@peculiar/asn1-mtc@2.9.2: Reason: npm publish failed.
@peculiar/asn1-tls@2.9.2: Tarball:
.release/tarballs/peculiar-asn1-tls-2.9.2.tgz@peculiar/asn1-tls@2.9.2: Reason: npm publish failed.
Manual recovery
Download the
release-artifactsartifact from this GitHub Actions run, extract it locally, and publish the relevant tarball manually:npm publish .release/tarballs/<package-file>.tgz --access public
For first-time package publication, Trusted Publisher / provenance setup may need to be configured before automated publishing can work.
2.9.0
14 Aug 20262.8.0
11 Jun 2026Add @peculiar/asn1-apple package for App Attest extension
apple: Align package metadata and docs
Expose fromBER options
npm publish status
All intended npm packages were published successfully.
What's Changed
Add @peculiar/asn1-apple package for App Attest extension
apple: Align package metadata and docs
Expose fromBER options
2.7.0
1 May 2026Yarn to npm migration
Update ESLint configuration and dependencies
Migrate testing framework from Jest to Vitest
What's Changed
Yarn to npm migration
Update ESLint configuration and dependencies
Migrate testing framework from Jest to Vitest
Add FIPS 204 ML-DSA and FIPS 205 SLH-DSA object identifiers
Modernize testing, utilities, and release workflow
2.0.1 – 2.6.036 releases without a noteShow each
- 2.6.016 Nov 2025no note
- 2.5.08 Sep 2025no note
- 2.4.016 Jul 2025no note
- 2.3.1523 Dec 2024no note
- 2.3.131 Aug 2024no note
- 2.3.817 Oct 2023no note
- 2.3.613 Mar 2023no note
- 2.3.38 Nov 2022no note
- 2.3.04 Aug 2022no note
- 2.2.024 Jun 2022no note
- 2.1.913 Jun 2022no note
- 2.1.819 May 2022no note
- 2.1.716 May 2022no note
- 2.1.612 May 2022no note
- 2.1.512 May 2022no note
- 2.1.018 Mar 2022no note
- 2.0.4410 Nov 2021no note
- 2.0.3811 Aug 2021no note
- 2.0.3721 Jul 2021no note
- 2.0.3631 May 2021no note
- 2.0.3228 Apr 2021no note
- 2.0.2921 Apr 2021no note
- 2.0.272 Dec 2020no note
- 2.0.2618 Nov 2020no note
- 2.0.253 Nov 2020no note
- 2.0.237 Oct 2020no note
- 2.0.1725 Aug 2020no note
- 2.0.1310 Aug 2020no note
- 2.0.1230 Jul 2020no note
- 2.0.1130 Jul 2020no note
- 2.0.815 Jul 2020no note
- 2.0.714 Jul 2020no note
- 2.0.51 Jun 2020no note
- 2.0.41 Jun 2020no note
- 2.0.38 May 2020no note
- 2.0.16 May 2020no note
- 1.x
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.