• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PeculiarVentures / x509 / 40516319694
91%

Build:
DEFAULT BRANCH: master
Ran 27 Oct 2026 01:55PM UTC
Jobs 1
Files 44
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Oct 2026 01:55PM UTC coverage: 89.586%. Remained the same
40516319694

push

github

web-flow
build!: ship ESM-only output for Node.js ^20.19.0 || >=22.12.0 (#159)

* build!: ship ESM-only output for Node.js ^20.19.0 || >=22.12.0

Replace rollup, rollup-plugin-typescript2, rollup-plugin-dts, babel and
terser with tsdown. The first config is the pvtsutils one plus the
LICENSE banner and unbundle: false (one build/index.js, so the
module-level registrations stay with every export under
"sideEffects": false). The second builds the browser IIFE at the same
path as before, build/x509.js (global `x509`, every dependency bundled,
minified); unpkg and jsdelivr point at it.

tsconfig is the pvtsutils one plus lib DOM (CryptoKey, Algorithm, ...),
experimentalDecorators (tsyringe @injectable()) and
useDefineForClassFields: false (subclass fields filled by onInit() from
the base constructor; vitest gets the same semantics).
emitDecoratorMetadata is dropped: none of the @injectable() classes
declares a constructor, so tsc never emitted design:paramtypes for them
and the output is identical without it.

Dependencies: @peculiar/asn1-* 3 (asn1js 4), @peculiar/asn1-schema 3 as
a peer dependency (+ dev), tslib removed. asn1js 4 and tsdown/attw are
dev dependencies. overrides give @peculiar/webcrypto 1.x (tests only)
the same asn1-schema 3 copy; otherwise its ECDSA signing fails.

Add CONTRIBUTING.md and the README "Breaking Changes In v3" section.

BREAKING CHANGE: @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". The browser bundle build/x509.js now
targets ES2023 instead of Chrome 60. @peculiar/asn1-schema ^3.0.0 is a
peer dependency and the @peculiar/asn1-* dependencies move to 3, so ASN.1
objects from ... (continued)

799 of 961 branches covered (83.14%)

Branch coverage included in aggregate %.

1644 of 1766 relevant lines covered (93.09%)

712.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40516319694.1 27 Oct 2026 01:55PM UTC 44
89.59
GitHub Action Run
Source Files on build 40516319694
  • Tree
  • List 44
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40516319694
  • e7b6ab7f on github
  • Prev Build on master (#40500739085)
  • Next Build on master (#40517223364)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc