Commit c8c4e68
committed
chore(deps): route packageurl-js external shim through -stable + catalog
Two cleanups to align socket-lib's @socketregistry/packageurl-js
external shim with the fleet-wide stable-only catalog policy:
1. src/external/@socketregistry/packageurl-js.js: shim now does
`require('@socketregistry/packageurl-js-stable')` instead of the
canonical name. The stable alias resolves to the same npm
package version; the rename makes the dep graph match the rest
of the fleet (every other socket-lib import goes through
-stable).
2. package.json: replace the direct version pin
`"@socketregistry/packageurl-js": "1.4.2"` with the catalog
reference `"@socketregistry/packageurl-js-stable": "catalog:"`.
Same one-line consistency improvement applied to
`@socketsecurity/lib-stable` and `@socketsecurity/sdk-stable`
entries that were also direct `npm:<pkg>@<ver>` specs — all
three now resolve through `catalog:` to the same workspace-level
pin in pnpm-workspace.yaml. Centralizes version control in the
catalog block; one edit there bumps all consumers.
Verified: `pnpm install` succeeds, the shim's require resolves
correctly (`PackageURL: function`), and the operations.test.mts
suite passes (77/77, 26 skipped — pre-existing). edit.test.mts has 5
unrelated pre-existing failures from the earlier `pkgJsonToEditable`
removal (commit f3b87a3); not in scope for this change.1 parent ee9ed37 commit c8c4e68
3 files changed
Lines changed: 7 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2295 | 2295 | | |
2296 | 2296 | | |
2297 | 2297 | | |
2298 | | - | |
2299 | | - | |
| 2298 | + | |
2300 | 2299 | | |
2301 | | - | |
2302 | | - | |
| 2300 | + | |
| 2301 | + | |
2303 | 2302 | | |
2304 | 2303 | | |
2305 | 2304 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
0 commit comments