socket 0.14.113 → 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.
- package/dist/module-sync/cli.js +7 -3
- 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 +7 -3
- 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/module-sync/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.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')
|
|
@@ -4513,12 +4513,16 @@ async function pnpmFix(
|
|
|
4513
4513
|
firstPatchedVersionIdentifier,
|
|
4514
4514
|
vulnerableVersionRange
|
|
4515
4515
|
} of infos) {
|
|
4516
|
+
debug.debugLog('name', name)
|
|
4517
|
+
debug.debugLog('oldVersion', oldVersion)
|
|
4518
|
+
debug.debugLog('pkgJsonPath', pkgJsonPath)
|
|
4516
4519
|
const node = shadowNpmInject.findPackageNode(
|
|
4517
4520
|
actualTree,
|
|
4518
4521
|
name,
|
|
4519
4522
|
oldVersion
|
|
4520
4523
|
)
|
|
4521
4524
|
if (!node) {
|
|
4525
|
+
debug.debugLog('skipping no node', pkgJsonPath)
|
|
4522
4526
|
continue
|
|
4523
4527
|
}
|
|
4524
4528
|
const availableVersions = Object.keys(packument.versions)
|
|
@@ -12307,7 +12311,7 @@ void (async () => {
|
|
|
12307
12311
|
await vendor.updater({
|
|
12308
12312
|
name: SOCKET_CLI_BIN_NAME,
|
|
12309
12313
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
12310
|
-
version: '0.14.
|
|
12314
|
+
version: '0.14.114',
|
|
12311
12315
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
12312
12316
|
})
|
|
12313
12317
|
try {
|
|
@@ -12375,5 +12379,5 @@ void (async () => {
|
|
|
12375
12379
|
await shadowNpmInject.captureException(e)
|
|
12376
12380
|
}
|
|
12377
12381
|
})()
|
|
12378
|
-
//# debugId=
|
|
12382
|
+
//# debugId=c9a1b3d7-691f-4424-8e65-e9bc8d0adfc7
|
|
12379
12383
|
//# sourceMappingURL=cli.js.map
|