socket 1.1.24 → 1.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socket",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "description": "CLI for Socket.dev",
5
5
  "homepage": "https://github.com/SocketDev/socket-cli",
6
6
  "license": "MIT AND OFL-1.1",
@@ -31,6 +31,60 @@
31
31
  "./requirements.json": "./requirements.json",
32
32
  "./translations.json": "./translations.json"
33
33
  },
34
+ "scripts": {
35
+ "build": "pnpm build:dist",
36
+ "build:dist": "pnpm build:dist:src && pnpm build:dist:types",
37
+ "build:dist:src": "run-p -c clean:dist clean:external && dotenvx -q run -f .env.local -- rollup -c .config/rollup.dist.config.mjs",
38
+ "build:dist:types": "pnpm clean:dist:types && tsgo --project tsconfig.dts.json",
39
+ "build:sea": "node src/sea/build-sea.mts",
40
+ "build:sea:internal:bootstrap": "rollup -c .config/rollup.sea.config.mjs",
41
+ "check": "pnpm check:lint && pnpm check:tsc",
42
+ "check:lint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives .",
43
+ "check:tsc": "tsgo",
44
+ "check-ci": "pnpm check:lint",
45
+ "coverage": "run-s coverage:*",
46
+ "coverage:test": "run-s test:prepare test:unit:coverage",
47
+ "coverage:type": "dotenvx -q run -f .env.local -- type-coverage --detail",
48
+ "clean": "run-p -c --aggregate-output clean:*",
49
+ "clean:cache": "del-cli '**/.cache'",
50
+ "clean:dist": "del-cli 'dist'",
51
+ "clean:dist:types": "del-cli 'dist/types'",
52
+ "clean:external": "del-cli 'external'",
53
+ "clean:node_modules": "del-cli '**/node_modules'",
54
+ "fix": "pnpm lint:fix",
55
+ "knip:dependencies": "knip --dependencies",
56
+ "knip:exports": "knip --include exports,duplicates",
57
+ "lint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .",
58
+ "lint:dist:fix": "run-s -c lint:dist:fix:*",
59
+ "lint:dist:fix:oxlint": "dotenvx -q run -f .env.dist -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./dist | dev-null",
60
+ "lint:dist:fix:biome": "dotenvx -q run -f .env.dist -- biome format --log-level=none --fix ./dist | dev-null",
61
+ "//lint:dist:fix:eslint": "dotenvx -q run -f .env.dist -- eslint --report-unused-disable-directives --quiet --fix ./dist | dev-null",
62
+ "lint:external:fix": "run-s -c lint:external:fix:*",
63
+ "lint:external:fix:oxlint": "dotenvx -q run -f .env.external -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./external | dev-null",
64
+ "lint:external:fix:biome": "dotenvx -q run -f .env.external -- biome format --log-level=none --fix ./external | dev-null",
65
+ "//lint:external:fix:eslint": "dotenvx -q run -f .env.external -- eslint --report-unused-disable-directives --quiet --fix ./external | dev-null",
66
+ "lint:fix": "run-s -c lint:fix:*",
67
+ "lint:fix:oxlint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --quiet --fix . | dev-null",
68
+ "lint:fix:biome": "dotenvx -q run -f .env.local -- biome format --log-level=none --fix . | dev-null",
69
+ "lint:fix:eslint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives --fix . | dev-null",
70
+ "lint-staged": "dotenvx -q run -f .env.local -- lint-staged",
71
+ "precommit": "dotenvx -q run -f .env.local -- lint-staged",
72
+ "prepare": "dotenvx -q run -f .env.local -- husky",
73
+ "bs": "dotenvx -q run -f .env.local -- pnpm build:dist:src; pnpm exec socket --",
74
+ "s": "dotenvx -q run -f .env.local -- pnpm exec socket --",
75
+ "test": "run-s check test:*",
76
+ "test:prepare": "dotenvx -q run -f .env.test -- pnpm build && del-cli 'test/**/node_modules'",
77
+ "test:unit": "dotenvx -q run -f .env.test -- vitest run",
78
+ "test:unit:update": "dotenvx -q run -f .env.test -- vitest run --update",
79
+ "test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --coverage",
80
+ "test-ci": "run-s test:*",
81
+ "test-pre-commit": "dotenvx -q run -f .env.precommit -- pnpm test",
82
+ "testu": "dotenvx -q run -f .env.testu -- run-s test:prepare; pnpm test:unit:update --",
83
+ "testuf": "dotenvx -q run -f .env.testu -- pnpm test:unit:update --",
84
+ "update": "run-p --aggregate-output update:**",
85
+ "update:deps": "taze",
86
+ "update:socket": "pnpm update '@socketsecurity/*' '@socketregistry/*' --latest"
87
+ },
34
88
  "devDependencies": {
35
89
  "@babel/core": "7.28.4",
36
90
  "@babel/plugin-proposal-export-default-from": "7.27.1",
@@ -39,7 +93,7 @@
39
93
  "@babel/preset-typescript": "7.27.1",
40
94
  "@babel/runtime": "7.28.4",
41
95
  "@biomejs/biome": "2.2.4",
42
- "@coana-tech/cli": "14.12.28",
96
+ "@coana-tech/cli": "14.12.51",
43
97
  "@cyclonedx/cdxgen": "11.7.0",
44
98
  "@dotenvx/dotenvx": "1.49.0",
45
99
  "@eslint/compat": "1.3.2",
@@ -67,7 +121,7 @@
67
121
  "@socketregistry/packageurl-js": "1.0.9",
68
122
  "@socketsecurity/config": "3.0.1",
69
123
  "@socketsecurity/registry": "1.1.17",
70
- "@socketsecurity/sdk": "1.4.93",
124
+ "@socketsecurity/sdk": "1.4.94",
71
125
  "@types/blessed": "0.1.25",
72
126
  "@types/cmd-shim": "5.0.2",
73
127
  "@types/js-yaml": "4.0.9",
@@ -155,6 +209,74 @@
155
209
  "pnpm lint:fix:biome -- --no-errors-on-unmatched --files-ignore-unknown=true --colors=off"
156
210
  ]
157
211
  },
212
+ "pnpm": {
213
+ "overrides": {
214
+ "@octokit/graphql": "$@octokit/graphql",
215
+ "@octokit/request-error": "$@octokit/request-error",
216
+ "@rollup/plugin-commonjs": "28.0.6",
217
+ "@socketsecurity/registry": "$@socketsecurity/registry",
218
+ "aggregate-error": "npm:@socketregistry/aggregate-error@^1.0.14",
219
+ "ansi-regex": "6.1.0",
220
+ "ansi-term": "0.0.2",
221
+ "blessed": "0.1.81",
222
+ "blessed-contrib": "4.11.0",
223
+ "brace-expansion": "2.0.2",
224
+ "bresenham": "0.0.3",
225
+ "drawille-blessed-contrib": "1.0.0",
226
+ "drawille-canvas-blessed-contrib": "0.1.3",
227
+ "es-define-property": "npm:@socketregistry/es-define-property@^1.0.7",
228
+ "es-set-tostringtag": "npm:@socketregistry/es-set-tostringtag@^1.0.9",
229
+ "function-bind": "npm:@socketregistry/function-bind@^1.0.7",
230
+ "globalthis": "npm:@socketregistry/globalthis@^1.0.7",
231
+ "gopd": "npm:@socketregistry/gopd@^1.0.7",
232
+ "graceful-fs": "4.2.11",
233
+ "has-property-descriptors": "npm:@socketregistry/has-property-descriptors@^1.0.7",
234
+ "has-proto": "npm:@socketregistry/has-proto@^1.0.7",
235
+ "has-symbols": "npm:@socketregistry/has-symbols@^1.0.7",
236
+ "has-tostringtag": "npm:@socketregistry/has-tostringtag@^1.0.7",
237
+ "hasown": "npm:@socketregistry/hasown@^1.0.7",
238
+ "indent-string": "npm:@socketregistry/indent-string@^1.0.13",
239
+ "is-core-module": "npm:@socketregistry/is-core-module@^1.0.10",
240
+ "isarray": "npm:@socketregistry/isarray@^1.0.7",
241
+ "lodash": "4.17.21",
242
+ "meow": "13.2.0",
243
+ "npm-package-arg": "$npm-package-arg",
244
+ "packageurl-js": "npm:@socketregistry/packageurl-js@^1.0.9",
245
+ "path-parse": "npm:@socketregistry/path-parse@^1.0.7",
246
+ "rollup": "4.50.1",
247
+ "safe-buffer": "npm:@socketregistry/safe-buffer@^1.0.8",
248
+ "safer-buffer": "npm:@socketregistry/safer-buffer@^1.0.9",
249
+ "semver": "$semver",
250
+ "set-function-length": "npm:@socketregistry/set-function-length@^1.0.9",
251
+ "shell-quote": "npm:shell-quote@^1.8.3",
252
+ "side-channel": "npm:@socketregistry/side-channel@^1.0.9",
253
+ "string_decoder": "0.10.31",
254
+ "tiny-colors": "$yoctocolors-cjs",
255
+ "tiny-updater": "3.5.3",
256
+ "typedarray": "npm:@socketregistry/typedarray@^1.0.7",
257
+ "undici": "6.21.3",
258
+ "vite": "7.1.5",
259
+ "xml2js": "0.6.2",
260
+ "yaml": "2.8.1",
261
+ "yargs-parser": "$yargs-parser"
262
+ },
263
+ "patchedDependencies": {
264
+ "graceful-fs@4.2.11": "patches/graceful-fs@4.2.11.patch",
265
+ "string_decoder@0.10.31": "patches/string_decoder@0.10.31.patch",
266
+ "meow@13.2.0": "patches/meow@13.2.0.patch",
267
+ "@rollup/plugin-commonjs@28.0.6": "patches/@rollup__plugin-commonjs@28.0.6.patch",
268
+ "ansi-term@0.0.2": "patches/ansi-term@0.0.2.patch",
269
+ "drawille-blessed-contrib@1.0.0": "patches/drawille-blessed-contrib@1.0.0.patch",
270
+ "drawille-canvas-blessed-contrib@0.1.3": "patches/drawille-canvas-blessed-contrib@0.1.3.patch",
271
+ "blessed@0.1.81": "patches/blessed@0.1.81.patch",
272
+ "blessed-contrib@4.11.0": "patches/blessed-contrib@4.11.0.patch",
273
+ "brace-expansion@2.0.2": "patches/brace-expansion@2.0.2.patch",
274
+ "bresenham@0.0.3": "patches/bresenham@0.0.3.patch",
275
+ "lodash@4.17.21": "patches/lodash@4.17.21.patch",
276
+ "rollup@4.50.1": "patches/rollup@4.50.1.patch",
277
+ "tiny-updater@3.5.3": "patches/tiny-updater@3.5.3.patch"
278
+ }
279
+ },
158
280
  "typeCoverage": {
159
281
  "cache": true,
160
282
  "atLeast": 95,
@@ -165,58 +287,5 @@
165
287
  "ignore-type-assertion": true,
166
288
  "ignore-files": "test/*",
167
289
  "strict": true
168
- },
169
- "scripts": {
170
- "build": "pnpm build:dist",
171
- "build:dist": "pnpm build:dist:src && pnpm build:dist:types",
172
- "build:dist:src": "run-p -c clean:dist clean:external && dotenvx -q run -f .env.local -- rollup -c .config/rollup.dist.config.mjs",
173
- "build:dist:types": "pnpm clean:dist:types && tsgo --project tsconfig.dts.json",
174
- "build:sea": "node src/sea/build-sea.mts",
175
- "build:sea:internal:bootstrap": "rollup -c .config/rollup.sea.config.mjs",
176
- "check": "pnpm check:lint && pnpm check:tsc",
177
- "check:lint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives .",
178
- "check:tsc": "tsgo",
179
- "check-ci": "pnpm check:lint",
180
- "coverage": "run-s coverage:*",
181
- "coverage:test": "run-s test:prepare test:unit:coverage",
182
- "coverage:type": "dotenvx -q run -f .env.local -- type-coverage --detail",
183
- "clean": "run-p -c --aggregate-output clean:*",
184
- "clean:cache": "del-cli '**/.cache'",
185
- "clean:dist": "del-cli 'dist'",
186
- "clean:dist:types": "del-cli 'dist/types'",
187
- "clean:external": "del-cli 'external'",
188
- "clean:node_modules": "del-cli '**/node_modules'",
189
- "fix": "pnpm lint:fix",
190
- "knip:dependencies": "knip --dependencies",
191
- "knip:exports": "knip --include exports,duplicates",
192
- "lint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .",
193
- "lint:dist:fix": "run-s -c lint:dist:fix:*",
194
- "lint:dist:fix:oxlint": "dotenvx -q run -f .env.dist -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./dist | dev-null",
195
- "lint:dist:fix:biome": "dotenvx -q run -f .env.dist -- biome format --log-level=none --fix ./dist | dev-null",
196
- "//lint:dist:fix:eslint": "dotenvx -q run -f .env.dist -- eslint --report-unused-disable-directives --quiet --fix ./dist | dev-null",
197
- "lint:external:fix": "run-s -c lint:external:fix:*",
198
- "lint:external:fix:oxlint": "dotenvx -q run -f .env.external -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./external | dev-null",
199
- "lint:external:fix:biome": "dotenvx -q run -f .env.external -- biome format --log-level=none --fix ./external | dev-null",
200
- "//lint:external:fix:eslint": "dotenvx -q run -f .env.external -- eslint --report-unused-disable-directives --quiet --fix ./external | dev-null",
201
- "lint:fix": "run-s -c lint:fix:*",
202
- "lint:fix:oxlint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --quiet --fix . | dev-null",
203
- "lint:fix:biome": "dotenvx -q run -f .env.local -- biome format --log-level=none --fix . | dev-null",
204
- "lint:fix:eslint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives --fix . | dev-null",
205
- "lint-staged": "dotenvx -q run -f .env.local -- lint-staged",
206
- "precommit": "dotenvx -q run -f .env.local -- lint-staged",
207
- "bs": "dotenvx -q run -f .env.local -- pnpm build:dist:src; pnpm exec socket --",
208
- "s": "dotenvx -q run -f .env.local -- pnpm exec socket --",
209
- "test": "run-s check test:*",
210
- "test:prepare": "dotenvx -q run -f .env.test -- pnpm build && del-cli 'test/**/node_modules'",
211
- "test:unit": "dotenvx -q run -f .env.test -- vitest run",
212
- "test:unit:update": "dotenvx -q run -f .env.test -- vitest run --update",
213
- "test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --coverage",
214
- "test-ci": "run-s test:*",
215
- "test-pre-commit": "dotenvx -q run -f .env.precommit -- pnpm test",
216
- "testu": "dotenvx -q run -f .env.testu -- run-s test:prepare; pnpm test:unit:update --",
217
- "testuf": "dotenvx -q run -f .env.testu -- pnpm test:unit:update --",
218
- "update": "run-p --aggregate-output update:**",
219
- "update:deps": "taze",
220
- "update:socket": "pnpm update '@socketsecurity/*' '@socketregistry/*' --latest"
221
290
  }
222
- }
291
+ }
package/shadow-bin/npm CHANGED
File without changes
package/shadow-bin/npx CHANGED
File without changes
package/shadow-bin/pnpm CHANGED
File without changes
package/shadow-bin/yarn CHANGED
File without changes