socket 1.0.74 → 1.0.76
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/bin/cli.js +4 -2
- package/dist/cli.js +107 -105
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +20 -9
- package/dist/constants.js.map +1 -1
- package/dist/flags.js +185 -0
- package/dist/flags.js.map +1 -0
- package/dist/shadow-npm-bin.js +5 -3
- package/dist/shadow-npm-bin.js.map +1 -1
- package/dist/shadow-npm-inject.js +2 -2
- package/dist/shadow-npm-inject.js.map +1 -1
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/types/commands/fix/cmd-fix.d.mts.map +1 -1
- package/dist/types/constants.d.mts +1 -1
- package/dist/types/constants.d.mts.map +1 -1
- package/dist/types/flags.d.mts +6 -5
- package/dist/types/flags.d.mts.map +1 -1
- package/dist/types/shadow/npm/bin.d.mts.map +1 -1
- package/dist/types/shadow/npm/install.d.mts.map +1 -1
- package/dist/types/utils/coana.d.mts.map +1 -1
- package/dist/types/utils/config.d.mts.map +1 -1
- package/dist/types/utils/meow-with-subcommands.d.mts +5 -6
- package/dist/types/utils/meow-with-subcommands.d.mts.map +1 -1
- package/dist/utils.js +54 -81
- package/dist/utils.js.map +1 -1
- package/dist/vendor.js +19 -20
- package/external/@coana-tech/cli/cli.mjs +29 -29
- package/external/@socketsecurity/registry/external/@inquirer/search.js +2 -2
- package/external/@socketsecurity/registry/external/browserslist.js +233 -211
- package/external/@socketsecurity/registry/lib/constants/env.js +6 -0
- package/package.json +14 -14
|
@@ -28,6 +28,12 @@ module.exports = ObjectFreeze({
|
|
|
28
28
|
envAsString(env.NODE_ENV).toLowerCase() === 'development'
|
|
29
29
|
? 'development'
|
|
30
30
|
: 'production',
|
|
31
|
+
// A space-separated list of command-line options. `options...` are interpreted
|
|
32
|
+
// before command-line options, so command-line options will override or compound
|
|
33
|
+
// after anything in `options...`. Node.js will exit with an error if an option
|
|
34
|
+
// that is not allowed in the environment is used, such as `-p` or a script file.
|
|
35
|
+
// https://nodejs.org/api/cli.html#node_optionsoptions
|
|
36
|
+
NODE_OPTIONS: envAsString(env.NODE_OPTIONS),
|
|
31
37
|
// PRE_COMMIT is set to '1' by our 'test-pre-commit' script run by the
|
|
32
38
|
// .husky/pre-commit hook.
|
|
33
39
|
PRE_COMMIT: envAsBoolean(env.PRE_COMMIT),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "socket",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.76",
|
|
4
4
|
"description": "CLI for Socket.dev",
|
|
5
5
|
"homepage": "https://github.com/SocketDev/socket-cli",
|
|
6
6
|
"license": "MIT",
|
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
"@babel/plugin-transform-runtime": "7.28.0",
|
|
84
84
|
"@babel/preset-typescript": "7.27.1",
|
|
85
85
|
"@babel/runtime": "7.28.2",
|
|
86
|
-
"@biomejs/biome": "2.1.
|
|
87
|
-
"@coana-tech/cli": "14.10.
|
|
86
|
+
"@biomejs/biome": "2.1.3",
|
|
87
|
+
"@coana-tech/cli": "14.10.6",
|
|
88
88
|
"@cyclonedx/cdxgen": "11.4.4",
|
|
89
|
-
"@dotenvx/dotenvx": "1.48.
|
|
89
|
+
"@dotenvx/dotenvx": "1.48.4",
|
|
90
90
|
"@eslint/compat": "1.3.1",
|
|
91
91
|
"@eslint/js": "9.32.0",
|
|
92
92
|
"@npmcli/arborist": "9.1.3",
|
|
@@ -96,9 +96,9 @@
|
|
|
96
96
|
"@octokit/request-error": "7.0.0",
|
|
97
97
|
"@octokit/rest": "22.0.0",
|
|
98
98
|
"@octokit/types": "14.1.0",
|
|
99
|
-
"@pnpm/dependency-path": "1001.0
|
|
100
|
-
"@pnpm/lockfile.detect-dep-types": "1001.0.
|
|
101
|
-
"@pnpm/lockfile.fs": "1001.1.
|
|
99
|
+
"@pnpm/dependency-path": "1001.1.0",
|
|
100
|
+
"@pnpm/lockfile.detect-dep-types": "1001.0.13",
|
|
101
|
+
"@pnpm/lockfile.fs": "1001.1.17",
|
|
102
102
|
"@pnpm/logger": "1001.0.0",
|
|
103
103
|
"@rollup/plugin-babel": "6.0.4",
|
|
104
104
|
"@rollup/plugin-commonjs": "28.0.6",
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
"@socketregistry/is-interactive": "1.0.6",
|
|
112
112
|
"@socketregistry/packageurl-js": "1.0.8",
|
|
113
113
|
"@socketsecurity/config": "3.0.1",
|
|
114
|
-
"@socketsecurity/registry": "1.0.
|
|
115
|
-
"@socketsecurity/sdk": "1.4.
|
|
114
|
+
"@socketsecurity/registry": "1.0.250",
|
|
115
|
+
"@socketsecurity/sdk": "1.4.67",
|
|
116
116
|
"@types/blessed": "0.1.25",
|
|
117
117
|
"@types/cmd-shim": "5.0.2",
|
|
118
118
|
"@types/js-yaml": "4.0.9",
|
|
@@ -126,14 +126,14 @@
|
|
|
126
126
|
"@types/which": "3.0.4",
|
|
127
127
|
"@types/yargs-parser": "21.0.3",
|
|
128
128
|
"@typescript-eslint/parser": "8.38.0",
|
|
129
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
129
|
+
"@typescript/native-preview": "7.0.0-dev.20250731.1",
|
|
130
130
|
"@vitest/coverage-v8": "3.2.4",
|
|
131
131
|
"blessed": "0.1.81",
|
|
132
132
|
"blessed-contrib": "4.11.0",
|
|
133
133
|
"browserslist": "4.25.1",
|
|
134
134
|
"chalk-table": "1.0.2",
|
|
135
135
|
"cmd-shim": "7.0.0",
|
|
136
|
-
"custompatch": "1.1.
|
|
136
|
+
"custompatch": "1.1.8",
|
|
137
137
|
"del-cli": "6.0.0",
|
|
138
138
|
"dev-null-cli": "2.0.0",
|
|
139
139
|
"eslint": "9.32.0",
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"hpagent": "1.2.0",
|
|
147
147
|
"husky": "9.1.7",
|
|
148
148
|
"ignore": "7.0.5",
|
|
149
|
-
"js-yaml": "npm:@zkochan/js-yaml@0.0.
|
|
149
|
+
"js-yaml": "npm:@zkochan/js-yaml@0.0.9",
|
|
150
150
|
"knip": "5.62.0",
|
|
151
151
|
"lint-staged": "16.1.2",
|
|
152
152
|
"magic-string": "0.30.17",
|
|
@@ -157,11 +157,11 @@
|
|
|
157
157
|
"npm-package-arg": "13.0.0",
|
|
158
158
|
"npm-run-all2": "8.0.4",
|
|
159
159
|
"open": "10.2.0",
|
|
160
|
-
"oxlint": "1.
|
|
160
|
+
"oxlint": "1.9.0",
|
|
161
161
|
"pony-cause": "2.1.11",
|
|
162
162
|
"registry-auth-token": "5.1.0",
|
|
163
163
|
"registry-url": "7.2.0",
|
|
164
|
-
"rollup": "4.46.
|
|
164
|
+
"rollup": "4.46.2",
|
|
165
165
|
"semver": "7.7.2",
|
|
166
166
|
"synp": "1.9.14",
|
|
167
167
|
"terminal-link": "2.1.1",
|