socket 0.14.112 → 0.14.114

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:ff4ba09b:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
920
+ const cliVersion = '0.14.114:6709538:c3c69119: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
@@ -4505,21 +4505,24 @@ async function pnpmFix(
4505
4505
  const testedSpecs = new Set()
4506
4506
  const unavailableSpecs = new Set()
4507
4507
  const revertedSpecs = new Set()
4508
- for (const oldVersion of oldVersions) {
4509
- const oldSpec = `${name}@${oldVersion}`
4510
- const oldPurl = `pkg:npm/${oldSpec}`
4511
- for (const {
4512
- firstPatchedVersionIdentifier,
4513
- vulnerableVersionRange
4514
- } of infos) {
4515
- debug.debugLog('pkgJsonPaths', pkgJsonPaths)
4516
- for (const pkgJsonPath of pkgJsonPaths) {
4508
+ for (const pkgJsonPath of pkgJsonPaths) {
4509
+ for (const oldVersion of oldVersions) {
4510
+ const oldSpec = `${name}@${oldVersion}`
4511
+ const oldPurl = `pkg:npm/${oldSpec}`
4512
+ for (const {
4513
+ firstPatchedVersionIdentifier,
4514
+ vulnerableVersionRange
4515
+ } of infos) {
4516
+ debug.debugLog('name', name)
4517
+ debug.debugLog('oldVersion', oldVersion)
4518
+ debug.debugLog('pkgJsonPath', pkgJsonPath)
4517
4519
  const node = shadowNpmInject.findPackageNode(
4518
4520
  actualTree,
4519
4521
  name,
4520
4522
  oldVersion
4521
4523
  )
4522
4524
  if (!node) {
4525
+ debug.debugLog('skipping no node', pkgJsonPath)
4523
4526
  continue
4524
4527
  }
4525
4528
  const availableVersions = Object.keys(packument.versions)
@@ -12308,7 +12311,7 @@ void (async () => {
12308
12311
  await vendor.updater({
12309
12312
  name: SOCKET_CLI_BIN_NAME,
12310
12313
  // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
12311
- version: '0.14.112',
12314
+ version: '0.14.114',
12312
12315
  ttl: 86_400_000 /* 24 hours in milliseconds */
12313
12316
  })
12314
12317
  try {
@@ -12376,5 +12379,5 @@ void (async () => {
12376
12379
  await shadowNpmInject.captureException(e)
12377
12380
  }
12378
12381
  })()
12379
- //# debugId=16f4376c-2c4a-4fe4-9650-b48c4a2c995e
12382
+ //# debugId=c9a1b3d7-691f-4424-8e65-e9bc8d0adfc7
12380
12383
  //# sourceMappingURL=cli.js.map