@socketsecurity/cli-with-sentry 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.
- package/dist/instrument-with-sentry.js +2 -2
- package/dist/instrument-with-sentry.js.map +1 -1
- package/dist/module-sync/cli.js +10 -4
- package/dist/module-sync/cli.js.map +1 -1
- package/dist/module-sync/shadow-npm-inject.js +2 -2
- package/dist/module-sync/shadow-npm-inject.js.map +1 -1
- package/dist/require/cli.js +10 -4
- package/dist/require/cli.js.map +1 -1
- package/dist/require/shadow-npm-inject.js +2 -2
- package/dist/require/shadow-npm-inject.js.map +1 -1
- package/package.json +1 -1
package/dist/require/cli.js
CHANGED
|
@@ -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.
|
|
920
|
+
const cliVersion = '0.14.110:bce799e:490fe869: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')
|
|
@@ -4631,19 +4631,24 @@ async function pnpmFix(
|
|
|
4631
4631
|
if (updateData) {
|
|
4632
4632
|
editablePkgJson.update(updateData)
|
|
4633
4633
|
}
|
|
4634
|
-
shadowNpmInject.updatePackageJsonFromNode(
|
|
4634
|
+
const modded = shadowNpmInject.updatePackageJsonFromNode(
|
|
4635
4635
|
editablePkgJson,
|
|
4636
4636
|
actualTree,
|
|
4637
4637
|
node,
|
|
4638
4638
|
newVersion,
|
|
4639
4639
|
rangeStyle
|
|
4640
4640
|
)
|
|
4641
|
+
debug.debugLog('updatePackageJsonFromNode', modded)
|
|
4642
|
+
debug.debugLog(branch, editablePkgJson.filename)
|
|
4641
4643
|
let error
|
|
4642
4644
|
let errored = false
|
|
4643
4645
|
let installed = false
|
|
4644
4646
|
|
|
4645
4647
|
// eslint-disable-next-line no-await-in-loop
|
|
4646
4648
|
if (!(await editablePkgJson.save())) {
|
|
4649
|
+
debug.debugLog(
|
|
4650
|
+
`Skipping nothing changed in ${editablePkgJson.filename}`
|
|
4651
|
+
)
|
|
4647
4652
|
continue
|
|
4648
4653
|
}
|
|
4649
4654
|
if (!installedSpecs.has(newSpecKey)) {
|
|
@@ -4676,6 +4681,7 @@ async function pnpmFix(
|
|
|
4676
4681
|
error = e
|
|
4677
4682
|
errored = true
|
|
4678
4683
|
}
|
|
4684
|
+
debug.debugLog('check "shouldOpenPr":', shouldOpenPr)
|
|
4679
4685
|
debug.debugLog('check "errored":', errored)
|
|
4680
4686
|
if (!errored && shouldOpenPr) {
|
|
4681
4687
|
debug.debugLog('1: gitCreateAndPushBranchIfNeeded')
|
|
@@ -12303,7 +12309,7 @@ void (async () => {
|
|
|
12303
12309
|
await vendor.updater({
|
|
12304
12310
|
name: SOCKET_CLI_BIN_NAME,
|
|
12305
12311
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
12306
|
-
version: '0.14.
|
|
12312
|
+
version: '0.14.110',
|
|
12307
12313
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
12308
12314
|
})
|
|
12309
12315
|
try {
|
|
@@ -12371,5 +12377,5 @@ void (async () => {
|
|
|
12371
12377
|
await shadowNpmInject.captureException(e)
|
|
12372
12378
|
}
|
|
12373
12379
|
})()
|
|
12374
|
-
//# debugId=
|
|
12380
|
+
//# debugId=6e5eec15-0ea0-46ad-90c2-b1d3435c8a63
|
|
12375
12381
|
//# sourceMappingURL=cli.js.map
|