From e1b7c4bad07604020252db08e445be434e982335 Mon Sep 17 00:00:00 2001 From: Lee Briggs Date: Mon, 18 Oct 2021 17:57:04 -0700 Subject: [PATCH] add support for checking correct arch --- lib/main.js | 2 +- node_modules/@actions/core/package.json | 68 +-- node_modules/@actions/exec/package.json | 68 +-- node_modules/@actions/io/package.json | 61 +-- .../node_modules/@actions/io/package.json | 60 +-- node_modules/@actions/tool-cache/package.json | 89 ++-- node_modules/@types/node/package.json | 463 +++++++++--------- node_modules/node-fetch/package.json | 161 +++--- node_modules/typescript/package.json | 294 +++++------ node_modules/uuid/package.json | 111 ++--- src/main.ts | 16 +- 11 files changed, 603 insertions(+), 790 deletions(-) diff --git a/lib/main.js b/lib/main.js index 9ed509cd..d8f4589a 100644 --- a/lib/main.js +++ b/lib/main.js @@ -81,7 +81,7 @@ function run() { tag: tag, }); } - let re = new RegExp(`${osPlatform}.${osPlatform == "windows" ? "*zip" : "*tar.gz"}`); + let re = new RegExp(`${osPlatform}.${osPlatform == "windows" ? "*zip" : "*tar.gz"}.${os.arch}`); let asset = getReleaseUrl.data.assets.find(obj => { return re.test(obj.name); }); diff --git a/node_modules/@actions/core/package.json b/node_modules/@actions/core/package.json index 6067f4f1..11ba6f06 100644 --- a/node_modules/@actions/core/package.json +++ b/node_modules/@actions/core/package.json @@ -1,39 +1,16 @@ { - "_from": "@actions/core@1.2.6", - "_id": "@actions/core@1.2.6", - "_inBundle": false, - "_integrity": "sha512-ZQYitnqiyBc3D+k7LsgSBmMDVkOVidaagDG7j3fOym77jNunWRuYx7VSHa9GNfFZh+zh61xsCjRj4JxMZlDqTA==", - "_location": "/@actions/core", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "@actions/core@1.2.6", - "name": "@actions/core", - "escapedName": "@actions%2fcore", - "scope": "@actions", - "rawSpec": "1.2.6", - "saveSpec": null, - "fetchSpec": "1.2.6" - }, - "_requiredBy": [ - "#USER", - "/", - "/@actions/tool-cache" - ], - "_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.6.tgz", - "_shasum": "a78d49f41a4def18e88ce47c2cac615d5694bf09", - "_spec": "@actions/core@1.2.6", - "_where": "/Users/lbriggs/src/git/jaxxstorm/action-install-gh-release", - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - }, - "bundleDependencies": false, - "deprecated": false, + "name": "@actions/core", + "version": "1.2.6", "description": "Actions core lib", - "devDependencies": { - "@types/node": "^12.0.2" - }, + "keywords": [ + "github", + "actions", + "core" + ], + "homepage": "https://github.com/actions/toolkit/tree/main/packages/core", + "license": "MIT", + "main": "lib/core.js", + "types": "lib/core.d.ts", "directories": { "lib": "lib", "test": "__tests__" @@ -42,15 +19,6 @@ "lib", "!.DS_Store" ], - "homepage": "https://github.com/actions/toolkit/tree/main/packages/core", - "keywords": [ - "github", - "actions", - "core" - ], - "license": "MIT", - "main": "lib/core.js", - "name": "@actions/core", "publishConfig": { "access": "public" }, @@ -64,6 +32,14 @@ "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" }, - "types": "lib/core.d.ts", - "version": "1.2.6" -} + "bugs": { + "url": "https://github.com/actions/toolkit/issues" + }, + "devDependencies": { + "@types/node": "^12.0.2" + } + +,"_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.6.tgz" +,"_integrity": "sha512-ZQYitnqiyBc3D+k7LsgSBmMDVkOVidaagDG7j3fOym77jNunWRuYx7VSHa9GNfFZh+zh61xsCjRj4JxMZlDqTA==" +,"_from": "@actions/core@1.2.6" +} \ No newline at end of file diff --git a/node_modules/@actions/exec/package.json b/node_modules/@actions/exec/package.json index 8ffc18bb..822800ba 100644 --- a/node_modules/@actions/exec/package.json +++ b/node_modules/@actions/exec/package.json @@ -1,55 +1,23 @@ { - "_from": "@actions/exec@1.0.4", - "_id": "@actions/exec@1.0.4", - "_inBundle": false, - "_integrity": "sha512-4DPChWow9yc9W3WqEbUj8Nr86xkpyE29ZzWjXucHItclLbEW6jr80Zx4nqv18QL6KK65+cifiQZXvnqgTV6oHw==", - "_location": "/@actions/exec", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "@actions/exec@1.0.4", - "name": "@actions/exec", - "escapedName": "@actions%2fexec", - "scope": "@actions", - "rawSpec": "1.0.4", - "saveSpec": null, - "fetchSpec": "1.0.4" - }, - "_requiredBy": [ - "#USER", - "/", - "/@actions/tool-cache" - ], - "_resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.0.4.tgz", - "_shasum": "99d75310e62e59fc37d2ee6dcff6d4bffadd3a5d", - "_spec": "@actions/exec@1.0.4", - "_where": "/Users/lbriggs/src/git/jaxxstorm/action-install-gh-release", - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - }, - "bundleDependencies": false, - "dependencies": { - "@actions/io": "^1.0.1" - }, - "deprecated": false, + "name": "@actions/exec", + "version": "1.0.4", "description": "Actions exec lib", - "directories": { - "lib": "lib", - "test": "__tests__" - }, - "files": [ - "lib" - ], - "homepage": "https://github.com/actions/toolkit/tree/master/packages/exec", "keywords": [ "github", "actions", "exec" ], + "homepage": "https://github.com/actions/toolkit/tree/master/packages/exec", "license": "MIT", "main": "lib/exec.js", - "name": "@actions/exec", + "types": "lib/exec.d.ts", + "directories": { + "lib": "lib", + "test": "__tests__" + }, + "files": [ + "lib" + ], "publishConfig": { "access": "public" }, @@ -63,6 +31,14 @@ "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" }, - "types": "lib/exec.d.ts", - "version": "1.0.4" -} + "bugs": { + "url": "https://github.com/actions/toolkit/issues" + }, + "dependencies": { + "@actions/io": "^1.0.1" + } + +,"_resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.0.4.tgz" +,"_integrity": "sha512-4DPChWow9yc9W3WqEbUj8Nr86xkpyE29ZzWjXucHItclLbEW6jr80Zx4nqv18QL6KK65+cifiQZXvnqgTV6oHw==" +,"_from": "@actions/exec@1.0.4" +} \ No newline at end of file diff --git a/node_modules/@actions/io/package.json b/node_modules/@actions/io/package.json index 103fe920..8c4df799 100644 --- a/node_modules/@actions/io/package.json +++ b/node_modules/@actions/io/package.json @@ -1,51 +1,23 @@ { - "_from": "@actions/io@^1.0.1", - "_id": "@actions/io@1.0.2", - "_inBundle": false, - "_integrity": "sha512-J8KuFqVPr3p6U8W93DOXlXW6zFvrQAJANdS+vw0YhusLIq+bszW8zmK2Fh1C2kDPX8FMvwIl1OUcFgvJoXLbAg==", - "_location": "/@actions/io", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "@actions/io@^1.0.1", - "name": "@actions/io", - "escapedName": "@actions%2fio", - "scope": "@actions", - "rawSpec": "^1.0.1", - "saveSpec": null, - "fetchSpec": "^1.0.1" - }, - "_requiredBy": [ - "/@actions/exec", - "/@actions/tool-cache" - ], - "_resolved": "https://registry.npmjs.org/@actions/io/-/io-1.0.2.tgz", - "_shasum": "2f614b6e69ce14d191180451eb38e6576a6e6b27", - "_spec": "@actions/io@^1.0.1", - "_where": "/Users/lbriggs/src/git/jaxxstorm/action-install-gh-release/node_modules/@actions/exec", - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - }, - "bundleDependencies": false, - "deprecated": false, + "name": "@actions/io", + "version": "1.0.2", "description": "Actions io lib", - "directories": { - "lib": "lib", - "test": "__tests__" - }, - "files": [ - "lib" - ], - "homepage": "https://github.com/actions/toolkit/tree/master/packages/io", "keywords": [ "github", "actions", "io" ], + "homepage": "https://github.com/actions/toolkit/tree/master/packages/io", "license": "MIT", "main": "lib/io.js", - "name": "@actions/io", + "types": "lib/io.d.ts", + "directories": { + "lib": "lib", + "test": "__tests__" + }, + "files": [ + "lib" + ], "publishConfig": { "access": "public" }, @@ -59,6 +31,11 @@ "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" }, - "types": "lib/io.d.ts", - "version": "1.0.2" -} + "bugs": { + "url": "https://github.com/actions/toolkit/issues" + } + +,"_resolved": "https://registry.npmjs.org/@actions/io/-/io-1.0.2.tgz" +,"_integrity": "sha512-J8KuFqVPr3p6U8W93DOXlXW6zFvrQAJANdS+vw0YhusLIq+bszW8zmK2Fh1C2kDPX8FMvwIl1OUcFgvJoXLbAg==" +,"_from": "@actions/io@1.0.2" +} \ No newline at end of file diff --git a/node_modules/@actions/tool-cache/node_modules/@actions/io/package.json b/node_modules/@actions/tool-cache/node_modules/@actions/io/package.json index 660698a5..f066a159 100644 --- a/node_modules/@actions/tool-cache/node_modules/@actions/io/package.json +++ b/node_modules/@actions/tool-cache/node_modules/@actions/io/package.json @@ -1,50 +1,23 @@ { - "_from": "@actions/io@^1.1.1", - "_id": "@actions/io@1.1.1", - "_inBundle": false, - "_integrity": "sha512-Qi4JoKXjmE0O67wAOH6y0n26QXhMKMFo7GD/4IXNVcrtLjUlGjGuVys6pQgwF3ArfGTQu0XpqaNr0YhED2RaRA==", - "_location": "/@actions/tool-cache/@actions/io", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "@actions/io@^1.1.1", - "name": "@actions/io", - "escapedName": "@actions%2fio", - "scope": "@actions", - "rawSpec": "^1.1.1", - "saveSpec": null, - "fetchSpec": "^1.1.1" - }, - "_requiredBy": [ - "/@actions/tool-cache" - ], - "_resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.1.tgz", - "_shasum": "4a157406309e212ab27ed3ae30e8c1d641686a66", - "_spec": "@actions/io@^1.1.1", - "_where": "/Users/anton/action-install-gh-release/node_modules/@actions/tool-cache", - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - }, - "bundleDependencies": false, - "deprecated": false, + "name": "@actions/io", + "version": "1.1.1", "description": "Actions io lib", - "directories": { - "lib": "lib", - "test": "__tests__" - }, - "files": [ - "lib" - ], - "homepage": "https://github.com/actions/toolkit/tree/main/packages/io", "keywords": [ "github", "actions", "io" ], + "homepage": "https://github.com/actions/toolkit/tree/main/packages/io", "license": "MIT", "main": "lib/io.js", - "name": "@actions/io", + "types": "lib/io.d.ts", + "directories": { + "lib": "lib", + "test": "__tests__" + }, + "files": [ + "lib" + ], "publishConfig": { "access": "public" }, @@ -58,6 +31,11 @@ "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" }, - "types": "lib/io.d.ts", - "version": "1.1.1" -} + "bugs": { + "url": "https://github.com/actions/toolkit/issues" + } + +,"_resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.1.tgz" +,"_integrity": "sha512-Qi4JoKXjmE0O67wAOH6y0n26QXhMKMFo7GD/4IXNVcrtLjUlGjGuVys6pQgwF3ArfGTQu0XpqaNr0YhED2RaRA==" +,"_from": "@actions/io@1.1.1" +} \ No newline at end of file diff --git a/node_modules/@actions/tool-cache/package.json b/node_modules/@actions/tool-cache/package.json index 462b90b3..a2bae8bf 100644 --- a/node_modules/@actions/tool-cache/package.json +++ b/node_modules/@actions/tool-cache/package.json @@ -1,49 +1,16 @@ { - "_from": "@actions/tool-cache@^1.6.1", - "_id": "@actions/tool-cache@1.7.1", - "_inBundle": false, - "_integrity": "sha512-y1xxxOhXaBUIUit3lhepmu/0xdgiTMpnZRLmVdtF0hTm521doi+MdRRRP62czHvM7wxH6epj4JPNJQ3iJpOrkQ==", - "_location": "/@actions/tool-cache", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "@actions/tool-cache@^1.6.1", - "name": "@actions/tool-cache", - "escapedName": "@actions%2ftool-cache", - "scope": "@actions", - "rawSpec": "^1.6.1", - "saveSpec": null, - "fetchSpec": "^1.6.1" - }, - "_requiredBy": [ - "#USER", - "/" - ], - "_resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-1.7.1.tgz", - "_shasum": "f9f4f822cb639da6facdf3e22ea571361ab26f92", - "_spec": "@actions/tool-cache@^1.6.1", - "_where": "/Users/anton/action-install-gh-release", - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - }, - "bundleDependencies": false, - "dependencies": { - "@actions/core": "^1.2.6", - "@actions/exec": "^1.0.0", - "@actions/http-client": "^1.0.8", - "@actions/io": "^1.1.1", - "semver": "^6.1.0", - "uuid": "^3.3.2" - }, - "deprecated": false, + "name": "@actions/tool-cache", + "version": "1.7.1", "description": "Actions tool-cache lib", - "devDependencies": { - "@types/nock": "^10.0.3", - "@types/semver": "^6.0.0", - "@types/uuid": "^3.4.4", - "nock": "^10.0.6" - }, + "keywords": [ + "github", + "actions", + "exec" + ], + "homepage": "https://github.com/actions/toolkit/tree/main/packages/tool-cache", + "license": "MIT", + "main": "lib/tool-cache.js", + "types": "lib/tool-cache.d.ts", "directories": { "lib": "lib", "test": "__tests__" @@ -52,15 +19,6 @@ "lib", "scripts" ], - "homepage": "https://github.com/actions/toolkit/tree/main/packages/tool-cache", - "keywords": [ - "github", - "actions", - "exec" - ], - "license": "MIT", - "main": "lib/tool-cache.js", - "name": "@actions/tool-cache", "publishConfig": { "access": "public" }, @@ -74,6 +32,25 @@ "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" }, - "types": "lib/tool-cache.d.ts", - "version": "1.7.1" -} + "bugs": { + "url": "https://github.com/actions/toolkit/issues" + }, + "dependencies": { + "@actions/core": "^1.2.6", + "@actions/exec": "^1.0.0", + "@actions/http-client": "^1.0.8", + "@actions/io": "^1.1.1", + "semver": "^6.1.0", + "uuid": "^3.3.2" + }, + "devDependencies": { + "@types/nock": "^10.0.3", + "@types/semver": "^6.0.0", + "@types/uuid": "^3.4.4", + "nock": "^10.0.6" + } + +,"_resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-1.7.1.tgz" +,"_integrity": "sha512-y1xxxOhXaBUIUit3lhepmu/0xdgiTMpnZRLmVdtF0hTm521doi+MdRRRP62czHvM7wxH6epj4JPNJQ3iJpOrkQ==" +,"_from": "@actions/tool-cache@1.7.1" +} \ No newline at end of file diff --git a/node_modules/@types/node/package.json b/node_modules/@types/node/package.json index 7dd8c511..1473f4b4 100644 --- a/node_modules/@types/node/package.json +++ b/node_modules/@types/node/package.json @@ -1,227 +1,240 @@ { - "_from": "@types/node@12.19.4", - "_id": "@types/node@12.19.4", - "_inBundle": false, - "_integrity": "sha512-o3oj1bETk8kBwzz1WlO6JWL/AfAA3Vm6J1B3C9CsdxHYp7XgPiH7OEXPUbZTndHlRaIElrANkQfe6ZmfJb3H2w==", - "_location": "/@types/node", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "@types/node@12.19.4", "name": "@types/node", - "escapedName": "@types%2fnode", - "scope": "@types", - "rawSpec": "12.19.4", - "saveSpec": null, - "fetchSpec": "12.19.4" - }, - "_requiredBy": [ - "#DEV:/", - "#USER", - "/@octokit/types" - ], - "_resolved": "https://registry.npmjs.org/@types/node/-/node-12.19.4.tgz", - "_shasum": "cdfbb62e26c7435ed9aab9c941393cc3598e9b46", - "_spec": "@types/node@12.19.4", - "_where": "/Users/lbriggs/src/git/jaxxstorm/action-install-gh-release", - "bugs": { - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" - }, - "bundleDependencies": false, - "contributors": [ - { - "name": "Microsoft TypeScript", - "url": "https://github.com/Microsoft" - }, - { - "name": "DefinitelyTyped", - "url": "https://github.com/DefinitelyTyped" - }, - { - "name": "Alberto Schiabel", - "url": "https://github.com/jkomyno" - }, - { - "name": "Alexander T.", - "url": "https://github.com/a-tarasyuk" - }, - { - "name": "Alvis HT Tang", - "url": "https://github.com/alvis" - }, - { - "name": "Andrew Makarov", - "url": "https://github.com/r3nya" - }, - { - "name": "Benjamin Toueg", - "url": "https://github.com/btoueg" - }, - { - "name": "Bruno Scheufler", - "url": "https://github.com/brunoscheufler" - }, - { - "name": "Chigozirim C.", - "url": "https://github.com/smac89" - }, - { - "name": "David Junger", - "url": "https://github.com/touffy" - }, - { - "name": "Deividas Bakanas", - "url": "https://github.com/DeividasBakanas" - }, - { - "name": "Eugene Y. Q. Shen", - "url": "https://github.com/eyqs" - }, - { - "name": "Flarna", - "url": "https://github.com/Flarna" - }, - { - "name": "Hannes Magnusson", - "url": "https://github.com/Hannes-Magnusson-CK" - }, - { - "name": "Hoàng Văn Khải", - "url": "https://github.com/KSXGitHub" - }, - { - "name": "Huw", - "url": "https://github.com/hoo29" - }, - { - "name": "Kelvin Jin", - "url": "https://github.com/kjin" - }, - { - "name": "Klaus Meinhardt", - "url": "https://github.com/ajafff" - }, - { - "name": "Lishude", - "url": "https://github.com/islishude" - }, - { - "name": "Mariusz Wiktorczyk", - "url": "https://github.com/mwiktorczyk" - }, - { - "name": "Mohsen Azimi", - "url": "https://github.com/mohsen1" - }, - { - "name": "Nicolas Even", - "url": "https://github.com/n-e" - }, - { - "name": "Nikita Galkin", - "url": "https://github.com/galkin" - }, - { - "name": "Parambir Singh", - "url": "https://github.com/parambirs" - }, - { - "name": "Sebastian Silbermann", - "url": "https://github.com/eps1lon" - }, - { - "name": "Simon Schick", - "url": "https://github.com/SimonSchick" - }, - { - "name": "Thomas den Hollander", - "url": "https://github.com/ThomasdenH" - }, - { - "name": "Wilco Bakker", - "url": "https://github.com/WilcoBakker" - }, - { - "name": "wwwy3y3", - "url": "https://github.com/wwwy3y3" - }, - { - "name": "Zane Hannan AU", - "url": "https://github.com/ZaneHannanAU" - }, - { - "name": "Samuel Ainsworth", - "url": "https://github.com/samuela" - }, - { - "name": "Kyle Uehlein", - "url": "https://github.com/kuehlein" - }, - { - "name": "Jordi Oliveras Rovira", - "url": "https://github.com/j-oliveras" - }, - { - "name": "Thanik Bhongbhibhat", - "url": "https://github.com/bhongy" - }, - { - "name": "Marcin Kopacz", - "url": "https://github.com/chyzwar" - }, - { - "name": "Trivikram Kamat", - "url": "https://github.com/trivikr" - }, - { - "name": "Minh Son Nguyen", - "url": "https://github.com/nguymin4" - }, - { - "name": "Junxiao Shi", - "url": "https://github.com/yoursunny" - }, - { - "name": "Ilia Baryshnikov", - "url": "https://github.com/qwelias" - }, - { - "name": "ExE Boss", - "url": "https://github.com/ExE-Boss" - }, - { - "name": "Jason Kwok", - "url": "https://github.com/JasonHK" - } - ], - "dependencies": {}, - "deprecated": false, - "description": "TypeScript definitions for Node.js", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme", - "license": "MIT", - "main": "", - "name": "@types/node", - "repository": { - "type": "git", - "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/node" - }, - "scripts": {}, - "typeScriptVersion": "3.2", - "types": "index.d.ts", - "typesPublisherContentHash": "f4b4dff3379f467e5bd16a3e8abb0d2c038af058b9fbba38b5badd2b7dd0b776", - "typesVersions": { - "<=3.3": { - "*": [ - "ts3.3/*" - ] - }, - "<=3.6": { - "*": [ - "ts3.6/*" - ] - } - }, - "version": "12.19.4" -} + "version": "12.19.4", + "description": "TypeScript definitions for Node.js", + "license": "MIT", + "contributors": [ + { + "name": "Microsoft TypeScript", + "url": "https://github.com/Microsoft", + "githubUsername": "Microsoft" + }, + { + "name": "DefinitelyTyped", + "url": "https://github.com/DefinitelyTyped", + "githubUsername": "DefinitelyTyped" + }, + { + "name": "Alberto Schiabel", + "url": "https://github.com/jkomyno", + "githubUsername": "jkomyno" + }, + { + "name": "Alexander T.", + "url": "https://github.com/a-tarasyuk", + "githubUsername": "a-tarasyuk" + }, + { + "name": "Alvis HT Tang", + "url": "https://github.com/alvis", + "githubUsername": "alvis" + }, + { + "name": "Andrew Makarov", + "url": "https://github.com/r3nya", + "githubUsername": "r3nya" + }, + { + "name": "Benjamin Toueg", + "url": "https://github.com/btoueg", + "githubUsername": "btoueg" + }, + { + "name": "Bruno Scheufler", + "url": "https://github.com/brunoscheufler", + "githubUsername": "brunoscheufler" + }, + { + "name": "Chigozirim C.", + "url": "https://github.com/smac89", + "githubUsername": "smac89" + }, + { + "name": "David Junger", + "url": "https://github.com/touffy", + "githubUsername": "touffy" + }, + { + "name": "Deividas Bakanas", + "url": "https://github.com/DeividasBakanas", + "githubUsername": "DeividasBakanas" + }, + { + "name": "Eugene Y. Q. Shen", + "url": "https://github.com/eyqs", + "githubUsername": "eyqs" + }, + { + "name": "Flarna", + "url": "https://github.com/Flarna", + "githubUsername": "Flarna" + }, + { + "name": "Hannes Magnusson", + "url": "https://github.com/Hannes-Magnusson-CK", + "githubUsername": "Hannes-Magnusson-CK" + }, + { + "name": "Hoàng Văn Khải", + "url": "https://github.com/KSXGitHub", + "githubUsername": "KSXGitHub" + }, + { + "name": "Huw", + "url": "https://github.com/hoo29", + "githubUsername": "hoo29" + }, + { + "name": "Kelvin Jin", + "url": "https://github.com/kjin", + "githubUsername": "kjin" + }, + { + "name": "Klaus Meinhardt", + "url": "https://github.com/ajafff", + "githubUsername": "ajafff" + }, + { + "name": "Lishude", + "url": "https://github.com/islishude", + "githubUsername": "islishude" + }, + { + "name": "Mariusz Wiktorczyk", + "url": "https://github.com/mwiktorczyk", + "githubUsername": "mwiktorczyk" + }, + { + "name": "Mohsen Azimi", + "url": "https://github.com/mohsen1", + "githubUsername": "mohsen1" + }, + { + "name": "Nicolas Even", + "url": "https://github.com/n-e", + "githubUsername": "n-e" + }, + { + "name": "Nikita Galkin", + "url": "https://github.com/galkin", + "githubUsername": "galkin" + }, + { + "name": "Parambir Singh", + "url": "https://github.com/parambirs", + "githubUsername": "parambirs" + }, + { + "name": "Sebastian Silbermann", + "url": "https://github.com/eps1lon", + "githubUsername": "eps1lon" + }, + { + "name": "Simon Schick", + "url": "https://github.com/SimonSchick", + "githubUsername": "SimonSchick" + }, + { + "name": "Thomas den Hollander", + "url": "https://github.com/ThomasdenH", + "githubUsername": "ThomasdenH" + }, + { + "name": "Wilco Bakker", + "url": "https://github.com/WilcoBakker", + "githubUsername": "WilcoBakker" + }, + { + "name": "wwwy3y3", + "url": "https://github.com/wwwy3y3", + "githubUsername": "wwwy3y3" + }, + { + "name": "Zane Hannan AU", + "url": "https://github.com/ZaneHannanAU", + "githubUsername": "ZaneHannanAU" + }, + { + "name": "Samuel Ainsworth", + "url": "https://github.com/samuela", + "githubUsername": "samuela" + }, + { + "name": "Kyle Uehlein", + "url": "https://github.com/kuehlein", + "githubUsername": "kuehlein" + }, + { + "name": "Jordi Oliveras Rovira", + "url": "https://github.com/j-oliveras", + "githubUsername": "j-oliveras" + }, + { + "name": "Thanik Bhongbhibhat", + "url": "https://github.com/bhongy", + "githubUsername": "bhongy" + }, + { + "name": "Marcin Kopacz", + "url": "https://github.com/chyzwar", + "githubUsername": "chyzwar" + }, + { + "name": "Trivikram Kamat", + "url": "https://github.com/trivikr", + "githubUsername": "trivikr" + }, + { + "name": "Minh Son Nguyen", + "url": "https://github.com/nguymin4", + "githubUsername": "nguymin4" + }, + { + "name": "Junxiao Shi", + "url": "https://github.com/yoursunny", + "githubUsername": "yoursunny" + }, + { + "name": "Ilia Baryshnikov", + "url": "https://github.com/qwelias", + "githubUsername": "qwelias" + }, + { + "name": "ExE Boss", + "url": "https://github.com/ExE-Boss", + "githubUsername": "ExE-Boss" + }, + { + "name": "Jason Kwok", + "url": "https://github.com/JasonHK", + "githubUsername": "JasonHK" + } + ], + "main": "", + "types": "index.d.ts", + "typesVersions": { + "<=3.3": { + "*": [ + "ts3.3/*" + ] + }, + "<=3.6": { + "*": [ + "ts3.6/*" + ] + } + }, + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/node" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "f4b4dff3379f467e5bd16a3e8abb0d2c038af058b9fbba38b5badd2b7dd0b776", + "typeScriptVersion": "3.2" + +,"_resolved": "https://registry.npmjs.org/@types/node/-/node-12.19.4.tgz" +,"_integrity": "sha512-o3oj1bETk8kBwzz1WlO6JWL/AfAA3Vm6J1B3C9CsdxHYp7XgPiH7OEXPUbZTndHlRaIElrANkQfe6ZmfJb3H2w==" +,"_from": "@types/node@12.19.4" +} \ No newline at end of file diff --git a/node_modules/node-fetch/package.json b/node_modules/node-fetch/package.json index f23cb00c..64779c16 100644 --- a/node_modules/node-fetch/package.json +++ b/node_modules/node-fetch/package.json @@ -1,95 +1,70 @@ { - "_from": "node-fetch@2.6.1", - "_id": "node-fetch@2.6.1", - "_inBundle": false, - "_integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "_location": "/node-fetch", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "node-fetch@2.6.1", "name": "node-fetch", - "escapedName": "node-fetch", - "rawSpec": "2.6.1", - "saveSpec": null, - "fetchSpec": "2.6.1" - }, - "_requiredBy": [ - "#USER", - "/", - "/@octokit/request" - ], - "_resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "_shasum": "045bd323631f76ed2e2b55573394416b639a0052", - "_spec": "node-fetch@2.6.1", - "_where": "/Users/lbriggs/src/git/jaxxstorm/action-install-gh-release", - "author": { - "name": "David Frank" - }, - "browser": "./browser.js", - "bugs": { - "url": "https://github.com/bitinn/node-fetch/issues" - }, - "bundleDependencies": false, - "dependencies": {}, - "deprecated": false, - "description": "A light-weight module that brings window.fetch to node.js", - "devDependencies": { - "@ungap/url-search-params": "^0.1.2", - "abort-controller": "^1.1.0", - "abortcontroller-polyfill": "^1.3.0", - "babel-core": "^6.26.3", - "babel-plugin-istanbul": "^4.1.6", - "babel-preset-env": "^1.6.1", - "babel-register": "^6.16.3", - "chai": "^3.5.0", - "chai-as-promised": "^7.1.1", - "chai-iterator": "^1.1.1", - "chai-string": "~1.3.0", - "codecov": "^3.3.0", - "cross-env": "^5.2.0", - "form-data": "^2.3.3", - "is-builtin-module": "^1.0.0", - "mocha": "^5.0.0", - "nyc": "11.9.0", - "parted": "^0.1.1", - "promise": "^8.0.3", - "resumer": "0.0.0", - "rollup": "^0.63.4", - "rollup-plugin-babel": "^3.0.7", - "string-to-arraybuffer": "^1.0.2", - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "files": [ - "lib/index.js", - "lib/index.mjs", - "lib/index.es.js", - "browser.js" - ], - "homepage": "https://github.com/bitinn/node-fetch", - "keywords": [ - "fetch", - "http", - "promise" - ], - "license": "MIT", - "main": "lib/index", - "module": "lib/index.mjs", - "name": "node-fetch", - "repository": { - "type": "git", - "url": "git+https://github.com/bitinn/node-fetch.git" - }, - "scripts": { - "build": "cross-env BABEL_ENV=rollup rollup -c", - "coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/test.js && codecov -f coverage/coverage-final.json", - "prepare": "npm run build", - "report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/test.js", - "test": "cross-env BABEL_ENV=test mocha --require babel-register --throw-deprecation test/test.js" - }, - "version": "2.6.1" -} + "version": "2.6.1", + "description": "A light-weight module that brings window.fetch to node.js", + "main": "lib/index", + "browser": "./browser.js", + "module": "lib/index.mjs", + "files": [ + "lib/index.js", + "lib/index.mjs", + "lib/index.es.js", + "browser.js" + ], + "engines": { + "node": "4.x || >=6.0.0" + }, + "scripts": { + "build": "cross-env BABEL_ENV=rollup rollup -c", + "prepare": "npm run build", + "test": "cross-env BABEL_ENV=test mocha --require babel-register --throw-deprecation test/test.js", + "report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/test.js", + "coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/test.js && codecov -f coverage/coverage-final.json" + }, + "repository": { + "type": "git", + "url": "https://github.com/bitinn/node-fetch.git" + }, + "keywords": [ + "fetch", + "http", + "promise" + ], + "author": "David Frank", + "license": "MIT", + "bugs": { + "url": "https://github.com/bitinn/node-fetch/issues" + }, + "homepage": "https://github.com/bitinn/node-fetch", + "devDependencies": { + "@ungap/url-search-params": "^0.1.2", + "abort-controller": "^1.1.0", + "abortcontroller-polyfill": "^1.3.0", + "babel-core": "^6.26.3", + "babel-plugin-istanbul": "^4.1.6", + "babel-preset-env": "^1.6.1", + "babel-register": "^6.16.3", + "chai": "^3.5.0", + "chai-as-promised": "^7.1.1", + "chai-iterator": "^1.1.1", + "chai-string": "~1.3.0", + "codecov": "^3.3.0", + "cross-env": "^5.2.0", + "form-data": "^2.3.3", + "is-builtin-module": "^1.0.0", + "mocha": "^5.0.0", + "nyc": "11.9.0", + "parted": "^0.1.1", + "promise": "^8.0.3", + "resumer": "0.0.0", + "rollup": "^0.63.4", + "rollup-plugin-babel": "^3.0.7", + "string-to-arraybuffer": "^1.0.2", + "whatwg-url": "^5.0.0" + }, + "dependencies": {} + +,"_resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz" +,"_integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" +,"_from": "node-fetch@2.6.1" +} \ No newline at end of file diff --git a/node_modules/typescript/package.json b/node_modules/typescript/package.json index 11ccf7a1..c213c1a3 100644 --- a/node_modules/typescript/package.json +++ b/node_modules/typescript/package.json @@ -1,161 +1,137 @@ { - "_from": "typescript@3.9.7", - "_id": "typescript@3.9.7", - "_inBundle": false, - "_integrity": "sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==", - "_location": "/typescript", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "typescript@3.9.7", "name": "typescript", - "escapedName": "typescript", - "rawSpec": "3.9.7", - "saveSpec": null, - "fetchSpec": "3.9.7" - }, - "_requiredBy": [ - "#DEV:/", - "#USER" - ], - "_resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.7.tgz", - "_shasum": "98d600a5ebdc38f40cb277522f12dc800e9e25fa", - "_spec": "typescript@3.9.7", - "_where": "/Users/lbriggs/src/git/jaxxstorm/action-install-gh-release", - "author": { - "name": "Microsoft Corp." - }, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "browser": { - "fs": false, - "os": false, - "path": false, - "crypto": false, - "buffer": false, - "@microsoft/typescript-etw": false, - "source-map-support": false, - "inspector": false - }, - "bugs": { - "url": "https://github.com/Microsoft/TypeScript/issues" - }, - "bundleDependencies": false, - "dependencies": {}, - "deprecated": false, - "description": "TypeScript is a language for application scale JavaScript development", - "devDependencies": { - "@octokit/rest": "latest", - "@types/browserify": "latest", - "@types/chai": "latest", - "@types/convert-source-map": "latest", - "@types/glob": "latest", - "@types/gulp": "^4.0.5", - "@types/gulp-concat": "latest", - "@types/gulp-newer": "latest", - "@types/gulp-rename": "0.0.33", - "@types/gulp-sourcemaps": "0.0.32", - "@types/jake": "latest", - "@types/merge2": "latest", - "@types/microsoft__typescript-etw": "latest", - "@types/minimatch": "latest", - "@types/minimist": "latest", - "@types/mkdirp": "latest", - "@types/mocha": "latest", - "@types/ms": "latest", - "@types/node": "latest", - "@types/node-fetch": "^2.3.4", - "@types/q": "latest", - "@types/source-map-support": "latest", - "@types/through2": "latest", - "@types/travis-fold": "latest", - "@types/xml2js": "^0.4.0", - "@typescript-eslint/eslint-plugin": "2.18.0", - "@typescript-eslint/experimental-utils": "2.18.0", - "@typescript-eslint/parser": "2.18.0", - "async": "latest", - "azure-devops-node-api": "^8.0.0", - "browser-resolve": "^1.11.2", - "browserify": "latest", - "chai": "latest", - "chalk": "latest", - "convert-source-map": "latest", - "del": "5.1.0", - "eslint": "6.8.0", - "eslint-formatter-autolinkable-stylish": "1.1.1", - "eslint-plugin-import": "2.20.0", - "eslint-plugin-jsdoc": "21.0.0", - "eslint-plugin-no-null": "1.0.2", - "fancy-log": "latest", - "fs-extra": "^6.0.1", - "glob": "latest", - "gulp": "^4.0.0", - "gulp-concat": "latest", - "gulp-insert": "latest", - "gulp-newer": "latest", - "gulp-rename": "latest", - "gulp-sourcemaps": "latest", - "istanbul": "latest", - "merge2": "latest", - "minimist": "latest", - "mkdirp": "latest", - "mocha": "latest", - "mocha-fivemat-progress-reporter": "latest", - "ms": "latest", - "node-fetch": "^2.6.0", - "playwright": "0.12.1", - "plugin-error": "latest", - "pretty-hrtime": "^1.0.3", - "prex": "^0.4.3", - "q": "latest", - "remove-internal": "^2.9.2", - "source-map-support": "latest", - "through2": "latest", - "travis-fold": "latest", - "typescript": "^3.9.3", - "vinyl": "latest", - "vinyl-sourcemaps-apply": "latest", - "xml2js": "^0.4.19" - }, - "engines": { - "node": ">=4.2.0" - }, - "homepage": "https://www.typescriptlang.org/", - "keywords": [ - "TypeScript", - "Microsoft", - "compiler", - "language", - "javascript" - ], - "license": "Apache-2.0", - "main": "./lib/typescript.js", - "name": "typescript", - "repository": { - "type": "git", - "url": "git+https://github.com/Microsoft/TypeScript.git" - }, - "scripts": { - "build": "npm run build:compiler && npm run build:tests", - "build:compiler": "gulp local", - "build:tests": "gulp tests", - "clean": "gulp clean", - "gulp": "gulp", - "jake": "gulp", - "lint": "gulp lint", - "lint:ci": "gulp lint --ci", - "lint:compiler": "gulp lint-compiler", - "lint:scripts": "gulp lint-scripts", - "prepare": "gulp build-eslint-rules", - "pretest": "gulp tests", - "setup-hooks": "node scripts/link-hooks.js", - "start": "node lib/tsc", - "test": "gulp runtests-parallel --light=false", - "test:eslint-rules": "gulp run-eslint-rules-tests" - }, - "typings": "./lib/typescript.d.ts", - "version": "3.9.7" -} + "author": "Microsoft Corp.", + "homepage": "https://www.typescriptlang.org/", + "version": "3.9.7", + "license": "Apache-2.0", + "description": "TypeScript is a language for application scale JavaScript development", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript" + ], + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/TypeScript.git" + }, + "main": "./lib/typescript.js", + "typings": "./lib/typescript.d.ts", + "bin": { + "tsc": "./bin/tsc", + "tsserver": "./bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + }, + "devDependencies": { + "@octokit/rest": "latest", + "@types/browserify": "latest", + "@types/chai": "latest", + "@types/convert-source-map": "latest", + "@types/glob": "latest", + "@types/gulp": "^4.0.5", + "@types/gulp-concat": "latest", + "@types/gulp-newer": "latest", + "@types/gulp-rename": "0.0.33", + "@types/gulp-sourcemaps": "0.0.32", + "@types/jake": "latest", + "@types/merge2": "latest", + "@types/microsoft__typescript-etw": "latest", + "@types/minimatch": "latest", + "@types/minimist": "latest", + "@types/mkdirp": "latest", + "@types/mocha": "latest", + "@types/ms": "latest", + "@types/node": "latest", + "@types/node-fetch": "^2.3.4", + "@types/q": "latest", + "@types/source-map-support": "latest", + "@types/through2": "latest", + "@types/travis-fold": "latest", + "@types/xml2js": "^0.4.0", + "@typescript-eslint/eslint-plugin": "2.18.0", + "@typescript-eslint/experimental-utils": "2.18.0", + "@typescript-eslint/parser": "2.18.0", + "async": "latest", + "azure-devops-node-api": "^8.0.0", + "browser-resolve": "^1.11.2", + "browserify": "latest", + "chai": "latest", + "chalk": "latest", + "convert-source-map": "latest", + "del": "5.1.0", + "eslint": "6.8.0", + "eslint-formatter-autolinkable-stylish": "1.1.1", + "eslint-plugin-import": "2.20.0", + "eslint-plugin-jsdoc": "21.0.0", + "eslint-plugin-no-null": "1.0.2", + "fancy-log": "latest", + "fs-extra": "^6.0.1", + "glob": "latest", + "gulp": "^4.0.0", + "gulp-concat": "latest", + "gulp-insert": "latest", + "gulp-newer": "latest", + "gulp-rename": "latest", + "gulp-sourcemaps": "latest", + "istanbul": "latest", + "merge2": "latest", + "minimist": "latest", + "mkdirp": "latest", + "mocha": "latest", + "mocha-fivemat-progress-reporter": "latest", + "ms": "latest", + "node-fetch": "^2.6.0", + "playwright": "0.12.1", + "plugin-error": "latest", + "pretty-hrtime": "^1.0.3", + "prex": "^0.4.3", + "q": "latest", + "remove-internal": "^2.9.2", + "source-map-support": "latest", + "through2": "latest", + "travis-fold": "latest", + "typescript": "^3.9.3", + "vinyl": "latest", + "vinyl-sourcemaps-apply": "latest", + "xml2js": "^0.4.19" + }, + "scripts": { + "prepare": "gulp build-eslint-rules", + "pretest": "gulp tests", + "test": "gulp runtests-parallel --light=false", + "test:eslint-rules": "gulp run-eslint-rules-tests", + "build": "npm run build:compiler && npm run build:tests", + "build:compiler": "gulp local", + "build:tests": "gulp tests", + "start": "node lib/tsc", + "clean": "gulp clean", + "gulp": "gulp", + "jake": "gulp", + "lint": "gulp lint", + "lint:ci": "gulp lint --ci", + "lint:compiler": "gulp lint-compiler", + "lint:scripts": "gulp lint-scripts", + "setup-hooks": "node scripts/link-hooks.js" + }, + "browser": { + "fs": false, + "os": false, + "path": false, + "crypto": false, + "buffer": false, + "@microsoft/typescript-etw": false, + "source-map-support": false, + "inspector": false + }, + "dependencies": {} + +,"_resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.7.tgz" +,"_integrity": "sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==" +,"_from": "typescript@3.9.7" +} \ No newline at end of file diff --git a/node_modules/uuid/package.json b/node_modules/uuid/package.json index 0a62c048..3777855f 100644 --- a/node_modules/uuid/package.json +++ b/node_modules/uuid/package.json @@ -1,68 +1,21 @@ { - "_from": "uuid@^3.3.2", - "_id": "uuid@3.4.0", - "_inBundle": false, - "_integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "_location": "/uuid", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "uuid@^3.3.2", - "name": "uuid", - "escapedName": "uuid", - "rawSpec": "^3.3.2", - "saveSpec": null, - "fetchSpec": "^3.3.2" - }, - "_requiredBy": [ - "/@actions/tool-cache" - ], - "_resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "_shasum": "b23e4358afa8a202fe7a100af1f5f883f02007ee", - "_spec": "uuid@^3.3.2", - "_where": "/Users/lbriggs/src/git/jaxxstorm/action-install-gh-release/node_modules/@actions/tool-cache", - "bin": { - "uuid": "bin/uuid" - }, - "browser": { - "./lib/rng.js": "./lib/rng-browser.js", - "./lib/sha1.js": "./lib/sha1-browser.js", - "./lib/md5.js": "./lib/md5-browser.js" - }, - "bugs": { - "url": "https://github.com/uuidjs/uuid/issues" - }, - "bundleDependencies": false, + "name": "uuid", + "version": "3.4.0", + "description": "RFC4122 (v1, v4, and v5) UUIDs", "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, - "contributors": [ - { - "name": "Robert Kieffer", - "email": "robert@broofa.com" - }, - { - "name": "Christoph Tavan", - "email": "dev@tavan.de" - }, - { - "name": "AJ ONeal", - "email": "coolaj86@gmail.com" - }, - { - "name": "Vincent Voyer", - "email": "vincent@zeroload.net" - }, - { - "name": "Roman Shtylman", - "email": "shtylman@gmail.com" - } + "keywords": [ + "uuid", + "guid", + "rfc4122" ], - "deprecated": false, - "description": "RFC4122 (v1, v4, and v5) UUIDs", + "license": "MIT", + "bin": { + "uuid": "./bin/uuid" + }, "devDependencies": { "@commitlint/cli": "~8.2.0", "@commitlint/config-conventional": "~8.2.0", @@ -72,29 +25,29 @@ "runmd": "1.2.1", "standard-version": "7.0.0" }, - "homepage": "https://github.com/uuidjs/uuid#readme", - "husky": { - "hooks": { - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" - } - }, - "keywords": [ - "uuid", - "guid", - "rfc4122" - ], - "license": "MIT", - "name": "uuid", - "repository": { - "type": "git", - "url": "git+https://github.com/uuidjs/uuid.git" - }, "scripts": { "lint": "eslint .", + "test": "npm run lint && mocha test/test.js", "md": "runmd --watch --output=README.md README_js.md", - "prepare": "runmd --output=README.md README_js.md", "release": "standard-version", - "test": "npm run lint && mocha test/test.js" + "prepare": "runmd --output=README.md README_js.md" }, - "version": "3.4.0" -} + "browser": { + "./lib/rng.js": "./lib/rng-browser.js", + "./lib/sha1.js": "./lib/sha1-browser.js", + "./lib/md5.js": "./lib/md5-browser.js" + }, + "repository": { + "type": "git", + "url": "https://github.com/uuidjs/uuid.git" + }, + "husky": { + "hooks": { + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" + } + } + +,"_resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz" +,"_integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" +,"_from": "uuid@3.4.0" +} \ No newline at end of file diff --git a/src/main.ts b/src/main.ts index 9a095b7b..20d9dea9 100644 --- a/src/main.ts +++ b/src/main.ts @@ -31,7 +31,6 @@ async function run() { `Tag not specified` ) } - const [owner, project] = repo.split("/") let osPlatform = ""; @@ -50,6 +49,18 @@ async function run() { return; } + // set up some arch regexs + let osArch = ""; + switch (os.arch()) { + case "x64": + osArch = "(x64|amd64)" + break; + default: + osArch = os.arch() + return; + + } + let getReleaseUrl; if (tag === "latest") { getReleaseUrl = await octokit.repos.getLatestRelease({ @@ -64,8 +75,9 @@ async function run() { }) } - let re = new RegExp(`${osPlatform}.${osPlatform == "windows" ? "*zip" : "*tar.gz"}`) + let re = new RegExp(`${osPlatform}.${osArch}.${osPlatform == "windows" ? "*zip" : "*tar.gz"}`) let asset = getReleaseUrl.data.assets.find(obj => { + core.info(`searching for ${obj.name} with ${re.source}`) return re.test(obj.name) })