@socketsecurity/cli-with-sentry 1.1.9 → 1.1.13
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/CHANGELOG.md +49 -28
- package/bin/cli.js +2 -1
- package/bin/npm-cli.js +2 -1
- package/bin/npx-cli.js +2 -1
- package/bin/pnpm-cli.js +29 -0
- package/bin/yarn-cli.js +29 -0
- package/dist/cli.js +786 -566
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +31 -9
- package/dist/constants.js.map +1 -1
- package/dist/flags.js +16 -17
- package/dist/flags.js.map +1 -1
- package/dist/instrument-with-sentry.js +3 -3
- package/dist/instrument-with-sentry.js.map +1 -1
- package/dist/npm-cli.js +26 -0
- package/dist/npm-cli.js.map +1 -0
- package/dist/npx-cli.js +26 -0
- package/dist/npx-cli.js.map +1 -0
- package/dist/pnpm-cli.js +26 -0
- package/dist/pnpm-cli.js.map +1 -0
- package/dist/shadow-npm-inject.js +4 -4
- package/dist/shadow-npm-inject.js.map +1 -1
- package/dist/shadow-pnpm-bin.js +235 -0
- package/dist/shadow-pnpm-bin.js.map +1 -0
- package/dist/shadow-yarn-bin.js +200 -0
- package/dist/shadow-yarn-bin.js.map +1 -0
- package/dist/socket-completion.bash +0 -0
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/types/commands/analytics/cmd-analytics.d.mts +2 -3
- package/dist/types/commands/analytics/cmd-analytics.d.mts.map +1 -1
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts +2 -3
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +1 -1
- package/dist/types/commands/ci/cmd-ci.d.mts +2 -3
- package/dist/types/commands/ci/cmd-ci.d.mts.map +1 -1
- package/dist/types/commands/config/cmd-config-auto.d.mts +2 -3
- package/dist/types/commands/config/cmd-config-auto.d.mts.map +1 -1
- package/dist/types/commands/config/cmd-config-get.d.mts +2 -3
- package/dist/types/commands/config/cmd-config-get.d.mts.map +1 -1
- package/dist/types/commands/config/cmd-config-list.d.mts +2 -3
- package/dist/types/commands/config/cmd-config-list.d.mts.map +1 -1
- package/dist/types/commands/config/cmd-config-set.d.mts +2 -3
- package/dist/types/commands/config/cmd-config-set.d.mts.map +1 -1
- package/dist/types/commands/config/cmd-config-unset.d.mts +2 -3
- package/dist/types/commands/config/cmd-config-unset.d.mts.map +1 -1
- package/dist/types/commands/fix/cmd-fix.d.mts +2 -3
- package/dist/types/commands/fix/cmd-fix.d.mts.map +1 -1
- package/dist/types/commands/fix/coana-fix.d.mts.map +1 -1
- package/dist/types/commands/fix/env-helpers.d.mts +1 -1
- package/dist/types/commands/fix/env-helpers.d.mts.map +1 -1
- package/dist/types/commands/fix/git.d.mts +1 -1
- package/dist/types/commands/fix/git.d.mts.map +1 -1
- package/dist/types/commands/fix/handle-fix.d.mts +3 -1
- package/dist/types/commands/fix/handle-fix.d.mts.map +1 -1
- package/dist/types/commands/fix/pull-request.d.mts +1 -1
- package/dist/types/commands/fix/pull-request.d.mts.map +1 -1
- package/dist/types/commands/fix/types.d.mts +2 -0
- package/dist/types/commands/fix/types.d.mts.map +1 -1
- package/dist/types/commands/install/cmd-install-completion.d.mts +2 -3
- package/dist/types/commands/install/cmd-install-completion.d.mts.map +1 -1
- package/dist/types/commands/json/cmd-json.d.mts +2 -3
- package/dist/types/commands/json/cmd-json.d.mts.map +1 -1
- package/dist/types/commands/login/cmd-login.d.mts +2 -3
- package/dist/types/commands/login/cmd-login.d.mts.map +1 -1
- package/dist/types/commands/logout/cmd-logout.d.mts +2 -3
- package/dist/types/commands/logout/cmd-logout.d.mts.map +1 -1
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +2 -3
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +1 -1
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +2 -3
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +1 -1
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +2 -3
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +1 -1
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +2 -3
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +1 -1
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +2 -3
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +1 -1
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +2 -3
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +1 -1
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +2 -3
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +1 -1
- package/dist/types/commands/manifest/cmd-manifest.d.mts +2 -3
- package/dist/types/commands/manifest/cmd-manifest.d.mts.map +1 -1
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +1 -1
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +1 -1
- package/dist/types/commands/manifest/output-requirements.d.mts.map +1 -1
- package/dist/types/commands/manifest/run-cdxgen.d.mts.map +1 -1
- package/dist/types/commands/manifest/setup-manifest-config.d.mts.map +1 -1
- package/dist/types/commands/npm/cmd-npm.d.mts +2 -3
- package/dist/types/commands/npm/cmd-npm.d.mts.map +1 -1
- package/dist/types/commands/npx/cmd-npx.d.mts +2 -3
- package/dist/types/commands/npx/cmd-npx.d.mts.map +1 -1
- package/dist/types/commands/oops/cmd-oops.d.mts +2 -3
- package/dist/types/commands/oops/cmd-oops.d.mts.map +1 -1
- package/dist/types/commands/optimize/cmd-optimize.d.mts +2 -3
- package/dist/types/commands/optimize/cmd-optimize.d.mts.map +1 -1
- package/dist/types/commands/organization/cmd-organization-dependencies.d.mts +2 -3
- package/dist/types/commands/organization/cmd-organization-dependencies.d.mts.map +1 -1
- package/dist/types/commands/organization/cmd-organization-list.d.mts +2 -3
- package/dist/types/commands/organization/cmd-organization-list.d.mts.map +1 -1
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +2 -3
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +1 -1
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +2 -3
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +1 -1
- package/dist/types/commands/organization/cmd-organization-quota.d.mts +2 -3
- package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +1 -1
- package/dist/types/commands/package/cmd-package-score.d.mts +2 -3
- package/dist/types/commands/package/cmd-package-score.d.mts.map +1 -1
- package/dist/types/commands/package/cmd-package-shallow.d.mts +2 -3
- package/dist/types/commands/package/cmd-package-shallow.d.mts.map +1 -1
- package/dist/types/commands/patch/cmd-patch.d.mts +2 -3
- package/dist/types/commands/patch/cmd-patch.d.mts.map +1 -1
- package/dist/types/commands/pnpm/cmd-pnpm.d.mts +10 -0
- package/dist/types/commands/pnpm/cmd-pnpm.d.mts.map +1 -0
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +2 -3
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +1 -1
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +2 -3
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +1 -1
- package/dist/types/commands/repository/cmd-repository-create.d.mts +2 -3
- package/dist/types/commands/repository/cmd-repository-create.d.mts.map +1 -1
- package/dist/types/commands/repository/cmd-repository-del.d.mts +2 -3
- package/dist/types/commands/repository/cmd-repository-del.d.mts.map +1 -1
- package/dist/types/commands/repository/cmd-repository-list.d.mts +2 -3
- package/dist/types/commands/repository/cmd-repository-list.d.mts.map +1 -1
- package/dist/types/commands/repository/cmd-repository-update.d.mts +2 -3
- package/dist/types/commands/repository/cmd-repository-update.d.mts.map +1 -1
- package/dist/types/commands/repository/cmd-repository-view.d.mts +2 -3
- package/dist/types/commands/repository/cmd-repository-view.d.mts.map +1 -1
- package/dist/types/commands/repository/handle-list-repos.d.mts +2 -1
- package/dist/types/commands/repository/handle-list-repos.d.mts.map +1 -1
- package/dist/types/commands/repository/output-list-repos.d.mts +2 -1
- package/dist/types/commands/repository/output-list-repos.d.mts.map +1 -1
- package/dist/types/commands/repository/types.d.mts +2 -0
- package/dist/types/commands/repository/types.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-create.d.mts +2 -3
- package/dist/types/commands/scan/cmd-scan-create.d.mts.map +1 -1
- package/dist/types/commands/scan/cmd-scan-del.d.mts +2 -3
- package/dist/types/commands/scan/cmd-scan-del.d.mts.map +1 -1
- package/dist/types/commands/scan/cmd-scan-diff.d.mts +2 -3
- package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +1 -1
- package/dist/types/commands/scan/cmd-scan-github.d.mts +2 -3
- package/dist/types/commands/scan/cmd-scan-github.d.mts.map +1 -1
- package/dist/types/commands/scan/cmd-scan-list.d.mts.map +1 -1
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +1 -1
- package/dist/types/commands/scan/cmd-scan-reach.d.mts +2 -3
- package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +1 -1
- package/dist/types/commands/scan/cmd-scan-report.d.mts.map +1 -1
- package/dist/types/commands/scan/cmd-scan-setup.d.mts +2 -3
- package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +1 -1
- package/dist/types/commands/scan/cmd-scan-view.d.mts.map +1 -1
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +1 -1
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +1 -1
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +2 -3
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +1 -1
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +2 -3
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +1 -1
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts +2 -3
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +1 -1
- package/dist/types/commands/yarn/cmd-yarn.d.mts +10 -0
- package/dist/types/commands/yarn/cmd-yarn.d.mts.map +1 -0
- package/dist/types/commands.d.mts +31 -63
- package/dist/types/commands.d.mts.map +1 -1
- package/dist/types/constants.d.mts +15 -1
- package/dist/types/constants.d.mts.map +1 -1
- package/dist/types/flags.d.mts.map +1 -1
- package/dist/types/npm-cli.d.mts +3 -0
- package/dist/types/npm-cli.d.mts.map +1 -0
- package/dist/types/npx-cli.d.mts +3 -0
- package/dist/types/npx-cli.d.mts.map +1 -0
- package/dist/types/pnpm-cli.d.mts +3 -0
- package/dist/types/pnpm-cli.d.mts.map +1 -0
- package/dist/types/shadow/npm/install.d.mts +1 -1
- package/dist/types/shadow/npm/install.d.mts.map +1 -1
- package/dist/types/shadow/pnpm/bin.d.mts +10 -0
- package/dist/types/shadow/pnpm/bin.d.mts.map +1 -0
- package/dist/types/shadow/pnpm/link.d.mts +2 -0
- package/dist/types/shadow/pnpm/link.d.mts.map +1 -0
- package/dist/types/shadow/yarn/bin.d.mts +10 -0
- package/dist/types/shadow/yarn/bin.d.mts.map +1 -0
- package/dist/types/shadow/yarn/link.d.mts +2 -0
- package/dist/types/shadow/yarn/link.d.mts.map +1 -0
- package/dist/types/utils/alerts-map.d.mts.map +1 -1
- package/dist/types/utils/cmd.d.mts +25 -1
- package/dist/types/utils/cmd.d.mts.map +1 -1
- package/dist/types/utils/coana.d.mts.map +1 -1
- package/dist/types/utils/config.d.mts +1 -1
- package/dist/types/utils/config.d.mts.map +1 -1
- package/dist/types/utils/git.d.mts +4 -4
- package/dist/types/utils/git.d.mts.map +1 -1
- package/dist/types/utils/github.d.mts.map +1 -1
- package/dist/types/utils/lockfile.d.mts +1 -1
- package/dist/types/utils/lockfile.d.mts.map +1 -1
- package/dist/types/utils/meow-with-subcommands.d.mts +16 -1
- package/dist/types/utils/meow-with-subcommands.d.mts.map +1 -1
- package/dist/types/utils/npm-config.d.mts +1 -1
- package/dist/types/utils/npm-config.d.mts.map +1 -1
- package/dist/types/utils/npm-package-arg.d.mts +1 -1
- package/dist/types/utils/npm-package-arg.d.mts.map +1 -1
- package/dist/types/utils/output-formatting.d.mts.map +1 -1
- package/dist/types/utils/package-environment.d.mts.map +1 -1
- package/dist/types/utils/pnpm-paths.d.mts +5 -0
- package/dist/types/utils/pnpm-paths.d.mts.map +1 -0
- package/dist/types/utils/pnpm.d.mts +2 -2
- package/dist/types/utils/pnpm.d.mts.map +1 -1
- package/dist/types/utils/purl.d.mts +6 -6
- package/dist/types/utils/purl.d.mts.map +1 -1
- package/dist/types/utils/sdk.d.mts.map +1 -1
- package/dist/types/utils/semver.d.mts +2 -2
- package/dist/types/utils/semver.d.mts.map +1 -1
- package/dist/types/utils/socket-json.d.mts +3 -0
- package/dist/types/utils/socket-json.d.mts.map +1 -1
- package/dist/types/utils/strings.d.mts +2 -0
- package/dist/types/utils/strings.d.mts.map +1 -0
- package/dist/types/utils/yarn-paths.d.mts +5 -0
- package/dist/types/utils/yarn-paths.d.mts.map +1 -0
- package/dist/types/utils/yarn-version.d.mts +2 -0
- package/dist/types/utils/yarn-version.d.mts.map +1 -0
- package/dist/types/yarn-cli.d.mts +3 -0
- package/dist/types/yarn-cli.d.mts.map +1 -0
- package/dist/utils.js +404 -104
- package/dist/utils.js.map +1 -1
- package/dist/vendor.js +58633 -64690
- package/dist/yarn-cli.js +26 -0
- package/dist/yarn-cli.js.map +1 -0
- package/external/blessed/lib/tput.js +13 -13
- package/external/blessed/lib/widgets/ansiimage.js +1 -1
- package/external/blessed/lib/widgets/bigtext.js +1 -1
- package/external/blessed/lib/widgets/box.js +1 -1
- package/external/blessed/lib/widgets/button.js +1 -1
- package/external/blessed/lib/widgets/checkbox.js +1 -1
- package/external/blessed/lib/widgets/element.js +1 -1
- package/external/blessed/lib/widgets/filemanager.js +1 -1
- package/external/blessed/lib/widgets/form.js +1 -1
- package/external/blessed/lib/widgets/image.js +1 -1
- package/external/blessed/lib/widgets/input.js +1 -1
- package/external/blessed/lib/widgets/layout.js +1 -1
- package/external/blessed/lib/widgets/line.js +1 -1
- package/external/blessed/lib/widgets/list.js +1 -1
- package/external/blessed/lib/widgets/listbar.js +1 -1
- package/external/blessed/lib/widgets/listtable.js +1 -1
- package/external/blessed/lib/widgets/loading.js +1 -1
- package/external/blessed/lib/widgets/log.js +1 -1
- package/external/blessed/lib/widgets/message.js +1 -1
- package/external/blessed/lib/widgets/node.js +3 -2
- package/external/blessed/lib/widgets/overlayimage.js +1 -1
- package/external/blessed/lib/widgets/progressbar.js +1 -1
- package/external/blessed/lib/widgets/prompt.js +1 -1
- package/external/blessed/lib/widgets/question.js +1 -1
- package/external/blessed/lib/widgets/radiobutton.js +1 -1
- package/external/blessed/lib/widgets/radioset.js +1 -1
- package/external/blessed/lib/widgets/screen.js +8 -6
- package/external/blessed/lib/widgets/scrollablebox.js +1 -1
- package/external/blessed/lib/widgets/scrollabletext.js +1 -1
- package/external/blessed/lib/widgets/table.js +1 -1
- package/external/blessed/lib/widgets/terminal.js +1 -1
- package/external/blessed/lib/widgets/text.js +1 -1
- package/external/blessed/lib/widgets/textarea.js +1 -1
- package/external/blessed/lib/widgets/textbox.js +1 -1
- package/external/blessed/lib/widgets/video.js +1 -1
- package/external/blessed/vendor/tng.js +11 -4
- package/external/blessed-contrib/lib/widget/charts/bar.js +4 -4
- package/external/blessed-contrib/lib/widget/charts/line.js +4 -4
- package/logo-dark.png +0 -0
- package/logo-light.png +0 -0
- package/package.json +67 -94
- package/shadow-bin/npm +1 -1
- package/shadow-bin/npx +1 -1
- package/shadow-bin/pnpm +27 -0
- package/shadow-bin/yarn +27 -0
package/logo-light.png
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socketsecurity/cli-with-sentry",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"description": "CLI 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 AND OFL-1.1",
|
|
@@ -17,67 +17,21 @@
|
|
|
17
17
|
"cli-with-sentry": "bin/cli.js",
|
|
18
18
|
"socket-with-sentry": "bin/cli.js",
|
|
19
19
|
"socket-npm-with-sentry": "bin/npm-cli.js",
|
|
20
|
-
"socket-npx-with-sentry": "bin/npx-cli.js"
|
|
20
|
+
"socket-npx-with-sentry": "bin/npx-cli.js",
|
|
21
|
+
"socket-pnpm-with-sentry": "bin/pnpm-cli.js",
|
|
22
|
+
"socket-yarn-with-sentry": "bin/yarn-cli.js"
|
|
21
23
|
},
|
|
22
24
|
"types": "./dist/types/src/cli.d.ts",
|
|
23
25
|
"exports": {
|
|
24
26
|
"./bin/cli.js": "./dist/cli.js",
|
|
25
27
|
"./bin/npm-cli.js": "./dist/npm-cli.js",
|
|
26
28
|
"./bin/npx-cli.js": "./dist/npx-cli.js",
|
|
29
|
+
"./bin/pnpm-cli.js": "./dist/pnpm-cli.js",
|
|
30
|
+
"./bin/yarn-cli.js": "./dist/yarn-cli.js",
|
|
27
31
|
"./package.json": "./package.json",
|
|
28
32
|
"./requirements.json": "./requirements.json",
|
|
29
33
|
"./translations.json": "./translations.json"
|
|
30
34
|
},
|
|
31
|
-
"scripts": {
|
|
32
|
-
"build": "npm run build:dist",
|
|
33
|
-
"build:dist": "npm run build:dist:src && npm run build:dist:types",
|
|
34
|
-
"build:dist:src": "run-p -c clean:dist clean:external && dotenvx -q run -f .env.local -- rollup -c .config/rollup.dist.config.mjs",
|
|
35
|
-
"build:dist:types": "npm run clean:dist:types && tsgo --project tsconfig.dts.json",
|
|
36
|
-
"check": "npm run check:lint && npm run check:tsc",
|
|
37
|
-
"check:lint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives .",
|
|
38
|
-
"check:tsc": "tsgo",
|
|
39
|
-
"check-ci": "npm run check:lint",
|
|
40
|
-
"coverage": "run-s coverage:*",
|
|
41
|
-
"coverage:test": "run-s test:prepare test:unit:coverage",
|
|
42
|
-
"coverage:type": "dotenvx -q run -f .env.local -- type-coverage --detail",
|
|
43
|
-
"clean": "run-p -c --aggregate-output clean:*",
|
|
44
|
-
"clean:cache": "del-cli '**/.cache'",
|
|
45
|
-
"clean:dist": "del-cli 'dist'",
|
|
46
|
-
"clean:dist:types": "del-cli 'dist/types'",
|
|
47
|
-
"clean:external": "del-cli 'external'",
|
|
48
|
-
"clean:node_modules": "del-cli '**/node_modules'",
|
|
49
|
-
"fix": "npm run lint:fix",
|
|
50
|
-
"knip:dependencies": "knip --dependencies",
|
|
51
|
-
"knip:exports": "knip --include exports,duplicates",
|
|
52
|
-
"lint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .",
|
|
53
|
-
"lint:dist:fix": "run-s -c lint:dist:fix:*",
|
|
54
|
-
"lint:dist:fix:oxlint": "dotenvx -q run -f .env.dist -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./dist | dev-null",
|
|
55
|
-
"lint:dist:fix:biome": "dotenvx -q run -f .env.dist -- biome format --log-level=none --fix ./dist | dev-null",
|
|
56
|
-
"//lint:dist:fix:eslint": "dotenvx -q run -f .env.dist -- eslint --report-unused-disable-directives --quiet --fix ./dist | dev-null",
|
|
57
|
-
"lint:external:fix": "run-s -c lint:external:fix:*",
|
|
58
|
-
"lint:external:fix:oxlint": "dotenvx -q run -f .env.external -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./external | dev-null",
|
|
59
|
-
"lint:external:fix:biome": "dotenvx -q run -f .env.external -- biome format --log-level=none --fix ./external | dev-null",
|
|
60
|
-
"//lint:external:fix:eslint": "dotenvx -q run -f .env.external -- eslint --report-unused-disable-directives --quiet --fix ./external | dev-null",
|
|
61
|
-
"lint:fix": "run-s -c lint:fix:*",
|
|
62
|
-
"lint:fix:oxlint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --quiet --fix . | dev-null",
|
|
63
|
-
"lint:fix:biome": "dotenvx -q run -f .env.local -- biome format --log-level=none --fix . | dev-null",
|
|
64
|
-
"lint:fix:eslint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives --fix . | dev-null",
|
|
65
|
-
"lint-staged": "dotenvx -q run -f .env.local -- lint-staged",
|
|
66
|
-
"precommit": "dotenvx -q run -f .env.local -- lint-staged",
|
|
67
|
-
"prepare": "dotenvx -q run -f .env.local -- husky && custompatch",
|
|
68
|
-
"bs": "dotenvx -q run -f .env.local -- npm run build:dist:src; npm exec socket --",
|
|
69
|
-
"s": "dotenvx -q run -f .env.local -- npm exec socket --",
|
|
70
|
-
"test": "run-s check test:*",
|
|
71
|
-
"test:prepare": "dotenvx -q run -f .env.test -- npm run build && del-cli 'test/**/node_modules'",
|
|
72
|
-
"test:unit": "dotenvx -q run -f .env.test -- vitest --run",
|
|
73
|
-
"test:unit:update": "dotenvx -q run -f .env.test -- vitest --run --update",
|
|
74
|
-
"test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --coverage",
|
|
75
|
-
"test-ci": "run-s test:*",
|
|
76
|
-
"testu": "dotenvx -q run -f .env.testu -- run-s test:prepare; npm run test:unit:update --",
|
|
77
|
-
"testuf": "dotenvx -q run -f .env.testu -- npm run test:unit:update --",
|
|
78
|
-
"update": "run-p --aggregate-output update:**",
|
|
79
|
-
"update:deps": "npx --yes npm-check-updates"
|
|
80
|
-
},
|
|
81
35
|
"devDependencies": {
|
|
82
36
|
"@babel/core": "7.28.4",
|
|
83
37
|
"@babel/plugin-proposal-export-default-from": "7.27.1",
|
|
@@ -86,7 +40,7 @@
|
|
|
86
40
|
"@babel/preset-typescript": "7.27.1",
|
|
87
41
|
"@babel/runtime": "7.28.4",
|
|
88
42
|
"@biomejs/biome": "2.2.4",
|
|
89
|
-
"@coana-tech/cli": "14.12.
|
|
43
|
+
"@coana-tech/cli": "14.12.28",
|
|
90
44
|
"@cyclonedx/cdxgen": "11.7.0",
|
|
91
45
|
"@dotenvx/dotenvx": "1.49.0",
|
|
92
46
|
"@eslint/compat": "1.3.2",
|
|
@@ -114,13 +68,14 @@
|
|
|
114
68
|
"@socketregistry/packageurl-js": "1.0.9",
|
|
115
69
|
"@socketsecurity/config": "3.0.1",
|
|
116
70
|
"@socketsecurity/registry": "1.1.8",
|
|
117
|
-
"@socketsecurity/sdk": "1.4.
|
|
71
|
+
"@socketsecurity/sdk": "1.4.93",
|
|
118
72
|
"@types/blessed": "0.1.25",
|
|
119
73
|
"@types/cmd-shim": "5.0.2",
|
|
120
74
|
"@types/js-yaml": "4.0.9",
|
|
121
75
|
"@types/micromatch": "4.0.9",
|
|
122
76
|
"@types/mock-fs": "4.13.4",
|
|
123
77
|
"@types/node": "24.3.1",
|
|
78
|
+
"@types/npm-package-arg": "6.1.4",
|
|
124
79
|
"@types/npmcli__arborist": "6.3.1",
|
|
125
80
|
"@types/npmcli__config": "6.0.3",
|
|
126
81
|
"@types/proc-log": "3.0.4",
|
|
@@ -128,14 +83,13 @@
|
|
|
128
83
|
"@types/which": "3.0.4",
|
|
129
84
|
"@types/yargs-parser": "21.0.3",
|
|
130
85
|
"@typescript-eslint/parser": "8.43.0",
|
|
131
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
86
|
+
"@typescript/native-preview": "7.0.0-dev.20250912.1",
|
|
132
87
|
"@vitest/coverage-v8": "3.2.4",
|
|
133
88
|
"blessed": "0.1.81",
|
|
134
89
|
"blessed-contrib": "4.11.0",
|
|
135
90
|
"browserslist": "4.25.4",
|
|
136
91
|
"chalk-table": "1.0.2",
|
|
137
92
|
"cmd-shim": "7.0.0",
|
|
138
|
-
"custompatch": "1.1.8",
|
|
139
93
|
"del-cli": "6.0.0",
|
|
140
94
|
"dev-null-cli": "2.0.0",
|
|
141
95
|
"eslint": "9.35.0",
|
|
@@ -167,6 +121,7 @@
|
|
|
167
121
|
"rollup": "4.50.1",
|
|
168
122
|
"semver": "7.7.2",
|
|
169
123
|
"synp": "1.9.14",
|
|
124
|
+
"taze": "19.6.0",
|
|
170
125
|
"terminal-link": "2.1.1",
|
|
171
126
|
"tiny-updater": "3.5.3",
|
|
172
127
|
"trash": "10.0.0",
|
|
@@ -180,42 +135,9 @@
|
|
|
180
135
|
"yoctocolors-cjs": "2.1.3",
|
|
181
136
|
"zod": "4.1.8"
|
|
182
137
|
},
|
|
183
|
-
"overrides": {
|
|
184
|
-
"@octokit/graphql": "$@octokit/graphql",
|
|
185
|
-
"@octokit/request-error": "$@octokit/request-error",
|
|
186
|
-
"@socketsecurity/registry": "$@socketsecurity/registry",
|
|
187
|
-
"aggregate-error": "npm:@socketregistry/aggregate-error@^1",
|
|
188
|
-
"ansi-regex": "6.1.0",
|
|
189
|
-
"es-define-property": "npm:@socketregistry/es-define-property@^1",
|
|
190
|
-
"function-bind": "npm:@socketregistry/function-bind@^1",
|
|
191
|
-
"globalthis": "npm:@socketregistry/globalthis@^1",
|
|
192
|
-
"gopd": "npm:@socketregistry/gopd@^1",
|
|
193
|
-
"has-property-descriptors": "npm:@socketregistry/has-property-descriptors@^1",
|
|
194
|
-
"has-proto": "npm:@socketregistry/has-proto@^1",
|
|
195
|
-
"has-symbols": "npm:@socketregistry/has-symbols@^1",
|
|
196
|
-
"hasown": "npm:@socketregistry/hasown@^1",
|
|
197
|
-
"indent-string": "npm:@socketregistry/indent-string@^1",
|
|
198
|
-
"is-core-module": "npm:@socketregistry/is-core-module@^1",
|
|
199
|
-
"isarray": "npm:@socketregistry/isarray@^1",
|
|
200
|
-
"npm-package-arg": "$npm-package-arg",
|
|
201
|
-
"packageurl-js": "npm:@socketregistry/packageurl-js@^1",
|
|
202
|
-
"path-parse": "npm:@socketregistry/path-parse@^1",
|
|
203
|
-
"safe-buffer": "npm:@socketregistry/safe-buffer@^1",
|
|
204
|
-
"safer-buffer": "npm:@socketregistry/safer-buffer@^1",
|
|
205
|
-
"semver": "$semver",
|
|
206
|
-
"set-function-length": "npm:@socketregistry/set-function-length@^1",
|
|
207
|
-
"shell-quote": "npm:shell-quote@^1",
|
|
208
|
-
"side-channel": "npm:@socketregistry/side-channel@^1",
|
|
209
|
-
"tiny-colors": "$yoctocolors-cjs",
|
|
210
|
-
"typedarray": "npm:@socketregistry/typedarray@^1",
|
|
211
|
-
"undici": "6.21.3",
|
|
212
|
-
"vite": "7.1.5",
|
|
213
|
-
"xml2js": "0.6.2",
|
|
214
|
-
"yaml": "2.8.1",
|
|
215
|
-
"yargs-parser": "$yargs-parser"
|
|
216
|
-
},
|
|
217
138
|
"engines": {
|
|
218
|
-
"node": ">=18"
|
|
139
|
+
"node": ">=18",
|
|
140
|
+
"pnpm": ">=10.16.0"
|
|
219
141
|
},
|
|
220
142
|
"files": [
|
|
221
143
|
"bin/**",
|
|
@@ -223,13 +145,15 @@
|
|
|
223
145
|
"external/**",
|
|
224
146
|
"shadow-bin/**",
|
|
225
147
|
"CHANGELOG.md",
|
|
148
|
+
"logo-dark.png",
|
|
149
|
+
"logo-light.png",
|
|
226
150
|
"requirements.json",
|
|
227
151
|
"translations.json"
|
|
228
152
|
],
|
|
229
153
|
"lint-staged": {
|
|
230
154
|
"*.{cjs,cts,js,json,md,mjs,mts,ts}": [
|
|
231
|
-
"
|
|
232
|
-
"
|
|
155
|
+
"pnpm lint:fix:oxlint",
|
|
156
|
+
"pnpm lint:fix:biome -- --no-errors-on-unmatched --files-ignore-unknown=true --colors=off"
|
|
233
157
|
]
|
|
234
158
|
},
|
|
235
159
|
"typeCoverage": {
|
|
@@ -245,5 +169,54 @@
|
|
|
245
169
|
},
|
|
246
170
|
"dependencies": {
|
|
247
171
|
"@sentry/node": "10.11.0"
|
|
172
|
+
},
|
|
173
|
+
"scripts": {
|
|
174
|
+
"build": "pnpm build:dist",
|
|
175
|
+
"build:dist": "pnpm build:dist:src && pnpm build:dist:types",
|
|
176
|
+
"build:dist:src": "run-p -c clean:dist clean:external && dotenvx -q run -f .env.local -- rollup -c .config/rollup.dist.config.mjs",
|
|
177
|
+
"build:dist:types": "pnpm clean:dist:types && tsgo --project tsconfig.dts.json",
|
|
178
|
+
"check": "pnpm check:lint && pnpm check:tsc",
|
|
179
|
+
"check:lint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives .",
|
|
180
|
+
"check:tsc": "tsgo",
|
|
181
|
+
"check-ci": "pnpm check:lint",
|
|
182
|
+
"coverage": "run-s coverage:*",
|
|
183
|
+
"coverage:test": "run-s test:prepare test:unit:coverage",
|
|
184
|
+
"coverage:type": "dotenvx -q run -f .env.local -- type-coverage --detail",
|
|
185
|
+
"clean": "run-p -c --aggregate-output clean:*",
|
|
186
|
+
"clean:cache": "del-cli '**/.cache'",
|
|
187
|
+
"clean:dist": "del-cli 'dist'",
|
|
188
|
+
"clean:dist:types": "del-cli 'dist/types'",
|
|
189
|
+
"clean:external": "del-cli 'external'",
|
|
190
|
+
"clean:node_modules": "del-cli '**/node_modules'",
|
|
191
|
+
"fix": "pnpm lint:fix",
|
|
192
|
+
"knip:dependencies": "knip --dependencies",
|
|
193
|
+
"knip:exports": "knip --include exports,duplicates",
|
|
194
|
+
"lint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .",
|
|
195
|
+
"lint:dist:fix": "run-s -c lint:dist:fix:*",
|
|
196
|
+
"lint:dist:fix:oxlint": "dotenvx -q run -f .env.dist -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./dist | dev-null",
|
|
197
|
+
"lint:dist:fix:biome": "dotenvx -q run -f .env.dist -- biome format --log-level=none --fix ./dist | dev-null",
|
|
198
|
+
"//lint:dist:fix:eslint": "dotenvx -q run -f .env.dist -- eslint --report-unused-disable-directives --quiet --fix ./dist | dev-null",
|
|
199
|
+
"lint:external:fix": "run-s -c lint:external:fix:*",
|
|
200
|
+
"lint:external:fix:oxlint": "dotenvx -q run -f .env.external -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --silent --fix ./external | dev-null",
|
|
201
|
+
"lint:external:fix:biome": "dotenvx -q run -f .env.external -- biome format --log-level=none --fix ./external | dev-null",
|
|
202
|
+
"//lint:external:fix:eslint": "dotenvx -q run -f .env.external -- eslint --report-unused-disable-directives --quiet --fix ./external | dev-null",
|
|
203
|
+
"lint:fix": "run-s -c lint:fix:*",
|
|
204
|
+
"lint:fix:oxlint": "dotenvx -q run -f .env.local -- oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --quiet --fix . | dev-null",
|
|
205
|
+
"lint:fix:biome": "dotenvx -q run -f .env.local -- biome format --log-level=none --fix . | dev-null",
|
|
206
|
+
"lint:fix:eslint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives --fix . | dev-null",
|
|
207
|
+
"lint-staged": "dotenvx -q run -f .env.local -- lint-staged",
|
|
208
|
+
"precommit": "dotenvx -q run -f .env.local -- lint-staged",
|
|
209
|
+
"bs": "dotenvx -q run -f .env.local -- pnpm build:dist:src; pnpm exec socket --",
|
|
210
|
+
"s": "dotenvx -q run -f .env.local -- pnpm exec socket --",
|
|
211
|
+
"test": "run-s check test:*",
|
|
212
|
+
"test:prepare": "dotenvx -q run -f .env.test -- pnpm build && del-cli 'test/**/node_modules'",
|
|
213
|
+
"test:unit": "dotenvx -q run -f .env.test -- vitest --run",
|
|
214
|
+
"test:unit:update": "dotenvx -q run -f .env.test -- vitest --run --update",
|
|
215
|
+
"test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --coverage",
|
|
216
|
+
"test-ci": "run-s test:*",
|
|
217
|
+
"testu": "dotenvx -q run -f .env.testu -- run-s test:prepare; pnpm test:unit:update --",
|
|
218
|
+
"testuf": "dotenvx -q run -f .env.testu -- pnpm test:unit:update --",
|
|
219
|
+
"update": "run-p --aggregate-output update:**",
|
|
220
|
+
"update:deps": "taze"
|
|
248
221
|
}
|
|
249
|
-
}
|
|
222
|
+
}
|
package/shadow-bin/npm
CHANGED
package/shadow-bin/npx
CHANGED
package/shadow-bin/pnpm
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict'
|
|
3
|
+
|
|
4
|
+
void (async () => {
|
|
5
|
+
const Module = require('node:module')
|
|
6
|
+
const path = require('node:path')
|
|
7
|
+
const rootPath = path.join(__dirname, '..')
|
|
8
|
+
Module.enableCompileCache?.(path.join(rootPath, '.cache'))
|
|
9
|
+
|
|
10
|
+
const shadowBin = require(path.join(rootPath, 'dist/shadow-pnpm-bin.js'))
|
|
11
|
+
|
|
12
|
+
process.exitCode = 1
|
|
13
|
+
|
|
14
|
+
const { spawnPromise } = await shadowBin('pnpm', process.argv.slice(2), { stdio: 'inherit' })
|
|
15
|
+
|
|
16
|
+
// See https://nodejs.org/api/child_process.html#event-exit.
|
|
17
|
+
spawnPromise.process.on('exit', (code, signalName) => {
|
|
18
|
+
if (signalName) {
|
|
19
|
+
process.kill(process.pid, signalName)
|
|
20
|
+
} else if (typeof code === 'number') {
|
|
21
|
+
// eslint-disable-next-line n/no-process-exit
|
|
22
|
+
process.exit(code)
|
|
23
|
+
}
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
await spawnPromise
|
|
27
|
+
})()
|
package/shadow-bin/yarn
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict'
|
|
3
|
+
|
|
4
|
+
void (async () => {
|
|
5
|
+
const Module = require('node:module')
|
|
6
|
+
const path = require('node:path')
|
|
7
|
+
const rootPath = path.join(__dirname, '..')
|
|
8
|
+
Module.enableCompileCache?.(path.join(rootPath, '.cache'))
|
|
9
|
+
|
|
10
|
+
const shadowBin = require(path.join(rootPath, 'dist/shadow-yarn-bin.js'))
|
|
11
|
+
|
|
12
|
+
process.exitCode = 1
|
|
13
|
+
|
|
14
|
+
const { spawnPromise } = await shadowBin('yarn', process.argv.slice(2), { stdio: 'inherit' })
|
|
15
|
+
|
|
16
|
+
// See https://nodejs.org/api/child_process.html#event-exit.
|
|
17
|
+
spawnPromise.process.on('exit', (code, signalName) => {
|
|
18
|
+
if (signalName) {
|
|
19
|
+
process.kill(process.pid, signalName)
|
|
20
|
+
} else if (typeof code === 'number') {
|
|
21
|
+
// eslint-disable-next-line n/no-process-exit
|
|
22
|
+
process.exit(code)
|
|
23
|
+
}
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
await spawnPromise
|
|
27
|
+
})()
|