@socketsecurity/cli-with-sentry 0.14.46 → 0.14.47
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 +5 -0
- package/dist/constants.js +48 -25
- package/dist/constants.js.map +1 -1
- package/dist/instrument-with-sentry.js +2 -2
- package/dist/instrument-with-sentry.js.map +1 -1
- package/dist/module-sync/cli.js +360 -231
- package/dist/module-sync/cli.js.map +1 -1
- package/dist/require/cli.d.ts +2 -0
- package/dist/require/cli.js +360 -231
- package/dist/require/cli.js.map +1 -0
- package/dist/require/vendor.js.map +1 -0
- package/package.json +17 -15
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.47",
|
|
4
4
|
"description": "CLI tool for Socket.dev, includes Sentry error handling, otherwise identical to the regular `socket` package",
|
|
5
5
|
"homepage": "http://github.com/SocketDev/socket-cli",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,15 +36,16 @@
|
|
|
36
36
|
"./translations.json": "./translations.json"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
|
-
"build": "run-
|
|
39
|
+
"build": "run-p -c --aggregate-output build:*",
|
|
40
40
|
"build:dist": "del-cli 'dist' && rollup -c .config/rollup.dist.config.mjs",
|
|
41
|
-
"build:test": "del-cli 'test/dist' && rollup -c .config/rollup.test.config.mjs",
|
|
41
|
+
"build:test-dist": "del-cli 'test/dist' && cross-env VITEST=1 rollup -c .config/rollup.test.config.mjs",
|
|
42
42
|
"check": "run-p -c --aggregate-output check:*",
|
|
43
43
|
"check:lint": "eslint --report-unused-disable-directives .",
|
|
44
44
|
"check:lint:fix": "npm run check:lint -- --fix",
|
|
45
45
|
"check:tsc": "tsc",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
46
|
+
"coverage": "run-s coverage:*",
|
|
47
|
+
"coverage:test": "run-s test:prepare test:unit:coverage",
|
|
48
|
+
"coverage:type": "type-coverage --detail",
|
|
48
49
|
"clean": "run-p --aggregate-output clean:*",
|
|
49
50
|
"clean:dist": "del-cli 'dist' 'test/dist'",
|
|
50
51
|
"clean:node_modules": "del-cli '**/node_modules'",
|
|
@@ -56,12 +57,13 @@
|
|
|
56
57
|
"lint:fix:fast": "biome format --write",
|
|
57
58
|
"lint-staged": "lint-staged",
|
|
58
59
|
"precommit": "lint-staged",
|
|
59
|
-
"prepare": "husky
|
|
60
|
-
"test": "run-s check
|
|
61
|
-
"test
|
|
62
|
-
"test:unit": "
|
|
63
|
-
"test:coverage
|
|
64
|
-
"test:
|
|
60
|
+
"prepare": "husky",
|
|
61
|
+
"test": "run-s check test:*",
|
|
62
|
+
"test:prepare": "cross-env VITEST=1 npm run build",
|
|
63
|
+
"test:unit": "vitest --run",
|
|
64
|
+
"test:unit:coverage": "vitest run --coverage",
|
|
65
|
+
"test:unit:update-snapshots": "vitest --update",
|
|
66
|
+
"test-ci": "run-s test:*",
|
|
65
67
|
"update": "run-p --aggregate-output update:**",
|
|
66
68
|
"update:deps": "npx --yes npm-check-updates"
|
|
67
69
|
},
|
|
@@ -122,7 +124,6 @@
|
|
|
122
124
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
123
125
|
"@rollup/plugin-replace": "^6.0.2",
|
|
124
126
|
"@rollup/pluginutils": "^5.1.4",
|
|
125
|
-
"@tapjs/run": "^4.0.2",
|
|
126
127
|
"@types/blessed": "^0.1.25",
|
|
127
128
|
"@types/cmd-shim": "^5.0.2",
|
|
128
129
|
"@types/micromatch": "^4.0.9",
|
|
@@ -139,8 +140,8 @@
|
|
|
139
140
|
"@types/yargs-parser": "^21.0.3",
|
|
140
141
|
"@typescript-eslint/eslint-plugin": "^8.25.0",
|
|
141
142
|
"@typescript-eslint/parser": "^8.25.0",
|
|
142
|
-
"
|
|
143
|
-
"
|
|
143
|
+
"@vitest/coverage-v8": "3.0.7",
|
|
144
|
+
"cross-env": "^7.0.3",
|
|
144
145
|
"del-cli": "^6.0.0",
|
|
145
146
|
"eslint": "^9.21.0",
|
|
146
147
|
"eslint-import-resolver-oxc": "^0.12.0",
|
|
@@ -163,7 +164,8 @@
|
|
|
163
164
|
"type-coverage": "^2.29.7",
|
|
164
165
|
"typescript": "5.4.5",
|
|
165
166
|
"typescript-eslint": "^8.25.0",
|
|
166
|
-
"unplugin-purge-polyfills": "^0.0.7"
|
|
167
|
+
"unplugin-purge-polyfills": "^0.0.7",
|
|
168
|
+
"vitest": "^3.0.7"
|
|
167
169
|
},
|
|
168
170
|
"overrides": {
|
|
169
171
|
"aggregate-error": "npm:@socketregistry/aggregate-error@^1",
|