From b318d816094c5e154639d577ebb1a448b69faaa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Digimezzo=20Rapha=C3=ABl?= Date: Mon, 2 Sep 2024 06:28:55 +0200 Subject: [PATCH] Removes electron-window-state --- package-lock.json | 22 ---------------------- package.json | 1 - src/app/common/application/constants.ts | 6 ------ 3 files changed, 29 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6d0da7c57..6bf64e0fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,6 @@ "discord-rpc": "4.0.1", "electron-log": "4.4.8", "electron-store": "8.1.0", - "electron-window-state": "5.0.3", "fast-xml-parser": "4.3.2", "fs-extra": "11.1.1", "line-awesome": "1.3.0", @@ -12541,18 +12540,6 @@ "integrity": "sha512-+ozvXuamBhDOKvMNUQvecxfbyICmIAwS4GpLmR0bsiSBlGnLaOcs2Cj7J8XSbW+YEaN3Xl3ffgpm+srTUWFwFQ==", "dev": true }, - "node_modules/electron-window-state": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/electron-window-state/-/electron-window-state-5.0.3.tgz", - "integrity": "sha512-1mNTwCfkolXl3kMf50yW3vE2lZj0y92P/HYWFBrb+v2S/pCka5mdwN3cagKm458A7NjndSwijynXgcLWRodsVg==", - "dependencies": { - "jsonfile": "^4.0.0", - "mkdirp": "^0.5.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, "node_modules/electron/node_modules/@types/node": { "version": "18.18.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.13.tgz", @@ -34927,15 +34914,6 @@ "integrity": "sha512-+ozvXuamBhDOKvMNUQvecxfbyICmIAwS4GpLmR0bsiSBlGnLaOcs2Cj7J8XSbW+YEaN3Xl3ffgpm+srTUWFwFQ==", "dev": true }, - "electron-window-state": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/electron-window-state/-/electron-window-state-5.0.3.tgz", - "integrity": "sha512-1mNTwCfkolXl3kMf50yW3vE2lZj0y92P/HYWFBrb+v2S/pCka5mdwN3cagKm458A7NjndSwijynXgcLWRodsVg==", - "requires": { - "jsonfile": "^4.0.0", - "mkdirp": "^0.5.1" - } - }, "emittery": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", diff --git a/package.json b/package.json index 98915e242..ecb995594 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,6 @@ "discord-rpc": "4.0.1", "electron-log": "4.4.8", "electron-store": "8.1.0", - "electron-window-state": "5.0.3", "fast-xml-parser": "4.3.2", "fs-extra": "11.1.1", "line-awesome": "1.3.0", diff --git a/src/app/common/application/constants.ts b/src/app/common/application/constants.ts index 0965658d9..21148e92d 100644 --- a/src/app/common/application/constants.ts +++ b/src/app/common/application/constants.ts @@ -144,12 +144,6 @@ export class Constants { 'https://github.com/sindresorhus/electron-store', 'https://github.com/sindresorhus/electron-store/blob/master/license', ), - new ExternalComponent( - 'electron-window-state', - 'A library to store and restore window sizes and positions for your Electron app.', - 'https://github.com/mawie81/electron-window-state', - 'https://github.com/mawie81/electron-window-state/blob/master/license', - ), new ExternalComponent( 'Fast HTML Parser', 'A very fast HTML parser, generating a simplified DOM, with basic element query support. ',