socket 0.14.110 → 0.14.111
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 -4
- package/dist/module-sync/cli.js.map +1 -1
- package/dist/module-sync/shadow-npm-inject.js +27 -23
- package/dist/module-sync/shadow-npm-inject.js.map +1 -1
- package/dist/require/cli.js +7 -4
- package/dist/require/cli.js.map +1 -1
- package/dist/require/shadow-npm-inject.js +27 -23
- 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.111:ed1497e:51590463: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')
|
|
@@ -3728,7 +3728,10 @@ const cmdDiffScan = {
|
|
|
3728
3728
|
|
|
3729
3729
|
const { GITHUB_REF_NAME } = constants
|
|
3730
3730
|
function formatBranchName(str) {
|
|
3731
|
-
return str
|
|
3731
|
+
return str
|
|
3732
|
+
.replace(/[\\/-_.]+/g, '-')
|
|
3733
|
+
.replace(/[^-a-zA-Z0-9]+/g, '')
|
|
3734
|
+
.replace(/^-+|-+$/g, '')
|
|
3732
3735
|
}
|
|
3733
3736
|
function getPkgNameFromPurlObj(purlObj) {
|
|
3734
3737
|
return `${purlObj.namespace ? `${purlObj.namespace}/` : ''}${purlObj.name}`
|
|
@@ -12305,7 +12308,7 @@ void (async () => {
|
|
|
12305
12308
|
await vendor.updater({
|
|
12306
12309
|
name: SOCKET_CLI_BIN_NAME,
|
|
12307
12310
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
12308
|
-
version: '0.14.
|
|
12311
|
+
version: '0.14.111',
|
|
12309
12312
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
12310
12313
|
})
|
|
12311
12314
|
try {
|
|
@@ -12373,5 +12376,5 @@ void (async () => {
|
|
|
12373
12376
|
await shadowNpmInject.captureException(e)
|
|
12374
12377
|
}
|
|
12375
12378
|
})()
|
|
12376
|
-
//# debugId=
|
|
12379
|
+
//# debugId=d3d3d563-0e77-4bef-aa59-13c56f702e16
|
|
12377
12380
|
//# sourceMappingURL=cli.js.map
|