Repository navigation
deps: move @peculiar/x509 to 3.x - #221
Merged
Merged
Conversation
mastacontrola
force-pushed
the
deps/x509-3
branch
from
November 24, 2026 12:43
2bfecde to
0778c85
Compare
mastacontrola
marked this pull request as ready for review
November 24, 2026 12:43
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Nov 24, 2026
mastacontrola
enabled auto-merge
November 24, 2026 12:58
3.x is ESM-only; Node 22.13+ loads it with require(). Two changes make
it load:
- 3.x no longer loads the reflect-metadata polyfill that tsyringe
needs. api/lib/x509.js loads it, then re-exports the package. Every
require site now uses that module. An eslint rule rejects a direct
require('@peculiar/x509') outside it.
- 3.x lists @peculiar/asn1-schema and asn1js as peers. npm ci
--legacy-peer-deps skips peers, so both are direct dependencies.
Refs #219.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lists each peer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mastacontrola
force-pushed
the
deps/x509-3
branch
from
November 24, 2026 13:00
0778c85 to
90663ba
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #219. Replaces Dependabot PR #215, which failed every job.
3.x is ESM-only; Node 22.13+ (fog-node's
enginesfloor) loads it withrequire(). Two other changes make it load:api/lib/x509.jsloads it, then re-exports the package. All nine require sites use that module. An eslintno-restricted-syntaxrule rejects a directrequire('@peculiar/x509')elsewhere. I checked that the rule errors on a direct require.@peculiar/asn1-schemaandasn1jsare peers of the 3.x packages.npm ci --legacy-peer-depsskips peers, so both are now direct dependencies.I generated the lockfile without
--legacy-peer-deps, the way Dependabot does, so it keeps the@popperjs/coreentry.npm ci --legacy-peer-depsinstalls it cleanly.npm test: 611 passing.It also removes the Dependabot
ignorerule that #220 added for this package.Docs: none — internal dependency change, no visible change.
🤖 Generated with Claude Code