socket 0.14.75 → 0.14.76
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
CHANGED
|
@@ -914,7 +914,7 @@ function emitBanner(name) {
|
|
|
914
914
|
logger.logger.error(getAsciiHeader(name))
|
|
915
915
|
}
|
|
916
916
|
function getAsciiHeader(command) {
|
|
917
|
-
const cliVersion = '0.14.
|
|
917
|
+
const cliVersion = '0.14.76:c0c2e5d:cebdd6b8:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
|
|
918
918
|
const nodeVersion = process$1.version
|
|
919
919
|
const apiToken = shadowNpmInject.getDefaultToken()
|
|
920
920
|
const shownToken = apiToken ? getLastFiveOfApiToken(apiToken) : 'no'
|
|
@@ -3373,7 +3373,7 @@ async function pnpmFix(pkgEnvDetails, options) {
|
|
|
3373
3373
|
'remote',
|
|
3374
3374
|
'set-url',
|
|
3375
3375
|
'origin',
|
|
3376
|
-
`https://x-access-token:${process.env['SOCKET_AUTOFIX_PAT']}@github.com/${owner}/${repo}`
|
|
3376
|
+
`https://x-access-token:${process.env['SOCKET_AUTOFIX_PAT'] ?? process.env['GITHUB_TOKEN']}@github.com/${owner}/${repo}`
|
|
3377
3377
|
],
|
|
3378
3378
|
{
|
|
3379
3379
|
cwd
|
|
@@ -11052,7 +11052,7 @@ void (async () => {
|
|
|
11052
11052
|
await updateNotifier({
|
|
11053
11053
|
name: SOCKET_CLI_BIN_NAME,
|
|
11054
11054
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
11055
|
-
version: '0.14.
|
|
11055
|
+
version: '0.14.76',
|
|
11056
11056
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
11057
11057
|
})
|
|
11058
11058
|
try {
|
|
@@ -11123,5 +11123,5 @@ void (async () => {
|
|
|
11123
11123
|
await shadowNpmInject.captureException(e)
|
|
11124
11124
|
}
|
|
11125
11125
|
})()
|
|
11126
|
-
//# debugId=
|
|
11126
|
+
//# debugId=7b5e4128-ae18-4469-a1c0-b42618fc580c
|
|
11127
11127
|
//# sourceMappingURL=cli.js.map
|