socket 0.14.70 → 0.14.72
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 +6 -4
- 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 +6 -4
- 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.72:f9c998c:23cff9bf: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'
|
|
@@ -3193,7 +3193,7 @@ async function createPullRequest({
|
|
|
3193
3193
|
title
|
|
3194
3194
|
}) {
|
|
3195
3195
|
const octokit = new rest.Octokit({
|
|
3196
|
-
auth: process.env['GITHUB_TOKEN']
|
|
3196
|
+
auth: process.env['SOCKET_AUTOFIX_PAT'] ?? process.env['GITHUB_TOKEN']
|
|
3197
3197
|
})
|
|
3198
3198
|
await octokit.pulls.create({
|
|
3199
3199
|
owner,
|
|
@@ -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.72',
|
|
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=d1abb55e-96c1-46ef-96c1-1e2226490562
|
|
11085
11087
|
//# sourceMappingURL=cli.js.map
|