|
14 | 14 | "url": "https://socket.dev" |
15 | 15 | }, |
16 | 16 | "license": "MIT", |
17 | | - "engines": { |
18 | | - "node": "^20.9.0 || >=21.1.0" |
19 | | - }, |
20 | 17 | "type": "module", |
21 | 18 | "bin": { |
22 | 19 | "socket": "cli.js", |
|
30 | 27 | "lib/**/*.cjs", |
31 | 28 | "lib/shadow/**" |
32 | 29 | ], |
33 | | - "scripts": { |
34 | | - "check:dependency-check": "dependency-check '*.js' 'lib/shadow/*.cjs' '*.mjs' 'test/**/*.js' --no-dev --ignore-module node:* --ignore-module @cyclonedx/* --ignore-module synp", |
35 | | - "check:installed-check": "installed-check -i eslint-plugin-jsdoc", |
36 | | - "check:lint": "eslint --report-unused-disable-directives .", |
37 | | - "check:tsc": "tsc", |
38 | | - "check:type-coverage": "type-coverage --detail --strict --at-least 95 --ignore-files 'test/*'", |
39 | | - "check": "run-p -c --aggregate-output check:*", |
40 | | - "prepare": "husky install", |
41 | | - "test:unit": "c8 --reporter=lcov --reporter text node --test", |
42 | | - "test-ci": "run-s test:*", |
43 | | - "test": "run-s check test:*", |
44 | | - "//postinstall": "node ./cli.js wrapper --postinstall" |
| 30 | + "dependencies": { |
| 31 | + "@apideck/better-ajv-errors": "^0.3.6", |
| 32 | + "@cyclonedx/cdxgen": "^10.7.0", |
| 33 | + "@inquirer/select": "^2.3.5", |
| 34 | + "@socketsecurity/config": "^2.1.3", |
| 35 | + "@socketsecurity/sdk": "^1.2.0", |
| 36 | + "chalk": "^5.3.0", |
| 37 | + "chalk-table": "^1.0.2", |
| 38 | + "execa": "^9.1.0", |
| 39 | + "globby": "^14.0.1", |
| 40 | + "hpagent": "^1.2.0", |
| 41 | + "ignore": "^5.3.1", |
| 42 | + "ignore-by-default": "^2.1.0", |
| 43 | + "inquirer": "^9.2.23", |
| 44 | + "is-interactive": "^2.0.0", |
| 45 | + "is-unicode-supported": "^2.0.0", |
| 46 | + "meow": "^13.2.0", |
| 47 | + "open": "^10.1.0", |
| 48 | + "ora": "^8.0.1", |
| 49 | + "pony-cause": "^2.1.11", |
| 50 | + "prompts": "^2.4.2", |
| 51 | + "synp": "^1.9.13", |
| 52 | + "terminal-link": "^3.0.0", |
| 53 | + "update-notifier": "^7.0.0", |
| 54 | + "which": "^4.0.0", |
| 55 | + "yargs-parser": "^21.1.1" |
45 | 56 | }, |
46 | 57 | "devDependencies": { |
47 | 58 | "@socketsecurity/eslint-config": "^5.0.1", |
|
82 | 93 | "type-coverage": "^2.29.0", |
83 | 94 | "typescript": "~5.5.2" |
84 | 95 | }, |
85 | | - "dependencies": { |
86 | | - "@apideck/better-ajv-errors": "^0.3.6", |
87 | | - "@cyclonedx/cdxgen": "^10.7.0", |
88 | | - "@inquirer/select": "^2.3.5", |
89 | | - "@socketsecurity/config": "^2.1.3", |
90 | | - "@socketsecurity/sdk": "^1.2.0", |
91 | | - "chalk": "^5.3.0", |
92 | | - "chalk-table": "^1.0.2", |
93 | | - "execa": "^9.1.0", |
94 | | - "globby": "^14.0.1", |
95 | | - "hpagent": "^1.2.0", |
96 | | - "ignore": "^5.3.1", |
97 | | - "ignore-by-default": "^2.1.0", |
98 | | - "inquirer": "^9.2.23", |
99 | | - "is-interactive": "^2.0.0", |
100 | | - "is-unicode-supported": "^2.0.0", |
101 | | - "meow": "^13.2.0", |
102 | | - "open": "^10.1.0", |
103 | | - "ora": "^8.0.1", |
104 | | - "pony-cause": "^2.1.11", |
105 | | - "prompts": "^2.4.2", |
106 | | - "synp": "^1.9.13", |
107 | | - "terminal-link": "^3.0.0", |
108 | | - "update-notifier": "^7.0.0", |
109 | | - "which": "^4.0.0", |
110 | | - "yargs-parser": "^21.1.1" |
| 96 | + "overrides": { |
| 97 | + "@cyclonedx/cdxgen": { |
| 98 | + "packageurl-js": "https://registry.npmjs.org/@jdalton/packageurl-js/-/packageurl-js-1.2.7.tgz" |
| 99 | + } |
| 100 | + }, |
| 101 | + "engines": { |
| 102 | + "node": "^20.9.0 || >=21.1.0" |
| 103 | + }, |
| 104 | + |
| 105 | + "scripts": { |
| 106 | + "check:dependency-check": "dependency-check '*.js' 'lib/shadow/*.cjs' '*.mjs' 'test/**/*.js' --no-dev --ignore-module node:* --ignore-module @cyclonedx/* --ignore-module synp", |
| 107 | + "check:installed-check": "installed-check -i eslint-plugin-jsdoc", |
| 108 | + "check:lint": "eslint --report-unused-disable-directives .", |
| 109 | + "check:tsc": "tsc", |
| 110 | + "check:type-coverage": "type-coverage --detail --strict --at-least 95 --ignore-files 'test/*'", |
| 111 | + "check": "run-p -c --aggregate-output check:*", |
| 112 | + "prepare": "husky install", |
| 113 | + "test:unit": "c8 --reporter=lcov --reporter text node --test", |
| 114 | + "test-ci": "run-s test:*", |
| 115 | + "test": "run-s check test:*", |
| 116 | + "//postinstall": "node ./cli.js wrapper --postinstall" |
111 | 117 | } |
112 | 118 | } |
0 commit comments