diff --git a/package-lock.json b/package-lock.json index ebaa298..2c6e3e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "marvelsnaptracker", - "version": "1.2.19", + "version": "1.2.24", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "marvelsnaptracker", - "version": "1.2.19", + "version": "1.2.24", "license": "MIT", "dependencies": { - "@types/find": "0.2.1", + "@types/find": "0.2.2", "auto-launch": "5.0.6", "axios": "1.5.0", "date-fns": "2.30.0", @@ -17,7 +17,7 @@ "error-stack-parser": "2.1.4", "find-process": "1.4.7", "form-data": "4.0.0", - "jsonrepair": "3.2.0", + "jsonrepair": "3.2.2", "lodash": "4.17.21", "moment": "2.29.4", "node-abi": "3.47.0", @@ -36,13 +36,13 @@ "@electron-forge/plugin-webpack": "6.4.2", "@electron-forge/publisher-github": "6.4.2", "@marshallofsound/webpack-asset-relocator-loader": "0.5.0", - "@types/auto-launch": "5.0.2", - "@types/lodash": "4.14.198", + "@types/auto-launch": "5.0.3", + "@types/lodash": "4.14.199", "copy-webpack-plugin": "11.0.0", "csp-html-webpack-plugin": "5.1.0", "css-loader": "6.8.1", "dotenv-webpack": "8.0.1", - "electron": "26.2.0", + "electron": "26.2.2", "file-loader": "6.2.0", "fork-ts-checker-webpack-plugin": "8.0.0", "node-loader": "2.0.0", @@ -1244,8 +1244,9 @@ } }, "node_modules/@types/auto-launch": { - "version": "5.0.2", - "integrity": "sha512-b03X09+GCM9t6AUECpwA2gUPYs8s5tJHFJw92sK8EiJ7G4QNbsHmXV7nfCfP6G6ivtm230vi4oNfe8AzRgzxMQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@types/auto-launch/-/auto-launch-5.0.3.tgz", + "integrity": "sha512-+YEpP9vt+X9BkxdJ+dpKsfmVEX0wrhryR5TERprs0hcnrSpGJTT4gfDayvfyX7RFLLkpe0cvLj8A6WibJjkB0g==", "dev": true }, "node_modules/@types/cacheable-request": { @@ -1282,8 +1283,9 @@ "dev": true }, "node_modules/@types/find": { - "version": "0.2.1", - "integrity": "sha512-qUrCBlWoo9ij6ZEMx8G2WEjkdpofFks37/eZSDce7e0BY8lCYS2u7dVAoBy6AKRGX8z/ukllrUAyQ8h+/zlW9w==" + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@types/find/-/find-0.2.2.tgz", + "integrity": "sha512-Q67LLJvnvyiAu8XP1D2pPkxWh1hXLVOI3X77z4kw2orV4AIEz4I4UgVofabIIfypGoBZ2WAosTuu3gJVKPzlyw==" }, "node_modules/@types/fs-extra": { "version": "9.0.13", @@ -1337,9 +1339,9 @@ } }, "node_modules/@types/lodash": { - "version": "4.14.198", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.198.tgz", - "integrity": "sha512-trNJ/vtMZYMLhfN45uLq4ShQSw0/S7xCTLLVM+WM1rmFpba/VS42jVUgaO3w/NOLiWR/09lnYk0yMaA/atdIsg==", + "version": "4.14.199", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.199.tgz", + "integrity": "sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg==", "dev": true }, "node_modules/@types/minimatch": { @@ -3424,9 +3426,9 @@ "dev": true }, "node_modules/electron": { - "version": "26.2.0", - "resolved": "https://registry.npmjs.org/electron/-/electron-26.2.0.tgz", - "integrity": "sha512-H6Z0sYTtLcybHCQT1yti/8BK+vN5/ZfoekKcdrfZMh5mVf2Z7psFVs6nBhXPzIOyRE/gdb6NcOppnUsGc3NJVQ==", + "version": "26.2.2", + "resolved": "https://registry.npmjs.org/electron/-/electron-26.2.2.tgz", + "integrity": "sha512-Ihb3Zt4XYnHF52DYSq17ySkgFqJV4OT0VnfhUYZASAql7Vembz3VsAq7mB3OALBHXltAW34P8BxTIwTqZaMS3g==", "hasInstallScript": true, "dependencies": { "@electron/get": "^2.0.0", @@ -5831,9 +5833,9 @@ } }, "node_modules/jsonrepair": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonrepair/-/jsonrepair-3.2.0.tgz", - "integrity": "sha512-6eHBc2z5vipym4S8rzTcCXQBLWpkSzi9bk7I3xTdUxRzXyYvfjoVZzJ97N4C/9vcKI9NgNp3slPwHufDr0rFYw==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jsonrepair/-/jsonrepair-3.2.2.tgz", + "integrity": "sha512-IwsEsj59BVjFTO5DJ22Naxk5+AuNjS+1BUqOebpPlcyF8C+n8SAAICFo4Db74ORltzDygAlTAH56Pe1vupsnzA==", "bin": { "jsonrepair": "bin/cli.js" } @@ -10668,8 +10670,9 @@ "dev": true }, "@types/auto-launch": { - "version": "5.0.2", - "integrity": "sha512-b03X09+GCM9t6AUECpwA2gUPYs8s5tJHFJw92sK8EiJ7G4QNbsHmXV7nfCfP6G6ivtm230vi4oNfe8AzRgzxMQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@types/auto-launch/-/auto-launch-5.0.3.tgz", + "integrity": "sha512-+YEpP9vt+X9BkxdJ+dpKsfmVEX0wrhryR5TERprs0hcnrSpGJTT4gfDayvfyX7RFLLkpe0cvLj8A6WibJjkB0g==", "dev": true }, "@types/cacheable-request": { @@ -10706,8 +10709,9 @@ "dev": true }, "@types/find": { - "version": "0.2.1", - "integrity": "sha512-qUrCBlWoo9ij6ZEMx8G2WEjkdpofFks37/eZSDce7e0BY8lCYS2u7dVAoBy6AKRGX8z/ukllrUAyQ8h+/zlW9w==" + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@types/find/-/find-0.2.2.tgz", + "integrity": "sha512-Q67LLJvnvyiAu8XP1D2pPkxWh1hXLVOI3X77z4kw2orV4AIEz4I4UgVofabIIfypGoBZ2WAosTuu3gJVKPzlyw==" }, "@types/fs-extra": { "version": "9.0.13", @@ -10760,9 +10764,9 @@ } }, "@types/lodash": { - "version": "4.14.198", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.198.tgz", - "integrity": "sha512-trNJ/vtMZYMLhfN45uLq4ShQSw0/S7xCTLLVM+WM1rmFpba/VS42jVUgaO3w/NOLiWR/09lnYk0yMaA/atdIsg==", + "version": "4.14.199", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.199.tgz", + "integrity": "sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg==", "dev": true }, "@types/minimatch": { @@ -12325,9 +12329,9 @@ "dev": true }, "electron": { - "version": "26.2.0", - "resolved": "https://registry.npmjs.org/electron/-/electron-26.2.0.tgz", - "integrity": "sha512-H6Z0sYTtLcybHCQT1yti/8BK+vN5/ZfoekKcdrfZMh5mVf2Z7psFVs6nBhXPzIOyRE/gdb6NcOppnUsGc3NJVQ==", + "version": "26.2.2", + "resolved": "https://registry.npmjs.org/electron/-/electron-26.2.2.tgz", + "integrity": "sha512-Ihb3Zt4XYnHF52DYSq17ySkgFqJV4OT0VnfhUYZASAql7Vembz3VsAq7mB3OALBHXltAW34P8BxTIwTqZaMS3g==", "requires": { "@electron/get": "^2.0.0", "@types/node": "^18.11.18", @@ -14113,9 +14117,9 @@ } }, "jsonrepair": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonrepair/-/jsonrepair-3.2.0.tgz", - "integrity": "sha512-6eHBc2z5vipym4S8rzTcCXQBLWpkSzi9bk7I3xTdUxRzXyYvfjoVZzJ97N4C/9vcKI9NgNp3slPwHufDr0rFYw==" + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jsonrepair/-/jsonrepair-3.2.2.tgz", + "integrity": "sha512-IwsEsj59BVjFTO5DJ22Naxk5+AuNjS+1BUqOebpPlcyF8C+n8SAAICFo4Db74ORltzDygAlTAH56Pe1vupsnzA==" }, "junk": { "version": "3.1.0", diff --git a/package.json b/package.json index be415f7..fac3f10 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "marvelsnaptracker", "productName": "Marvel Snap Tracker", - "version": "1.2.22", + "version": "1.2.24", "description": "Marvel Snap Tracker", "main": "./.webpack/main", "scripts": { @@ -24,7 +24,7 @@ "forge": "./forge.config.js" }, "dependencies": { - "@types/find": "0.2.1", + "@types/find": "0.2.2", "auto-launch": "5.0.6", "axios": "1.5.0", "date-fns": "2.30.0", @@ -32,7 +32,7 @@ "error-stack-parser": "2.1.4", "find-process": "1.4.7", "form-data": "4.0.0", - "jsonrepair": "3.2.0", + "jsonrepair": "3.2.2", "lodash": "4.17.21", "moment": "2.29.4", "node-abi": "3.47.0", @@ -51,13 +51,13 @@ "@electron-forge/plugin-webpack": "6.4.2", "@electron-forge/publisher-github": "6.4.2", "@marshallofsound/webpack-asset-relocator-loader": "0.5.0", - "@types/auto-launch": "5.0.2", - "@types/lodash": "4.14.198", + "@types/auto-launch": "5.0.3", + "@types/lodash": "4.14.199", "copy-webpack-plugin": "11.0.0", "csp-html-webpack-plugin": "5.1.0", "css-loader": "6.8.1", "dotenv-webpack": "8.0.1", - "electron": "26.2.0", + "electron": "26.2.2", "file-loader": "6.2.0", "fork-ts-checker-webpack-plugin": "8.0.0", "node-loader": "2.0.0", diff --git a/src/app/game_state.ts b/src/app/game_state.ts index 1d12610..4cfd799 100644 --- a/src/app/game_state.ts +++ b/src/app/game_state.ts @@ -2,8 +2,8 @@ import {exec, execFile} from 'child_process'; import {BrowserWindow} from 'electron'; import electronIsDev from 'electron-is-dev'; import psList from 'ps-list'; -import {getBots} from 'root/api/bots'; +import {getBots} from 'root/api/bots'; import {getCards} from 'root/api/cards'; import {registerHotkeys, unRegisterHotkeys} from 'root/app/hotkeys'; import {WindowLocator} from 'root/app/locatewindow'; diff --git a/src/windows/home/functions/messages.ts b/src/windows/home/functions/messages.ts index 49d6299..6d9f6b3 100644 --- a/src/windows/home/functions/messages.ts +++ b/src/windows/home/functions/messages.ts @@ -173,8 +173,8 @@ export function installHomeMessages(): void { onMessageFromIpcMain('sync-process', (res) => { if (res.mode === 'needauth') { - sendMessageToIpcMain('open-link', `https://marvelsnap.pro//sync/?request=${res.request}`); - HomePageElements.directSyncLink.innerHTML = `