socket 0.14.109 → 0.14.110

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.109:c6dcd25:241925b4:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
920
+ const cliVersion = '0.14.110:bce799e:225683fa: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')
@@ -4627,19 +4627,24 @@ async function pnpmFix(
4627
4627
  if (updateData) {
4628
4628
  editablePkgJson.update(updateData)
4629
4629
  }
4630
- shadowNpmInject.updatePackageJsonFromNode(
4630
+ const modded = shadowNpmInject.updatePackageJsonFromNode(
4631
4631
  editablePkgJson,
4632
4632
  actualTree,
4633
4633
  node,
4634
4634
  newVersion,
4635
4635
  rangeStyle
4636
4636
  )
4637
+ debug.debugLog('updatePackageJsonFromNode', modded)
4638
+ debug.debugLog(branch, editablePkgJson.filename)
4637
4639
  let error
4638
4640
  let errored = false
4639
4641
  let installed = false
4640
4642
 
4641
4643
  // eslint-disable-next-line no-await-in-loop
4642
4644
  if (!(await editablePkgJson.save())) {
4645
+ debug.debugLog(
4646
+ `Skipping nothing changed in ${editablePkgJson.filename}`
4647
+ )
4643
4648
  continue
4644
4649
  }
4645
4650
  if (!installedSpecs.has(newSpecKey)) {
@@ -4672,6 +4677,7 @@ async function pnpmFix(
4672
4677
  error = e
4673
4678
  errored = true
4674
4679
  }
4680
+ debug.debugLog('check "shouldOpenPr":', shouldOpenPr)
4675
4681
  debug.debugLog('check "errored":', errored)
4676
4682
  if (!errored && shouldOpenPr) {
4677
4683
  debug.debugLog('1: gitCreateAndPushBranchIfNeeded')
@@ -12299,7 +12305,7 @@ void (async () => {
12299
12305
  await vendor.updater({
12300
12306
  name: SOCKET_CLI_BIN_NAME,
12301
12307
  // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
12302
- version: '0.14.109',
12308
+ version: '0.14.110',
12303
12309
  ttl: 86_400_000 /* 24 hours in milliseconds */
12304
12310
  })
12305
12311
  try {
@@ -12367,5 +12373,5 @@ void (async () => {
12367
12373
  await shadowNpmInject.captureException(e)
12368
12374
  }
12369
12375
  })()
12370
- //# debugId=5749d845-bfec-49fb-b09e-8adb970927b1
12376
+ //# debugId=32797e31-23f9-493d-96c8-d575d3123a7a
12371
12377
  //# sourceMappingURL=cli.js.map