socket 0.14.69 → 0.14.71
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 -5
- package/dist/module-sync/cli.js.map +1 -1
- package/dist/module-sync/shadow-npm-inject.js +2 -2
- package/dist/module-sync/shadow-npm-inject.js.map +1 -1
- package/dist/require/cli.js +7 -5
- package/dist/require/cli.js.map +1 -1
- package/package.json +1 -1
- package/dist/module-sync/fs.d.ts +0 -61
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.71:c3c682e:02595bef: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'
|
|
@@ -3120,13 +3120,13 @@ function runAgentInstall(pkgEnvDetails, options) {
|
|
|
3120
3120
|
}
|
|
3121
3121
|
return spawn.spawn(agentExecPath, ['install', ...args], {
|
|
3122
3122
|
spinner,
|
|
3123
|
-
stdio: debug.isDebug() ? 'inherit' : '
|
|
3123
|
+
stdio: debug.isDebug() ? 'inherit' : 'inherit',
|
|
3124
3124
|
...spawnOptions,
|
|
3125
3125
|
env: {
|
|
3126
3126
|
...process.env,
|
|
3127
3127
|
NODE_OPTIONS: cmdFlagsToString([
|
|
3128
3128
|
// Lazily access constants.nodeHardenFlags.
|
|
3129
|
-
...constants.nodeHardenFlags,
|
|
3129
|
+
// ...constants.nodeHardenFlags,
|
|
3130
3130
|
// Lazily access constants.nodeNoWarningsFlags.
|
|
3131
3131
|
...constants.nodeNoWarningsFlags
|
|
3132
3132
|
]),
|
|
@@ -3324,6 +3324,7 @@ async function pnpmFix(pkgEnvDetails, options) {
|
|
|
3324
3324
|
await editablePkgJson.save()
|
|
3325
3325
|
// eslint-disable-next-line no-await-in-loop
|
|
3326
3326
|
await runAgentInstall(pkgEnvDetails, {
|
|
3327
|
+
args: ['--no-frozen-lockfile'],
|
|
3327
3328
|
spinner
|
|
3328
3329
|
})
|
|
3329
3330
|
if (test) {
|
|
@@ -3382,6 +3383,7 @@ async function pnpmFix(pkgEnvDetails, options) {
|
|
|
3382
3383
|
await editablePkgJson.save()
|
|
3383
3384
|
// eslint-disable-next-line no-await-in-loop
|
|
3384
3385
|
await runAgentInstall(pkgEnvDetails, {
|
|
3386
|
+
args: ['--no-frozen-lockfile'],
|
|
3385
3387
|
spinner
|
|
3386
3388
|
})
|
|
3387
3389
|
spinner?.stop()
|
|
@@ -11010,7 +11012,7 @@ void (async () => {
|
|
|
11010
11012
|
await updateNotifier({
|
|
11011
11013
|
name: SOCKET_CLI_BIN_NAME,
|
|
11012
11014
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
11013
|
-
version: '0.14.
|
|
11015
|
+
version: '0.14.71',
|
|
11014
11016
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
11015
11017
|
})
|
|
11016
11018
|
try {
|
|
@@ -11081,5 +11083,5 @@ void (async () => {
|
|
|
11081
11083
|
await shadowNpmInject.captureException(e)
|
|
11082
11084
|
}
|
|
11083
11085
|
})()
|
|
11084
|
-
//# debugId=
|
|
11086
|
+
//# debugId=286562ba-51ec-4ea6-b872-9237fd2d55a
|
|
11085
11087
|
//# sourceMappingURL=cli.js.map
|