socket 0.14.98 → 0.14.100
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 +6 -6
- 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 +6 -6
- 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
|
@@ -900,7 +900,7 @@ function emitBanner(name) {
|
|
|
900
900
|
logger.logger.error(getAsciiHeader(name))
|
|
901
901
|
}
|
|
902
902
|
function getAsciiHeader(command) {
|
|
903
|
-
const cliVersion = '0.14.
|
|
903
|
+
const cliVersion = '0.14.100:7c35eec:135794c2:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
|
|
904
904
|
const nodeVersion = process$1.version
|
|
905
905
|
const apiToken = shadowNpmInject.getDefaultToken()
|
|
906
906
|
const shownToken = apiToken ? getLastFiveOfApiToken(apiToken) : 'no'
|
|
@@ -3703,7 +3703,7 @@ const cmdDiffScan = {
|
|
|
3703
3703
|
|
|
3704
3704
|
const { GITHUB_REF_NAME } = constants
|
|
3705
3705
|
function formatBranchName(str) {
|
|
3706
|
-
return str.replace(/[-_.]+/g, '-').replace(/[
|
|
3706
|
+
return str.replace(/[-_.]+/g, '-').replace(/[^-a-zA-Z0-9]+/g, '') ?? ''
|
|
3707
3707
|
}
|
|
3708
3708
|
function getPkgNameFromPurlObj(purlObj) {
|
|
3709
3709
|
return `${purlObj.namespace ? `${purlObj.namespace}/` : ''}${purlObj.name}`
|
|
@@ -4027,7 +4027,7 @@ async function npmFix(
|
|
|
4027
4027
|
// Lazily access constants.ENV[CI].
|
|
4028
4028
|
if (constants.ENV[CI$1]) {
|
|
4029
4029
|
;({ owner, repo } = getGitHubEnvRepoInfo())
|
|
4030
|
-
branch = getSocketBranchName(
|
|
4030
|
+
branch = getSocketBranchName(fromPurl, toVersion)
|
|
4031
4031
|
// eslint-disable-next-line no-await-in-loop
|
|
4032
4032
|
shouldOpenPr = !(await doesPullRequestExistForBranch(
|
|
4033
4033
|
owner,
|
|
@@ -4445,7 +4445,7 @@ async function pnpmFix(
|
|
|
4445
4445
|
// Lazily access constants.ENV[CI].
|
|
4446
4446
|
if (constants.ENV[CI]) {
|
|
4447
4447
|
;({ owner, repo } = getGitHubEnvRepoInfo())
|
|
4448
|
-
branch = getSocketBranchName(
|
|
4448
|
+
branch = getSocketBranchName(fromPurl, toVersion)
|
|
4449
4449
|
// eslint-disable-next-line no-await-in-loop
|
|
4450
4450
|
shouldOpenPr = !(await doesPullRequestExistForBranch(
|
|
4451
4451
|
owner,
|
|
@@ -11484,7 +11484,7 @@ void (async () => {
|
|
|
11484
11484
|
await vendor.updater({
|
|
11485
11485
|
name: SOCKET_CLI_BIN_NAME,
|
|
11486
11486
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
11487
|
-
version: '0.14.
|
|
11487
|
+
version: '0.14.100',
|
|
11488
11488
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
11489
11489
|
})
|
|
11490
11490
|
try {
|
|
@@ -11552,5 +11552,5 @@ void (async () => {
|
|
|
11552
11552
|
await shadowNpmInject.captureException(e)
|
|
11553
11553
|
}
|
|
11554
11554
|
})()
|
|
11555
|
-
//# debugId=
|
|
11555
|
+
//# debugId=3dc0bb50-dadf-4426-8d9c-aec587ba7726
|
|
11556
11556
|
//# sourceMappingURL=cli.js.map
|