@socketsecurity/cli 1.1.23 → 1.1.25

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