Skip to content

Commit 8214a48

Browse files
committed
chore(deps): bump @socketregistry/packageurl-js catalog pin to 1.4.5
The 1.4.5 publish dropped the types condition from package.json exports, leaving the package untyped under nodenext resolution. A pnpm patch restores the condition pointing at the shipped d.mts files so the cli typecheck stays green.
1 parent eff6aa1 commit 8214a48

3 files changed

Lines changed: 42 additions & 19 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
diff --git a/package.json b/package.json
2+
index 8b85785e153a1500a48ec0b081d56e223201fe7f..97fdcb882d27bfea46c87aa5bc42ae888548fb25 100644
3+
--- a/package.json
4+
+++ b/package.json
5+
@@ -23,10 +23,12 @@
6+
"exports": {
7+
".": {
8+
"source": "./src/index.mts",
9+
+ "types": "./dist/index.d.mts",
10+
"default": "./dist/index.js"
11+
},
12+
"./exists": {
13+
"source": "./src/exists.mts",
14+
+ "types": "./dist/exists.d.mts",
15+
"default": "./dist/exists.js"
16+
}
17+
},

pnpm-lock.yaml

Lines changed: 18 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ catalog:
6565
'@socketregistry/hyrious__bun.lockb': 1.0.19
6666
'@socketregistry/indent-string': 1.0.14
6767
'@socketregistry/is-interactive': 1.0.6
68-
'@socketregistry/packageurl-js': 1.4.4
68+
'@socketregistry/packageurl-js': 1.4.5
6969
'@socketsecurity/lib': 6.2.2
7070
'@types/shell-quote': 1.7.5
7171
'@ultrathink/acorn.wasm': npm:@ultrathink/acorn-wasm@0.0.1
@@ -76,7 +76,7 @@ catalog:
7676
# code resolves to the published catalog version regardless of where
7777
# the importing file lives. See socket-wheelhouse@92cd3e3 for the
7878
# full rationale.
79-
'@socketregistry/packageurl-js-stable': 'npm:@socketregistry/packageurl-js@1.4.4'
79+
'@socketregistry/packageurl-js-stable': 'npm:@socketregistry/packageurl-js@1.4.5'
8080
'@socketregistry/yocto-spinner': 1.0.25
8181
'@socketsecurity/lib-stable': 'npm:@socketsecurity/lib@6.2.2'
8282
'@socketsecurity/registry': 'npm:@socketsecurity/registry@2.0.2'
@@ -423,6 +423,11 @@ patchedDependencies:
423423
# bundle loads on node-smol SEA builds, which ship without http2. Consumer:
424424
# packages/cli SEA binary.
425425
'@sigstore/sign@4.1.0': patches/@sigstore__sign@4.1.0.patch
426+
# The 1.4.5 publish dropped the "types" condition from package.json exports,
427+
# so tsc under nodenext resolves the package as untyped any. Restores the
428+
# types condition pointing at the shipped dist/*.d.mts files. Consumer:
429+
# packages/cli typecheck via the -stable alias.
430+
'@socketregistry/packageurl-js@1.4.5': patches/@socketregistry__packageurl-js@1.4.5.patch
426431
# signal-exit is deduped to v4, which exports a named onExit instead of the
427432
# v3 default export execa calls; restores the call contract. Consumer:
428433
# packages/cli bundled npm tooling.

0 commit comments

Comments
 (0)