Skip to content

Move markdownlint rule deps from git pins to registry versions - #2733

Merged
chalin merged 4 commits into
docsy:mainfrom
chalin:chalin-m24-mdl-scoped-2026-0821
Aug 21, 2026
Merged

chalin merged 4 commits into
docsy:mainfrom
chalin:chalin-m24-mdl-scoped-2026-0821

Conversation

@chalin

@chalin chalin commented Aug 21, 2026 •

Copy link
Copy Markdown
Collaborator
  • Registry migration: markdownlint-rule-link-pattern now publishes as @pchalin/markdownlint-rule-link-pattern (the unscoped registry name is npm-security-held after a malicious squat and is not the project's); the version jump over the git pin is the rename release (packaging, docs, CI), with the rule source unchanged. markdownlint-rule-no-shortcut-ref-link moves to its registry version at the same pinned content.
  • Retires the GHSA-q3xp-j858-q9xf audit exception (follow-up to Fix npm audit findings and add audit gate #2725): with the unscoped name out of the manifest, the advisory no longer matches; npm audit on this branch reports 0 vulnerabilities. Audit-gate fixtures now use synthetic data.
  • Empties the git-dep allowlist: the lock check now proves no dependency bypasses the registry, and the manifest check requires registry semver specs, failing closed on non-registry spec forms.

chalin added 4 commits August 21, 2026 11:52
markdownlint-rule-link-pattern is renamed: it publishes as
@pchalin/markdownlint-rule-link-pattern (the unscoped registry name is
npm-security-held after a malicious squat and is not the project's).
With the bare name out of the manifest, advisory GHSA-q3xp-j858-q9xf no
longer matches, so its npm-audit exception is retired (audit-gate
fixtures now use synthetic data). With no git deps left, the lock
allowlist empties and the manifest check asserts none exist.
- Drops retirement history (the GHSA match, docsy#2725 lineage) from the
  audit-test comments: the commit/PR record owns it; the gate mechanism
  is stated in the file header and the code
- Replaces the git-spec denylist, which passed npm's other non-registry
  forms (owner/repo shorthand, tarball URLs, aliases); the positive
  shape fails closed on unknown bypass classes
- Extends coverage to docsy.dev/package.json
@chalin
chalin merged commit 83c5cc1 into docsy:main Aug 21, 2026
17 checks passed
@chalin
chalin deleted the chalin-m24-mdl-scoped-2026-0821 branch August 26, 2026 12:01
@chalin chalin added this to the 0.17.0 milestone Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant