socket 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 +12 -12
- package/dist/cli.js.map +1 -1
- package/dist/shadow-npm-inject.js +2 -2
- package/dist/shadow-npm-inject.js.map +1 -1
- package/package.json +1 -1
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:19fa9236: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')
|
|
@@ -7458,17 +7458,17 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
|
|
|
7458
7458
|
addedInWorkspaces: new Set(),
|
|
7459
7459
|
updated: new Set(),
|
|
7460
7460
|
updatedInWorkspaces: new Set(),
|
|
7461
|
-
warnedPnpmWorkspaceRequiresNpm: false
|
|
7462
|
-
workspacePkgJsonPaths: await shadowNpmInject.globWorkspace(
|
|
7463
|
-
agent,
|
|
7464
|
-
rootPath
|
|
7465
|
-
)
|
|
7461
|
+
warnedPnpmWorkspaceRequiresNpm: false
|
|
7466
7462
|
}
|
|
7467
7463
|
} = {
|
|
7468
7464
|
__proto__: null,
|
|
7469
7465
|
...options
|
|
7470
7466
|
}
|
|
7471
|
-
const
|
|
7467
|
+
const workspacePkgJsonPaths = await shadowNpmInject.globWorkspace(
|
|
7468
|
+
agent,
|
|
7469
|
+
pkgPath
|
|
7470
|
+
)
|
|
7471
|
+
const isWorkspace = workspacePkgJsonPaths.length > 0
|
|
7472
7472
|
const isWorkspaceRoot = pkgPath === rootPath
|
|
7473
7473
|
const isLockScanned = isWorkspaceRoot && !prod
|
|
7474
7474
|
const workspaceName = isWorkspaceRoot
|
|
@@ -7632,7 +7632,7 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
|
|
|
7632
7632
|
if (isWorkspace) {
|
|
7633
7633
|
// Chunk package names to process them in parallel 3 at a time.
|
|
7634
7634
|
await promises.pEach(
|
|
7635
|
-
|
|
7635
|
+
workspacePkgJsonPaths,
|
|
7636
7636
|
3,
|
|
7637
7637
|
async workspacePkgJsonPath => {
|
|
7638
7638
|
const otherState = await addOverrides(
|
|
@@ -7642,8 +7642,7 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
|
|
|
7642
7642
|
logger,
|
|
7643
7643
|
pin,
|
|
7644
7644
|
prod,
|
|
7645
|
-
spinner
|
|
7646
|
-
state
|
|
7645
|
+
spinner
|
|
7647
7646
|
}
|
|
7648
7647
|
)
|
|
7649
7648
|
for (const key of [
|
|
@@ -7692,6 +7691,7 @@ async function updateLockfile(pkgEnvDetails, options) {
|
|
|
7692
7691
|
spinner
|
|
7693
7692
|
})
|
|
7694
7693
|
if (pkgEnvDetails.features.npmBuggyOverrides) {
|
|
7694
|
+
spinner?.stop()
|
|
7695
7695
|
logger?.log(
|
|
7696
7696
|
`💡 Re-run ${cmdName ? `${cmdName} ` : ''}whenever ${pkgEnvDetails.lockName} changes.\n This can be skipped for ${pkgEnvDetails.agent} >=${NPM_BUGGY_OVERRIDES_PATCHED_VERSION}.`
|
|
7697
7697
|
)
|
|
@@ -12253,7 +12253,7 @@ void (async () => {
|
|
|
12253
12253
|
await vendor.updater({
|
|
12254
12254
|
name: SOCKET_CLI_BIN_NAME,
|
|
12255
12255
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
12256
|
-
version: '0.14.
|
|
12256
|
+
version: '0.14.145',
|
|
12257
12257
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
12258
12258
|
})
|
|
12259
12259
|
try {
|
|
@@ -12321,5 +12321,5 @@ void (async () => {
|
|
|
12321
12321
|
await shadowNpmInject.captureException(e)
|
|
12322
12322
|
}
|
|
12323
12323
|
})()
|
|
12324
|
-
//# debugId=
|
|
12324
|
+
//# debugId=be11d525-2d0b-4048-8e64-5391d6a93d04
|
|
12325
12325
|
//# sourceMappingURL=cli.js.map
|