@socketsecurity/cli-with-sentry 0.14.68 → 0.14.70
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 -2
- package/dist/instrument-with-sentry.js +2 -2
- package/dist/instrument-with-sentry.js.map +1 -1
- package/dist/module-sync/cli.js +687 -707
- package/dist/module-sync/cli.js.map +1 -1
- package/dist/module-sync/config.d.ts +13 -1
- package/dist/module-sync/shadow-npm-inject.js +70 -18
- package/dist/module-sync/shadow-npm-inject.js.map +1 -1
- package/dist/module-sync/shadow-npm-paths.js +25 -10
- package/dist/module-sync/shadow-npm-paths.js.map +1 -1
- package/dist/module-sync/vendor.js +3883 -9
- package/dist/module-sync/vendor.js.map +1 -1
- package/dist/require/cli.js +686 -707
- package/dist/require/cli.js.map +1 -1
- package/package.json +7 -5
- package/dist/module-sync/fs.d.ts +0 -61
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socketsecurity/cli-with-sentry",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.70",
|
|
4
4
|
"description": "CLI tool for Socket.dev, includes Sentry error handling, otherwise identical to the regular `socket` package",
|
|
5
5
|
"homepage": "https://github.com/SocketDev/socket-cli",
|
|
6
6
|
"license": "MIT",
|
|
@@ -78,21 +78,23 @@
|
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@apideck/better-ajv-errors": "0.3.6",
|
|
81
|
+
"@octokit/rest": "^21.1.1",
|
|
81
82
|
"@pnpm/lockfile.detect-dep-types": "^1001.0.6",
|
|
82
83
|
"@pnpm/lockfile.fs": "^1001.1.8",
|
|
83
84
|
"@pnpm/logger": "^1000.0.0",
|
|
84
|
-
"@sentry/node": "9.
|
|
85
|
+
"@sentry/node": "9.11.0",
|
|
85
86
|
"@socketregistry/hyrious__bun.lockb": "1.0.17",
|
|
86
87
|
"@socketregistry/indent-string": "1.0.12",
|
|
87
88
|
"@socketregistry/is-interactive": "1.0.5",
|
|
88
89
|
"@socketregistry/packageurl-js": "1.0.5",
|
|
89
90
|
"@socketsecurity/config": "2.1.3",
|
|
90
91
|
"@socketsecurity/registry": "1.0.137",
|
|
91
|
-
"@socketsecurity/sdk": "1.4.
|
|
92
|
+
"@socketsecurity/sdk": "1.4.24",
|
|
92
93
|
"browserslist": "4.24.4",
|
|
93
94
|
"chalk-table": "1.0.2",
|
|
94
95
|
"cmd-shim": "7.0.0",
|
|
95
96
|
"common-tags": "1.8.2",
|
|
97
|
+
"fast-content-type-parse": "^2.0.0",
|
|
96
98
|
"hpagent": "1.2.0",
|
|
97
99
|
"ignore": "7.0.3",
|
|
98
100
|
"meow": "13.2.0",
|
|
@@ -132,7 +134,7 @@
|
|
|
132
134
|
"@types/common-tags": "^1.8.4",
|
|
133
135
|
"@types/micromatch": "^4.0.9",
|
|
134
136
|
"@types/mock-fs": "^4.13.4",
|
|
135
|
-
"@types/node": "^22.
|
|
137
|
+
"@types/node": "^22.14.0",
|
|
136
138
|
"@types/npmcli__arborist": "^6.3.0",
|
|
137
139
|
"@types/proc-log": "^3.0.4",
|
|
138
140
|
"@types/semver": "^7.7.0",
|
|
@@ -196,7 +198,7 @@
|
|
|
196
198
|
"tiny-colors": "$yoctocolors-cjs",
|
|
197
199
|
"typedarray": "npm:@socketregistry/typedarray@^1",
|
|
198
200
|
"undici": "^6.21.1",
|
|
199
|
-
"vite": "^6.2.
|
|
201
|
+
"vite": "^6.2.5",
|
|
200
202
|
"xml2js": "^0.5.0",
|
|
201
203
|
"yaml": "2.7.1"
|
|
202
204
|
},
|
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
|
-
}
|