socket 0.14.49 → 0.14.51
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/dist/constants.d.ts +2 -0
- package/dist/constants.js +6 -2
- package/dist/constants.js.map +1 -1
- package/dist/module-sync/cli.js +372 -152
- package/dist/module-sync/cli.js.map +1 -1
- package/dist/module-sync/index.d.ts +1 -1
- package/dist/module-sync/index.js +32 -24
- package/dist/module-sync/index.js.map +1 -1
- package/dist/module-sync/npm-paths.js +3 -43
- package/dist/module-sync/npm-paths.js.map +1 -1
- package/dist/require/cli.js +372 -152
- package/dist/require/cli.js.map +1 -1
- package/package.json +7 -7
- package/dist/module-sync/logging.d.ts +0 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "socket",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.51",
|
|
4
4
|
"description": "CLI tool for Socket.dev",
|
|
5
5
|
"homepage": "http://github.com/SocketDev/socket-cli",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,23 +61,23 @@
|
|
|
61
61
|
"test:prepare": "cross-env VITEST=1 npm run build",
|
|
62
62
|
"test:unit": "vitest --run",
|
|
63
63
|
"test:unit:coverage": "vitest run --coverage",
|
|
64
|
-
"test:unit:update-snapshots": "vitest --update",
|
|
65
64
|
"test-ci": "run-s test:*",
|
|
65
|
+
"testu": "cross-env SOCKET_CLI_NO_API_TOKEN=1 run-s test:prepare test:unit -- --update",
|
|
66
66
|
"update": "run-p --aggregate-output update:**",
|
|
67
67
|
"update:deps": "npx --yes npm-check-updates"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@apideck/better-ajv-errors": "^0.3.6",
|
|
71
|
-
"@cyclonedx/cdxgen": "^11.
|
|
71
|
+
"@cyclonedx/cdxgen": "^11.2.0",
|
|
72
72
|
"@npmcli/promise-spawn": "^8.0.2",
|
|
73
73
|
"@octokit/rest": "^21.1.1",
|
|
74
74
|
"@socketregistry/hyrious__bun.lockb": "^1.0.13",
|
|
75
75
|
"@socketregistry/indent-string": "^1.0.10",
|
|
76
76
|
"@socketregistry/is-interactive": "^1.0.1",
|
|
77
|
-
"@socketregistry/is-unicode-supported": "^1.0.
|
|
77
|
+
"@socketregistry/is-unicode-supported": "^1.0.1",
|
|
78
78
|
"@socketregistry/packageurl-js": "^1.0.2",
|
|
79
79
|
"@socketsecurity/config": "^2.1.3",
|
|
80
|
-
"@socketsecurity/registry": "^1.0.
|
|
80
|
+
"@socketsecurity/registry": "^1.0.107",
|
|
81
81
|
"@socketsecurity/sdk": "^1.4.5",
|
|
82
82
|
"blessed": "^0.1.81",
|
|
83
83
|
"blessed-contrib": "^4.11.0",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"@types/mocha": "^10.0.10",
|
|
129
129
|
"@types/mock-fs": "^4.13.4",
|
|
130
130
|
"@types/ndjson": "^2.0.4",
|
|
131
|
-
"@types/node": "^22.13.
|
|
131
|
+
"@types/node": "^22.13.8",
|
|
132
132
|
"@types/npmcli__arborist": "^6.3.0",
|
|
133
133
|
"@types/npmcli__promise-spawn": "^6.0.3",
|
|
134
134
|
"@types/proc-log": "^3.0.4",
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"npm-run-all2": "^7.0.2",
|
|
158
158
|
"oxlint": "0.15.12",
|
|
159
159
|
"read-package-up": "^11.0.0",
|
|
160
|
-
"rollup": "4.34.
|
|
160
|
+
"rollup": "4.34.9",
|
|
161
161
|
"rollup-plugin-ts": "^3.4.5",
|
|
162
162
|
"type-coverage": "^2.29.7",
|
|
163
163
|
"typescript": "5.4.5",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
type LogSymbols = {
|
|
2
|
-
info: string;
|
|
3
|
-
success: string;
|
|
4
|
-
warning: string;
|
|
5
|
-
error: string;
|
|
6
|
-
};
|
|
7
|
-
declare function getLogSymbols(): LogSymbols;
|
|
8
|
-
declare class Logger {
|
|
9
|
-
#private;
|
|
10
|
-
constructor();
|
|
11
|
-
error(text: string): void;
|
|
12
|
-
info(text: string): void;
|
|
13
|
-
warn(text: string): void;
|
|
14
|
-
}
|
|
15
|
-
declare const logger: Logger;
|
|
16
|
-
export { LogSymbols, getLogSymbols, Logger, logger };
|