socket 0.14.71 → 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
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,
|
|
@@ -11012,7 +11012,7 @@ void (async () => {
|
|
|
11012
11012
|
await updateNotifier({
|
|
11013
11013
|
name: SOCKET_CLI_BIN_NAME,
|
|
11014
11014
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
11015
|
-
version: '0.14.
|
|
11015
|
+
version: '0.14.72',
|
|
11016
11016
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
11017
11017
|
})
|
|
11018
11018
|
try {
|
|
@@ -11083,5 +11083,5 @@ void (async () => {
|
|
|
11083
11083
|
await shadowNpmInject.captureException(e)
|
|
11084
11084
|
}
|
|
11085
11085
|
})()
|
|
11086
|
-
//# debugId=
|
|
11086
|
+
//# debugId=d1abb55e-96c1-46ef-96c1-1e2226490562
|
|
11087
11087
|
//# sourceMappingURL=cli.js.map
|