+
`;
+ }
}
public static waitForElm(selector:string) {
@@ -47,6 +80,4 @@ class settings {
element.classList.add("active");
}
-}
-
-export default settings;
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/src/updater.ts b/src/updater.ts
new file mode 100644
index 0000000..fbb2e75
--- /dev/null
+++ b/src/updater.ts
@@ -0,0 +1,40 @@
+import { readFileSync } from "fs";
+import { shell } from "electron";
+import helpers from './helpers';
+
+class Updater {
+ public static async checkForUpdates(noUpdatePrompt: boolean) {
+ try {
+ let latestVersion = await this.getLatestVersion();
+ if(latestVersion > this.getCurrentVersion()) {
+ let updatePrompt = await helpers.showAlert("info", "Update Available", "An update is available. Open latest release page?", ["Yes", "No"]);
+ if(updatePrompt == 0) {
+ shell.openExternal("https://github.com/REVENGE977/stremio-enhanced-community/releases/latest");
+ return true;
+ }
+ } else if(noUpdatePrompt) {
+ await helpers.showAlert("info", "No update available!", "You seem to have the latest version.", ["OK"]);
+ return false;
+ }
+ } catch(e) {
+ console.error(e);
+ return false;
+ }
+ }
+
+ public static async getLatestVersion() {
+ const request = await fetch("https://github.com/REVENGE977/stremio-enhanced-community/raw/main/version");
+ const response = await request.text();
+
+ console.log(`[ UpdateChecker ] Latest version fetch returned status code: ${request.status}`);
+ return response;
+ }
+
+ public static getCurrentVersion() {
+ const currentVersion = readFileSync(__dirname + "/version", "utf-8");
+ console.log("[ UpdateChecker ] Current Version is " + currentVersion);
+ return currentVersion;
+ }
+}
+
+export default Updater;
\ No newline at end of file
diff --git a/tsconfig.json b/tsconfig.json
index ed493e8..350354f 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,14 +1,17 @@
{
"compilerOptions": {
"lib": ["es5", "es6", "dom"],
- "module": "commonjs",
+ "module": "CommonJS",
"noImplicitAny": true,
+ "downlevelIteration": true,
"sourceMap": true,
+ "types": ["express"],
"outDir": "dist",
"baseUrl": ".",
"paths": {
"*": ["node_modules/*"]
- }
+ },
+ "esModuleInterop": true,
},
"include": [
"src/**/*"
diff --git a/version b/version
new file mode 100644
index 0000000..1d71ef9
--- /dev/null
+++ b/version
@@ -0,0 +1 @@
+0.3
\ No newline at end of file
diff --git a/yarn.lock b/yarn.lock
index ea0bd03..0f92e38 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -43,26 +43,10 @@
optionalDependencies:
"@types/glob" "^7.1.1"
-"@electron/get@^1.14.1":
- "integrity" "sha512-BrZYyL/6m0ZXz/lDxy/nlVhQz+WF+iPS6qXolEU8atw7h6v1aYkjwJZ63m+bJMBTxDE66X+r2tPS4a/8C82sZw=="
- "resolved" "https://registry.npmjs.org/@electron/get/-/get-1.14.1.tgz"
- "version" "1.14.1"
- dependencies:
- "debug" "^4.1.1"
- "env-paths" "^2.2.0"
- "fs-extra" "^8.1.0"
- "got" "^9.6.0"
- "progress" "^2.0.3"
- "semver" "^6.2.0"
- "sumchecker" "^3.0.1"
- optionalDependencies:
- "global-agent" "^3.0.0"
- "global-tunnel-ng" "^2.7.1"
-
"@electron/get@^2.0.0":
- "integrity" "sha512-eFZVFoRXb3GFGd7Ak7W4+6jBl9wBtiZ4AaYOse97ej6mKj5tkyO0dUnUChs1IhJZtx1BENo4/p4WUTXpi6vT+g=="
- "resolved" "https://registry.npmjs.org/@electron/get/-/get-2.0.2.tgz"
- "version" "2.0.2"
+ "integrity" "sha512-Qkzpg2s9GnVV2I2BjRksUi43U5e6+zaQMcjoJy0C+C5oxaKl+fmckGDQFtRpZpZV0NQekuZZ+tGz7EA9TVnQtQ=="
+ "resolved" "https://registry.npmjs.org/@electron/get/-/get-2.0.3.tgz"
+ "version" "2.0.3"
dependencies:
"debug" "^4.1.1"
"env-paths" "^2.2.0"
@@ -94,11 +78,6 @@
"minimist" "^1.2.6"
"plist" "^3.0.5"
-"@electron/remote@^2.0.8":
- "integrity" "sha512-P10v3+iFCIvEPeYzTWWGwwHmqWnjoh8RYnbtZAb3RlQefy4guagzIwcWtfftABIfm6JJTNQf4WPSKWZOpLmHXw=="
- "resolved" "https://registry.npmjs.org/@electron/remote/-/remote-2.0.8.tgz"
- "version" "2.0.8"
-
"@electron/universal@^1.3.2":
"integrity" "sha512-BdhBgm2ZBnYyYRLRgOjM5VHkyFItsbggJ0MHycOjKWdFGYwK97ZFXH54dTvUWEfha81vfvwr5On6XBjt99uDcg=="
"resolved" "https://registry.npmjs.org/@electron/universal/-/universal-1.3.4.tgz"
@@ -192,23 +171,11 @@
"@nodelib/fs.scandir" "2.1.5"
"fastq" "^1.6.0"
-"@sindresorhus/is@^0.14.0":
- "integrity" "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ=="
- "resolved" "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz"
- "version" "0.14.0"
-
"@sindresorhus/is@^4.0.0":
"integrity" "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw=="
"resolved" "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz"
"version" "4.6.0"
-"@szmarczak/http-timer@^1.1.2":
- "integrity" "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA=="
- "resolved" "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz"
- "version" "1.1.2"
- dependencies:
- "defer-to-connect" "^1.0.1"
-
"@szmarczak/http-timer@^4.0.5":
"integrity" "sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w=="
"resolved" "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz"
@@ -221,10 +188,15 @@
"resolved" "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz"
"version" "2.0.0"
+"@types/angular@^1.8.9":
+ "integrity" "sha512-Z0HukqZkx0fotsV3QO00yqU9NzcQI+tMcrum+8MvfB4ePqCawZctF/gz6QiuII+T1ax+LitNoPx/eICTgnF4sg=="
+ "resolved" "https://registry.npmjs.org/@types/angular/-/angular-1.8.9.tgz"
+ "version" "1.8.9"
+
"@types/body-parser@*":
- "integrity" "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g=="
- "resolved" "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz"
- "version" "1.19.2"
+ "integrity" "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg=="
+ "resolved" "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz"
+ "version" "1.19.5"
dependencies:
"@types/connect" "*"
"@types/node" "*"
@@ -240,9 +212,9 @@
"@types/responselike" "^1.0.0"
"@types/connect@*":
- "integrity" "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ=="
- "resolved" "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz"
- "version" "3.4.35"
+ "integrity" "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug=="
+ "resolved" "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz"
+ "version" "3.4.38"
dependencies:
"@types/node" "*"
@@ -253,22 +225,30 @@
dependencies:
"@types/ms" "*"
-"@types/express-serve-static-core@^4.17.18":
- "integrity" "sha512-DxMhY+NAsTwMMFHBTtJFNp5qiHKJ7TeqOo23zVEM9alT1Ml27Q3xcTH0xwxn7Q0BbMcVEJOs/7aQtUWupUQN3Q=="
- "resolved" "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.31.tgz"
- "version" "4.17.31"
+"@types/electron@^1.6.10":
+ "integrity" "sha512-MOCVyzIwkBEloreoCVrTV108vSf8fFIJPsGruLCoAoBZdxtnJUqKA4lNonf/2u1twSjAspPEfmEheC+TLm/cMw=="
+ "resolved" "https://registry.npmjs.org/@types/electron/-/electron-1.6.10.tgz"
+ "version" "1.6.10"
+ dependencies:
+ "electron" "*"
+
+"@types/express-serve-static-core@^4.17.33":
+ "integrity" "sha512-OaJ7XLaelTgrvlZD8/aa0vvvxZdUmlCn6MtWeB7TkiKW70BQLc9XEPpDLPdbo52ZhXUCrznlWdCHWxJWtdyajA=="
+ "resolved" "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.41.tgz"
+ "version" "4.17.41"
dependencies:
"@types/node" "*"
"@types/qs" "*"
"@types/range-parser" "*"
+ "@types/send" "*"
-"@types/express@^4.17.14":
- "integrity" "sha512-TEbt+vaPFQ+xpxFLFssxUDXj5cWCxZJjIcB7Yg0k0GMHGtgtQgpvx/MUQUeAkNbA9AAGrwkAsoeItdTgS7FMyg=="
- "resolved" "https://registry.npmjs.org/@types/express/-/express-4.17.14.tgz"
- "version" "4.17.14"
+"@types/express@^4.17.21":
+ "integrity" "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ=="
+ "resolved" "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz"
+ "version" "4.17.21"
dependencies:
"@types/body-parser" "*"
- "@types/express-serve-static-core" "^4.17.18"
+ "@types/express-serve-static-core" "^4.17.33"
"@types/qs" "*"
"@types/serve-static" "*"
@@ -292,6 +272,11 @@
"resolved" "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz"
"version" "4.0.1"
+"@types/http-errors@*":
+ "integrity" "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA=="
+ "resolved" "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz"
+ "version" "2.0.4"
+
"@types/json-schema@^7.0.7":
"integrity" "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ=="
"resolved" "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz"
@@ -304,10 +289,10 @@
dependencies:
"@types/node" "*"
-"@types/mime@*":
- "integrity" "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA=="
- "resolved" "https://registry.npmjs.org/@types/mime/-/mime-3.0.1.tgz"
- "version" "3.0.1"
+"@types/mime@*", "@types/mime@^1":
+ "integrity" "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w=="
+ "resolved" "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz"
+ "version" "1.3.5"
"@types/minimatch@*":
"integrity" "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA=="
@@ -319,25 +304,22 @@
"resolved" "https://registry.npmjs.org/@types/ms/-/ms-0.7.31.tgz"
"version" "0.7.31"
-"@types/node@*":
- "integrity" "sha512-I4BD3L+6AWiUobfxZ49DlU43gtI+FTHSv9pE2Zekg6KjMpre4ByusaljW3vYSLJrvQ1ck1hUaeVu8HVlY3vzHg=="
- "resolved" "https://registry.npmjs.org/@types/node/-/node-18.6.4.tgz"
- "version" "18.6.4"
-
-"@types/node@^16.11.26":
- "integrity" "sha512-fpP+jk2zJ4VW66+wAMFoBJlx1bxmBKx4DUFf68UHgdGCOuyUTDlLWqsaNPJh7xhNDykyJ9eIzAygilP/4WoN8g=="
- "resolved" "https://registry.npmjs.org/@types/node/-/node-16.11.47.tgz"
- "version" "16.11.47"
+"@types/node@*", "@types/node@^18.11.18":
+ "integrity" "sha512-g1pZtPhsvGVTwmeVoexWZLTQaOvXwoSq//pTL0DHeNzUDrFnir4fgETdhjhIxjVnN+hKOuh98+E1eMLnUXstFg=="
+ "resolved" "https://registry.npmjs.org/@types/node/-/node-18.19.8.tgz"
+ "version" "18.19.8"
+ dependencies:
+ "undici-types" "~5.26.4"
"@types/qs@*":
- "integrity" "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw=="
- "resolved" "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz"
- "version" "6.9.7"
+ "integrity" "sha512-oGk0gmhnEJK4Yyk+oI7EfXsLayXatCWPHary1MtcmbAifkobT9cM9yutG/hZKIseOU0MqbIwQ/u2nn/Gb+ltuQ=="
+ "resolved" "https://registry.npmjs.org/@types/qs/-/qs-6.9.11.tgz"
+ "version" "6.9.11"
"@types/range-parser@*":
- "integrity" "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw=="
- "resolved" "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz"
- "version" "1.2.4"
+ "integrity" "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ=="
+ "resolved" "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz"
+ "version" "1.2.7"
"@types/responselike@^1.0.0":
"integrity" "sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA=="
@@ -351,11 +333,20 @@
"resolved" "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz"
"version" "7.3.13"
+"@types/send@*":
+ "integrity" "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA=="
+ "resolved" "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz"
+ "version" "0.17.4"
+ dependencies:
+ "@types/mime" "^1"
+ "@types/node" "*"
+
"@types/serve-static@*":
- "integrity" "sha512-z5xyF6uh8CbjAu9760KDKsH2FcDxZ2tFCsA4HIMWE6IkiYMXfVoa+4f9KX+FN0ZLsaMw1WNG2ETLA6N+/YA+cg=="
- "resolved" "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.0.tgz"
- "version" "1.15.0"
+ "integrity" "sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ=="
+ "resolved" "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.5.tgz"
+ "version" "1.15.5"
dependencies:
+ "@types/http-errors" "*"
"@types/mime" "*"
"@types/node" "*"
@@ -508,6 +499,11 @@
"require-from-string" "^2.0.2"
"uri-js" "^4.2.2"
+"angular@^1.8.3":
+ "integrity" "sha512-5qjkWIQQVsHj4Sb5TcEs4WZWpFeVFHXwxEBHUhrny41D8UrBAd6T/6nPPAsLngJCReIOqi95W3mxdveveutpZw=="
+ "resolved" "https://registry.npmjs.org/angular/-/angular-1.8.3.tgz"
+ "version" "1.8.3"
+
"ansi-colors@^4.1.1":
"integrity" "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw=="
"resolved" "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz"
@@ -792,19 +788,6 @@
"resolved" "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz"
"version" "5.0.4"
-"cacheable-request@^6.0.0":
- "integrity" "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg=="
- "resolved" "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz"
- "version" "6.1.0"
- dependencies:
- "clone-response" "^1.0.2"
- "get-stream" "^5.1.0"
- "http-cache-semantics" "^4.0.0"
- "keyv" "^3.0.0"
- "lowercase-keys" "^2.0.0"
- "normalize-url" "^4.1.0"
- "responselike" "^1.0.2"
-
"cacheable-request@^7.0.2":
"integrity" "sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew=="
"resolved" "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.2.tgz"
@@ -952,14 +935,6 @@
"resolved" "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"
"version" "0.0.1"
-"config-chain@^1.1.11":
- "integrity" "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ=="
- "resolved" "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz"
- "version" "1.1.13"
- dependencies:
- "ini" "^1.3.4"
- "proto-list" "~1.2.1"
-
"content-disposition@0.5.4":
"integrity" "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ=="
"resolved" "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz"
@@ -1042,13 +1017,6 @@
dependencies:
"ms" "2.0.0"
-"decompress-response@^3.3.0":
- "integrity" "sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA=="
- "resolved" "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz"
- "version" "3.3.0"
- dependencies:
- "mimic-response" "^1.0.0"
-
"decompress-response@^6.0.0":
"integrity" "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ=="
"resolved" "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz"
@@ -1061,11 +1029,6 @@
"resolved" "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz"
"version" "0.1.4"
-"defer-to-connect@^1.0.1":
- "integrity" "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ=="
- "resolved" "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz"
- "version" "1.1.3"
-
"defer-to-connect@^2.0.0":
"integrity" "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg=="
"resolved" "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz"
@@ -1155,11 +1118,6 @@
"resolved" "https://registry.npmjs.org/dotenv/-/dotenv-9.0.2.tgz"
"version" "9.0.2"
-"duplexer3@^0.1.4":
- "integrity" "sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA=="
- "resolved" "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.5.tgz"
- "version" "0.1.5"
-
"ee-first@1.1.1":
"integrity" "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="
"resolved" "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz"
@@ -1260,13 +1218,13 @@
"semver" "^7.3.5"
"typed-emitter" "^2.1.0"
-"electron@^20.0.1", "electron@>= 13.0.0":
- "integrity" "sha512-5c7zr8oy1JsCV86BaoIPVLo4yevDfvPEsMQcGlgfJ5PS7ouAVvR1aHt0tjF65bL1vYdoQ1olvpextg2T8FyICA=="
- "resolved" "https://registry.npmjs.org/electron/-/electron-20.0.1.tgz"
- "version" "20.0.1"
+"electron@*", "electron@^28.1.4":
+ "integrity" "sha512-WE6go611KOhtH6efRPMnVC7FE7DCKnQ3ZyHFeI1DbaCy8OU4UjZ8/CZGcuZmZgRdxSBEHoHdgaJkWRHZzF0FOg=="
+ "resolved" "https://registry.npmjs.org/electron/-/electron-28.1.4.tgz"
+ "version" "28.1.4"
dependencies:
- "@electron/get" "^1.14.1"
- "@types/node" "^16.11.26"
+ "@electron/get" "^2.0.0"
+ "@types/node" "^18.11.18"
"extract-zip" "^2.0.1"
"emoji-regex@^8.0.0":
@@ -1274,7 +1232,7 @@
"resolved" "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz"
"version" "8.0.0"
-"encodeurl@^1.0.2", "encodeurl@~1.0.2":
+"encodeurl@~1.0.2":
"integrity" "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w=="
"resolved" "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz"
"version" "1.0.2"
@@ -1764,13 +1722,6 @@
"lodash.get" "^4.0.0"
"read-pkg-up" "^2.0.0"
-"get-stream@^4.1.0":
- "integrity" "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w=="
- "resolved" "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz"
- "version" "4.1.0"
- dependencies:
- "pump" "^3.0.0"
-
"get-stream@^5.1.0":
"integrity" "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA=="
"resolved" "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz"
@@ -1809,16 +1760,6 @@
"semver" "^7.3.2"
"serialize-error" "^7.0.1"
-"global-tunnel-ng@^2.7.1":
- "integrity" "sha512-4s+DyciWBV0eK148wqXxcmVAbFVPqtc3sEtUE/GTQfuU80rySLcMhUmHKSHI7/LDj8q0gDYI1lIhRRB7ieRAqg=="
- "resolved" "https://registry.npmjs.org/global-tunnel-ng/-/global-tunnel-ng-2.7.1.tgz"
- "version" "2.7.1"
- dependencies:
- "encodeurl" "^1.0.2"
- "lodash" "^4.17.10"
- "npm-conf" "^1.1.3"
- "tunnel" "^0.0.6"
-
"globals@^13.6.0", "globals@^13.9.0":
"integrity" "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw=="
"resolved" "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz"
@@ -1862,23 +1803,6 @@
"p-cancelable" "^2.0.0"
"responselike" "^2.0.0"
-"got@^9.6.0":
- "integrity" "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q=="
- "resolved" "https://registry.npmjs.org/got/-/got-9.6.0.tgz"
- "version" "9.6.0"
- dependencies:
- "@sindresorhus/is" "^0.14.0"
- "@szmarczak/http-timer" "^1.1.2"
- "cacheable-request" "^6.0.0"
- "decompress-response" "^3.3.0"
- "duplexer3" "^0.1.4"
- "get-stream" "^4.1.0"
- "lowercase-keys" "^1.0.1"
- "mimic-response" "^1.0.1"
- "p-cancelable" "^1.0.0"
- "to-readable-stream" "^1.0.0"
- "url-parse-lax" "^3.0.0"
-
"graceful-fs@^4.1.2", "graceful-fs@^4.1.6", "graceful-fs@^4.2.0":
"integrity" "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA=="
"resolved" "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz"
@@ -2031,11 +1955,6 @@
"resolved" "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz"
"version" "2.0.4"
-"ini@^1.3.4":
- "integrity" "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
- "resolved" "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz"
- "version" "1.3.8"
-
"ipaddr.js@1.9.1":
"integrity" "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="
"resolved" "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz"
@@ -2148,11 +2067,6 @@
dependencies:
"argparse" "^2.0.1"
-"json-buffer@3.0.0":
- "integrity" "sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ=="
- "resolved" "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz"
- "version" "3.0.0"
-
"json-buffer@3.0.1":
"integrity" "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ=="
"resolved" "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz"
@@ -2204,13 +2118,6 @@
"resolved" "https://registry.npmjs.org/junk/-/junk-3.1.0.tgz"
"version" "3.1.0"
-"keyv@^3.0.0":
- "integrity" "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA=="
- "resolved" "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz"
- "version" "3.1.0"
- dependencies:
- "json-buffer" "3.0.0"
-
"keyv@^4.0.0":
"integrity" "sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g=="
"resolved" "https://registry.npmjs.org/keyv/-/keyv-4.5.2.tgz"
@@ -2274,21 +2181,11 @@
"resolved" "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz"
"version" "4.4.2"
-"lodash@^4.17.10", "lodash@^4.17.15":
+"lodash@^4.17.15":
"integrity" "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
"resolved" "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz"
"version" "4.17.21"
-"lowercase-keys@^1.0.0":
- "integrity" "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA=="
- "resolved" "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz"
- "version" "1.0.1"
-
-"lowercase-keys@^1.0.1":
- "integrity" "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA=="
- "resolved" "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz"
- "version" "1.0.1"
-
"lowercase-keys@^2.0.0":
"integrity" "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA=="
"resolved" "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz"
@@ -2358,7 +2255,7 @@
"resolved" "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz"
"version" "1.6.0"
-"mimic-response@^1.0.0", "mimic-response@^1.0.1":
+"mimic-response@^1.0.0":
"integrity" "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ=="
"resolved" "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz"
"version" "1.0.1"
@@ -2484,24 +2381,11 @@
"resolved" "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz"
"version" "3.0.0"
-"normalize-url@^4.1.0":
- "integrity" "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA=="
- "resolved" "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz"
- "version" "4.5.1"
-
"normalize-url@^6.0.1":
"integrity" "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A=="
"resolved" "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz"
"version" "6.1.0"
-"npm-conf@^1.1.3":
- "integrity" "sha512-Yic4bZHJOt9RCFbRP3GgpqhScOY4HH3V2P8yBj6CeYq118Qr+BLXqT2JvpJ00mryLESpgOxf5XlFv4ZjXxLScw=="
- "resolved" "https://registry.npmjs.org/npm-conf/-/npm-conf-1.1.3.tgz"
- "version" "1.1.3"
- dependencies:
- "config-chain" "^1.1.11"
- "pify" "^3.0.0"
-
"object-inspect@^1.9.0":
"integrity" "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ=="
"resolved" "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz"
@@ -2538,11 +2422,6 @@
"type-check" "^0.4.0"
"word-wrap" "^1.2.3"
-"p-cancelable@^1.0.0":
- "integrity" "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
- "resolved" "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz"
- "version" "1.1.0"
-
"p-cancelable@^2.0.0":
"integrity" "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg=="
"resolved" "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz"
@@ -2645,11 +2524,6 @@
"resolved" "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz"
"version" "2.3.0"
-"pify@^3.0.0":
- "integrity" "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg=="
- "resolved" "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz"
- "version" "3.0.0"
-
"plist@^3.0.0", "plist@^3.0.1", "plist@^3.0.4", "plist@^3.0.5":
"integrity" "sha512-WiIVYyrp8TD4w8yCvyeIr+lkmrGRd5u0VbRnU+tP/aRLxP/YadJUYOMZJ/6hIa3oUyVCsycXvtNRgd5XBJIbiA=="
"resolved" "https://registry.npmjs.org/plist/-/plist-3.0.6.tgz"
@@ -2663,21 +2537,11 @@
"resolved" "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz"
"version" "1.2.1"
-"prepend-http@^2.0.0":
- "integrity" "sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA=="
- "resolved" "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz"
- "version" "2.0.0"
-
"progress@^2.0.0", "progress@^2.0.3":
"integrity" "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA=="
"resolved" "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz"
"version" "2.0.3"
-"proto-list@~1.2.1":
- "integrity" "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA=="
- "resolved" "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz"
- "version" "1.2.4"
-
"proxy-addr@~2.0.7":
"integrity" "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="
"resolved" "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz"
@@ -2812,13 +2676,6 @@
"path-parse" "^1.0.7"
"supports-preserve-symlinks-flag" "^1.0.0"
-"responselike@^1.0.2":
- "integrity" "sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ=="
- "resolved" "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz"
- "version" "1.0.2"
- dependencies:
- "lowercase-keys" "^1.0.0"
-
"responselike@^2.0.0":
"integrity" "sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw=="
"resolved" "https://registry.npmjs.org/responselike/-/responselike-2.0.1.tgz"
@@ -2895,9 +2752,9 @@
"version" "5.7.1"
"semver@^6.2.0":
- "integrity" "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
- "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz"
- "version" "6.3.0"
+ "integrity" "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="
+ "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz"
+ "version" "6.3.1"
"semver@^7.1.3":
"integrity" "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A=="
@@ -3181,11 +3038,6 @@
dependencies:
"rimraf" "^3.0.0"
-"to-readable-stream@^1.0.0":
- "integrity" "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q=="
- "resolved" "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz"
- "version" "1.0.0"
-
"to-regex-range@^5.0.1":
"integrity" "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="
"resolved" "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz"
@@ -3236,11 +3088,6 @@
dependencies:
"tslib" "^1.8.1"
-"tunnel@^0.0.6":
- "integrity" "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg=="
- "resolved" "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz"
- "version" "0.0.6"
-
"type-check@^0.4.0", "type-check@~0.4.0":
"integrity" "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew=="
"resolved" "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz"
@@ -3283,6 +3130,11 @@
"resolved" "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz"
"version" "2.0.5"
+"undici-types@~5.26.4":
+ "integrity" "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
+ "resolved" "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz"
+ "version" "5.26.5"
+
"universalify@^0.1.0":
"integrity" "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg=="
"resolved" "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz"
@@ -3305,13 +3157,6 @@
dependencies:
"punycode" "^2.1.0"
-"url-parse-lax@^3.0.0":
- "integrity" "sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ=="
- "resolved" "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz"
- "version" "3.0.0"
- dependencies:
- "prepend-http" "^2.0.0"
-
"utf8-byte-length@^1.0.1":
"integrity" "sha512-4+wkEYLBbWxqTahEsWrhxepcoVOJ+1z5PGIjPZxRkytcdSUaNjIjBM7Xn8E+pdSuV7SzvWovBFA54FO0JSoqhA=="
"resolved" "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz"