Update @vercel/ncc dependency to version 0.38.3

This commit is contained in:
Borales 2024-12-09 17:59:42 +01:00
parent c75444e8f8
commit 726692d6eb
No known key found for this signature in database
5 changed files with 100 additions and 100 deletions

186
dist/index.js vendored
View File

@ -1,7 +1,7 @@
require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ 822:
/***/ 188:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -16,10 +16,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
const core_1 = __nccwpck_require__(186);
const yarn_1 = __nccwpck_require__(820);
const run_1 = __nccwpck_require__(884);
const path_1 = __nccwpck_require__(17);
const core_1 = __nccwpck_require__(484);
const yarn_1 = __nccwpck_require__(980);
const run_1 = __nccwpck_require__(65);
const path_1 = __nccwpck_require__(928);
const main = () => __awaiter(void 0, void 0, void 0, function* () {
yield (0, yarn_1.ensureYarnIsInstalled)();
const cmd = (0, core_1.getInput)('cmd', { required: true });
@ -39,7 +39,7 @@ main();
/***/ }),
/***/ 884:
/***/ 65:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -55,7 +55,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.run = void 0;
const exec_1 = __nccwpck_require__(514);
const exec_1 = __nccwpck_require__(236);
const run = (cmd, { cwd }) => __awaiter(void 0, void 0, void 0, function* () {
yield (0, exec_1.exec)('yarn', cmd.split(' '), { cwd });
});
@ -64,7 +64,7 @@ exports.run = run;
/***/ }),
/***/ 820:
/***/ 980:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -80,9 +80,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.ensureYarnIsInstalled = void 0;
const core_1 = __nccwpck_require__(186);
const exec_1 = __nccwpck_require__(514);
const io_1 = __nccwpck_require__(436);
const core_1 = __nccwpck_require__(484);
const exec_1 = __nccwpck_require__(236);
const io_1 = __nccwpck_require__(994);
const ensureYarnIsInstalled = () => __awaiter(void 0, void 0, void 0, function* () {
try {
yield (0, io_1.which)('yarn', true);
@ -103,7 +103,7 @@ exports.ensureYarnIsInstalled = ensureYarnIsInstalled;
/***/ }),
/***/ 351:
/***/ 914:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -133,8 +133,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.issue = exports.issueCommand = void 0;
const os = __importStar(__nccwpck_require__(37));
const utils_1 = __nccwpck_require__(278);
const os = __importStar(__nccwpck_require__(857));
const utils_1 = __nccwpck_require__(302);
/**
* Commands
*
@ -206,7 +206,7 @@ function escapeProperty(s) {
/***/ }),
/***/ 186:
/***/ 484:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -245,12 +245,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.platform = exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = exports.markdownSummary = exports.summary = exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;
const command_1 = __nccwpck_require__(351);
const file_command_1 = __nccwpck_require__(717);
const utils_1 = __nccwpck_require__(278);
const os = __importStar(__nccwpck_require__(37));
const path = __importStar(__nccwpck_require__(17));
const oidc_utils_1 = __nccwpck_require__(41);
const command_1 = __nccwpck_require__(914);
const file_command_1 = __nccwpck_require__(753);
const utils_1 = __nccwpck_require__(302);
const os = __importStar(__nccwpck_require__(857));
const path = __importStar(__nccwpck_require__(928));
const oidc_utils_1 = __nccwpck_require__(306);
/**
* The code to exit an action
*/
@ -535,29 +535,29 @@ exports.getIDToken = getIDToken;
/**
* Summary exports
*/
var summary_1 = __nccwpck_require__(327);
var summary_1 = __nccwpck_require__(847);
Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } }));
/**
* @deprecated use core.summary
*/
var summary_2 = __nccwpck_require__(327);
var summary_2 = __nccwpck_require__(847);
Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } }));
/**
* Path exports
*/
var path_utils_1 = __nccwpck_require__(981);
var path_utils_1 = __nccwpck_require__(976);
Object.defineProperty(exports, "toPosixPath", ({ enumerable: true, get: function () { return path_utils_1.toPosixPath; } }));
Object.defineProperty(exports, "toWin32Path", ({ enumerable: true, get: function () { return path_utils_1.toWin32Path; } }));
Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: function () { return path_utils_1.toPlatformPath; } }));
/**
* Platform utilities exports
*/
exports.platform = __importStar(__nccwpck_require__(243));
exports.platform = __importStar(__nccwpck_require__(968));
//# sourceMappingURL=core.js.map
/***/ }),
/***/ 717:
/***/ 753:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -590,10 +590,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.prepareKeyValueMessage = exports.issueFileCommand = void 0;
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
const crypto = __importStar(__nccwpck_require__(113));
const fs = __importStar(__nccwpck_require__(147));
const os = __importStar(__nccwpck_require__(37));
const utils_1 = __nccwpck_require__(278);
const crypto = __importStar(__nccwpck_require__(982));
const fs = __importStar(__nccwpck_require__(896));
const os = __importStar(__nccwpck_require__(857));
const utils_1 = __nccwpck_require__(302);
function issueFileCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
@ -626,7 +626,7 @@ exports.prepareKeyValueMessage = prepareKeyValueMessage;
/***/ }),
/***/ 41:
/***/ 306:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -642,9 +642,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.OidcClient = void 0;
const http_client_1 = __nccwpck_require__(255);
const auth_1 = __nccwpck_require__(526);
const core_1 = __nccwpck_require__(186);
const http_client_1 = __nccwpck_require__(844);
const auth_1 = __nccwpck_require__(552);
const core_1 = __nccwpck_require__(484);
class OidcClient {
static createHttpClient(allowRetry = true, maxRetry = 10) {
const requestOptions = {
@ -710,7 +710,7 @@ exports.OidcClient = OidcClient;
/***/ }),
/***/ 981:
/***/ 976:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -740,7 +740,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0;
const path = __importStar(__nccwpck_require__(17));
const path = __importStar(__nccwpck_require__(928));
/**
* toPosixPath converts the given path to the posix form. On Windows, \\ will be
* replaced with /.
@ -779,7 +779,7 @@ exports.toPlatformPath = toPlatformPath;
/***/ }),
/***/ 243:
/***/ 968:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -821,8 +821,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getDetails = exports.isLinux = exports.isMacOS = exports.isWindows = exports.arch = exports.platform = void 0;
const os_1 = __importDefault(__nccwpck_require__(37));
const exec = __importStar(__nccwpck_require__(514));
const os_1 = __importDefault(__nccwpck_require__(857));
const exec = __importStar(__nccwpck_require__(236));
const getWindowsInfo = () => __awaiter(void 0, void 0, void 0, function* () {
const { stdout: version } = yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"', undefined, {
silent: true
@ -880,7 +880,7 @@ exports.getDetails = getDetails;
/***/ }),
/***/ 327:
/***/ 847:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -896,8 +896,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;
const os_1 = __nccwpck_require__(37);
const fs_1 = __nccwpck_require__(147);
const os_1 = __nccwpck_require__(857);
const fs_1 = __nccwpck_require__(896);
const { access, appendFile, writeFile } = fs_1.promises;
exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';
exports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';
@ -1170,7 +1170,7 @@ exports.summary = _summary;
/***/ }),
/***/ 278:
/***/ 302:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@ -1217,7 +1217,7 @@ exports.toCommandProperties = toCommandProperties;
/***/ }),
/***/ 514:
/***/ 236:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -1252,8 +1252,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getExecOutput = exports.exec = void 0;
const string_decoder_1 = __nccwpck_require__(576);
const tr = __importStar(__nccwpck_require__(159));
const string_decoder_1 = __nccwpck_require__(193);
const tr = __importStar(__nccwpck_require__(665));
/**
* Exec a command.
* Output will be streamed to the live console.
@ -1327,7 +1327,7 @@ exports.getExecOutput = getExecOutput;
/***/ }),
/***/ 159:
/***/ 665:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -1362,13 +1362,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.argStringToArray = exports.ToolRunner = void 0;
const os = __importStar(__nccwpck_require__(37));
const events = __importStar(__nccwpck_require__(361));
const child = __importStar(__nccwpck_require__(81));
const path = __importStar(__nccwpck_require__(17));
const io = __importStar(__nccwpck_require__(436));
const ioUtil = __importStar(__nccwpck_require__(962));
const timers_1 = __nccwpck_require__(512);
const os = __importStar(__nccwpck_require__(857));
const events = __importStar(__nccwpck_require__(434));
const child = __importStar(__nccwpck_require__(317));
const path = __importStar(__nccwpck_require__(928));
const io = __importStar(__nccwpck_require__(994));
const ioUtil = __importStar(__nccwpck_require__(207));
const timers_1 = __nccwpck_require__(557);
/* eslint-disable @typescript-eslint/unbound-method */
const IS_WINDOWS = process.platform === 'win32';
/*
@ -1952,7 +1952,7 @@ class ExecState extends events.EventEmitter {
/***/ }),
/***/ 526:
/***/ 552:
/***/ (function(__unused_webpack_module, exports) {
"use strict";
@ -2040,7 +2040,7 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand
/***/ }),
/***/ 255:
/***/ 844:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -2076,10 +2076,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0;
const http = __importStar(__nccwpck_require__(685));
const https = __importStar(__nccwpck_require__(687));
const pm = __importStar(__nccwpck_require__(835));
const tunnel = __importStar(__nccwpck_require__(294));
const http = __importStar(__nccwpck_require__(611));
const https = __importStar(__nccwpck_require__(692));
const pm = __importStar(__nccwpck_require__(988));
const tunnel = __importStar(__nccwpck_require__(770));
var HttpCodes;
(function (HttpCodes) {
HttpCodes[HttpCodes["OK"] = 200] = "OK";
@ -2652,7 +2652,7 @@ const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCa
/***/ }),
/***/ 835:
/***/ 988:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@ -2720,7 +2720,7 @@ exports.checkBypass = checkBypass;
/***/ }),
/***/ 962:
/***/ 207:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -2756,8 +2756,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
var _a;
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readlink = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0;
const fs = __importStar(__nccwpck_require__(147));
const path = __importStar(__nccwpck_require__(17));
const fs = __importStar(__nccwpck_require__(896));
const path = __importStar(__nccwpck_require__(928));
_a = fs.promises
// export const {open} = 'fs'
, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink;
@ -2910,7 +2910,7 @@ exports.getCmdPath = getCmdPath;
/***/ }),
/***/ 436:
/***/ 994:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@ -2945,9 +2945,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.findInPath = exports.which = exports.mkdirP = exports.rmRF = exports.mv = exports.cp = void 0;
const assert_1 = __nccwpck_require__(491);
const path = __importStar(__nccwpck_require__(17));
const ioUtil = __importStar(__nccwpck_require__(962));
const assert_1 = __nccwpck_require__(613);
const path = __importStar(__nccwpck_require__(928));
const ioUtil = __importStar(__nccwpck_require__(207));
/**
* Copies a file or folder.
* Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js
@ -3216,27 +3216,27 @@ function copyFile(srcFile, destFile, force) {
/***/ }),
/***/ 294:
/***/ 770:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = __nccwpck_require__(219);
module.exports = __nccwpck_require__(218);
/***/ }),
/***/ 219:
/***/ 218:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
var net = __nccwpck_require__(808);
var tls = __nccwpck_require__(404);
var http = __nccwpck_require__(685);
var https = __nccwpck_require__(687);
var events = __nccwpck_require__(361);
var assert = __nccwpck_require__(491);
var util = __nccwpck_require__(837);
var net = __nccwpck_require__(278);
var tls = __nccwpck_require__(756);
var http = __nccwpck_require__(611);
var https = __nccwpck_require__(692);
var events = __nccwpck_require__(434);
var assert = __nccwpck_require__(613);
var util = __nccwpck_require__(23);
exports.httpOverHttp = httpOverHttp;
@ -3496,7 +3496,7 @@ exports.debug = debug; // for test
/***/ }),
/***/ 491:
/***/ 613:
/***/ ((module) => {
"use strict";
@ -3504,7 +3504,7 @@ module.exports = require("assert");
/***/ }),
/***/ 81:
/***/ 317:
/***/ ((module) => {
"use strict";
@ -3512,7 +3512,7 @@ module.exports = require("child_process");
/***/ }),
/***/ 113:
/***/ 982:
/***/ ((module) => {
"use strict";
@ -3520,7 +3520,7 @@ module.exports = require("crypto");
/***/ }),
/***/ 361:
/***/ 434:
/***/ ((module) => {
"use strict";
@ -3528,7 +3528,7 @@ module.exports = require("events");
/***/ }),
/***/ 147:
/***/ 896:
/***/ ((module) => {
"use strict";
@ -3536,7 +3536,7 @@ module.exports = require("fs");
/***/ }),
/***/ 685:
/***/ 611:
/***/ ((module) => {
"use strict";
@ -3544,7 +3544,7 @@ module.exports = require("http");
/***/ }),
/***/ 687:
/***/ 692:
/***/ ((module) => {
"use strict";
@ -3552,7 +3552,7 @@ module.exports = require("https");
/***/ }),
/***/ 808:
/***/ 278:
/***/ ((module) => {
"use strict";
@ -3560,7 +3560,7 @@ module.exports = require("net");
/***/ }),
/***/ 37:
/***/ 857:
/***/ ((module) => {
"use strict";
@ -3568,7 +3568,7 @@ module.exports = require("os");
/***/ }),
/***/ 17:
/***/ 928:
/***/ ((module) => {
"use strict";
@ -3576,7 +3576,7 @@ module.exports = require("path");
/***/ }),
/***/ 576:
/***/ 193:
/***/ ((module) => {
"use strict";
@ -3584,7 +3584,7 @@ module.exports = require("string_decoder");
/***/ }),
/***/ 512:
/***/ 557:
/***/ ((module) => {
"use strict";
@ -3592,7 +3592,7 @@ module.exports = require("timers");
/***/ }),
/***/ 404:
/***/ 756:
/***/ ((module) => {
"use strict";
@ -3600,7 +3600,7 @@ module.exports = require("tls");
/***/ }),
/***/ 837:
/***/ 23:
/***/ ((module) => {
"use strict";
@ -3650,7 +3650,7 @@ module.exports = require("util");
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module is referenced by other modules so it can't be inlined
/******/ var __webpack_exports__ = __nccwpck_require__(822);
/******/ var __webpack_exports__ = __nccwpck_require__(188);
/******/ module.exports = __webpack_exports__;
/******/
/******/ })()

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -19,7 +19,7 @@
"devDependencies": {
"@types/node": "^20.17.9",
"@typescript-eslint/parser": "^6.21.0",
"@vercel/ncc": "^0.38.1",
"@vercel/ncc": "^0.38.3",
"eslint-plugin-github": "^4.10.2",
"eslint-plugin-jest": "^27.9.0",
"eslint": "^8.57.1",

View File

@ -978,10 +978,10 @@
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==
"@vercel/ncc@^0.38.1":
version "0.38.1"
resolved "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.38.1.tgz#13f08738111e1d9e8a22fd6141f3590e54d9a60e"
integrity sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==
"@vercel/ncc@^0.38.3":
version "0.38.3"
resolved "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.38.3.tgz#5475eeee3ac0f1a439f237596911525a490a88b5"
integrity sha512-rnK6hJBS6mwc+Bkab+PGPs9OiS0i/3kdTO+CkI8V0/VrW3vmz7O2Pxjw/owOlmo6PKEIxRSeZKv/kuL9itnpYA==
acorn-jsx@^5.3.2:
version "5.3.2"