@socketsecurity/cli-with-sentry 0.14.119 → 0.14.120
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 +14 -5
- 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 +14 -5
- 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.120:d9e8965:3549d1b8: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')
|
|
@@ -4105,6 +4105,10 @@ async function npmFix(
|
|
|
4105
4105
|
oldVersion
|
|
4106
4106
|
)
|
|
4107
4107
|
if (!node) {
|
|
4108
|
+
debug.debugLog(
|
|
4109
|
+
`Skipping ${oldSpec}, no node found in arborist.idealTree`,
|
|
4110
|
+
pkgJsonPath
|
|
4111
|
+
)
|
|
4108
4112
|
continue
|
|
4109
4113
|
}
|
|
4110
4114
|
if (
|
|
@@ -4512,13 +4516,18 @@ async function pnpmFix(
|
|
|
4512
4516
|
firstPatchedVersionIdentifier,
|
|
4513
4517
|
vulnerableVersionRange
|
|
4514
4518
|
} of infos) {
|
|
4519
|
+
// eslint-disable-next-line no-await-in-loop
|
|
4520
|
+
actualTree = await getActualTree()
|
|
4515
4521
|
const node = shadowNpmInject.findPackageNode(
|
|
4516
4522
|
actualTree,
|
|
4517
4523
|
name,
|
|
4518
4524
|
oldVersion
|
|
4519
4525
|
)
|
|
4520
4526
|
if (!node) {
|
|
4521
|
-
debug.debugLog(
|
|
4527
|
+
debug.debugLog(
|
|
4528
|
+
`Skipping ${oldSpec}, no node found in arborist.actualTree`,
|
|
4529
|
+
pkgJsonPath
|
|
4530
|
+
)
|
|
4522
4531
|
continue
|
|
4523
4532
|
}
|
|
4524
4533
|
const availableVersions = Object.keys(packument.versions)
|
|
@@ -4636,7 +4645,7 @@ async function pnpmFix(
|
|
|
4636
4645
|
newVersion,
|
|
4637
4646
|
rangeStyle
|
|
4638
4647
|
)
|
|
4639
|
-
debug.debugLog(
|
|
4648
|
+
debug.debugLog(`Updated package.json from node: ${modded}`)
|
|
4640
4649
|
let error
|
|
4641
4650
|
let errored = false
|
|
4642
4651
|
let installed = false
|
|
@@ -12308,7 +12317,7 @@ void (async () => {
|
|
|
12308
12317
|
await vendor.updater({
|
|
12309
12318
|
name: SOCKET_CLI_BIN_NAME,
|
|
12310
12319
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
12311
|
-
version: '0.14.
|
|
12320
|
+
version: '0.14.120',
|
|
12312
12321
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
12313
12322
|
})
|
|
12314
12323
|
try {
|
|
@@ -12376,5 +12385,5 @@ void (async () => {
|
|
|
12376
12385
|
await shadowNpmInject.captureException(e)
|
|
12377
12386
|
}
|
|
12378
12387
|
})()
|
|
12379
|
-
//# debugId=
|
|
12388
|
+
//# debugId=d3515312-ada8-4513-a04e-bb0925cf84b
|
|
12380
12389
|
//# sourceMappingURL=cli.js.map
|