@socketsecurity/cli 0.14.76 → 0.14.78
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 +10 -0
- package/dist/constants.js +32 -1
- package/dist/constants.js.map +1 -1
- package/dist/module-sync/artifact.d.ts +2 -0
- package/dist/module-sync/cli.js +7524 -7298
- package/dist/module-sync/cli.js.map +1 -1
- package/dist/module-sync/package-environment.d.ts +0 -4
- package/dist/module-sync/shadow-npm-inject.js +94 -19
- package/dist/module-sync/shadow-npm-inject.js.map +1 -1
- package/dist/module-sync/shadow-npm-paths.js +6 -4
- package/dist/module-sync/shadow-npm-paths.js.map +1 -1
- package/dist/module-sync/socket-package-alert.d.ts +2 -0
- package/dist/module-sync/vendor.js +3755 -3755
- package/dist/module-sync/vendor.js.map +1 -1
- package/dist/require/cli.js +7523 -7297
- package/dist/require/cli.js.map +1 -1
- package/package.json +14 -14
- package/dist/module-sync/fs.d.ts +0 -61
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socketsecurity/cli",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.78",
|
|
4
4
|
"description": "CLI tool for Socket.dev",
|
|
5
5
|
"homepage": "https://github.com/SocketDev/socket-cli",
|
|
6
6
|
"license": "MIT",
|
|
@@ -79,16 +79,16 @@
|
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@apideck/better-ajv-errors": "0.3.6",
|
|
81
81
|
"@octokit/rest": "^21.1.1",
|
|
82
|
-
"@pnpm/lockfile.detect-dep-types": "^1001.0.
|
|
83
|
-
"@pnpm/lockfile.fs": "^1001.1.
|
|
82
|
+
"@pnpm/lockfile.detect-dep-types": "^1001.0.7",
|
|
83
|
+
"@pnpm/lockfile.fs": "^1001.1.9",
|
|
84
84
|
"@pnpm/logger": "^1000.0.0",
|
|
85
85
|
"@socketregistry/hyrious__bun.lockb": "1.0.17",
|
|
86
86
|
"@socketregistry/indent-string": "1.0.12",
|
|
87
87
|
"@socketregistry/is-interactive": "1.0.5",
|
|
88
88
|
"@socketregistry/packageurl-js": "1.0.5",
|
|
89
89
|
"@socketsecurity/config": "2.1.3",
|
|
90
|
-
"@socketsecurity/registry": "1.0.
|
|
91
|
-
"@socketsecurity/sdk": "1.4.
|
|
90
|
+
"@socketsecurity/registry": "1.0.140",
|
|
91
|
+
"@socketsecurity/sdk": "1.4.26",
|
|
92
92
|
"browserslist": "4.24.4",
|
|
93
93
|
"chalk-table": "1.0.2",
|
|
94
94
|
"cmd-shim": "7.0.0",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"@biomejs/biome": "^1.9.4",
|
|
123
123
|
"@cyclonedx/cdxgen": "^11.2.3",
|
|
124
124
|
"@eslint/compat": "^1.2.8",
|
|
125
|
-
"@eslint/js": "^9.
|
|
125
|
+
"@eslint/js": "^9.24.0",
|
|
126
126
|
"@rollup/plugin-commonjs": "28.0.3",
|
|
127
127
|
"@rollup/plugin-json": "^6.1.0",
|
|
128
128
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"@types/semver": "^7.7.0",
|
|
140
140
|
"@types/which": "^3.0.4",
|
|
141
141
|
"@types/yargs-parser": "^21.0.3",
|
|
142
|
-
"@typescript-eslint/parser": "^8.29.
|
|
142
|
+
"@typescript-eslint/parser": "^8.29.1",
|
|
143
143
|
"@vitest/coverage-v8": "3.1.1",
|
|
144
144
|
"blessed": "0.1.81",
|
|
145
145
|
"blessed-contrib": "4.11.0",
|
|
@@ -147,28 +147,28 @@
|
|
|
147
147
|
"custompatch": "^1.1.4",
|
|
148
148
|
"del-cli": "^6.0.0",
|
|
149
149
|
"dev-null-cli": "^2.0.0",
|
|
150
|
-
"eslint": "^9.
|
|
151
|
-
"eslint-import-resolver-typescript": "^4.3.
|
|
152
|
-
"eslint-plugin-import-x": "^4.10.
|
|
150
|
+
"eslint": "^9.24.0",
|
|
151
|
+
"eslint-import-resolver-typescript": "^4.3.2",
|
|
152
|
+
"eslint-plugin-import-x": "^4.10.2",
|
|
153
153
|
"eslint-plugin-n": "^17.17.0",
|
|
154
154
|
"eslint-plugin-sort-destructure-keys": "^2.0.0",
|
|
155
155
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
156
156
|
"globals": "^16.0.0",
|
|
157
157
|
"husky": "^9.1.7",
|
|
158
|
-
"knip": "^5.
|
|
158
|
+
"knip": "^5.49.0",
|
|
159
159
|
"lint-staged": "^15.5.0",
|
|
160
160
|
"magic-string": "^0.30.17",
|
|
161
161
|
"mock-fs": "^5.5.0",
|
|
162
|
-
"nock": "^14.0.
|
|
162
|
+
"nock": "^14.0.3",
|
|
163
163
|
"npm-run-all2": "^7.0.2",
|
|
164
|
-
"oxlint": "0.16.
|
|
164
|
+
"oxlint": "0.16.5",
|
|
165
165
|
"read-package-up": "^11.0.0",
|
|
166
166
|
"rollup": "4.39.0",
|
|
167
167
|
"rollup-plugin-ts": "^3.4.5",
|
|
168
168
|
"synp": "^1.9.14",
|
|
169
169
|
"type-coverage": "^2.29.7",
|
|
170
170
|
"typescript": "5.4.5",
|
|
171
|
-
"typescript-eslint": "^8.29.
|
|
171
|
+
"typescript-eslint": "^8.29.1",
|
|
172
172
|
"unplugin-purge-polyfills": "^0.0.7",
|
|
173
173
|
"vitest": "3.1.1"
|
|
174
174
|
},
|
package/dist/module-sync/fs.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { Remap } from '@socketsecurity/registry/lib/objects'
|
|
3
|
-
import { Abortable } from 'node:events'
|
|
4
|
-
import {
|
|
5
|
-
ObjectEncodingOptions,
|
|
6
|
-
OpenMode,
|
|
7
|
-
PathLike,
|
|
8
|
-
PathOrFileDescriptor
|
|
9
|
-
} from 'node:fs'
|
|
10
|
-
import { FileHandle } from 'node:fs/promises'
|
|
11
|
-
type FindUpOptions = {
|
|
12
|
-
cwd?: string | undefined
|
|
13
|
-
signal?: AbortSignal | undefined
|
|
14
|
-
}
|
|
15
|
-
declare function findUp(
|
|
16
|
-
name: string | string[],
|
|
17
|
-
{ cwd, signal }: FindUpOptions
|
|
18
|
-
): Promise<string | undefined>
|
|
19
|
-
type ReadFileOptions = Remap<
|
|
20
|
-
ObjectEncodingOptions &
|
|
21
|
-
Abortable & {
|
|
22
|
-
flag?: OpenMode | undefined
|
|
23
|
-
}
|
|
24
|
-
>
|
|
25
|
-
declare function readFileBinary(
|
|
26
|
-
filepath: PathLike | FileHandle,
|
|
27
|
-
options?: ReadFileOptions | undefined
|
|
28
|
-
): Promise<Buffer>
|
|
29
|
-
declare function readFileUtf8(
|
|
30
|
-
filepath: PathLike | FileHandle,
|
|
31
|
-
options?: ReadFileOptions | undefined
|
|
32
|
-
): Promise<string>
|
|
33
|
-
declare function safeReadFile(
|
|
34
|
-
filepath: PathLike | FileHandle,
|
|
35
|
-
options?:
|
|
36
|
-
| 'utf8'
|
|
37
|
-
| 'utf-8'
|
|
38
|
-
| {
|
|
39
|
-
encoding: 'utf8' | 'utf-8'
|
|
40
|
-
}
|
|
41
|
-
| undefined
|
|
42
|
-
): Promise<string | undefined>
|
|
43
|
-
declare function safeReadFileSync(
|
|
44
|
-
filepath: PathOrFileDescriptor,
|
|
45
|
-
options?:
|
|
46
|
-
| 'utf8'
|
|
47
|
-
| 'utf-8'
|
|
48
|
-
| {
|
|
49
|
-
encoding: 'utf8' | 'utf-8'
|
|
50
|
-
}
|
|
51
|
-
| undefined
|
|
52
|
-
): string | undefined
|
|
53
|
-
export {
|
|
54
|
-
FindUpOptions,
|
|
55
|
-
findUp,
|
|
56
|
-
ReadFileOptions,
|
|
57
|
-
readFileBinary,
|
|
58
|
-
readFileUtf8,
|
|
59
|
-
safeReadFile,
|
|
60
|
-
safeReadFileSync
|
|
61
|
-
}
|