fix: bump up nodejs to v16 (#379)

* fix: bump up nodejs to v16

* fix: bump up nodejs to v16
This commit is contained in:
Kengo TODA authored and GitHub committed 2021-12-21 14:51:24 +08:00
1 parent 023656a262
commit 71a073de4f
7 files changed
+11769 -162

No files matched your search

+1 -1
View File
@@ -1 +1 @@
12 16
+1 -1
View File
@@ -9,5 +9,5 @@ branding:
color: blue color: blue
icon: play icon: play
runs: runs:
using: 'node12' using: 'node16'
main: 'dist/index.js' main: 'dist/index.js'
+94 -120
View File
@@ -2,60 +2,45 @@ require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({ /******/ var __webpack_modules__ = ({
/***/ 39: /***/ 39:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict"; "use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.install = exports.runCommand = void 0; exports.install = exports.runCommand = void 0;
const tool_cache_1 = __nccwpck_require__(784); const tool_cache_1 = __nccwpck_require__(784);
const exec_1 = __nccwpck_require__(514); const exec_1 = __nccwpck_require__(514);
function runCommand(command) { async function runCommand(command) {
return __awaiter(this, void 0, void 0, function* () { let output = '';
let output = ''; const result = await (0, exec_1.exec)(command, [], {
const result = yield (0, exec_1.exec)(command, [], { listeners: {
listeners: { stdout: (data) => {
stdout: (data) => { output += data.toString();
output += data.toString();
}
} }
});
if (result !== 0) {
throw new Error(`Failed to run command: ${command}`);
} }
return output.trim();
}); });
if (result !== 0) {
throw new Error(`Failed to run command: ${command}`);
}
return output.trim();
} }
exports.runCommand = runCommand; exports.runCommand = runCommand;
function installOnLinux(version) { async function installOnLinux(version) {
return __awaiter(this, void 0, void 0, function* () { const system = runCommand('uname -s');
const system = runCommand('uname -s'); const hardware = runCommand('uname -m');
const hardware = runCommand('uname -m'); const url = `https://github.com/docker/compose/releases/download/${version}/docker-compose-${await system}-${await hardware}`;
const url = `https://github.com/docker/compose/releases/download/${version}/docker-compose-${yield system}-${yield hardware}`; const installerPath = await (0, tool_cache_1.downloadTool)(url);
const installerPath = yield (0, tool_cache_1.downloadTool)(url); await (0, exec_1.exec)(`chmod +x ${installerPath}`);
yield (0, exec_1.exec)(`chmod +x ${installerPath}`); const cachedPath = await (0, tool_cache_1.cacheFile)(installerPath, 'docker-compose', 'docker-compose', version);
const cachedPath = yield (0, tool_cache_1.cacheFile)(installerPath, 'docker-compose', 'docker-compose', version); return cachedPath;
return cachedPath;
});
} }
function install(version) { async function install(version) {
return __awaiter(this, void 0, void 0, function* () { switch (process.platform) {
switch (process.platform) { case 'linux':
case 'linux': return installOnLinux(version);
return installOnLinux(version); default:
default: throw new Error(`Unsupported platform: ${process.platform}`);
throw new Error(`Unsupported platform: ${process.platform}`); }
}
});
} }
exports.install = install; exports.install = install;
@@ -86,31 +71,20 @@ var __importStar = (this && this.__importStar) || function (mod) {
__setModuleDefault(result, mod); __setModuleDefault(result, mod);
return result; return result;
}; };
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
const core = __importStar(__nccwpck_require__(186)); const core = __importStar(__nccwpck_require__(186));
const install_1 = __nccwpck_require__(39); const install_1 = __nccwpck_require__(39);
function run() { async function run() {
return __awaiter(this, void 0, void 0, function* () { try {
try { const version = core.getInput('version', {
const version = core.getInput('version', { required: true
required: true });
}); const commandPath = await (0, install_1.install)(version);
const commandPath = yield (0, install_1.install)(version); core.addPath(commandPath);
core.addPath(commandPath); }
} catch (error) {
catch (error) { core.setFailed(error instanceof Error ? error.message : 'Unknown error');
core.setFailed(error instanceof Error ? error.message : 'Unknown error'); }
}
});
} }
run(); run();
@@ -143,7 +117,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
}; };
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.issue = exports.issueCommand = void 0; exports.issue = exports.issueCommand = void 0;
const os = __importStar(__nccwpck_require__(87)); const os = __importStar(__nccwpck_require__(37));
const utils_1 = __nccwpck_require__(278); const utils_1 = __nccwpck_require__(278);
/** /**
* Commands * Commands
@@ -254,8 +228,8 @@ exports.getIDToken = exports.getState = exports.saveState = exports.group = expo
const command_1 = __nccwpck_require__(351); const command_1 = __nccwpck_require__(351);
const file_command_1 = __nccwpck_require__(717); const file_command_1 = __nccwpck_require__(717);
const utils_1 = __nccwpck_require__(278); const utils_1 = __nccwpck_require__(278);
const os = __importStar(__nccwpck_require__(87)); const os = __importStar(__nccwpck_require__(37));
const path = __importStar(__nccwpck_require__(622)); const path = __importStar(__nccwpck_require__(17));
const oidc_utils_1 = __nccwpck_require__(41); const oidc_utils_1 = __nccwpck_require__(41);
/** /**
* The code to exit an action * The code to exit an action
@@ -564,8 +538,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.issueCommand = void 0; exports.issueCommand = void 0;
// We use any as a valid input type // We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__nccwpck_require__(747)); const fs = __importStar(__nccwpck_require__(147));
const os = __importStar(__nccwpck_require__(87)); const os = __importStar(__nccwpck_require__(37));
const utils_1 = __nccwpck_require__(278); const utils_1 = __nccwpck_require__(278);
function issueCommand(command, message) { function issueCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`]; const filePath = process.env[`GITHUB_${command}`];
@@ -750,7 +724,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
}; };
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getExecOutput = exports.exec = void 0; exports.getExecOutput = exports.exec = void 0;
const string_decoder_1 = __nccwpck_require__(304); const string_decoder_1 = __nccwpck_require__(576);
const tr = __importStar(__nccwpck_require__(159)); const tr = __importStar(__nccwpck_require__(159));
/** /**
* Exec a command. * Exec a command.
@@ -860,13 +834,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
}; };
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.argStringToArray = exports.ToolRunner = void 0; exports.argStringToArray = exports.ToolRunner = void 0;
const os = __importStar(__nccwpck_require__(87)); const os = __importStar(__nccwpck_require__(37));
const events = __importStar(__nccwpck_require__(614)); const events = __importStar(__nccwpck_require__(361));
const child = __importStar(__nccwpck_require__(129)); const child = __importStar(__nccwpck_require__(81));
const path = __importStar(__nccwpck_require__(622)); const path = __importStar(__nccwpck_require__(17));
const io = __importStar(__nccwpck_require__(436)); const io = __importStar(__nccwpck_require__(436));
const ioUtil = __importStar(__nccwpck_require__(962)); const ioUtil = __importStar(__nccwpck_require__(962));
const timers_1 = __nccwpck_require__(213); const timers_1 = __nccwpck_require__(512);
/* eslint-disable @typescript-eslint/unbound-method */ /* eslint-disable @typescript-eslint/unbound-method */
const IS_WINDOWS = process.platform === 'win32'; const IS_WINDOWS = process.platform === 'win32';
/* /*
@@ -1522,8 +1496,8 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
const http = __nccwpck_require__(605); const http = __nccwpck_require__(685);
const https = __nccwpck_require__(211); const https = __nccwpck_require__(687);
const pm = __nccwpck_require__(443); const pm = __nccwpck_require__(443);
let tunnel; let tunnel;
var HttpCodes; var HttpCodes;
@@ -2142,9 +2116,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
}; };
var _a; var _a;
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
const assert_1 = __nccwpck_require__(357); const assert_1 = __nccwpck_require__(491);
const fs = __nccwpck_require__(747); const fs = __nccwpck_require__(147);
const path = __nccwpck_require__(622); const path = __nccwpck_require__(17);
_a = fs.promises, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; _a = fs.promises, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink;
exports.IS_WINDOWS = process.platform === 'win32'; exports.IS_WINDOWS = process.platform === 'win32';
function exists(fsPath) { function exists(fsPath) {
@@ -2343,9 +2317,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
}); });
}; };
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
const childProcess = __nccwpck_require__(129); const childProcess = __nccwpck_require__(81);
const path = __nccwpck_require__(622); const path = __nccwpck_require__(17);
const util_1 = __nccwpck_require__(669); const util_1 = __nccwpck_require__(837);
const ioUtil = __nccwpck_require__(962); const ioUtil = __nccwpck_require__(962);
const exec = util_1.promisify(childProcess.exec); const exec = util_1.promisify(childProcess.exec);
/** /**
@@ -2664,9 +2638,9 @@ const semver = __importStar(__nccwpck_require__(911));
const core_1 = __nccwpck_require__(186); const core_1 = __nccwpck_require__(186);
// needs to be require for core node modules to be mocked // needs to be require for core node modules to be mocked
/* eslint @typescript-eslint/no-require-imports: 0 */ /* eslint @typescript-eslint/no-require-imports: 0 */
const os = __nccwpck_require__(87); const os = __nccwpck_require__(37);
const cp = __nccwpck_require__(129); const cp = __nccwpck_require__(81);
const fs = __nccwpck_require__(747); const fs = __nccwpck_require__(147);
function _findMatch(versionSpec, stable, candidates, archFilter) { function _findMatch(versionSpec, stable, candidates, archFilter) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const platFilter = os.platform(); const platFilter = os.platform();
@@ -2890,17 +2864,17 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.evaluateVersions = exports.isExplicitVersion = exports.findFromManifest = exports.getManifestFromRepo = exports.findAllVersions = exports.find = exports.cacheFile = exports.cacheDir = exports.extractZip = exports.extractXar = exports.extractTar = exports.extract7z = exports.downloadTool = exports.HTTPError = void 0; exports.evaluateVersions = exports.isExplicitVersion = exports.findFromManifest = exports.getManifestFromRepo = exports.findAllVersions = exports.find = exports.cacheFile = exports.cacheDir = exports.extractZip = exports.extractXar = exports.extractTar = exports.extract7z = exports.downloadTool = exports.HTTPError = void 0;
const core = __importStar(__nccwpck_require__(186)); const core = __importStar(__nccwpck_require__(186));
const io = __importStar(__nccwpck_require__(940)); const io = __importStar(__nccwpck_require__(940));
const fs = __importStar(__nccwpck_require__(747)); const fs = __importStar(__nccwpck_require__(147));
const mm = __importStar(__nccwpck_require__(473)); const mm = __importStar(__nccwpck_require__(473));
const os = __importStar(__nccwpck_require__(87)); const os = __importStar(__nccwpck_require__(37));
const path = __importStar(__nccwpck_require__(622)); const path = __importStar(__nccwpck_require__(17));
const httpm = __importStar(__nccwpck_require__(925)); const httpm = __importStar(__nccwpck_require__(925));
const semver = __importStar(__nccwpck_require__(911)); const semver = __importStar(__nccwpck_require__(911));
const stream = __importStar(__nccwpck_require__(413)); const stream = __importStar(__nccwpck_require__(781));
const util = __importStar(__nccwpck_require__(669)); const util = __importStar(__nccwpck_require__(837));
const v4_1 = __importDefault(__nccwpck_require__(824)); const v4_1 = __importDefault(__nccwpck_require__(824));
const exec_1 = __nccwpck_require__(514); const exec_1 = __nccwpck_require__(514);
const assert_1 = __nccwpck_require__(357); const assert_1 = __nccwpck_require__(491);
const retry_helper_1 = __nccwpck_require__(279); const retry_helper_1 = __nccwpck_require__(279);
class HTTPError extends Error { class HTTPError extends Error {
constructor(httpStatusCode) { constructor(httpStatusCode) {
@@ -3558,8 +3532,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
var _a; var _a;
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rename = exports.readlink = exports.readdir = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rename = exports.readlink = exports.readdir = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0;
const fs = __importStar(__nccwpck_require__(747)); const fs = __importStar(__nccwpck_require__(147));
const path = __importStar(__nccwpck_require__(622)); const path = __importStar(__nccwpck_require__(17));
_a = fs.promises, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; _a = fs.promises, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink;
exports.IS_WINDOWS = process.platform === 'win32'; exports.IS_WINDOWS = process.platform === 'win32';
function exists(fsPath) { function exists(fsPath) {
@@ -3741,10 +3715,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
}; };
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.findInPath = exports.which = exports.mkdirP = exports.rmRF = exports.mv = exports.cp = void 0; exports.findInPath = exports.which = exports.mkdirP = exports.rmRF = exports.mv = exports.cp = void 0;
const assert_1 = __nccwpck_require__(357); const assert_1 = __nccwpck_require__(491);
const childProcess = __importStar(__nccwpck_require__(129)); const childProcess = __importStar(__nccwpck_require__(81));
const path = __importStar(__nccwpck_require__(622)); const path = __importStar(__nccwpck_require__(17));
const util_1 = __nccwpck_require__(669); const util_1 = __nccwpck_require__(837);
const ioUtil = __importStar(__nccwpck_require__(71)); const ioUtil = __importStar(__nccwpck_require__(71));
const exec = util_1.promisify(childProcess.exec); const exec = util_1.promisify(childProcess.exec);
const execFile = util_1.promisify(childProcess.execFile); const execFile = util_1.promisify(childProcess.execFile);
@@ -5671,13 +5645,13 @@ module.exports = __nccwpck_require__(219);
"use strict"; "use strict";
var net = __nccwpck_require__(631); var net = __nccwpck_require__(808);
var tls = __nccwpck_require__(16); var tls = __nccwpck_require__(404);
var http = __nccwpck_require__(605); var http = __nccwpck_require__(685);
var https = __nccwpck_require__(211); var https = __nccwpck_require__(687);
var events = __nccwpck_require__(614); var events = __nccwpck_require__(361);
var assert = __nccwpck_require__(357); var assert = __nccwpck_require__(491);
var util = __nccwpck_require__(669); var util = __nccwpck_require__(837);
exports.httpOverHttp = httpOverHttp; exports.httpOverHttp = httpOverHttp;
@@ -5976,7 +5950,7 @@ module.exports = bytesToUuid;
// Unique ID creation requires a high quality random # generator. In node.js // Unique ID creation requires a high quality random # generator. In node.js
// this is pretty straight-forward - we use the crypto API. // this is pretty straight-forward - we use the crypto API.
var crypto = __nccwpck_require__(417); var crypto = __nccwpck_require__(113);
module.exports = function nodeRNG() { module.exports = function nodeRNG() {
return crypto.randomBytes(16); return crypto.randomBytes(16);
@@ -6021,7 +5995,7 @@ module.exports = v4;
/***/ }), /***/ }),
/***/ 357: /***/ 491:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6029,7 +6003,7 @@ module.exports = require("assert");
/***/ }), /***/ }),
/***/ 129: /***/ 81:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6037,7 +6011,7 @@ module.exports = require("child_process");
/***/ }), /***/ }),
/***/ 417: /***/ 113:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6045,7 +6019,7 @@ module.exports = require("crypto");
/***/ }), /***/ }),
/***/ 614: /***/ 361:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6053,7 +6027,7 @@ module.exports = require("events");
/***/ }), /***/ }),
/***/ 747: /***/ 147:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6061,7 +6035,7 @@ module.exports = require("fs");
/***/ }), /***/ }),
/***/ 605: /***/ 685:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6069,7 +6043,7 @@ module.exports = require("http");
/***/ }), /***/ }),
/***/ 211: /***/ 687:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6077,7 +6051,7 @@ module.exports = require("https");
/***/ }), /***/ }),
/***/ 631: /***/ 808:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6085,7 +6059,7 @@ module.exports = require("net");
/***/ }), /***/ }),
/***/ 87: /***/ 37:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6093,7 +6067,7 @@ module.exports = require("os");
/***/ }), /***/ }),
/***/ 622: /***/ 17:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6101,7 +6075,7 @@ module.exports = require("path");
/***/ }), /***/ }),
/***/ 413: /***/ 781:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6109,7 +6083,7 @@ module.exports = require("stream");
/***/ }), /***/ }),
/***/ 304: /***/ 576:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6117,7 +6091,7 @@ module.exports = require("string_decoder");
/***/ }), /***/ }),
/***/ 213: /***/ 512:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6125,7 +6099,7 @@ module.exports = require("timers");
/***/ }), /***/ }),
/***/ 16: /***/ 404:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
@@ -6133,7 +6107,7 @@ module.exports = require("tls");
/***/ }), /***/ }),
/***/ 669: /***/ 837:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"index.js","sources":["../webpack://@kengotoda/actions-setup-docker-compose/./lib/install.js","../webpack://@kengotoda/actions-setup-docker-compose/./lib/main.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/core/lib/command.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/core/lib/core.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/core/lib/file-command.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/core/lib/oidc-utils.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/core/lib/utils.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/exec/lib/exec.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/exec/lib/toolrunner.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/http-client/auth.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/http-client/index.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/http-client/proxy.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/io/lib/io-util.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/io/lib/io.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/tool-cache/lib/manifest.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/tool-cache/lib/retry-helper.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/tool-cache/lib/tool-cache.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/tool-cache/node_modules/@actions/io/lib/io-util.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/@actions/tool-cache/node_modules/@actions/io/lib/io.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/semver/semver.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/tunnel/index.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/tunnel/lib/tunnel.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/uuid/lib/bytesToUuid.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/uuid/lib/rng.js","../webpack://@kengotoda/actions-setup-docker-compose/./node_modules/uuid/v4.js","../webpack://@kengotoda/actions-setup-docker-compose/external \"assert\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"child_process\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"crypto\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"events\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"fs\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"http\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"https\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"net\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"os\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"path\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"stream\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"string_decoder\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"timers\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"tls\"","../webpack://@kengotoda/actions-setup-docker-compose/external \"util\"","../webpack://@kengotoda/actions-setup-docker-compose/webpack/bootstrap","../webpack://@kengotoda/actions-setup-docker-compose/webpack/runtime/compat","../webpack://@kengotoda/actions-setup-docker-compose/webpack/startup"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.install = exports.runCommand = void 0;\nconst tool_cache_1 = require(\"@actions/tool-cache\");\nconst exec_1 = require(\"@actions/exec\");\nfunction runCommand(command) {\n return __awaiter(this, void 0, void 0, function* () {\n let output = '';\n const result = yield (0, exec_1.exec)(command, [], {\n listeners: {\n stdout: (data) => {\n Line truncated {"version":3,"file":"index.js","mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACLine truncated
+1 -1
View File
@@ -1 +1 @@
(()=>{var e={650:e=>{var r=Object.prototype.toString;var n=typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(e){return r.call(e).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(e,r,t){r>>>=0;var o=e.byteLength-r;if(o<0){throw new RangeError("'offset' is out of bounds")}if(t===undefined){t=o}else{t>>>=0;if(t>o){throw new RangeError("'length' is out of bounds")}}return n?Buffer.from(e.slice(r,r+t)):new Buffer(new Uint8Array(e.slice(r,r+t)))}function fromString(e,r){if(typeof r!=="string"||r===""){r="utf8"}if(!Buffer.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}return n?Buffer.from(e,r):new Buffer(e,r)}function bufferFrom(e,r,t){if(typeof e==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,r,t)}if(typeof e==="string"){return fromString(e,r)}return n?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},284:(e,r,n)=>{e=n.nmd(e);var t=n(596).SourceMapConsumer;var o=n(622);var i;try{i=n(747);if(!i.existsSync||!i.readFileSync){i=null}}catch(e){}var a=n(650);function dynamicRequire(e,r){return e.require(r)}var u=false;var s=false;var l=false;var c="auto";var p={};var f={};var g=/^data:application\/json[^,]+base64,/;var h=[];var d=[];function isInBrowser(){if(c==="browser")return true;if(c==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function handlerExec(e){return function(r){for(var n=0;n<e.length;n++){var t=e[n](r);if(t){return t}}return null}}var m=handlerExec(h);h.push((function(e){e=e.trim();if(/^file:/.test(e)){e=e.replace(/file:\/\/\/(\w:)?/,(function(e,r){return r?"":"/"}))}if(e in p){return p[e]}var r="";try{if(!i){var n=new XMLHttpRequest;n.open("GET",e,false);n.send(null);if(n.readyState===4&&n.status===200){r=n.responseText}}else if(i.existsSync(e)){r=i.readFileSync(e,"utf8")}}catch(e){}return p[e]=r}));function supportRelativeURL(e,r){if(!e)return r;var n=o.dirname(e);var t=/^\w+:\/\/[^\/]*/.exec(n);var i=t?t[0]:"";var a=n.slice(i.length);if(i&&/^\/\w\:/.test(a)){i+="/";return i+o.resolve(n.slice(i.length),r).replace(/\\/g,"/")}return i+o.resolve(n.slice(i.length),r)}function retrieveSourceMapURL(e){var r;if(isInBrowser()){try{var n=new XMLHttpRequest;n.open("GET",e,false);n.send(null);r=n.readyState===4?n.responseText:null;var t=n.getResponseHeader("SourceMap")||n.getResponseHeader("X-SourceMap");if(t){return t}}catch(e){}}r=m(e);var o=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/gm;var i,a;while(a=o.exec(r))i=a;if(!i)return null;return i[1]}var v=handlerExec(d);d.push((function(e){var r=retrieveSourceMapURL(e);if(!r)return null;var n;if(g.test(r)){var t=r.slice(r.indexOf(",")+1);n=a(t,"base64").toString();r=e}else{r=supportRelativeURL(e,r);n=m(r)}if(!n){return null}return{url:r,map:n}}));function mapSourcePosition(e){var r=f[e.source];if(!r){var n=v(e.source);if(n){r=f[e.source]={url:n.url,map:new t(n.map)};if(r.map.sourcesContent){r.map.sources.forEach((function(e,n){var t=r.map.sourcesContent[n];if(t){var o=supportRelativeURL(r.url,e);p[o]=t}}))}}else{r=f[e.source]={url:null,map:null}}}if(r&&r.map&&typeof r.map.originalPositionFor==="function"){var o=r.map.originalPositionFor(e);if(o.source!==null){o.source=supportRelativeURL(r.url,o.source);return o}}return e}function mapEvalOrigin(e){var r=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(e);if(r){var n=mapSourcePosition({source:r[2],line:+r[3],column:r[4]-1});return"eval at "+r[1]+" ("+n.source+":"+n.line+":"+(n.column+1)+")"}r=/^eval at ([^(]+) \((.+)\)$/.exec(e);if(r){return"eval at "+r[1]+" ("+mapEvalOrigin(r[2])+")"}return e}function CallSiteToString(){var e;var r="";if(this.isNative()){r="native"}else{e=this.getScriptNameOrSourceURL();if(!e&&this.isEval()){r=this.getEvalOrigin();r+=", "}if(e){r+=e}else{r+="<anonymous>"}var n=this.getLineNumber();if(n!=null){r+=":"+n;var t=this.getColumnNumber();if(t){r+=":"+t}}}var o="";var i=this.getFunctionName();var a=true;var u=this.isConstructor();var s=!(this.isToplevel()||u);if(s){var l=this.getTypeName();if(l==="[object Object]"){l="null"}var c=this.getMethodName();if(i){if(l&&i.indexOf(l)!=0){o+=l+"."}o+=i;if(c&&i.indexOf("."+c)!=i.length-c.length-1){o+=" [as "+c+"]"}}else{o+=l+"."+(c||"<anonymous>")}}else if(u){o+="new "+(i||"<anonymous>")}else if(i){o+=i}else{o+=r;a=false}if(a){o+=" ("+r+")"}return o}function cloneCallSite(e){var r={};Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(n){r[n]=/^(?:is|get)/.test(n)?function(){return e[n].call(e)}:e[n]}));r.toString=CallSiteToString;return r}function wrapCallSite(e,r){if(r===undefined){r={nextPosition:null,curPosition:null}}if(e.isLine truncated (()=>{var e={650:e=>{var r=Object.prototype.toString;var n=typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(e){return r.call(e).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(e,r,t){r>>>=0;var o=e.byteLength-r;if(o<0){throw new RangeError("'offset' is out of bounds")}if(t===undefined){t=o}else{t>>>=0;if(t>o){throw new RangeError("'length' is out of bounds")}}return n?Buffer.from(e.slice(r,r+t)):new Buffer(new Uint8Array(e.slice(r,r+t)))}function fromString(e,r){if(typeof r!=="string"||r===""){r="utf8"}if(!Buffer.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}return n?Buffer.from(e,r):new Buffer(e,r)}function bufferFrom(e,r,t){if(typeof e==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,r,t)}if(typeof e==="string"){return fromString(e,r)}return n?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},284:(e,r,n)=>{e=n.nmd(e);var t=n(596).SourceMapConsumer;var o=n(17);var i;try{i=n(147);if(!i.existsSync||!i.readFileSync){i=null}}catch(e){}var a=n(650);function dynamicRequire(e,r){return e.require(r)}var u=false;var s=false;var l=false;var c="auto";var p={};var f={};var g=/^data:application\/json[^,]+base64,/;var h=[];var d=[];function isInBrowser(){if(c==="browser")return true;if(c==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function handlerExec(e){return function(r){for(var n=0;n<e.length;n++){var t=e[n](r);if(t){return t}}return null}}var m=handlerExec(h);h.push((function(e){e=e.trim();if(/^file:/.test(e)){e=e.replace(/file:\/\/\/(\w:)?/,(function(e,r){return r?"":"/"}))}if(e in p){return p[e]}var r="";try{if(!i){var n=new XMLHttpRequest;n.open("GET",e,false);n.send(null);if(n.readyState===4&&n.status===200){r=n.responseText}}else if(i.existsSync(e)){r=i.readFileSync(e,"utf8")}}catch(e){}return p[e]=r}));function supportRelativeURL(e,r){if(!e)return r;var n=o.dirname(e);var t=/^\w+:\/\/[^\/]*/.exec(n);var i=t?t[0]:"";var a=n.slice(i.length);if(i&&/^\/\w\:/.test(a)){i+="/";return i+o.resolve(n.slice(i.length),r).replace(/\\/g,"/")}return i+o.resolve(n.slice(i.length),r)}function retrieveSourceMapURL(e){var r;if(isInBrowser()){try{var n=new XMLHttpRequest;n.open("GET",e,false);n.send(null);r=n.readyState===4?n.responseText:null;var t=n.getResponseHeader("SourceMap")||n.getResponseHeader("X-SourceMap");if(t){return t}}catch(e){}}r=m(e);var o=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/gm;var i,a;while(a=o.exec(r))i=a;if(!i)return null;return i[1]}var v=handlerExec(d);d.push((function(e){var r=retrieveSourceMapURL(e);if(!r)return null;var n;if(g.test(r)){var t=r.slice(r.indexOf(",")+1);n=a(t,"base64").toString();r=e}else{r=supportRelativeURL(e,r);n=m(r)}if(!n){return null}return{url:r,map:n}}));function mapSourcePosition(e){var r=f[e.source];if(!r){var n=v(e.source);if(n){r=f[e.source]={url:n.url,map:new t(n.map)};if(r.map.sourcesContent){r.map.sources.forEach((function(e,n){var t=r.map.sourcesContent[n];if(t){var o=supportRelativeURL(r.url,e);p[o]=t}}))}}else{r=f[e.source]={url:null,map:null}}}if(r&&r.map&&typeof r.map.originalPositionFor==="function"){var o=r.map.originalPositionFor(e);if(o.source!==null){o.source=supportRelativeURL(r.url,o.source);return o}}return e}function mapEvalOrigin(e){var r=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(e);if(r){var n=mapSourcePosition({source:r[2],line:+r[3],column:r[4]-1});return"eval at "+r[1]+" ("+n.source+":"+n.line+":"+(n.column+1)+")"}r=/^eval at ([^(]+) \((.+)\)$/.exec(e);if(r){return"eval at "+r[1]+" ("+mapEvalOrigin(r[2])+")"}return e}function CallSiteToString(){var e;var r="";if(this.isNative()){r="native"}else{e=this.getScriptNameOrSourceURL();if(!e&&this.isEval()){r=this.getEvalOrigin();r+=", "}if(e){r+=e}else{r+="<anonymous>"}var n=this.getLineNumber();if(n!=null){r+=":"+n;var t=this.getColumnNumber();if(t){r+=":"+t}}}var o="";var i=this.getFunctionName();var a=true;var u=this.isConstructor();var s=!(this.isToplevel()||u);if(s){var l=this.getTypeName();if(l==="[object Object]"){l="null"}var c=this.getMethodName();if(i){if(l&&i.indexOf(l)!=0){o+=l+"."}o+=i;if(c&&i.indexOf("."+c)!=i.length-c.length-1){o+=" [as "+c+"]"}}else{o+=l+"."+(c||"<anonymous>")}}else if(u){o+="new "+(i||"<anonymous>")}else if(i){o+=i}else{o+=r;a=false}if(a){o+=" ("+r+")"}return o}function cloneCallSite(e){var r={};Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(n){r[n]=/^(?:is|get)/.test(n)?function(){return e[n].call(e)}:e[n]}));r.toString=CallSiteToString;return r}function wrapCallSite(e,r){if(r===undefined){r={nextPosition:null,curPosition:null}}if(e.isNLine truncated
+11669 -37
View File
File diff suppressed because it is too large. Load diff
+2 -1
View File
@@ -1,6 +1,7 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ "lib": ["DOM", "ES2021"],
"target": "ES2021", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"outDir": "./lib", /* Redirect output structure to the directory. */ "outDir": "./lib", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */