@socketsecurity/cli-with-sentry 0.14.143 → 0.14.145
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/cli.js
CHANGED
|
@@ -904,7 +904,7 @@ function emitBanner(name) {
|
|
|
904
904
|
logger.logger.error(getAsciiHeader(name))
|
|
905
905
|
}
|
|
906
906
|
function getAsciiHeader(command) {
|
|
907
|
-
const cliVersion = '0.14.
|
|
907
|
+
const cliVersion = '0.14.145:72b5678:a64db69f:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
|
|
908
908
|
const nodeVersion = process$1.version
|
|
909
909
|
const apiToken = shadowNpmInject.getDefaultToken()
|
|
910
910
|
const defaultOrg = shadowNpmInject.getConfigValue('defaultOrg')
|
|
@@ -7462,17 +7462,17 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
|
|
|
7462
7462
|
addedInWorkspaces: new Set(),
|
|
7463
7463
|
updated: new Set(),
|
|
7464
7464
|
updatedInWorkspaces: new Set(),
|
|
7465
|
-
warnedPnpmWorkspaceRequiresNpm: false
|
|
7466
|
-
workspacePkgJsonPaths: await shadowNpmInject.globWorkspace(
|
|
7467
|
-
agent,
|
|
7468
|
-
rootPath
|
|
7469
|
-
)
|
|
7465
|
+
warnedPnpmWorkspaceRequiresNpm: false
|
|
7470
7466
|
}
|
|
7471
7467
|
} = {
|
|
7472
7468
|
__proto__: null,
|
|
7473
7469
|
...options
|
|
7474
7470
|
}
|
|
7475
|
-
const
|
|
7471
|
+
const workspacePkgJsonPaths = await shadowNpmInject.globWorkspace(
|
|
7472
|
+
agent,
|
|
7473
|
+
pkgPath
|
|
7474
|
+
)
|
|
7475
|
+
const isWorkspace = workspacePkgJsonPaths.length > 0
|
|
7476
7476
|
const isWorkspaceRoot = pkgPath === rootPath
|
|
7477
7477
|
const isLockScanned = isWorkspaceRoot && !prod
|
|
7478
7478
|
const workspaceName = isWorkspaceRoot
|
|
@@ -7636,7 +7636,7 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
|
|
|
7636
7636
|
if (isWorkspace) {
|
|
7637
7637
|
// Chunk package names to process them in parallel 3 at a time.
|
|
7638
7638
|
await promises.pEach(
|
|
7639
|
-
|
|
7639
|
+
workspacePkgJsonPaths,
|
|
7640
7640
|
3,
|
|
7641
7641
|
async workspacePkgJsonPath => {
|
|
7642
7642
|
const otherState = await addOverrides(
|
|
@@ -7646,8 +7646,7 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
|
|
|
7646
7646
|
logger,
|
|
7647
7647
|
pin,
|
|
7648
7648
|
prod,
|
|
7649
|
-
spinner
|
|
7650
|
-
state
|
|
7649
|
+
spinner
|
|
7651
7650
|
}
|
|
7652
7651
|
)
|
|
7653
7652
|
for (const key of [
|
|
@@ -7696,6 +7695,7 @@ async function updateLockfile(pkgEnvDetails, options) {
|
|
|
7696
7695
|
spinner
|
|
7697
7696
|
})
|
|
7698
7697
|
if (pkgEnvDetails.features.npmBuggyOverrides) {
|
|
7698
|
+
spinner?.stop()
|
|
7699
7699
|
logger?.log(
|
|
7700
7700
|
`💡 Re-run ${cmdName ? `${cmdName} ` : ''}whenever ${pkgEnvDetails.lockName} changes.\n This can be skipped for ${pkgEnvDetails.agent} >=${NPM_BUGGY_OVERRIDES_PATCHED_VERSION}.`
|
|
7701
7701
|
)
|
|
@@ -12257,7 +12257,7 @@ void (async () => {
|
|
|
12257
12257
|
await vendor.updater({
|
|
12258
12258
|
name: SOCKET_CLI_BIN_NAME,
|
|
12259
12259
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
12260
|
-
version: '0.14.
|
|
12260
|
+
version: '0.14.145',
|
|
12261
12261
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
12262
12262
|
})
|
|
12263
12263
|
try {
|
|
@@ -12325,5 +12325,5 @@ void (async () => {
|
|
|
12325
12325
|
await shadowNpmInject.captureException(e)
|
|
12326
12326
|
}
|
|
12327
12327
|
})()
|
|
12328
|
-
//# debugId=
|
|
12328
|
+
//# debugId=bb39faad-4ddb-4baf-baf5-3920921c2cb2
|
|
12329
12329
|
//# sourceMappingURL=cli.js.map
|