socket 0.14.120 → 0.14.121
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 +18 -9
- 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 +18 -9
- 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.121:002547b:753db578: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')
|
|
@@ -4245,9 +4245,13 @@ async function npmFix(
|
|
|
4245
4245
|
workspaceName
|
|
4246
4246
|
}
|
|
4247
4247
|
)
|
|
4248
|
-
if (prResponse
|
|
4249
|
-
|
|
4250
|
-
|
|
4248
|
+
if (prResponse) {
|
|
4249
|
+
const { data } = prResponse
|
|
4250
|
+
spinner?.info(`PR #${data.number} opened.`)
|
|
4251
|
+
if (autoMerge) {
|
|
4252
|
+
// eslint-disable-next-line no-await-in-loop
|
|
4253
|
+
await enableAutoMerge(data)
|
|
4254
|
+
}
|
|
4251
4255
|
}
|
|
4252
4256
|
}
|
|
4253
4257
|
if (errored || isCi) {
|
|
@@ -4490,6 +4494,7 @@ async function pnpmFix(
|
|
|
4490
4494
|
const oldVersions = arrays.arrayUnique(
|
|
4491
4495
|
shadowNpmInject.findPackageNodes(actualTree, name).map(n => n.version)
|
|
4492
4496
|
)
|
|
4497
|
+
debug.debugLog(name, 'oldVersions', oldVersions)
|
|
4493
4498
|
const packument =
|
|
4494
4499
|
oldVersions.length && infos.length
|
|
4495
4500
|
? // eslint-disable-next-line no-await-in-loop
|
|
@@ -4706,9 +4711,13 @@ async function pnpmFix(
|
|
|
4706
4711
|
workspaceName
|
|
4707
4712
|
}
|
|
4708
4713
|
)
|
|
4709
|
-
if (prResponse
|
|
4710
|
-
|
|
4711
|
-
|
|
4714
|
+
if (prResponse) {
|
|
4715
|
+
const { data } = prResponse
|
|
4716
|
+
spinner?.info(`PR #${data.number} opened.`)
|
|
4717
|
+
if (autoMerge) {
|
|
4718
|
+
// eslint-disable-next-line no-await-in-loop
|
|
4719
|
+
await enableAutoMerge(data)
|
|
4720
|
+
}
|
|
4712
4721
|
}
|
|
4713
4722
|
}
|
|
4714
4723
|
if (errored || isCi) {
|
|
@@ -12313,7 +12322,7 @@ void (async () => {
|
|
|
12313
12322
|
await vendor.updater({
|
|
12314
12323
|
name: SOCKET_CLI_BIN_NAME,
|
|
12315
12324
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
12316
|
-
version: '0.14.
|
|
12325
|
+
version: '0.14.121',
|
|
12317
12326
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
12318
12327
|
})
|
|
12319
12328
|
try {
|
|
@@ -12381,5 +12390,5 @@ void (async () => {
|
|
|
12381
12390
|
await shadowNpmInject.captureException(e)
|
|
12382
12391
|
}
|
|
12383
12392
|
})()
|
|
12384
|
-
//# debugId=
|
|
12393
|
+
//# debugId=a9198775-d997-4ba2-a631-647708910271
|
|
12385
12394
|
//# sourceMappingURL=cli.js.map
|