@socketsecurity/cli-with-sentry 0.14.112 → 0.14.113

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.
@@ -917,7 +917,7 @@ function emitBanner(name) {
917
917
  logger.logger.error(getAsciiHeader(name))
918
918
  }
919
919
  function getAsciiHeader(command) {
920
- const cliVersion = '0.14.112:79a6e07:49616d8e:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
920
+ const cliVersion = '0.14.113:753a37f:0c2e5474:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
921
921
  const nodeVersion = process$1.version
922
922
  const apiToken = shadowNpmInject.getDefaultToken()
923
923
  const defaultOrg = shadowNpmInject.getConfigValue('defaultOrg')
@@ -4090,14 +4090,14 @@ async function npmFix(
4090
4090
  const testedSpecs = new Set()
4091
4091
  const unavailableSpecs = new Set()
4092
4092
  const revertedSpecs = new Set()
4093
- for (const oldVersion of oldVersions) {
4094
- const oldSpec = `${name}@${oldVersion}`
4095
- const oldPurl = `pkg:npm/${oldSpec}`
4096
- for (const {
4097
- firstPatchedVersionIdentifier,
4098
- vulnerableVersionRange
4099
- } of infos) {
4100
- for (const pkgJsonPath of pkgJsonPaths) {
4093
+ for (const pkgJsonPath of pkgJsonPaths) {
4094
+ for (const oldVersion of oldVersions) {
4095
+ const oldSpec = `${name}@${oldVersion}`
4096
+ const oldPurl = `pkg:npm/${oldSpec}`
4097
+ for (const {
4098
+ firstPatchedVersionIdentifier,
4099
+ vulnerableVersionRange
4100
+ } of infos) {
4101
4101
  const revertTree = arb.idealTree
4102
4102
  arb.idealTree = null
4103
4103
  // eslint-disable-next-line no-await-in-loop
@@ -4509,15 +4509,14 @@ async function pnpmFix(
4509
4509
  const testedSpecs = new Set()
4510
4510
  const unavailableSpecs = new Set()
4511
4511
  const revertedSpecs = new Set()
4512
- for (const oldVersion of oldVersions) {
4513
- const oldSpec = `${name}@${oldVersion}`
4514
- const oldPurl = `pkg:npm/${oldSpec}`
4515
- for (const {
4516
- firstPatchedVersionIdentifier,
4517
- vulnerableVersionRange
4518
- } of infos) {
4519
- debug.debugLog('pkgJsonPaths', pkgJsonPaths)
4520
- for (const pkgJsonPath of pkgJsonPaths) {
4512
+ for (const pkgJsonPath of pkgJsonPaths) {
4513
+ for (const oldVersion of oldVersions) {
4514
+ const oldSpec = `${name}@${oldVersion}`
4515
+ const oldPurl = `pkg:npm/${oldSpec}`
4516
+ for (const {
4517
+ firstPatchedVersionIdentifier,
4518
+ vulnerableVersionRange
4519
+ } of infos) {
4521
4520
  const node = shadowNpmInject.findPackageNode(
4522
4521
  actualTree,
4523
4522
  name,
@@ -12312,7 +12311,7 @@ void (async () => {
12312
12311
  await vendor.updater({
12313
12312
  name: SOCKET_CLI_BIN_NAME,
12314
12313
  // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
12315
- version: '0.14.112',
12314
+ version: '0.14.113',
12316
12315
  ttl: 86_400_000 /* 24 hours in milliseconds */
12317
12316
  })
12318
12317
  try {
@@ -12380,5 +12379,5 @@ void (async () => {
12380
12379
  await shadowNpmInject.captureException(e)
12381
12380
  }
12382
12381
  })()
12383
- //# debugId=d1400c3c-29d5-4f5d-9766-57e761274a4b
12382
+ //# debugId=1f254f8b-5b98-4df3-b06d-39d2637bc819
12384
12383
  //# sourceMappingURL=cli.js.map