@socketsecurity/cli-with-sentry 1.1.5 → 1.1.7
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 +13 -0
- package/README.md +9 -0
- package/dist/cli.js +11 -6
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +4 -4
- package/dist/constants.js.map +1 -1
- package/dist/flags.js +22 -15
- package/dist/flags.js.map +1 -1
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/types/commands/fix/coana-fix.d.mts.map +1 -1
- package/dist/types/commands/patch/cmd-patch.d.mts.map +1 -1
- package/dist/types/commands/patch/handle-patch.d.mts.map +1 -1
- package/dist/types/flags.d.mts.map +1 -1
- package/dist/types/utils/coana.d.mts.map +1 -1
- package/dist/types/utils/meow-with-subcommands.d.mts +1 -1
- package/dist/types/utils/meow-with-subcommands.d.mts.map +1 -1
- package/dist/types/utils/sdk.d.mts +4 -0
- package/dist/types/utils/sdk.d.mts.map +1 -1
- package/dist/utils.js +71 -53
- package/dist/utils.js.map +1 -1
- package/dist/vendor.js +15 -10
- package/external/@socketsecurity/registry/external/@socketregistry/yocto-spinner.js +46 -11
- package/external/@socketsecurity/registry/external/cacache.js +1 -1
- package/external/@socketsecurity/registry/external/libnpmpack.js +8 -8
- package/external/@socketsecurity/registry/external/make-fetch-happen.js +7 -7
- package/external/@socketsecurity/registry/external/pacote.js +7 -7
- package/external/@socketsecurity/registry/lib/spinner.js +17 -0
- package/external/@socketsecurity/registry/lib/url.js +19 -0
- package/external/@socketsecurity/registry/manifest.json +2 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
6
6
|
|
|
7
|
+
## [1.1.7](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.7) - 2025-09-11
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- Control spinner display with new `--no-spinner` flag
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Configurable proxy handling for requests
|
|
14
|
+
|
|
15
|
+
## [1.1.6](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.6) - 2025-09-10
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- GraphQL cache handling for PR operations
|
|
19
|
+
|
|
7
20
|
## [1.1.5](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.5) - 2025-09-10
|
|
8
21
|
|
|
9
22
|
### Fixed
|
package/README.md
CHANGED
|
@@ -107,3 +107,12 @@ npm exec socket
|
|
|
107
107
|
- [`@socketsecurity/sdk`](https://github.com/SocketDev/socket-sdk-js) - The SDK used by Socket CLI
|
|
108
108
|
|
|
109
109
|
[Socket.dev]: https://socket.dev/
|
|
110
|
+
|
|
111
|
+
<br/>
|
|
112
|
+
<div align="center">
|
|
113
|
+
<picture>
|
|
114
|
+
<source media="(prefers-color-scheme: dark)" srcset="logo-white.png">
|
|
115
|
+
<source media="(prefers-color-scheme: light)" srcset="logo-black.png">
|
|
116
|
+
<img width="324" height="108" alt="Socket Logo" src="logo-black.png">
|
|
117
|
+
</picture>
|
|
118
|
+
</div>
|
package/dist/cli.js
CHANGED
|
@@ -3286,7 +3286,7 @@ async function getSocketFixPrsWithContext(owner, repo, options) {
|
|
|
3286
3286
|
let hasNextPage = true;
|
|
3287
3287
|
let cursor = null;
|
|
3288
3288
|
let pageIndex = 0;
|
|
3289
|
-
const gqlCacheKey = `${repo}-pr-graphql-snapshot`;
|
|
3289
|
+
const gqlCacheKey = `${repo}-pr-graphql-snapshot-${states.join('-').toLowerCase()}`;
|
|
3290
3290
|
while (hasNextPage) {
|
|
3291
3291
|
// eslint-disable-next-line no-await-in-loop
|
|
3292
3292
|
const gqlResp = await utils.cacheFetch(`${gqlCacheKey}-page-${pageIndex}`, () => octokitGraphql(`
|
|
@@ -3519,7 +3519,7 @@ async function coanaFix(fixConfig) {
|
|
|
3519
3519
|
// Reduce limit by number of open PRs to avoid creating too many.
|
|
3520
3520
|
adjustedLimit = Math.max(0, limit - openPrCount);
|
|
3521
3521
|
if (openPrCount > 0) {
|
|
3522
|
-
require$$9.debugFn('notice', `limit: adjusted from ${limit} to ${adjustedLimit} (${openPrCount} open Socket Fix
|
|
3522
|
+
require$$9.debugFn('notice', `limit: adjusted from ${limit} to ${adjustedLimit} (${openPrCount} open Socket Fix ${words.pluralize('PR', openPrCount)}`);
|
|
3523
3523
|
}
|
|
3524
3524
|
} catch (e) {
|
|
3525
3525
|
require$$9.debugFn('warn', 'Failed to count open PRs, using original limit');
|
|
@@ -8866,6 +8866,7 @@ async function findNodeModulesPaths(cwd) {
|
|
|
8866
8866
|
absolute: true,
|
|
8867
8867
|
cwd: path.dirname(rootNmPath),
|
|
8868
8868
|
dot: true,
|
|
8869
|
+
followSymbolicLinks: false,
|
|
8869
8870
|
onlyDirectories: true
|
|
8870
8871
|
});
|
|
8871
8872
|
}
|
|
@@ -9096,11 +9097,15 @@ async function run$k(argv, importMeta, {
|
|
|
9096
9097
|
importMeta,
|
|
9097
9098
|
parentName
|
|
9098
9099
|
});
|
|
9099
|
-
const
|
|
9100
|
-
|
|
9100
|
+
const {
|
|
9101
|
+
dryRun,
|
|
9102
|
+
json,
|
|
9103
|
+
markdown
|
|
9104
|
+
} = cli.flags;
|
|
9105
|
+
const outputKind = utils.getOutputKind(json, markdown);
|
|
9101
9106
|
const wasValidInput = utils.checkCommandInput(outputKind, {
|
|
9102
9107
|
nook: true,
|
|
9103
|
-
test: !
|
|
9108
|
+
test: !json || !markdown,
|
|
9104
9109
|
message: 'The json and markdown flags cannot be both set, pick one',
|
|
9105
9110
|
fail: 'omit one'
|
|
9106
9111
|
});
|
|
@@ -14390,5 +14395,5 @@ void (async () => {
|
|
|
14390
14395
|
await utils.captureException(e);
|
|
14391
14396
|
}
|
|
14392
14397
|
})();
|
|
14393
|
-
//# debugId=
|
|
14398
|
+
//# debugId=ac9751e6-2458-4e89-9ffb-14171de230d0
|
|
14394
14399
|
//# sourceMappingURL=cli.js.map
|