fix: bump up nodejs to v16 (#379)
* fix: bump up nodejs to v16 * fix: bump up nodejs to v16
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
214
dist/index.js
vendored
214
dist/index.js
vendored
@@ -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";
|
||||||
|
|||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/sourcemap-register.js
vendored
2
dist/sourcemap-register.js
vendored
File diff suppressed because one or more lines are too long
11706
package-lock.json
generated
11706
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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. */
|
||||||
|
|||||||
Reference in New Issue
Block a user