@socketsecurity/cli-with-sentry 1.1.5 → 1.1.6

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 CHANGED
@@ -4,6 +4,11 @@ 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.6](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.6) - 2025-09-10
8
+
9
+ ### Fixed
10
+ - GraphQL cache handling for PR operations
11
+
7
12
  ## [1.1.5](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.5) - 2025-09-10
8
13
 
9
14
  ### Fixed
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 PRs)`);
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');
@@ -14390,5 +14390,5 @@ void (async () => {
14390
14390
  await utils.captureException(e);
14391
14391
  }
14392
14392
  })();
14393
- //# debugId=d759edd3-a3fb-4517-b02a-4526b3195d3
14393
+ //# debugId=4e95a2aa-15d9-468e-bbee-5bed1dff404f
14394
14394
  //# sourceMappingURL=cli.js.map