Merge pull request #13 from werf/fix_potential_security_vulnerability

Fix potential security vulnerability in dependencies
This commit is contained in:
Alexey Igrychev
2020-10-26 11:53:02 +00:00
committed by GitHub
11 changed files with 1009 additions and 262 deletions

View File

@@ -11382,7 +11382,31 @@ function sync (path, options) {
/***/ }),
/* 420 */,
/* 420 */
/***/ (function(__unusedmodule, exports) {
"use strict";
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
//# sourceMappingURL=utils.js.map
/***/ }),
/* 421 */,
/* 422 */
/***/ (function(module, __unusedexports, __webpack_require__) {
@@ -32845,6 +32869,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = __webpack_require__(761);
const file_command_1 = __webpack_require__(924);
const utils_1 = __webpack_require__(420);
const os = __importStar(__webpack_require__(87));
const path = __importStar(__webpack_require__(622));
/**
@@ -32871,9 +32897,17 @@ var ExitCode;
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function exportVariable(name, val) {
const convertedVal = command_1.toCommandValue(val);
const convertedVal = utils_1.toCommandValue(val);
process.env[name] = convertedVal;
command_1.issueCommand('set-env', { name }, convertedVal);
const filePath = process.env['GITHUB_ENV'] || '';
if (filePath) {
const delimiter = '_GitHubActionsFileCommandDelimeter_';
const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;
file_command_1.issueCommand('ENV', commandValue);
}
else {
command_1.issueCommand('set-env', { name }, convertedVal);
}
}
exports.exportVariable = exportVariable;
/**
@@ -32889,7 +32923,13 @@ exports.setSecret = setSecret;
* @param inputPath
*/
function addPath(inputPath) {
command_1.issueCommand('add-path', {}, inputPath);
const filePath = process.env['GITHUB_PATH'] || '';
if (filePath) {
file_command_1.issueCommand('PATH', inputPath);
}
else {
command_1.issueCommand('add-path', {}, inputPath);
}
process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
}
exports.addPath = addPath;
@@ -35948,6 +35988,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
/**
* Commands
*
@@ -36001,28 +36042,14 @@ class Command {
return cmdStr;
}
}
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
function escapeData(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A');
}
function escapeProperty(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A')
@@ -39859,11 +39886,11 @@ var String = (function () {
String.parsePattern = function (match, arg) {
switch (match) {
case 'L': {
arg = arg.toLowerCase();
arg = arg.toLocaleLowerCase();
return arg;
}
case 'U': {
arg = arg.toUpperCase();
arg = arg.toLocaleUpperCase();
return arg;
}
case 'd': {
@@ -39905,6 +39932,12 @@ var String = (function () {
arg = output + (parts.length > 1 ? ',' + parts[1] : '');
return arg;
}
case 'x': {
return this.decimalToHexString(arg);
}
case 'X': {
return this.decimalToHexString(arg, true);
}
default: {
break;
}
@@ -39914,6 +39947,12 @@ var String = (function () {
}
return arg;
};
String.decimalToHexString = function (value, upperCase) {
if (upperCase === void 0) { upperCase = false; }
var parsed = parseFloat(value);
var hexNumber = parsed.toString(16);
return upperCase ? hexNumber.toLocaleUpperCase() : hexNumber;
};
String.getDisplayDateFromString = function (input) {
var splitted;
splitted = input.split('-');
@@ -39991,9 +40030,10 @@ var String = (function () {
exports.String = String;
var StringBuilder = (function () {
function StringBuilder(value) {
if (value === void 0) { value = String.Empty; }
this.Values = [];
this.Values = new Array(value);
if (!String.IsNullOrWhiteSpace(value)) {
this.Values = new Array(value);
}
}
StringBuilder.prototype.ToString = function () {
return this.Values.join('');
@@ -40001,6 +40041,9 @@ var StringBuilder = (function () {
StringBuilder.prototype.Append = function (value) {
this.Values.push(value);
};
StringBuilder.prototype.AppendLine = function (value) {
this.Values.push('\r\n' + value);
};
StringBuilder.prototype.AppendFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
@@ -40008,6 +40051,13 @@ var StringBuilder = (function () {
}
this.Values.push(String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.AppendLineFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
this.Values.push("\r\n" + String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.Clear = function () {
this.Values = [];
};
@@ -42852,7 +42902,41 @@ exports.unzip = (req, res) => {
/***/ }),
/* 922 */,
/* 923 */,
/* 924 */,
/* 924 */
/***/ (function(__unusedmodule, exports, __webpack_require__) {
"use strict";
// For internal use, subject to change.
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__webpack_require__(747));
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
function issueCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
throw new Error(`Unable to find environment variable for file command ${command}`);
}
if (!fs.existsSync(filePath)) {
throw new Error(`Missing file at path: ${filePath}`);
}
fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {
encoding: 'utf8'
});
}
exports.issueCommand = issueCommand;
//# sourceMappingURL=file-command.js.map
/***/ }),
/* 925 */,
/* 926 */
/***/ (function(module, __unusedexports, __webpack_require__) {

View File

@@ -11333,7 +11333,31 @@ function sync (path, options) {
/***/ }),
/* 420 */,
/* 420 */
/***/ (function(__unusedmodule, exports) {
"use strict";
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
//# sourceMappingURL=utils.js.map
/***/ }),
/* 421 */,
/* 422 */
/***/ (function(module, __unusedexports, __webpack_require__) {
@@ -32796,6 +32820,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = __webpack_require__(761);
const file_command_1 = __webpack_require__(924);
const utils_1 = __webpack_require__(420);
const os = __importStar(__webpack_require__(87));
const path = __importStar(__webpack_require__(622));
/**
@@ -32822,9 +32848,17 @@ var ExitCode;
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function exportVariable(name, val) {
const convertedVal = command_1.toCommandValue(val);
const convertedVal = utils_1.toCommandValue(val);
process.env[name] = convertedVal;
command_1.issueCommand('set-env', { name }, convertedVal);
const filePath = process.env['GITHUB_ENV'] || '';
if (filePath) {
const delimiter = '_GitHubActionsFileCommandDelimeter_';
const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;
file_command_1.issueCommand('ENV', commandValue);
}
else {
command_1.issueCommand('set-env', { name }, convertedVal);
}
}
exports.exportVariable = exportVariable;
/**
@@ -32840,7 +32874,13 @@ exports.setSecret = setSecret;
* @param inputPath
*/
function addPath(inputPath) {
command_1.issueCommand('add-path', {}, inputPath);
const filePath = process.env['GITHUB_PATH'] || '';
if (filePath) {
file_command_1.issueCommand('PATH', inputPath);
}
else {
command_1.issueCommand('add-path', {}, inputPath);
}
process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
}
exports.addPath = addPath;
@@ -35948,6 +35988,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
/**
* Commands
*
@@ -36001,28 +36042,14 @@ class Command {
return cmdStr;
}
}
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
function escapeData(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A');
}
function escapeProperty(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A')
@@ -39859,11 +39886,11 @@ var String = (function () {
String.parsePattern = function (match, arg) {
switch (match) {
case 'L': {
arg = arg.toLowerCase();
arg = arg.toLocaleLowerCase();
return arg;
}
case 'U': {
arg = arg.toUpperCase();
arg = arg.toLocaleUpperCase();
return arg;
}
case 'd': {
@@ -39905,6 +39932,12 @@ var String = (function () {
arg = output + (parts.length > 1 ? ',' + parts[1] : '');
return arg;
}
case 'x': {
return this.decimalToHexString(arg);
}
case 'X': {
return this.decimalToHexString(arg, true);
}
default: {
break;
}
@@ -39914,6 +39947,12 @@ var String = (function () {
}
return arg;
};
String.decimalToHexString = function (value, upperCase) {
if (upperCase === void 0) { upperCase = false; }
var parsed = parseFloat(value);
var hexNumber = parsed.toString(16);
return upperCase ? hexNumber.toLocaleUpperCase() : hexNumber;
};
String.getDisplayDateFromString = function (input) {
var splitted;
splitted = input.split('-');
@@ -39991,9 +40030,10 @@ var String = (function () {
exports.String = String;
var StringBuilder = (function () {
function StringBuilder(value) {
if (value === void 0) { value = String.Empty; }
this.Values = [];
this.Values = new Array(value);
if (!String.IsNullOrWhiteSpace(value)) {
this.Values = new Array(value);
}
}
StringBuilder.prototype.ToString = function () {
return this.Values.join('');
@@ -40001,6 +40041,9 @@ var StringBuilder = (function () {
StringBuilder.prototype.Append = function (value) {
this.Values.push(value);
};
StringBuilder.prototype.AppendLine = function (value) {
this.Values.push('\r\n' + value);
};
StringBuilder.prototype.AppendFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
@@ -40008,6 +40051,13 @@ var StringBuilder = (function () {
}
this.Values.push(String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.AppendLineFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
this.Values.push("\r\n" + String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.Clear = function () {
this.Values = [];
};
@@ -42852,7 +42902,41 @@ exports.unzip = (req, res) => {
/***/ }),
/* 922 */,
/* 923 */,
/* 924 */,
/* 924 */
/***/ (function(__unusedmodule, exports, __webpack_require__) {
"use strict";
// For internal use, subject to change.
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__webpack_require__(747));
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
function issueCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
throw new Error(`Unable to find environment variable for file command ${command}`);
}
if (!fs.existsSync(filePath)) {
throw new Error(`Missing file at path: ${filePath}`);
}
fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {
encoding: 'utf8'
});
}
exports.issueCommand = issueCommand;
//# sourceMappingURL=file-command.js.map
/***/ }),
/* 925 */,
/* 926 */
/***/ (function(module, __unusedexports, __webpack_require__) {

View File

@@ -11333,7 +11333,31 @@ function sync (path, options) {
/***/ }),
/* 420 */,
/* 420 */
/***/ (function(__unusedmodule, exports) {
"use strict";
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
//# sourceMappingURL=utils.js.map
/***/ }),
/* 421 */,
/* 422 */
/***/ (function(module, __unusedexports, __webpack_require__) {
@@ -32845,6 +32869,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = __webpack_require__(761);
const file_command_1 = __webpack_require__(924);
const utils_1 = __webpack_require__(420);
const os = __importStar(__webpack_require__(87));
const path = __importStar(__webpack_require__(622));
/**
@@ -32871,9 +32897,17 @@ var ExitCode;
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function exportVariable(name, val) {
const convertedVal = command_1.toCommandValue(val);
const convertedVal = utils_1.toCommandValue(val);
process.env[name] = convertedVal;
command_1.issueCommand('set-env', { name }, convertedVal);
const filePath = process.env['GITHUB_ENV'] || '';
if (filePath) {
const delimiter = '_GitHubActionsFileCommandDelimeter_';
const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;
file_command_1.issueCommand('ENV', commandValue);
}
else {
command_1.issueCommand('set-env', { name }, convertedVal);
}
}
exports.exportVariable = exportVariable;
/**
@@ -32889,7 +32923,13 @@ exports.setSecret = setSecret;
* @param inputPath
*/
function addPath(inputPath) {
command_1.issueCommand('add-path', {}, inputPath);
const filePath = process.env['GITHUB_PATH'] || '';
if (filePath) {
file_command_1.issueCommand('PATH', inputPath);
}
else {
command_1.issueCommand('add-path', {}, inputPath);
}
process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
}
exports.addPath = addPath;
@@ -35948,6 +35988,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
/**
* Commands
*
@@ -36001,28 +36042,14 @@ class Command {
return cmdStr;
}
}
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
function escapeData(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A');
}
function escapeProperty(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A')
@@ -39859,11 +39886,11 @@ var String = (function () {
String.parsePattern = function (match, arg) {
switch (match) {
case 'L': {
arg = arg.toLowerCase();
arg = arg.toLocaleLowerCase();
return arg;
}
case 'U': {
arg = arg.toUpperCase();
arg = arg.toLocaleUpperCase();
return arg;
}
case 'd': {
@@ -39905,6 +39932,12 @@ var String = (function () {
arg = output + (parts.length > 1 ? ',' + parts[1] : '');
return arg;
}
case 'x': {
return this.decimalToHexString(arg);
}
case 'X': {
return this.decimalToHexString(arg, true);
}
default: {
break;
}
@@ -39914,6 +39947,12 @@ var String = (function () {
}
return arg;
};
String.decimalToHexString = function (value, upperCase) {
if (upperCase === void 0) { upperCase = false; }
var parsed = parseFloat(value);
var hexNumber = parsed.toString(16);
return upperCase ? hexNumber.toLocaleUpperCase() : hexNumber;
};
String.getDisplayDateFromString = function (input) {
var splitted;
splitted = input.split('-');
@@ -39991,9 +40030,10 @@ var String = (function () {
exports.String = String;
var StringBuilder = (function () {
function StringBuilder(value) {
if (value === void 0) { value = String.Empty; }
this.Values = [];
this.Values = new Array(value);
if (!String.IsNullOrWhiteSpace(value)) {
this.Values = new Array(value);
}
}
StringBuilder.prototype.ToString = function () {
return this.Values.join('');
@@ -40001,6 +40041,9 @@ var StringBuilder = (function () {
StringBuilder.prototype.Append = function (value) {
this.Values.push(value);
};
StringBuilder.prototype.AppendLine = function (value) {
this.Values.push('\r\n' + value);
};
StringBuilder.prototype.AppendFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
@@ -40008,6 +40051,13 @@ var StringBuilder = (function () {
}
this.Values.push(String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.AppendLineFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
this.Values.push("\r\n" + String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.Clear = function () {
this.Values = [];
};
@@ -42852,7 +42902,41 @@ exports.unzip = (req, res) => {
/***/ }),
/* 922 */,
/* 923 */,
/* 924 */,
/* 924 */
/***/ (function(__unusedmodule, exports, __webpack_require__) {
"use strict";
// For internal use, subject to change.
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__webpack_require__(747));
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
function issueCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
throw new Error(`Unable to find environment variable for file command ${command}`);
}
if (!fs.existsSync(filePath)) {
throw new Error(`Missing file at path: ${filePath}`);
}
fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {
encoding: 'utf8'
});
}
exports.issueCommand = issueCommand;
//# sourceMappingURL=file-command.js.map
/***/ }),
/* 925 */,
/* 926 */
/***/ (function(module, __unusedexports, __webpack_require__) {

View File

@@ -11333,7 +11333,31 @@ function sync (path, options) {
/***/ }),
/* 420 */,
/* 420 */
/***/ (function(__unusedmodule, exports) {
"use strict";
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
//# sourceMappingURL=utils.js.map
/***/ }),
/* 421 */,
/* 422 */
/***/ (function(module, __unusedexports, __webpack_require__) {
@@ -32796,6 +32820,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = __webpack_require__(761);
const file_command_1 = __webpack_require__(924);
const utils_1 = __webpack_require__(420);
const os = __importStar(__webpack_require__(87));
const path = __importStar(__webpack_require__(622));
/**
@@ -32822,9 +32848,17 @@ var ExitCode;
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function exportVariable(name, val) {
const convertedVal = command_1.toCommandValue(val);
const convertedVal = utils_1.toCommandValue(val);
process.env[name] = convertedVal;
command_1.issueCommand('set-env', { name }, convertedVal);
const filePath = process.env['GITHUB_ENV'] || '';
if (filePath) {
const delimiter = '_GitHubActionsFileCommandDelimeter_';
const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;
file_command_1.issueCommand('ENV', commandValue);
}
else {
command_1.issueCommand('set-env', { name }, convertedVal);
}
}
exports.exportVariable = exportVariable;
/**
@@ -32840,7 +32874,13 @@ exports.setSecret = setSecret;
* @param inputPath
*/
function addPath(inputPath) {
command_1.issueCommand('add-path', {}, inputPath);
const filePath = process.env['GITHUB_PATH'] || '';
if (filePath) {
file_command_1.issueCommand('PATH', inputPath);
}
else {
command_1.issueCommand('add-path', {}, inputPath);
}
process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
}
exports.addPath = addPath;
@@ -35899,6 +35939,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
/**
* Commands
*
@@ -35952,28 +35993,14 @@ class Command {
return cmdStr;
}
}
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
function escapeData(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A');
}
function escapeProperty(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A')
@@ -39860,11 +39887,11 @@ var String = (function () {
String.parsePattern = function (match, arg) {
switch (match) {
case 'L': {
arg = arg.toLowerCase();
arg = arg.toLocaleLowerCase();
return arg;
}
case 'U': {
arg = arg.toUpperCase();
arg = arg.toLocaleUpperCase();
return arg;
}
case 'd': {
@@ -39906,6 +39933,12 @@ var String = (function () {
arg = output + (parts.length > 1 ? ',' + parts[1] : '');
return arg;
}
case 'x': {
return this.decimalToHexString(arg);
}
case 'X': {
return this.decimalToHexString(arg, true);
}
default: {
break;
}
@@ -39915,6 +39948,12 @@ var String = (function () {
}
return arg;
};
String.decimalToHexString = function (value, upperCase) {
if (upperCase === void 0) { upperCase = false; }
var parsed = parseFloat(value);
var hexNumber = parsed.toString(16);
return upperCase ? hexNumber.toLocaleUpperCase() : hexNumber;
};
String.getDisplayDateFromString = function (input) {
var splitted;
splitted = input.split('-');
@@ -39992,9 +40031,10 @@ var String = (function () {
exports.String = String;
var StringBuilder = (function () {
function StringBuilder(value) {
if (value === void 0) { value = String.Empty; }
this.Values = [];
this.Values = new Array(value);
if (!String.IsNullOrWhiteSpace(value)) {
this.Values = new Array(value);
}
}
StringBuilder.prototype.ToString = function () {
return this.Values.join('');
@@ -40002,6 +40042,9 @@ var StringBuilder = (function () {
StringBuilder.prototype.Append = function (value) {
this.Values.push(value);
};
StringBuilder.prototype.AppendLine = function (value) {
this.Values.push('\r\n' + value);
};
StringBuilder.prototype.AppendFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
@@ -40009,6 +40052,13 @@ var StringBuilder = (function () {
}
this.Values.push(String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.AppendLineFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
this.Values.push("\r\n" + String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.Clear = function () {
this.Values = [];
};
@@ -42853,7 +42903,41 @@ exports.unzip = (req, res) => {
/***/ }),
/* 922 */,
/* 923 */,
/* 924 */,
/* 924 */
/***/ (function(__unusedmodule, exports, __webpack_require__) {
"use strict";
// For internal use, subject to change.
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__webpack_require__(747));
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
function issueCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
throw new Error(`Unable to find environment variable for file command ${command}`);
}
if (!fs.existsSync(filePath)) {
throw new Error(`Missing file at path: ${filePath}`);
}
fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {
encoding: 'utf8'
});
}
exports.issueCommand = issueCommand;
//# sourceMappingURL=file-command.js.map
/***/ }),
/* 925 */,
/* 926 */
/***/ (function(module, __unusedexports, __webpack_require__) {

View File

@@ -11333,7 +11333,31 @@ function sync (path, options) {
/***/ }),
/* 420 */,
/* 420 */
/***/ (function(__unusedmodule, exports) {
"use strict";
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
//# sourceMappingURL=utils.js.map
/***/ }),
/* 421 */,
/* 422 */
/***/ (function(module, __unusedexports, __webpack_require__) {
@@ -32796,6 +32820,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = __webpack_require__(761);
const file_command_1 = __webpack_require__(924);
const utils_1 = __webpack_require__(420);
const os = __importStar(__webpack_require__(87));
const path = __importStar(__webpack_require__(622));
/**
@@ -32822,9 +32848,17 @@ var ExitCode;
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function exportVariable(name, val) {
const convertedVal = command_1.toCommandValue(val);
const convertedVal = utils_1.toCommandValue(val);
process.env[name] = convertedVal;
command_1.issueCommand('set-env', { name }, convertedVal);
const filePath = process.env['GITHUB_ENV'] || '';
if (filePath) {
const delimiter = '_GitHubActionsFileCommandDelimeter_';
const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;
file_command_1.issueCommand('ENV', commandValue);
}
else {
command_1.issueCommand('set-env', { name }, convertedVal);
}
}
exports.exportVariable = exportVariable;
/**
@@ -32840,7 +32874,13 @@ exports.setSecret = setSecret;
* @param inputPath
*/
function addPath(inputPath) {
command_1.issueCommand('add-path', {}, inputPath);
const filePath = process.env['GITHUB_PATH'] || '';
if (filePath) {
file_command_1.issueCommand('PATH', inputPath);
}
else {
command_1.issueCommand('add-path', {}, inputPath);
}
process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
}
exports.addPath = addPath;
@@ -35899,6 +35939,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
/**
* Commands
*
@@ -35952,28 +35993,14 @@ class Command {
return cmdStr;
}
}
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
function escapeData(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A');
}
function escapeProperty(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A')
@@ -39824,11 +39851,11 @@ var String = (function () {
String.parsePattern = function (match, arg) {
switch (match) {
case 'L': {
arg = arg.toLowerCase();
arg = arg.toLocaleLowerCase();
return arg;
}
case 'U': {
arg = arg.toUpperCase();
arg = arg.toLocaleUpperCase();
return arg;
}
case 'd': {
@@ -39870,6 +39897,12 @@ var String = (function () {
arg = output + (parts.length > 1 ? ',' + parts[1] : '');
return arg;
}
case 'x': {
return this.decimalToHexString(arg);
}
case 'X': {
return this.decimalToHexString(arg, true);
}
default: {
break;
}
@@ -39879,6 +39912,12 @@ var String = (function () {
}
return arg;
};
String.decimalToHexString = function (value, upperCase) {
if (upperCase === void 0) { upperCase = false; }
var parsed = parseFloat(value);
var hexNumber = parsed.toString(16);
return upperCase ? hexNumber.toLocaleUpperCase() : hexNumber;
};
String.getDisplayDateFromString = function (input) {
var splitted;
splitted = input.split('-');
@@ -39956,9 +39995,10 @@ var String = (function () {
exports.String = String;
var StringBuilder = (function () {
function StringBuilder(value) {
if (value === void 0) { value = String.Empty; }
this.Values = [];
this.Values = new Array(value);
if (!String.IsNullOrWhiteSpace(value)) {
this.Values = new Array(value);
}
}
StringBuilder.prototype.ToString = function () {
return this.Values.join('');
@@ -39966,6 +40006,9 @@ var StringBuilder = (function () {
StringBuilder.prototype.Append = function (value) {
this.Values.push(value);
};
StringBuilder.prototype.AppendLine = function (value) {
this.Values.push('\r\n' + value);
};
StringBuilder.prototype.AppendFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
@@ -39973,6 +40016,13 @@ var StringBuilder = (function () {
}
this.Values.push(String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.AppendLineFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
this.Values.push("\r\n" + String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.Clear = function () {
this.Values = [];
};
@@ -42817,7 +42867,41 @@ exports.unzip = (req, res) => {
/***/ }),
/* 922 */,
/* 923 */,
/* 924 */,
/* 924 */
/***/ (function(__unusedmodule, exports, __webpack_require__) {
"use strict";
// For internal use, subject to change.
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__webpack_require__(747));
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
function issueCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
throw new Error(`Unable to find environment variable for file command ${command}`);
}
if (!fs.existsSync(filePath)) {
throw new Error(`Missing file at path: ${filePath}`);
}
fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {
encoding: 'utf8'
});
}
exports.issueCommand = issueCommand;
//# sourceMappingURL=file-command.js.map
/***/ }),
/* 925 */,
/* 926 */
/***/ (function(module, __unusedexports, __webpack_require__) {

View File

@@ -11383,7 +11383,31 @@ function sync (path, options) {
/***/ }),
/* 420 */,
/* 420 */
/***/ (function(__unusedmodule, exports) {
"use strict";
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
//# sourceMappingURL=utils.js.map
/***/ }),
/* 421 */,
/* 422 */
/***/ (function(module, __unusedexports, __webpack_require__) {
@@ -32846,6 +32870,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = __webpack_require__(761);
const file_command_1 = __webpack_require__(924);
const utils_1 = __webpack_require__(420);
const os = __importStar(__webpack_require__(87));
const path = __importStar(__webpack_require__(622));
/**
@@ -32872,9 +32898,17 @@ var ExitCode;
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function exportVariable(name, val) {
const convertedVal = command_1.toCommandValue(val);
const convertedVal = utils_1.toCommandValue(val);
process.env[name] = convertedVal;
command_1.issueCommand('set-env', { name }, convertedVal);
const filePath = process.env['GITHUB_ENV'] || '';
if (filePath) {
const delimiter = '_GitHubActionsFileCommandDelimeter_';
const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;
file_command_1.issueCommand('ENV', commandValue);
}
else {
command_1.issueCommand('set-env', { name }, convertedVal);
}
}
exports.exportVariable = exportVariable;
/**
@@ -32890,7 +32924,13 @@ exports.setSecret = setSecret;
* @param inputPath
*/
function addPath(inputPath) {
command_1.issueCommand('add-path', {}, inputPath);
const filePath = process.env['GITHUB_PATH'] || '';
if (filePath) {
file_command_1.issueCommand('PATH', inputPath);
}
else {
command_1.issueCommand('add-path', {}, inputPath);
}
process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
}
exports.addPath = addPath;
@@ -35949,6 +35989,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
/**
* Commands
*
@@ -36002,28 +36043,14 @@ class Command {
return cmdStr;
}
}
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
function escapeData(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A');
}
function escapeProperty(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A')
@@ -39860,11 +39887,11 @@ var String = (function () {
String.parsePattern = function (match, arg) {
switch (match) {
case 'L': {
arg = arg.toLowerCase();
arg = arg.toLocaleLowerCase();
return arg;
}
case 'U': {
arg = arg.toUpperCase();
arg = arg.toLocaleUpperCase();
return arg;
}
case 'd': {
@@ -39906,6 +39933,12 @@ var String = (function () {
arg = output + (parts.length > 1 ? ',' + parts[1] : '');
return arg;
}
case 'x': {
return this.decimalToHexString(arg);
}
case 'X': {
return this.decimalToHexString(arg, true);
}
default: {
break;
}
@@ -39915,6 +39948,12 @@ var String = (function () {
}
return arg;
};
String.decimalToHexString = function (value, upperCase) {
if (upperCase === void 0) { upperCase = false; }
var parsed = parseFloat(value);
var hexNumber = parsed.toString(16);
return upperCase ? hexNumber.toLocaleUpperCase() : hexNumber;
};
String.getDisplayDateFromString = function (input) {
var splitted;
splitted = input.split('-');
@@ -39992,9 +40031,10 @@ var String = (function () {
exports.String = String;
var StringBuilder = (function () {
function StringBuilder(value) {
if (value === void 0) { value = String.Empty; }
this.Values = [];
this.Values = new Array(value);
if (!String.IsNullOrWhiteSpace(value)) {
this.Values = new Array(value);
}
}
StringBuilder.prototype.ToString = function () {
return this.Values.join('');
@@ -40002,6 +40042,9 @@ var StringBuilder = (function () {
StringBuilder.prototype.Append = function (value) {
this.Values.push(value);
};
StringBuilder.prototype.AppendLine = function (value) {
this.Values.push('\r\n' + value);
};
StringBuilder.prototype.AppendFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
@@ -40009,6 +40052,13 @@ var StringBuilder = (function () {
}
this.Values.push(String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.AppendLineFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
this.Values.push("\r\n" + String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.Clear = function () {
this.Values = [];
};
@@ -42853,7 +42903,41 @@ exports.unzip = (req, res) => {
/***/ }),
/* 922 */,
/* 923 */,
/* 924 */,
/* 924 */
/***/ (function(__unusedmodule, exports, __webpack_require__) {
"use strict";
// For internal use, subject to change.
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__webpack_require__(747));
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
function issueCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
throw new Error(`Unable to find environment variable for file command ${command}`);
}
if (!fs.existsSync(filePath)) {
throw new Error(`Missing file at path: ${filePath}`);
}
fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {
encoding: 'utf8'
});
}
exports.issueCommand = issueCommand;
//# sourceMappingURL=file-command.js.map
/***/ }),
/* 925 */,
/* 926 */
/***/ (function(module, __unusedexports, __webpack_require__) {

View File

@@ -6611,6 +6611,32 @@ module.exports = {"_from":"superagent@^3.8.3","_id":"superagent@3.8.3","_inBundl
/***/ }),
/***/ 420:
/***/ (function(__unusedmodule, exports) {
"use strict";
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
//# sourceMappingURL=utils.js.map
/***/ }),
/***/ 422:
/***/ (function(module, __unusedexports, __webpack_require__) {
@@ -10104,6 +10130,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = __webpack_require__(761);
const file_command_1 = __webpack_require__(924);
const utils_1 = __webpack_require__(420);
const os = __importStar(__webpack_require__(87));
const path = __importStar(__webpack_require__(622));
/**
@@ -10130,9 +10158,17 @@ var ExitCode;
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function exportVariable(name, val) {
const convertedVal = command_1.toCommandValue(val);
const convertedVal = utils_1.toCommandValue(val);
process.env[name] = convertedVal;
command_1.issueCommand('set-env', { name }, convertedVal);
const filePath = process.env['GITHUB_ENV'] || '';
if (filePath) {
const delimiter = '_GitHubActionsFileCommandDelimeter_';
const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;
file_command_1.issueCommand('ENV', commandValue);
}
else {
command_1.issueCommand('set-env', { name }, convertedVal);
}
}
exports.exportVariable = exportVariable;
/**
@@ -10148,7 +10184,13 @@ exports.setSecret = setSecret;
* @param inputPath
*/
function addPath(inputPath) {
command_1.issueCommand('add-path', {}, inputPath);
const filePath = process.env['GITHUB_PATH'] || '';
if (filePath) {
file_command_1.issueCommand('PATH', inputPath);
}
else {
command_1.issueCommand('add-path', {}, inputPath);
}
process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
}
exports.addPath = addPath;
@@ -12878,6 +12920,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
/**
* Commands
*
@@ -12931,28 +12974,14 @@ class Command {
return cmdStr;
}
}
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
function escapeData(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A');
}
function escapeProperty(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A')
@@ -16087,11 +16116,11 @@ var String = (function () {
String.parsePattern = function (match, arg) {
switch (match) {
case 'L': {
arg = arg.toLowerCase();
arg = arg.toLocaleLowerCase();
return arg;
}
case 'U': {
arg = arg.toUpperCase();
arg = arg.toLocaleUpperCase();
return arg;
}
case 'd': {
@@ -16133,6 +16162,12 @@ var String = (function () {
arg = output + (parts.length > 1 ? ',' + parts[1] : '');
return arg;
}
case 'x': {
return this.decimalToHexString(arg);
}
case 'X': {
return this.decimalToHexString(arg, true);
}
default: {
break;
}
@@ -16142,6 +16177,12 @@ var String = (function () {
}
return arg;
};
String.decimalToHexString = function (value, upperCase) {
if (upperCase === void 0) { upperCase = false; }
var parsed = parseFloat(value);
var hexNumber = parsed.toString(16);
return upperCase ? hexNumber.toLocaleUpperCase() : hexNumber;
};
String.getDisplayDateFromString = function (input) {
var splitted;
splitted = input.split('-');
@@ -16219,9 +16260,10 @@ var String = (function () {
exports.String = String;
var StringBuilder = (function () {
function StringBuilder(value) {
if (value === void 0) { value = String.Empty; }
this.Values = [];
this.Values = new Array(value);
if (!String.IsNullOrWhiteSpace(value)) {
this.Values = new Array(value);
}
}
StringBuilder.prototype.ToString = function () {
return this.Values.join('');
@@ -16229,6 +16271,9 @@ var StringBuilder = (function () {
StringBuilder.prototype.Append = function (value) {
this.Values.push(value);
};
StringBuilder.prototype.AppendLine = function (value) {
this.Values.push('\r\n' + value);
};
StringBuilder.prototype.AppendFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
@@ -16236,6 +16281,13 @@ var StringBuilder = (function () {
}
this.Values.push(String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.AppendLineFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
this.Values.push("\r\n" + String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.Clear = function () {
this.Values = [];
};
@@ -16851,6 +16903,42 @@ exports.unzip = (req, res) => {
};
/***/ }),
/***/ 924:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
"use strict";
// For internal use, subject to change.
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__webpack_require__(747));
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
function issueCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
throw new Error(`Unable to find environment variable for file command ${command}`);
}
if (!fs.existsSync(filePath)) {
throw new Error(`Missing file at path: ${filePath}`);
}
fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {
encoding: 'utf8'
});
}
exports.issueCommand = issueCommand;
//# sourceMappingURL=file-command.js.map
/***/ }),
/***/ 926:

51
package-lock.json generated
View File

@@ -5,9 +5,9 @@
"requires": true,
"dependencies": {
"@actions/core": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.4.tgz",
"integrity": "sha512-YJCEq8BE3CdN8+7HPZ/4DxJjk/OkZV2FFIf+DlZTC/4iBlzYCD5yjRR6eiOS5llO11zbRltIRuKAjMKaWTE6cg=="
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.6.tgz",
"integrity": "sha512-ZQYitnqiyBc3D+k7LsgSBmMDVkOVidaagDG7j3fOym77jNunWRuYx7VSHa9GNfFZh+zh61xsCjRj4JxMZlDqTA=="
},
"@actions/exec": {
"version": "1.0.4",
@@ -737,9 +737,9 @@
}
},
"@types/cookiejar": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/@types/cookiejar/-/cookiejar-2.1.1.tgz",
"integrity": "sha512-aRnpPa7ysx3aNW60hTiCtLHlQaIFsXFCgQlpakNgDNVFzbtusSY8PwjAQgRWfSk0ekNoBjO51eQRB6upA9uuyw==",
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/@types/cookiejar/-/cookiejar-2.1.2.tgz",
"integrity": "sha512-t73xJJrvdTjXrn4jLS9VSGRbz0nUY3cl2DMGDU48lKl+HR9dbbjW2A9r3g40VA++mQpy6uuHg33gy7du2BKpog==",
"dev": true
},
"@types/eslint-visitor-keys": {
@@ -761,9 +761,9 @@
"dev": true
},
"@types/node": {
"version": "12.12.53",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.53.tgz",
"integrity": "sha512-51MYTDTyCziHb70wtGNFRwB4l+5JNvdqzFSkbDvpbftEgVUBEE+T5f7pROhWMp/fxp07oNIEQZd5bbfAH22ohQ==",
"version": "12.19.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.19.1.tgz",
"integrity": "sha512-/xaVmBBjOGh55WCqumLAHXU9VhjGtmyTGqJzFBXRWZzByOXI5JAJNx9xPVGEsNizrNwcec92fQMj458MWfjN1A==",
"dev": true
},
"@types/parse-json": {
@@ -773,18 +773,15 @@
"dev": true
},
"@types/semver": {
"version": "7.3.1",
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.1.tgz",
"integrity": "sha512-ooD/FJ8EuwlDKOI6D9HWxgIgJjMg2cuziXm/42npDC8y4NjxplBUn9loewZiBNCt44450lHAU0OSb51/UqXeag==",
"dev": true,
"requires": {
"@types/node": "*"
}
"version": "7.3.4",
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.4.tgz",
"integrity": "sha512-+nVsLKlcUCeMzD2ufHEYuJ9a2ovstb6Dp52A5VsoKxDXgvE051XgHI/33I1EymwkRGQkwnA0LkhnUzituGs4EQ==",
"dev": true
},
"@types/superagent": {
"version": "4.1.8",
"resolved": "https://registry.npmjs.org/@types/superagent/-/superagent-4.1.8.tgz",
"integrity": "sha512-iol9KxQ7SLHatBJUiZ4uABrS4VS1frLjqPednxZz82eoCzo3Uy3TOH0p0ZIBbfBj8E/xqOtvizjBs9h7xi/l2g==",
"version": "4.1.10",
"resolved": "https://registry.npmjs.org/@types/superagent/-/superagent-4.1.10.tgz",
"integrity": "sha512-xAgkb2CMWUMCyVc/3+7iQfOEBE75NvuZeezvmixbUw3nmENf2tCnQkW5yQLTYqvXUQ+R6EXxdqKKbal2zM5V/g==",
"dev": true,
"requires": {
"@types/cookiejar": "*",
@@ -3842,19 +3839,9 @@
"dev": true
},
"typescript-string-operations": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/typescript-string-operations/-/typescript-string-operations-1.3.3.tgz",
"integrity": "sha512-dRw2dykkRBH1NZgBAEGp38Gj5Q8u3wRQtJXqJsRQH8M+pkqOztOnSrbwSTKv58Y1ZOUIH+0JcQUBnHAdUsdyVg==",
"requires": {
"@types/node": "^14.0.13"
},
"dependencies": {
"@types/node": {
"version": "14.0.27",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.27.tgz",
"integrity": "sha512-kVrqXhbclHNHGu9ztnAwSncIgJv/FaxmzXJvGXNdcCpV1b8u1/Mi6z6m0vwy0LzKeXFTPLH0NzwmoJ3fNCIq0g=="
}
}
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/typescript-string-operations/-/typescript-string-operations-1.4.0.tgz",
"integrity": "sha512-uePYi6G/AVHiInoFjlQF1SqIENlYDLaBzIGeBHwfAbuIQXln9XaDybaRyHv7QweODRXsanoACNCQ5VcF6WJN3g=="
},
"ultron": {
"version": "1.1.1",

View File

@@ -4,7 +4,7 @@
"description": "",
"main": "lib",
"dependencies": {
"@actions/core": "1.x",
"@actions/core": "^1.2.6",
"@actions/github": "2.x",
"@actions/tool-cache": "1.x",
"dotenv": "8.2.x",
@@ -13,21 +13,21 @@
"string-argv": "^0.3.1",
"superagent": "^3.8.3",
"tmp": "^0.2.1",
"typescript-string-operations": "^1.3.2",
"typescript-string-operations": "^1.4.0",
"ws": ">=3.3.1"
},
"devDependencies": {
"@types/node": "^12.7.12",
"@types/semver": "^7.2.0",
"@types/superagent": "^4.1.7",
"@types/node": "^12.19.1",
"@types/semver": "^7.3.4",
"@types/superagent": "^4.1.10",
"@types/tmp": "^0.2.0",
"@typescript-eslint/parser": "^2.8.0",
"eslint": "^5.x",
"eslint-plugin-github": "^2.0.0",
"js-yaml": "^3.13.1",
"node-fetch": ">=2.6.1",
"prettier": "^1.19.1",
"typescript": "^3.6.4",
"node-fetch": ">=2.6.1"
"typescript": "^3.6.4"
},
"scripts": {
"build": "tsc",

View File

@@ -11333,7 +11333,31 @@ function sync (path, options) {
/***/ }),
/* 420 */,
/* 420 */
/***/ (function(__unusedmodule, exports) {
"use strict";
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
//# sourceMappingURL=utils.js.map
/***/ }),
/* 421 */,
/* 422 */
/***/ (function(module, __unusedexports, __webpack_require__) {
@@ -32845,6 +32869,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = __webpack_require__(761);
const file_command_1 = __webpack_require__(924);
const utils_1 = __webpack_require__(420);
const os = __importStar(__webpack_require__(87));
const path = __importStar(__webpack_require__(622));
/**
@@ -32871,9 +32897,17 @@ var ExitCode;
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function exportVariable(name, val) {
const convertedVal = command_1.toCommandValue(val);
const convertedVal = utils_1.toCommandValue(val);
process.env[name] = convertedVal;
command_1.issueCommand('set-env', { name }, convertedVal);
const filePath = process.env['GITHUB_ENV'] || '';
if (filePath) {
const delimiter = '_GitHubActionsFileCommandDelimeter_';
const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;
file_command_1.issueCommand('ENV', commandValue);
}
else {
command_1.issueCommand('set-env', { name }, convertedVal);
}
}
exports.exportVariable = exportVariable;
/**
@@ -32889,7 +32923,13 @@ exports.setSecret = setSecret;
* @param inputPath
*/
function addPath(inputPath) {
command_1.issueCommand('add-path', {}, inputPath);
const filePath = process.env['GITHUB_PATH'] || '';
if (filePath) {
file_command_1.issueCommand('PATH', inputPath);
}
else {
command_1.issueCommand('add-path', {}, inputPath);
}
process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
}
exports.addPath = addPath;
@@ -35948,6 +35988,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
/**
* Commands
*
@@ -36001,28 +36042,14 @@ class Command {
return cmdStr;
}
}
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
function escapeData(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A');
}
function escapeProperty(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A')
@@ -39859,11 +39886,11 @@ var String = (function () {
String.parsePattern = function (match, arg) {
switch (match) {
case 'L': {
arg = arg.toLowerCase();
arg = arg.toLocaleLowerCase();
return arg;
}
case 'U': {
arg = arg.toUpperCase();
arg = arg.toLocaleUpperCase();
return arg;
}
case 'd': {
@@ -39905,6 +39932,12 @@ var String = (function () {
arg = output + (parts.length > 1 ? ',' + parts[1] : '');
return arg;
}
case 'x': {
return this.decimalToHexString(arg);
}
case 'X': {
return this.decimalToHexString(arg, true);
}
default: {
break;
}
@@ -39914,6 +39947,12 @@ var String = (function () {
}
return arg;
};
String.decimalToHexString = function (value, upperCase) {
if (upperCase === void 0) { upperCase = false; }
var parsed = parseFloat(value);
var hexNumber = parsed.toString(16);
return upperCase ? hexNumber.toLocaleUpperCase() : hexNumber;
};
String.getDisplayDateFromString = function (input) {
var splitted;
splitted = input.split('-');
@@ -39991,9 +40030,10 @@ var String = (function () {
exports.String = String;
var StringBuilder = (function () {
function StringBuilder(value) {
if (value === void 0) { value = String.Empty; }
this.Values = [];
this.Values = new Array(value);
if (!String.IsNullOrWhiteSpace(value)) {
this.Values = new Array(value);
}
}
StringBuilder.prototype.ToString = function () {
return this.Values.join('');
@@ -40001,6 +40041,9 @@ var StringBuilder = (function () {
StringBuilder.prototype.Append = function (value) {
this.Values.push(value);
};
StringBuilder.prototype.AppendLine = function (value) {
this.Values.push('\r\n' + value);
};
StringBuilder.prototype.AppendFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
@@ -40008,6 +40051,13 @@ var StringBuilder = (function () {
}
this.Values.push(String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.AppendLineFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
this.Values.push("\r\n" + String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.Clear = function () {
this.Values = [];
};
@@ -42852,7 +42902,41 @@ exports.unzip = (req, res) => {
/***/ }),
/* 922 */,
/* 923 */,
/* 924 */,
/* 924 */
/***/ (function(__unusedmodule, exports, __webpack_require__) {
"use strict";
// For internal use, subject to change.
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__webpack_require__(747));
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
function issueCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
throw new Error(`Unable to find environment variable for file command ${command}`);
}
if (!fs.existsSync(filePath)) {
throw new Error(`Missing file at path: ${filePath}`);
}
fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {
encoding: 'utf8'
});
}
exports.issueCommand = issueCommand;
//# sourceMappingURL=file-command.js.map
/***/ }),
/* 925 */,
/* 926 */
/***/ (function(module, __unusedexports, __webpack_require__) {

View File

@@ -11455,7 +11455,31 @@ function sync (path, options) {
/***/ }),
/* 420 */,
/* 420 */
/***/ (function(__unusedmodule, exports) {
"use strict";
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
//# sourceMappingURL=utils.js.map
/***/ }),
/* 421 */,
/* 422 */
/***/ (function(module, __unusedexports, __webpack_require__) {
@@ -32918,6 +32942,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = __webpack_require__(761);
const file_command_1 = __webpack_require__(924);
const utils_1 = __webpack_require__(420);
const os = __importStar(__webpack_require__(87));
const path = __importStar(__webpack_require__(622));
/**
@@ -32944,9 +32970,17 @@ var ExitCode;
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function exportVariable(name, val) {
const convertedVal = command_1.toCommandValue(val);
const convertedVal = utils_1.toCommandValue(val);
process.env[name] = convertedVal;
command_1.issueCommand('set-env', { name }, convertedVal);
const filePath = process.env['GITHUB_ENV'] || '';
if (filePath) {
const delimiter = '_GitHubActionsFileCommandDelimeter_';
const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;
file_command_1.issueCommand('ENV', commandValue);
}
else {
command_1.issueCommand('set-env', { name }, convertedVal);
}
}
exports.exportVariable = exportVariable;
/**
@@ -32962,7 +32996,13 @@ exports.setSecret = setSecret;
* @param inputPath
*/
function addPath(inputPath) {
command_1.issueCommand('add-path', {}, inputPath);
const filePath = process.env['GITHUB_PATH'] || '';
if (filePath) {
file_command_1.issueCommand('PATH', inputPath);
}
else {
command_1.issueCommand('add-path', {}, inputPath);
}
process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
}
exports.addPath = addPath;
@@ -36021,6 +36061,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
/**
* Commands
*
@@ -36074,28 +36115,14 @@ class Command {
return cmdStr;
}
}
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
function escapeData(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A');
}
function escapeProperty(s) {
return toCommandValue(s)
return utils_1.toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A')
@@ -39932,11 +39959,11 @@ var String = (function () {
String.parsePattern = function (match, arg) {
switch (match) {
case 'L': {
arg = arg.toLowerCase();
arg = arg.toLocaleLowerCase();
return arg;
}
case 'U': {
arg = arg.toUpperCase();
arg = arg.toLocaleUpperCase();
return arg;
}
case 'd': {
@@ -39978,6 +40005,12 @@ var String = (function () {
arg = output + (parts.length > 1 ? ',' + parts[1] : '');
return arg;
}
case 'x': {
return this.decimalToHexString(arg);
}
case 'X': {
return this.decimalToHexString(arg, true);
}
default: {
break;
}
@@ -39987,6 +40020,12 @@ var String = (function () {
}
return arg;
};
String.decimalToHexString = function (value, upperCase) {
if (upperCase === void 0) { upperCase = false; }
var parsed = parseFloat(value);
var hexNumber = parsed.toString(16);
return upperCase ? hexNumber.toLocaleUpperCase() : hexNumber;
};
String.getDisplayDateFromString = function (input) {
var splitted;
splitted = input.split('-');
@@ -40064,9 +40103,10 @@ var String = (function () {
exports.String = String;
var StringBuilder = (function () {
function StringBuilder(value) {
if (value === void 0) { value = String.Empty; }
this.Values = [];
this.Values = new Array(value);
if (!String.IsNullOrWhiteSpace(value)) {
this.Values = new Array(value);
}
}
StringBuilder.prototype.ToString = function () {
return this.Values.join('');
@@ -40074,6 +40114,9 @@ var StringBuilder = (function () {
StringBuilder.prototype.Append = function (value) {
this.Values.push(value);
};
StringBuilder.prototype.AppendLine = function (value) {
this.Values.push('\r\n' + value);
};
StringBuilder.prototype.AppendFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
@@ -40081,6 +40124,13 @@ var StringBuilder = (function () {
}
this.Values.push(String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.AppendLineFormat = function (format) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
this.Values.push("\r\n" + String.Format.apply(String, __spreadArrays([format], args)));
};
StringBuilder.prototype.Clear = function () {
this.Values = [];
};
@@ -42925,7 +42975,41 @@ exports.unzip = (req, res) => {
/***/ }),
/* 922 */,
/* 923 */,
/* 924 */,
/* 924 */
/***/ (function(__unusedmodule, exports, __webpack_require__) {
"use strict";
// For internal use, subject to change.
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__webpack_require__(747));
const os = __importStar(__webpack_require__(87));
const utils_1 = __webpack_require__(420);
function issueCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
throw new Error(`Unable to find environment variable for file command ${command}`);
}
if (!fs.existsSync(filePath)) {
throw new Error(`Missing file at path: ${filePath}`);
}
fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {
encoding: 'utf8'
});
}
exports.issueCommand = issueCommand;
//# sourceMappingURL=file-command.js.map
/***/ }),
/* 925 */,
/* 926 */
/***/ (function(module, __unusedexports, __webpack_require__) {