socket 0.14.57 → 0.14.58
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 +2 -0
- package/dist/constants.d.ts +1 -2
- package/dist/constants.js +13 -6
- package/dist/constants.js.map +1 -1
- package/dist/module-sync/artifact.d.ts +75 -0
- package/dist/module-sync/cli.js +1041 -791
- package/dist/module-sync/cli.js.map +1 -1
- package/dist/module-sync/index.d.ts +4 -3
- package/dist/module-sync/shadow-bin.js +3 -1
- package/dist/module-sync/shadow-bin.js.map +1 -1
- package/dist/module-sync/shadow-npm-inject.js +1414 -1287
- package/dist/module-sync/shadow-npm-inject.js.map +1 -1
- package/dist/module-sync/shadow-npm-paths.js.map +1 -1
- package/dist/module-sync/socket-package-alert.d.ts +46 -0
- package/dist/module-sync/types.d.ts +11 -3
- package/dist/require/cli.js +1041 -791
- package/dist/require/cli.js.map +1 -1
- package/package.json +11 -9
- package/dist/module-sync/color-or-markdown.d.ts +0 -16
- package/dist/module-sync/socket-url.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "socket",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.58",
|
|
4
4
|
"description": "CLI tool for Socket.dev",
|
|
5
5
|
"homepage": "http://github.com/SocketDev/socket-cli",
|
|
6
6
|
"license": "MIT",
|
|
@@ -72,13 +72,14 @@
|
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@apideck/better-ajv-errors": "0.3.6",
|
|
74
74
|
"@octokit/rest": "21.1.1",
|
|
75
|
-
"@
|
|
76
|
-
"@socketregistry/
|
|
77
|
-
"@socketregistry/
|
|
78
|
-
"@socketregistry/is-
|
|
79
|
-
"@socketregistry/
|
|
75
|
+
"@pnpm/lockfile-file": "^9.1.3",
|
|
76
|
+
"@socketregistry/hyrious__bun.lockb": "1.0.14",
|
|
77
|
+
"@socketregistry/indent-string": "1.0.11",
|
|
78
|
+
"@socketregistry/is-interactive": "1.0.2",
|
|
79
|
+
"@socketregistry/is-unicode-supported": "1.0.2",
|
|
80
|
+
"@socketregistry/packageurl-js": "1.0.3",
|
|
80
81
|
"@socketsecurity/config": "2.1.3",
|
|
81
|
-
"@socketsecurity/registry": "1.0.
|
|
82
|
+
"@socketsecurity/registry": "1.0.124",
|
|
82
83
|
"@socketsecurity/sdk": "1.4.5",
|
|
83
84
|
"blessed": "0.1.81",
|
|
84
85
|
"blessed-contrib": "4.11.0",
|
|
@@ -119,6 +120,7 @@
|
|
|
119
120
|
"@cyclonedx/cdxgen": "^11.2.0",
|
|
120
121
|
"@eslint/compat": "^1.2.7",
|
|
121
122
|
"@eslint/js": "^9.21.0",
|
|
123
|
+
"@pnpm/lockfile.detect-dep-types": "^1001.0.4",
|
|
122
124
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
123
125
|
"@rollup/plugin-json": "^6.1.0",
|
|
124
126
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
@@ -185,7 +187,7 @@
|
|
|
185
187
|
"is-core-module": "npm:@socketregistry/is-core-module@^1",
|
|
186
188
|
"isarray": "npm:@socketregistry/isarray@^1",
|
|
187
189
|
"npm-package-arg": "$npm-package-arg",
|
|
188
|
-
"packageurl-js": "
|
|
190
|
+
"packageurl-js": "npm:@socketregistry/packageurl-js@^1",
|
|
189
191
|
"path-parse": "npm:@socketregistry/path-parse@^1",
|
|
190
192
|
"safe-buffer": "npm:@socketregistry/safe-buffer@^1",
|
|
191
193
|
"safer-buffer": "npm:@socketregistry/safer-buffer@^1",
|
|
@@ -201,7 +203,7 @@
|
|
|
201
203
|
"yaml": "$yaml"
|
|
202
204
|
},
|
|
203
205
|
"engines": {
|
|
204
|
-
"node": "^18.20.
|
|
206
|
+
"node": "^18.20.7 || ^20.18.3 || >=22.14.0"
|
|
205
207
|
},
|
|
206
208
|
"files": [
|
|
207
209
|
"bin/**",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import indentString from '@socketregistry/indent-string/index.cjs';
|
|
2
|
-
declare class ColorOrMarkdown {
|
|
3
|
-
useMarkdown: boolean;
|
|
4
|
-
constructor(useMarkdown: boolean);
|
|
5
|
-
bold(text: string): string;
|
|
6
|
-
header(text: string, level?: number): string;
|
|
7
|
-
hyperlink(text: string, url: string | undefined, { fallback, fallbackToUrl }?: {
|
|
8
|
-
fallback?: boolean | undefined;
|
|
9
|
-
fallbackToUrl?: boolean | undefined;
|
|
10
|
-
}): string;
|
|
11
|
-
indent(...args: Parameters<typeof indentString>): ReturnType<typeof indentString>;
|
|
12
|
-
italic(text: string): string;
|
|
13
|
-
json(value: any): string;
|
|
14
|
-
list(items: string[]): string;
|
|
15
|
-
}
|
|
16
|
-
export { ColorOrMarkdown };
|