Packages

@peculiar/asn1-schema

3.1.0 · 19 Nov 2026MIT37.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @peculiar/asn1-schema From 2.5.0 to 3.1.0

13 releases in betweennotes for 11

Reading releases, release notes and advisories…

Other targets from 2.5.0Newest 2.x2.11.1
  1. 2.5.0yours
  2. 8 releases
  3. 2.10.0breaking
  4. 2 releases
  5. 3.0.0major
  6. 3.1.0target
2+
changes to make
0
advisories fixed
4+
new
9+
fixes

Counted from 11 of 13 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking2.10.0

Release by release

  1. 3.1.0

    19 Nov 20261 new · 3 fixes
    • New

      cms: add AES algorithm identifiers

    • Fixed

      schema: preserve precision when serializing integers

    • Fixed

      x509-attr: omit IssuerSerial.issuerUID when not set (#196) (f6e5e6d), closes #194. IssuerSerial.issuerUID is now typed as UniqueIdentifier | undefined and reads as undefined when absent. With strictNullChecks, check for undefined before accessing the value.

    • Fixed

      x509-attr: use explicit tags for GeneralName in RoleSyntax and Target (#195) (4f7148e), closes #193

  2. 3.0.0

    Migration needed26 Oct 2026
    • 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

  3. 2.11.1

    25 Oct 20261 fix
    • Fixed

      x509: Preserve time during DST fallback

  4. 2.11.0

    12 Oct 20262 fixes
    • Fixed

      schema: Don't apply fromBER limits when serializing ANY values

    • Fixed

      mtc: Backport uint24 proof framing and assigned OIDs to v2

  5. 2.10.0

    Migration needed27 Sep 2026
    • Breaking

      Remove exports field for 2.x compatibility with 2.6

  6. 2.9.5

    20 Sep 20261 fix
    • Fixed

      ocsp: Tag singleRequestExtensions with [0] EXPLICIT

  7. 2.9.4

    20 Aug 20261 fix
    • Fixed

      schema: Use root @peculiar/utils imports

  8. 2.9.0 – 2.9.33 releases, nothing new or fixed; 1 without a note

11 other lines we could not sort, mostly version bumps
  • Successfully published: 30

    2.9.2
  • First manual publish required: 0

    2.9.2
  • Failed automatic publish: 2

    2.9.2
  • @peculiar/asn1-mtc@2.9.2: Tarball: .release/tarballs/peculiar-asn1-mtc-2.9.2.tgz

    2.9.2
  • @peculiar/asn1-mtc@2.9.2: Reason: npm publish failed.

    2.9.2
  • @peculiar/asn1-tls@2.9.2: Tarball: .release/tarballs/peculiar-asn1-tls-2.9.2.tgz

    2.9.2
  • @peculiar/asn1-tls@2.9.2: Reason: npm publish failed.

    2.9.2
  • Yarn to npm migration

    2.7.0
  • Update ESLint configuration and dependencies

    2.7.0
  • Migrate testing framework from Jest to Vitest

    2.7.0

14 internal lines (docs, tests, tooling) left out.

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.