Update node_modules

This commit is contained in:
CrazyMax
2020-01-24 12:01:57 +01:00
parent f08e4c40fe
commit 4af72604b8
31 changed files with 1561 additions and 111 deletions
+20 -10
View File
@@ -8,15 +8,25 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
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;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const core = require("@actions/core");
const io = require("@actions/io");
const fs = require("fs");
const os = require("os");
const path = require("path");
const httpm = require("@actions/http-client");
const semver = require("semver");
const uuidV4 = require("uuid/v4");
const core = __importStar(require("@actions/core"));
const io = __importStar(require("@actions/io"));
const fs = __importStar(require("fs"));
const os = __importStar(require("os"));
const path = __importStar(require("path"));
const httpm = __importStar(require("@actions/http-client"));
const semver = __importStar(require("semver"));
const v4_1 = __importDefault(require("uuid/v4"));
const exec_1 = require("@actions/exec/lib/exec");
const assert_1 = require("assert");
class HTTPError extends Error {
@@ -70,7 +80,7 @@ function downloadTool(url, dest) {
allowRetries: true,
maxRetries: 3
});
dest = dest || path.join(tempDirectory, uuidV4());
dest = dest || path.join(tempDirectory, v4_1.default());
yield io.mkdirP(path.dirname(dest));
core.debug(`Downloading ${url}`);
core.debug(`Downloading ${dest}`);
@@ -407,7 +417,7 @@ function _createExtractFolder(dest) {
return __awaiter(this, void 0, void 0, function* () {
if (!dest) {
// create a temp dir
dest = path.join(tempDirectory, uuidV4());
dest = path.join(tempDirectory, v4_1.default());
}
yield io.mkdirP(dest);
return dest;
File diff suppressed because one or more lines are too long
+11 -11
View File
@@ -1,32 +1,32 @@
{
"_args": [
[
"@actions/tool-cache@1.3.0",
"@actions/tool-cache@1.3.1",
"X:\\dev\\neard\\www\\github\\goreleaser\\goreleaser-action"
]
],
"_from": "@actions/tool-cache@1.3.0",
"_id": "@actions/tool-cache@1.3.0",
"_from": "@actions/tool-cache@1.3.1",
"_id": "@actions/tool-cache@1.3.1",
"_inBundle": false,
"_integrity": "sha512-pbv32I89niDShw1YTDo0OFQmWPkZPElE7e3So1jfEzjIyzGRfYIzshwOVhemJZLcDtzo3kxO3GFDAmuVvub/6w==",
"_integrity": "sha512-sKoEJv0/c7WzjPEq2PO12Sc8QdEp58XIBHMm3c4lUn/iZWgLz9HBeCuFGpLQjDvXJNfLZ4g+WD+rMjgOmpH4Ag==",
"_location": "/@actions/tool-cache",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "@actions/tool-cache@1.3.0",
"raw": "@actions/tool-cache@1.3.1",
"name": "@actions/tool-cache",
"escapedName": "@actions%2ftool-cache",
"scope": "@actions",
"rawSpec": "1.3.0",
"rawSpec": "1.3.1",
"saveSpec": null,
"fetchSpec": "1.3.0"
"fetchSpec": "1.3.1"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-1.3.0.tgz",
"_spec": "1.3.0",
"_resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-1.3.1.tgz",
"_spec": "1.3.1",
"_where": "X:\\dev\\neard\\www\\github\\goreleaser\\goreleaser-action",
"bugs": {
"url": "https://github.com/actions/toolkit/issues"
@@ -34,7 +34,7 @@
"dependencies": {
"@actions/core": "^1.2.0",
"@actions/exec": "^1.0.0",
"@actions/http-client": "^1.0.1",
"@actions/http-client": "^1.0.3",
"@actions/io": "^1.0.1",
"semver": "^6.1.0",
"uuid": "^3.3.2"
@@ -77,5 +77,5 @@
"tsc": "tsc"
},
"types": "lib/tool-cache.d.ts",
"version": "1.3.0"
"version": "1.3.1"
}