Skip to content

Commit ed821c8

Browse files
committed
chore(deps): update @socketsecurity/lib to 2.9.1
1 parent cd1479e commit ed821c8

File tree

16 files changed

+59
-48
lines changed

16 files changed

+59
-48
lines changed

.github/workflows/build-sea.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,11 @@ jobs:
5353
id: deps-cache-key
5454
shell: bash
5555
run: |
56+
# Include pnpm-lock.yaml to detect dependency changes (e.g., @socketsecurity/lib updates).
5657
HASH=$(find packages/bootstrap packages/socket -type f \( -name "*.mts" -o -name "*.ts" -o -name "*.mjs" -o -name "*.js" -o -name "*.json" \) ! -path "*/node_modules/*" ! -path "*/dist/*" ! -path "*/build/*" | sort | xargs sha256sum | sha256sum | cut -d' ' -f1)
57-
echo "hash=$HASH" >> $GITHUB_OUTPUT
58+
LOCK_HASH=$(sha256sum pnpm-lock.yaml | cut -d' ' -f1)
59+
COMBINED_HASH=$(echo "$HASH-$LOCK_HASH" | sha256sum | cut -d' ' -f1)
60+
echo "hash=$COMBINED_HASH" >> $GITHUB_OUTPUT
5861
5962
- name: Restore build-deps cache
6063
id: deps-cache

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@socketregistry/packageurl-js": "1.3.0",
4040
"@socketregistry/yocto-spinner": "1.0.24",
4141
"@socketsecurity/config": "3.0.1",
42-
"@socketsecurity/lib": "2.9.0",
42+
"@socketsecurity/lib": "2.9.1",
4343
"@socketsecurity/registry": "2.0.0",
4444
"@socketsecurity/sdk": "3.0.21",
4545
"@types/cmd-shim": "5.0.2",

packages/bootstrap/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@babel/types": "^7.28.5",
2323
"@socketsecurity/build-infra": "workspace:*",
2424
"@socketsecurity/cli": "workspace:*",
25-
"@socketsecurity/lib": "2.9.0",
25+
"@socketsecurity/lib": "2.9.1",
2626
"del-cli": "catalog:",
2727
"esbuild": "catalog:",
2828
"magic-string": "catalog:",

packages/bootstrap/src/shared/bootstrap-shared.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export async function downloadCli() {
134134
const result = await dlxPackage(
135135
[], // Empty args - we don't want to execute anything.
136136
{
137+
binaryName: 'socket', // @socketsecurity/cli has bin: { socket: '...' }.
137138
force: false, // Use cached version if available.
138139
package: '@socketsecurity/cli',
139140
spawnOptions: {

packages/build-infra/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"dependencies": {
2525
"@babel/parser": "catalog:",
2626
"@babel/traverse": "catalog:",
27-
"@socketsecurity/lib": "2.9.0",
27+
"@socketsecurity/lib": "2.9.1",
2828
"magic-string": "catalog:"
2929
}
3030
}

packages/codet5-models-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
},
1212
"dependencies": {
1313
"@socketsecurity/build-infra": "workspace:*",
14-
"@socketsecurity/lib": "2.9.0"
14+
"@socketsecurity/lib": "2.9.1"
1515
}
1616
}

packages/minilm-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
},
1212
"dependencies": {
1313
"@socketsecurity/build-infra": "workspace:*",
14-
"@socketsecurity/lib": "2.9.0"
14+
"@socketsecurity/lib": "2.9.1"
1515
}
1616
}

packages/node-smol-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"dependencies": {
33
"@socketsecurity/bootstrap": "workspace:*",
44
"@socketsecurity/build-infra": "workspace:*",
5-
"@socketsecurity/lib": "2.9.0"
5+
"@socketsecurity/lib": "2.9.1"
66
},
77
"description": "Custom Node.js binary builder with Socket security patches",
88
"devDependencies": {

packages/onnxruntime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
},
1616
"dependencies": {
1717
"@socketsecurity/build-infra": "workspace:*",
18-
"@socketsecurity/lib": "2.9.0"
18+
"@socketsecurity/lib": "2.9.1"
1919
}
2020
}

packages/sbom-generator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"dependencies": {
2020
"@iarna/toml": "^2.2.5",
21-
"@socketsecurity/lib": "2.9.0",
21+
"@socketsecurity/lib": "2.9.1",
2222
"@yarnpkg/parsers": "^3.0.0",
2323
"fast-xml-parser": "^4.3.2",
2424
"yaml": "^2.3.4"

0 commit comments

Comments
 (0)