@socketsecurity/cli 0.14.80 → 0.14.82
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/require/cli.js
CHANGED
|
@@ -912,7 +912,7 @@ function emitBanner(name) {
|
|
|
912
912
|
logger.logger.error(getAsciiHeader(name))
|
|
913
913
|
}
|
|
914
914
|
function getAsciiHeader(command) {
|
|
915
|
-
const cliVersion = '0.14.
|
|
915
|
+
const cliVersion = '0.14.82:84c0429:36b03246:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
|
|
916
916
|
const nodeVersion = process$1.version
|
|
917
917
|
const apiToken = shadowNpmInject.getDefaultToken()
|
|
918
918
|
const shownToken = apiToken ? getLastFiveOfApiToken(apiToken) : 'no'
|
|
@@ -4232,7 +4232,7 @@ async function install(pkgEnvDetails, options) {
|
|
|
4232
4232
|
await runAgentInstall(pkgEnvDetails, {
|
|
4233
4233
|
args: ['--no-frozen-lockfile'],
|
|
4234
4234
|
spinner,
|
|
4235
|
-
stdio: 'ignore'
|
|
4235
|
+
stdio: debug.isDebug() ? 'inherit' : 'ignore'
|
|
4236
4236
|
})
|
|
4237
4237
|
}
|
|
4238
4238
|
async function pnpmFix(
|
|
@@ -4404,8 +4404,8 @@ async function pnpmFix(
|
|
|
4404
4404
|
await enableAutoMerge(prResponse.data)
|
|
4405
4405
|
}
|
|
4406
4406
|
}
|
|
4407
|
-
} catch {
|
|
4408
|
-
spinner?.error(`Reverting ${fixSpec}
|
|
4407
|
+
} catch (e) {
|
|
4408
|
+
spinner?.error(`Reverting ${fixSpec}`, e)
|
|
4409
4409
|
if (saved) {
|
|
4410
4410
|
editablePkgJson.update(revertData)
|
|
4411
4411
|
// eslint-disable-next-line no-await-in-loop
|
|
@@ -11300,7 +11300,7 @@ void (async () => {
|
|
|
11300
11300
|
await vendor.updater({
|
|
11301
11301
|
name: SOCKET_CLI_BIN_NAME,
|
|
11302
11302
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
11303
|
-
version: '0.14.
|
|
11303
|
+
version: '0.14.82',
|
|
11304
11304
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
11305
11305
|
})
|
|
11306
11306
|
try {
|
|
@@ -11368,5 +11368,5 @@ void (async () => {
|
|
|
11368
11368
|
await shadowNpmInject.captureException(e)
|
|
11369
11369
|
}
|
|
11370
11370
|
})()
|
|
11371
|
-
//# debugId=
|
|
11371
|
+
//# debugId=8aa376c6-777a-47e0-a9d1-3ddf983b745d
|
|
11372
11372
|
//# sourceMappingURL=cli.js.map
|