socket 0.14.112 → 0.14.113
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 +19 -20
- package/dist/module-sync/cli.js.map +1 -1
- package/dist/module-sync/shadow-npm-inject.js +3 -2
- package/dist/module-sync/shadow-npm-inject.js.map +1 -1
- package/dist/require/cli.js +19 -20
- package/dist/require/cli.js.map +1 -1
- package/dist/require/shadow-npm-inject.js +3 -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.113:753a37f:8ffbd6ab: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
|
|
4094
|
-
const
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
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,15 +4505,14 @@ async function pnpmFix(
|
|
|
4505
4505
|
const testedSpecs = new Set()
|
|
4506
4506
|
const unavailableSpecs = new Set()
|
|
4507
4507
|
const revertedSpecs = new Set()
|
|
4508
|
-
for (const
|
|
4509
|
-
const
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
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) {
|
|
4517
4516
|
const node = shadowNpmInject.findPackageNode(
|
|
4518
4517
|
actualTree,
|
|
4519
4518
|
name,
|
|
@@ -12308,7 +12307,7 @@ void (async () => {
|
|
|
12308
12307
|
await vendor.updater({
|
|
12309
12308
|
name: SOCKET_CLI_BIN_NAME,
|
|
12310
12309
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
12311
|
-
version: '0.14.
|
|
12310
|
+
version: '0.14.113',
|
|
12312
12311
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
12313
12312
|
})
|
|
12314
12313
|
try {
|
|
@@ -12376,5 +12375,5 @@ void (async () => {
|
|
|
12376
12375
|
await shadowNpmInject.captureException(e)
|
|
12377
12376
|
}
|
|
12378
12377
|
})()
|
|
12379
|
-
//# debugId=
|
|
12378
|
+
//# debugId=ebd126cb-ef92-4c88-84ec-ac65069cdd10
|
|
12380
12379
|
//# sourceMappingURL=cli.js.map
|