Packages

@peculiar/x509

3.1.0 · 27 Oct 2026MIT24.9M / weekRepositoryHomepagenpmAtom feed

Your version

Where each line stands

Plan an upgrade
  • 3.x3.1.0No known advisoryLatest line
  • 2.x2.2.0No known advisoryTo 3.1.0
  • 1.x1.14.3No known advisoryTo 3.1.0

Latest releases

All 59 releases
  1. 3.x · latest line
  2. 3.1.0

    27 Oct 2026
    • chain: add bounded path search to explicit trust anchors

    • chain: add bounded path search to explicit trust anchors

    • chain: require a limit for resource exhaustion errors

  3. 3.0.0

    27 Oct 2026

    Summary· from the note as AI read it

    Read before upgrading: 4 changes to make.

    • Breaking

      DER/BER input that continues after the encoded structure throws "Unexpected data after the ASN.1 structure: <n> trailing bytes" instead of being accepted with the extra bytes kept in rawData.

    • Breaking

      @peculiar/x509 is ESM-only and requires Node.js ^20.19.0 || >=22.12.0 (was >=20.0.0). CommonJS code can still require("@peculiar/x509") on these versions through require(esm); Node.js 20.0-20.18 and 22.0-22.11 can't. build/x509.cjs.js and build/x509.es.js are replaced by build/index.js, and deep imports are blocked by "exports". TypeScript projects compiling to CommonJS need "module": "node20" or "nodenext" (node16 fails with TS1479). build/x509.js (the browser script with the x509 global) and the unpkg/jsdelivr fields are removed; browsers use the ESM build through a bundler or esm.sh, or pin @peculiar/x509@2 for the old script. @peculiar/asn1-schema ^3.0.0 is a peer dependency and the @peculiar/asn1-* dependencies move to 3 (asn1js 4), so ASN.1 objects from asn1-schema 2 packages can't be passed in. pvtsutils is replaced by @peculiar/utils 4. The public API is unchanged and the Reflect polyfill is still required. See "Breaking Changes In v3" in the README.

  4. 2.x · maintenance
  5. 2.2.0

    15 Oct 2026
    • Don't apply fromBER limits when parsing our own DER

Dependency tracking

Know when your own dependencies move

@peculiar/x509 shipped 2 new majors in the last 12 months, among 6 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Reading releases, release notes and advisories…

Registry facts last checked 20 Nov 2026. Releases and advisories last read 20 Nov 2026.

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.