@socketsecurity/cli 0.14.64 → 0.14.66
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 +1 -4
- package/dist/constants.js +26 -37
- package/dist/constants.js.map +1 -1
- package/dist/module-sync/artifact.d.ts +12 -60
- package/dist/module-sync/cli.js +524 -280
- package/dist/module-sync/cli.js.map +1 -1
- package/dist/module-sync/shadow-npm-inject.js +130 -230
- package/dist/module-sync/shadow-npm-inject.js.map +1 -1
- package/dist/module-sync/shadow-npm-paths.js +22 -12
- package/dist/module-sync/shadow-npm-paths.js.map +1 -1
- package/dist/module-sync/socket-package-alert.d.ts +1 -1
- package/dist/require/cli.js +524 -280
- package/dist/require/cli.js.map +1 -1
- package/package.json +11 -14
- package/dist/module-sync/fs.d.ts +0 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socketsecurity/cli",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.66",
|
|
4
4
|
"description": "CLI tool for Socket.dev",
|
|
5
5
|
"homepage": "https://github.com/SocketDev/socket-cli",
|
|
6
6
|
"license": "MIT",
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
"@pnpm/lockfile.detect-dep-types": "^1001.0.5",
|
|
78
78
|
"@socketregistry/hyrious__bun.lockb": "1.0.16",
|
|
79
79
|
"@socketregistry/indent-string": "1.0.12",
|
|
80
|
-
"@socketregistry/is-interactive": "1.0.
|
|
80
|
+
"@socketregistry/is-interactive": "1.0.4",
|
|
81
81
|
"@socketregistry/packageurl-js": "1.0.4",
|
|
82
82
|
"@socketsecurity/config": "2.1.3",
|
|
83
|
-
"@socketsecurity/registry": "1.0.
|
|
84
|
-
"@socketsecurity/sdk": "1.4.
|
|
83
|
+
"@socketsecurity/registry": "1.0.133",
|
|
84
|
+
"@socketsecurity/sdk": "1.4.15",
|
|
85
85
|
"blessed": "0.1.81",
|
|
86
86
|
"blessed-contrib": "4.11.0",
|
|
87
87
|
"browserslist": "4.24.4",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"@biomejs/biome": "^1.9.4",
|
|
117
117
|
"@cyclonedx/cdxgen": "^11.2.2",
|
|
118
118
|
"@eslint/compat": "^1.2.7",
|
|
119
|
-
"@eslint/js": "^9.
|
|
119
|
+
"@eslint/js": "^9.23.0",
|
|
120
120
|
"@rollup/plugin-commonjs": "^28.0.3",
|
|
121
121
|
"@rollup/plugin-json": "^6.1.0",
|
|
122
122
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
@@ -127,22 +127,19 @@
|
|
|
127
127
|
"@types/common-tags": "^1.8.4",
|
|
128
128
|
"@types/micromatch": "^4.0.9",
|
|
129
129
|
"@types/mock-fs": "^4.13.4",
|
|
130
|
-
"@types/node": "^22.13.
|
|
130
|
+
"@types/node": "^22.13.11",
|
|
131
131
|
"@types/npmcli__arborist": "^6.3.0",
|
|
132
|
-
"@types/npmcli__promise-spawn": "^6.0.3",
|
|
133
132
|
"@types/proc-log": "^3.0.4",
|
|
134
133
|
"@types/semver": "^7.5.8",
|
|
135
|
-
"@types/update-notifier": "^6.0.8",
|
|
136
134
|
"@types/which": "^3.0.4",
|
|
137
135
|
"@types/yargs-parser": "^21.0.3",
|
|
138
|
-
"@typescript-eslint/
|
|
139
|
-
"@typescript-eslint/parser": "^8.26.1",
|
|
136
|
+
"@typescript-eslint/parser": "^8.27.0",
|
|
140
137
|
"@vitest/coverage-v8": "3.0.9",
|
|
141
138
|
"cross-env": "^7.0.3",
|
|
142
139
|
"del-cli": "^6.0.0",
|
|
143
|
-
"eslint": "^9.
|
|
140
|
+
"eslint": "^9.23.0",
|
|
144
141
|
"eslint-import-resolver-oxc": "^0.13.1",
|
|
145
|
-
"eslint-plugin-import-x": "^4.9.
|
|
142
|
+
"eslint-plugin-import-x": "^4.9.1",
|
|
146
143
|
"eslint-plugin-n": "^17.16.2",
|
|
147
144
|
"eslint-plugin-sort-destructure-keys": "^2.0.0",
|
|
148
145
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
@@ -154,14 +151,14 @@
|
|
|
154
151
|
"mock-fs": "^5.5.0",
|
|
155
152
|
"nock": "^14.0.1",
|
|
156
153
|
"npm-run-all2": "^7.0.2",
|
|
157
|
-
"oxlint": "0.16.
|
|
154
|
+
"oxlint": "0.16.2",
|
|
158
155
|
"read-package-up": "^11.0.0",
|
|
159
156
|
"rollup": "4.36.0",
|
|
160
157
|
"rollup-plugin-ts": "^3.4.5",
|
|
161
158
|
"synp": "^1.9.14",
|
|
162
159
|
"type-coverage": "^2.29.7",
|
|
163
160
|
"typescript": "5.4.5",
|
|
164
|
-
"typescript-eslint": "^8.
|
|
161
|
+
"typescript-eslint": "^8.27.0",
|
|
165
162
|
"unplugin-purge-polyfills": "^0.0.7",
|
|
166
163
|
"vitest": "3.0.9"
|
|
167
164
|
},
|
package/dist/module-sync/fs.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { Remap } from '@socketsecurity/registry/lib/objects';
|
|
3
|
-
import { Abortable } from 'node:events';
|
|
4
|
-
import { ObjectEncodingOptions, OpenMode, PathLike, PathOrFileDescriptor } from 'node:fs';
|
|
5
|
-
import { FileHandle } from 'node:fs/promises';
|
|
6
|
-
type FindUpOptions = {
|
|
7
|
-
cwd?: string | undefined;
|
|
8
|
-
signal?: AbortSignal | undefined;
|
|
9
|
-
};
|
|
10
|
-
declare function findUp(name: string | string[], { cwd, signal }: FindUpOptions): Promise<string | undefined>;
|
|
11
|
-
type ReadFileOptions = Remap<ObjectEncodingOptions & Abortable & {
|
|
12
|
-
flag?: OpenMode | undefined;
|
|
13
|
-
}>;
|
|
14
|
-
declare function readFileBinary(filepath: PathLike | FileHandle, options?: ReadFileOptions | undefined): Promise<Buffer>;
|
|
15
|
-
declare function readFileUtf8(filepath: PathLike | FileHandle, options?: ReadFileOptions | undefined): Promise<string>;
|
|
16
|
-
declare function safeReadFile(filepath: PathLike | FileHandle, options?: 'utf8' | 'utf-8' | {
|
|
17
|
-
encoding: 'utf8' | 'utf-8';
|
|
18
|
-
} | undefined): Promise<string | undefined>;
|
|
19
|
-
declare function safeReadFileSync(filepath: PathOrFileDescriptor, options?: 'utf8' | 'utf-8' | {
|
|
20
|
-
encoding: 'utf8' | 'utf-8';
|
|
21
|
-
} | undefined): string | undefined;
|
|
22
|
-
export { FindUpOptions, findUp, ReadFileOptions, readFileBinary, readFileUtf8, safeReadFile, safeReadFileSync };
|