@socketsecurity/cli-with-sentry 0.14.67 → 0.14.69

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.
Files changed (96) hide show
  1. package/dist/blessed/lib/alias.js +521 -0
  2. package/dist/blessed/lib/blessed.js +34 -0
  3. package/dist/blessed/lib/colors.js +492 -0
  4. package/dist/blessed/lib/events.js +197 -0
  5. package/dist/blessed/lib/gpmclient.js +247 -0
  6. package/dist/blessed/lib/helpers.js +172 -0
  7. package/dist/blessed/lib/keys.js +514 -0
  8. package/dist/blessed/lib/program.js +4532 -0
  9. package/dist/blessed/lib/tput.js +3113 -0
  10. package/dist/blessed/lib/unicode.js +914 -0
  11. package/dist/blessed/lib/widget.js +62 -0
  12. package/dist/blessed/lib/widgets/ansiimage.js +175 -0
  13. package/dist/blessed/lib/widgets/bigtext.js +172 -0
  14. package/dist/blessed/lib/widgets/box.js +36 -0
  15. package/dist/blessed/lib/widgets/button.js +64 -0
  16. package/dist/blessed/lib/widgets/checkbox.js +97 -0
  17. package/dist/blessed/lib/widgets/element.js +2873 -0
  18. package/dist/blessed/lib/widgets/filemanager.js +225 -0
  19. package/dist/blessed/lib/widgets/form.js +303 -0
  20. package/dist/blessed/lib/widgets/image.js +73 -0
  21. package/dist/blessed/lib/widgets/input.js +36 -0
  22. package/dist/blessed/lib/widgets/layout.js +251 -0
  23. package/dist/blessed/lib/widgets/line.js +61 -0
  24. package/dist/blessed/lib/widgets/list.js +654 -0
  25. package/dist/blessed/lib/widgets/listbar.js +454 -0
  26. package/dist/blessed/lib/widgets/listtable.js +267 -0
  27. package/dist/blessed/lib/widgets/loading.js +90 -0
  28. package/dist/blessed/lib/widgets/log.js +84 -0
  29. package/dist/blessed/lib/widgets/message.js +147 -0
  30. package/dist/blessed/lib/widgets/node.js +316 -0
  31. package/dist/blessed/lib/widgets/overlayimage.js +796 -0
  32. package/dist/blessed/lib/widgets/progressbar.js +168 -0
  33. package/dist/blessed/lib/widgets/prompt.js +129 -0
  34. package/dist/blessed/lib/widgets/question.js +131 -0
  35. package/dist/blessed/lib/widgets/radiobutton.js +64 -0
  36. package/dist/blessed/lib/widgets/radioset.js +38 -0
  37. package/dist/blessed/lib/widgets/screen.js +2489 -0
  38. package/dist/blessed/lib/widgets/scrollablebox.js +417 -0
  39. package/dist/blessed/lib/widgets/scrollabletext.js +37 -0
  40. package/dist/blessed/lib/widgets/table.js +385 -0
  41. package/dist/blessed/lib/widgets/terminal.js +454 -0
  42. package/dist/blessed/lib/widgets/text.js +37 -0
  43. package/dist/blessed/lib/widgets/textarea.js +378 -0
  44. package/dist/blessed/lib/widgets/textbox.js +81 -0
  45. package/dist/blessed/lib/widgets/video.js +132 -0
  46. package/dist/blessed/usr/fonts/AUTHORS +1 -0
  47. package/dist/blessed/usr/fonts/LICENSE +94 -0
  48. package/dist/blessed/usr/fonts/README +340 -0
  49. package/dist/blessed/usr/fonts/ter-u14b.json +17826 -0
  50. package/dist/blessed/usr/fonts/ter-u14n.json +17826 -0
  51. package/dist/blessed/usr/linux +0 -0
  52. package/dist/blessed/usr/windows-ansi +0 -0
  53. package/dist/blessed/usr/xterm +0 -0
  54. package/dist/blessed/usr/xterm-256color +0 -0
  55. package/dist/blessed/usr/xterm.termcap +243 -0
  56. package/dist/blessed/usr/xterm.terminfo +1977 -0
  57. package/dist/blessed/vendor/tng.js +1878 -0
  58. package/dist/constants.d.ts +271 -207
  59. package/dist/constants.js +271 -227
  60. package/dist/constants.js.map +1 -1
  61. package/dist/instrument-with-sentry.d.ts +1 -1
  62. package/dist/instrument-with-sentry.js +27 -24
  63. package/dist/instrument-with-sentry.js.map +1 -1
  64. package/dist/module-sync/artifact.d.ts +60 -26
  65. package/dist/module-sync/cli.d.ts +1 -1
  66. package/dist/module-sync/cli.js +6803 -4726
  67. package/dist/module-sync/cli.js.map +1 -1
  68. package/dist/module-sync/cmd.d.ts +4 -4
  69. package/dist/module-sync/config.d.ts +42 -17
  70. package/dist/module-sync/edge.d.ts +73 -60
  71. package/dist/module-sync/errors.d.ts +26 -11
  72. package/dist/module-sync/index.d.ts +31 -20
  73. package/dist/module-sync/node.d.ts +118 -83
  74. package/dist/module-sync/override-set.d.ts +39 -33
  75. package/dist/module-sync/package-environment.d.ts +83 -52
  76. package/dist/module-sync/path-resolve.d.ts +14 -9
  77. package/dist/module-sync/sdk.d.ts +9 -5
  78. package/dist/module-sync/shadow-bin.d.ts +5 -2
  79. package/dist/module-sync/shadow-bin.js +82 -66
  80. package/dist/module-sync/shadow-bin.js.map +1 -1
  81. package/dist/module-sync/shadow-npm-inject.d.ts +1 -1
  82. package/dist/module-sync/shadow-npm-inject.js +1231 -986
  83. package/dist/module-sync/shadow-npm-inject.js.map +1 -1
  84. package/dist/module-sync/shadow-npm-paths.d.ts +28 -14
  85. package/dist/module-sync/shadow-npm-paths.js +300 -208
  86. package/dist/module-sync/shadow-npm-paths.js.map +1 -1
  87. package/dist/module-sync/socket-package-alert.d.ts +95 -39
  88. package/dist/module-sync/types.d.ts +75 -47
  89. package/dist/module-sync/vendor.js +15055 -0
  90. package/dist/module-sync/vendor.js.map +1 -0
  91. package/dist/require/cli.d.ts +1 -1
  92. package/dist/require/cli.js +6802 -4724
  93. package/dist/require/cli.js.map +1 -1
  94. package/dist/require/vendor.js +2 -9145
  95. package/package.json +48 -38
  96. package/dist/require/vendor.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socketsecurity/cli-with-sentry",
3
- "version": "0.14.67",
3
+ "version": "0.14.69",
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",
@@ -37,11 +37,11 @@
37
37
  },
38
38
  "scripts": {
39
39
  "build": "run-p -c --aggregate-output build:*",
40
- "build:dist": "del-cli 'dist' && rollup -c .config/rollup.dist.config.mjs",
40
+ "build:dist": "del-cli 'dist' && rollup -c .config/rollup.dist.config.mjs && npm run lint:dist:fix",
41
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
- "check:lint:fix": "npm run check:lint -- --fix",
44
+ "check:lint:dist": "cross-env LINT_DIST=1 eslint --report-unused-disable-directives --quiet ./dist",
45
45
  "check:tsc": "tsc",
46
46
  "coverage": "run-s coverage:*",
47
47
  "coverage:test": "run-s test:prepare test:unit:coverage",
@@ -49,46 +49,52 @@
49
49
  "clean": "run-p --aggregate-output clean:*",
50
50
  "clean:dist": "del-cli 'dist' 'test/dist'",
51
51
  "clean:node_modules": "del-cli '**/node_modules'",
52
- "fix": "run-s lint:fix check:lint:fix",
52
+ "fix": "npm run lint:fix",
53
53
  "knip:dependencies": "knip --dependencies",
54
54
  "knip:exports": "knip --include exports,duplicates",
55
55
  "lint": "oxlint -c=./.oxlintrc.json --ignore-path=./.oxlintignore --tsconfig=./tsconfig.json .",
56
- "lint:fix": "npm run lint -- --fix && npm run lint:fix:fast",
57
- "lint:fix:fast": "biome format --write",
56
+ "lint:dist": "oxlint -c=./.oxlintrc.json --ignore-path=./.oxlintignore --tsconfig=./tsconfig.json ./dist",
57
+ "lint:dist:fix": "cross-env LINT_DIST=1 npm run lint:dist -- --silent --fix | dev-null && run-s lint:dist:fix:*",
58
+ "lint:dist:fix:fast": "biome format --write ./dist",
59
+ "lint:dist:fix:slow": "npm run check:lint:dist -- --fix | dev-null",
60
+ "lint:fix": "npm run lint -- --quiet --fix && run-s lint:fix:*",
61
+ "lint:fix:fast": "biome format --write .",
62
+ "lint:fix:slow": "npm run check:lint -- --fix",
58
63
  "lint-staged": "lint-staged",
59
64
  "precommit": "lint-staged",
60
- "prepare": "husky",
65
+ "prepare": "husky && custompatch",
61
66
  "bs": "npm run build:dist; npm exec socket --",
62
67
  "s": "npm exec socket --",
63
68
  "test": "run-s check test:*",
64
- "test:prepare": "cross-env VITEST=1 npm run build",
69
+ "test:prepare": "cross-env VITEST=1 npm run build && del-cli 'test/**/node_modules'",
65
70
  "test:unit": "vitest --run",
66
71
  "test:unit:update": "vitest --run --update",
67
72
  "test:unit:coverage": "vitest run --coverage",
68
73
  "test-ci": "run-s test:*",
69
74
  "testu": "cross-env SOCKET_CLI_NO_API_TOKEN=1 run-s test:prepare; npm run test:unit:update --",
70
- "testuf": "SOCKET_CLI_NO_API_TOKEN=1 npm run test:unit:update --",
75
+ "testuf": "cross-env SOCKET_CLI_NO_API_TOKEN=1 npm run test:unit:update --",
71
76
  "update": "run-p --aggregate-output update:**",
72
77
  "update:deps": "npx --yes npm-check-updates"
73
78
  },
74
79
  "dependencies": {
75
80
  "@apideck/better-ajv-errors": "0.3.6",
76
- "@pnpm/lockfile-file": "^9.1.3",
77
- "@pnpm/lockfile.detect-dep-types": "^1001.0.5",
78
- "@sentry/node": "9.9.0",
79
- "@socketregistry/hyrious__bun.lockb": "1.0.16",
81
+ "@octokit/rest": "^21.1.1",
82
+ "@pnpm/lockfile.detect-dep-types": "^1001.0.6",
83
+ "@pnpm/lockfile.fs": "^1001.1.8",
84
+ "@pnpm/logger": "^1000.0.0",
85
+ "@sentry/node": "9.11.0",
86
+ "@socketregistry/hyrious__bun.lockb": "1.0.17",
80
87
  "@socketregistry/indent-string": "1.0.12",
81
88
  "@socketregistry/is-interactive": "1.0.5",
82
- "@socketregistry/packageurl-js": "1.0.4",
89
+ "@socketregistry/packageurl-js": "1.0.5",
83
90
  "@socketsecurity/config": "2.1.3",
84
- "@socketsecurity/registry": "1.0.135",
85
- "@socketsecurity/sdk": "1.4.16",
86
- "blessed": "0.1.81",
87
- "blessed-contrib": "4.11.0",
91
+ "@socketsecurity/registry": "1.0.137",
92
+ "@socketsecurity/sdk": "1.4.24",
88
93
  "browserslist": "4.24.4",
89
94
  "chalk-table": "1.0.2",
90
95
  "cmd-shim": "7.0.0",
91
96
  "common-tags": "1.8.2",
97
+ "fast-content-type-parse": "^2.0.0",
92
98
  "hpagent": "1.2.0",
93
99
  "ignore": "7.0.3",
94
100
  "meow": "13.2.0",
@@ -101,7 +107,7 @@
101
107
  "tiny-updater": "3.5.3",
102
108
  "tinyglobby": "0.2.12",
103
109
  "which": "5.0.0",
104
- "yaml": "2.7.0",
110
+ "yaml": "2.7.1",
105
111
  "yargs-parser": "21.1.1",
106
112
  "yoctocolors-cjs": "2.1.2"
107
113
  },
@@ -115,53 +121,57 @@
115
121
  "@babel/preset-typescript": "^7.27.0",
116
122
  "@babel/runtime": "^7.27.0",
117
123
  "@biomejs/biome": "^1.9.4",
118
- "@cyclonedx/cdxgen": "^11.2.2",
119
- "@eslint/compat": "^1.2.7",
124
+ "@cyclonedx/cdxgen": "^11.2.3",
125
+ "@eslint/compat": "^1.2.8",
120
126
  "@eslint/js": "^9.23.0",
121
- "@rollup/plugin-commonjs": "^28.0.3",
127
+ "@rollup/plugin-commonjs": "28.0.3",
122
128
  "@rollup/plugin-json": "^6.1.0",
123
129
  "@rollup/plugin-node-resolve": "^16.0.1",
124
130
  "@rollup/plugin-replace": "^6.0.2",
125
131
  "@rollup/pluginutils": "^5.1.4",
126
- "@types/blessed": "^0.1.25",
132
+ "@types/blessed": "0.1.25",
127
133
  "@types/cmd-shim": "^5.0.2",
128
134
  "@types/common-tags": "^1.8.4",
129
135
  "@types/micromatch": "^4.0.9",
130
136
  "@types/mock-fs": "^4.13.4",
131
- "@types/node": "^22.13.13",
137
+ "@types/node": "^22.14.0",
132
138
  "@types/npmcli__arborist": "^6.3.0",
133
139
  "@types/proc-log": "^3.0.4",
134
- "@types/semver": "^7.5.8",
140
+ "@types/semver": "^7.7.0",
135
141
  "@types/which": "^3.0.4",
136
142
  "@types/yargs-parser": "^21.0.3",
137
- "@typescript-eslint/parser": "^8.28.0",
138
- "@vitest/coverage-v8": "3.0.9",
143
+ "@typescript-eslint/parser": "^8.29.0",
144
+ "@vitest/coverage-v8": "3.1.1",
145
+ "blessed": "0.1.81",
146
+ "blessed-contrib": "4.11.0",
139
147
  "cross-env": "^7.0.3",
148
+ "custompatch": "^1.1.4",
140
149
  "del-cli": "^6.0.0",
150
+ "dev-null-cli": "^2.0.0",
141
151
  "eslint": "^9.23.0",
142
- "eslint-import-resolver-oxc": "^0.13.1",
143
- "eslint-plugin-import-x": "^4.9.1",
144
- "eslint-plugin-n": "^17.16.2",
152
+ "eslint-import-resolver-typescript": "^4.3.1",
153
+ "eslint-plugin-import-x": "^4.10.0",
154
+ "eslint-plugin-n": "^17.17.0",
145
155
  "eslint-plugin-sort-destructure-keys": "^2.0.0",
146
156
  "eslint-plugin-unicorn": "^56.0.1",
147
157
  "globals": "^16.0.0",
148
158
  "husky": "^9.1.7",
149
- "knip": "^5.46.0",
159
+ "knip": "^5.46.5",
150
160
  "lint-staged": "^15.5.0",
151
161
  "magic-string": "^0.30.17",
152
162
  "mock-fs": "^5.5.0",
153
- "nock": "^14.0.1",
163
+ "nock": "^14.0.2",
154
164
  "npm-run-all2": "^7.0.2",
155
- "oxlint": "0.16.2",
165
+ "oxlint": "0.16.4",
156
166
  "read-package-up": "^11.0.0",
157
- "rollup": "4.37.0",
167
+ "rollup": "4.39.0",
158
168
  "rollup-plugin-ts": "^3.4.5",
159
169
  "synp": "^1.9.14",
160
170
  "type-coverage": "^2.29.7",
161
171
  "typescript": "5.4.5",
162
- "typescript-eslint": "^8.28.0",
172
+ "typescript-eslint": "^8.29.0",
163
173
  "unplugin-purge-polyfills": "^0.0.7",
164
- "vitest": "3.0.9"
174
+ "vitest": "3.1.1"
165
175
  },
166
176
  "overrides": {
167
177
  "aggregate-error": "npm:@socketregistry/aggregate-error@^1",
@@ -188,9 +198,9 @@
188
198
  "tiny-colors": "$yoctocolors-cjs",
189
199
  "typedarray": "npm:@socketregistry/typedarray@^1",
190
200
  "undici": "^6.21.1",
191
- "vite": "^6.2.0",
201
+ "vite": "^6.2.5",
192
202
  "xml2js": "^0.5.0",
193
- "yaml": "2.7.0"
203
+ "yaml": "2.7.1"
194
204
  },
195
205
  "engines": {
196
206
  "node": "^18.20.7 || ^20.18.3 || >=22.14.0"