-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
207 lines (207 loc) · 7.72 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "socket",
"version": "0.14.37",
"description": "CLI tool for Socket.dev",
"homepage": "http://github.com/SocketDev/socket-cli",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/SocketDev/socket-cli.git"
},
"author": {
"name": "Socket Inc",
"email": "[email protected]",
"url": "https://socket.dev"
},
"bin": {
"socket": "./bin/cli.js",
"socket-npm": "./bin/npm-cli.js",
"socket-npx": "./bin/npx-cli.js"
},
"exports": {
"./bin/cli.js": {
"types": "./dist/module-sync/cli.d.ts",
"default": "./dist/cli.js"
},
"./bin/npm-cli.js": {
"types": "./dist/module-sync/npm-cli.d.ts",
"default": "./dist/npm-cli.js"
},
"./bin/npx-cli.js": {
"types": "./dist/module-sync/npx-cli.d.ts",
"default": "./dist/npx-cli.js"
},
"./package.json": "./package.json",
"./translations.json": "./translations.json"
},
"scripts": {
"build": "run-s build:*",
"build:dist": "rollup -c .config/rollup.dist.config.mjs",
"build:test": "rollup -c .config/rollup.test.config.mjs",
"check": "run-p -c --aggregate-output check:*",
"check:lint": "eslint --report-unused-disable-directives .",
"check:tsc": "tsc",
"check:type-coverage": "type-coverage --detail --strict --at-least 95 --ignore-files 'test/*'",
"knip:dependencies": "knip --dependencies",
"knip:exports": "knip --include exports,duplicates",
"lint": "oxlint -c=./.oxlintrc.json --ignore-path=./.prettierignore --tsconfig=./tsconfig.json .",
"lint:fix": "npm run lint -- --fix && npm run lint:fix:fast",
"lint:fix:fast": "prettier --cache --log-level warn --write .",
"prepare": "husky && custompatch",
"test": "run-s check build:* test:* test:coverage:*",
"test-ci": "run-s build:* test:*",
"test:unit": "tap-run",
"test:coverage:c8": "c8 --reporter=none node --test 'test/socket-npm.test.cjs'",
"test:coverage:merge": "cp -r .tap/coverage/*.json coverage/tmp && c8 --reporter=lcov --reporter=text --include 'dist/{module-sync,require}/*.js' --exclude 'dist/require/vendor.js' report"
},
"dependencies": {
"@apideck/better-ajv-errors": "^0.3.6",
"@cyclonedx/cdxgen": "^11.0.7",
"@npmcli/promise-spawn": "^8.0.2",
"@socketregistry/hyrious__bun.lockb": "1.0.6",
"@socketregistry/yocto-spinner": "^1.0.2",
"@socketsecurity/config": "^2.1.3",
"@socketsecurity/registry": "^1.0.56",
"@socketsecurity/sdk": "^1.3.0",
"blessed": "^0.1.81",
"blessed-contrib": "^4.11.0",
"browserslist": "4.24.3",
"chalk-table": "^1.0.2",
"cmd-shim": "^7.0.0",
"has-flag": "^4.0.0",
"hpagent": "^1.2.0",
"ignore": "^7.0.0",
"micromatch": "^4.0.8",
"npm-package-arg": "^12.0.1",
"pony-cause": "^2.1.11",
"semver": "^7.6.3",
"synp": "^1.9.14",
"tinyglobby": "^0.2.10",
"which": "^5.0.0",
"yaml": "^2.6.1",
"yargs-parser": "^21.1.1",
"yoctocolors-cjs": "^2.1.2"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-proposal-export-default-from": "^7.25.9",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-export-namespace-from": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@babel/runtime": "^7.26.0",
"@eslint/compat": "^1.2.4",
"@eslint/js": "^9.17.0",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/pluginutils": "^5.1.4",
"@tapjs/run": "^4.0.1",
"@types/blessed": "^0.1.25",
"@types/cmd-shim": "^5.0.2",
"@types/micromatch": "^4.0.9",
"@types/mocha": "^10.0.10",
"@types/mock-fs": "^4.13.4",
"@types/node": "^22.10.2",
"@types/npmcli__arborist": "^5.6.11",
"@types/npmcli__promise-spawn": "^6.0.3",
"@types/proc-log": "^3.0.4",
"@types/semver": "^7.5.8",
"@types/update-notifier": "^6.0.8",
"@types/which": "^3.0.4",
"@types/yargs-parser": "^21.0.3",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"c8": "^10.1.3",
"custompatch": "^1.0.28",
"eslint": "^9.17.0",
"eslint-import-resolver-oxc": "^0.7.0",
"eslint-plugin-depend": "^0.12.0",
"eslint-plugin-import-x": "^4.6.1",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-sort-destructure-keys": "^2.0.0",
"eslint-plugin-unicorn": "^56.0.1",
"husky": "^9.1.7",
"is-interactive": "^2.0.0",
"is-unicode-supported": "^2.1.0",
"knip": "^5.41.1",
"magic-string": "^0.30.17",
"meow": "^13.2.0",
"mock-fs": "^5.4.1",
"nock": "^13.5.6",
"npm-run-all2": "^7.0.2",
"open": "^10.1.0",
"oxlint": "0.15.3",
"prettier": "3.4.2",
"read-package-up": "^11.0.0",
"rollup": "4.29.1",
"rollup-plugin-ts": "^3.4.5",
"terminal-link": "^3.0.0",
"tiny-updater": "^3.5.2",
"type-coverage": "^2.29.7",
"typescript": "5.4.5",
"typescript-eslint": "^8.18.2",
"unplugin-purge-polyfills": "^0.0.7"
},
"overrides": {
"aggregate-error": "npm:@socketregistry/aggregate-error@^1",
"es-define-property": "npm:@socketregistry/es-define-property@^1",
"function-bind": "npm:@socketregistry/function-bind@^1",
"globalthis": "npm:@socketregistry/globalthis@^1",
"gopd": "npm:@socketregistry/gopd@^1",
"has-property-descriptors": "npm:@socketregistry/has-property-descriptors@^1",
"has-proto": "npm:@socketregistry/has-proto@^1",
"has-symbols": "npm:@socketregistry/has-symbols@^1",
"hasown": "npm:@socketregistry/hasown@^1",
"indent-string": "npm:@socketregistry/indent-string@^1",
"is-core-module": "npm:@socketregistry/is-core-module@^1",
"isarray": "npm:@socketregistry/isarray@^1",
"npm-package-arg": "$npm-package-arg",
"packageurl-js": "npm:@socketregistry/packageurl-js@^1",
"path-parse": "npm:@socketregistry/path-parse@^1",
"safe-buffer": "npm:@socketregistry/safe-buffer@^1",
"safer-buffer": "npm:@socketregistry/safer-buffer@^1",
"semver": "$semver",
"set-function-length": "npm:@socketregistry/set-function-length@^1",
"side-channel": "npm:@socketregistry/side-channel@^1",
"tiny-colors": "$yoctocolors-cjs",
"typedarray": "npm:@socketregistry/typedarray@^1",
"yaml": "$yaml"
},
"resolutions": {
"aggregate-error": "npm:@socketregistry/aggregate-error@^1",
"es-define-property": "npm:@socketregistry/es-define-property@^1",
"function-bind": "npm:@socketregistry/function-bind@^1",
"globalthis": "npm:@socketregistry/globalthis@^1",
"gopd": "npm:@socketregistry/gopd@^1",
"has-property-descriptors": "npm:@socketregistry/has-property-descriptors@^1",
"has-proto": "npm:@socketregistry/has-proto@^1",
"has-symbols": "npm:@socketregistry/has-symbols@^1",
"hasown": "npm:@socketregistry/hasown@^1",
"indent-string": "npm:@socketregistry/indent-string@^1",
"is-core-module": "npm:@socketregistry/is-core-module@^1",
"isarray": "npm:@socketregistry/isarray@^1",
"npm-package-arg": "^12.0.0",
"packageurl-js": "npm:@socketregistry/packageurl-js@^1",
"path-parse": "npm:@socketregistry/path-parse@^1",
"safe-buffer": "npm:@socketregistry/safe-buffer@^1",
"safer-buffer": "npm:@socketregistry/safer-buffer@^1",
"semver": "^7.6.3",
"set-function-length": "npm:@socketregistry/set-function-length@^1",
"side-channel": "npm:@socketregistry/side-channel@^1",
"tiny-colors": "npm:yoctocolors-cjs@^2.1.2",
"typedarray": "npm:@socketregistry/typedarray@^1",
"yaml": "^2.6.0"
},
"engines": {
"node": "^18.20.4 || ^20.9.0 || >=22.0.0"
},
"files": [
"bin/**",
"dist/**",
"shadow-bin/**",
"translations.json"
]
}