Skip to content

refactor(packages)!: remove isBlessedPackageName#199

Merged
John-David Dalton (jdalton) merged 1 commit into
mainfrom
jdalton/remove-blessed-package-name
Jul 11, 2026
Merged

refactor(packages)!: remove isBlessedPackageName#199
John-David Dalton (jdalton) merged 1 commit into
mainfrom
jdalton/remove-blessed-package-name

Conversation

@jdalton

Copy link
Copy Markdown
Collaborator

Socket packages no longer get special treatment in scanning/scoring — SocketDev/depscan#22597 removes the score blessing that consumed this predicate's semantics, and the helper's last importer (socket-registry's update-manifest.mts) now inlines its narrower Socket-override check (SocketDev/socket-registry#292).

  • deletes isBlessedPackageName from src/packages/validation.ts (no internal consumers; integrity.ts's "SRI-blessed" comment is about W3C hash algorithms, unrelated)
  • removes its unit-test blocks; isRegistryFetcherType/isValidPackageName coverage stays (38 tests passing)
  • the ./packages/validation export subpath stays for the two remaining functions

BREAKING CHANGE: isBlessedPackageName is no longer exported from @socketsecurity/lib/packages/validation. Land SocketDev/socket-registry#292 before publishing.

Socket packages no longer get special treatment in scanning and
scoring (SocketDev/depscan#22597); the last importer of this helper,
socket-registry's update-manifest script, now inlines its narrower
Socket-override check (SocketDev/socket-registry#292). Drop the helper
and its tests. isRegistryFetcherType and isValidPackageName keep the
./packages/validation subpath alive.

BREAKING CHANGE: isBlessedPackageName is no longer exported from
@socketsecurity/lib/packages/validation.
@jdalton John-David Dalton (jdalton) merged commit 4929b68 into main Jul 11, 2026
8 checks passed
@jdalton John-David Dalton (jdalton) deleted the jdalton/remove-blessed-package-name branch July 11, 2026 19:34
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