electron: Downgrade electron-debug

Avoids an import error because electron-debug became ESM-only in version
4. We will update to it once we upgrade to ESM.
This commit is contained in:
Elian Doran 2024-07-17 20:22:32 +03:00
parent 4bae19b1c3
commit 41286d41ee
No known key found for this signature in database
2 changed files with 18 additions and 27 deletions

43
package-lock.json generated
View File

@ -27,7 +27,7 @@
"dayjs-plugin-utc": "0.1.2",
"debounce": "1.2.1",
"ejs": "3.1.9",
"electron-debug": "^4.0.0",
"electron-debug": "3.2.0",
"electron-dl": "3.5.2",
"electron-window-state": "5.0.3",
"escape-html": "1.0.3",
@ -5511,15 +5511,12 @@
}
},
"node_modules/electron-debug": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/electron-debug/-/electron-debug-4.0.0.tgz",
"integrity": "sha512-GuDHlug+EGBcZezEFzwXyal/YI28rxtSzRPNfRfc+BQ3siEkqy2voN5bI1c0cGEloK40mV/LzRMaiI84KCNvqg==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/electron-debug/-/electron-debug-3.2.0.tgz",
"integrity": "sha512-7xZh+LfUvJ52M9rn6N+tPuDw6oRAjxUj9SoxAZfJ0hVCXhZCsdkrSt7TgXOiWiEOBgEV8qwUIO/ScxllsPS7ow==",
"dependencies": {
"electron-is-dev": "^3.0.1",
"electron-localshortcut": "^3.2.1"
},
"engines": {
"node": ">=18"
"electron-is-dev": "^1.1.0",
"electron-localshortcut": "^3.1.0"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
@ -5698,15 +5695,9 @@
"integrity": "sha1-UJ5RDCala1Xhf4Y6SwThEYRqsns="
},
"node_modules/electron-is-dev": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/electron-is-dev/-/electron-is-dev-3.0.1.tgz",
"integrity": "sha512-8TjjAh8Ec51hUi3o4TaU0mD3GMTOESi866oRNavj9A3IQJ7pmv+MJVmdZBFGw4GFT36X7bkqnuDNYvkQgvyI8Q==",
"engines": {
"node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/electron-is-dev/-/electron-is-dev-1.2.0.tgz",
"integrity": "sha512-R1oD5gMBPS7PVU8gJwH6CtT0e6VSoD0+SzSnYpNm+dBkcijgA+K7VAMHDfnRq/lkKPZArpzplTW6jfiMYosdzw=="
},
"node_modules/electron-localshortcut": {
"version": "3.2.1",
@ -17671,12 +17662,12 @@
}
},
"electron-debug": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/electron-debug/-/electron-debug-4.0.0.tgz",
"integrity": "sha512-GuDHlug+EGBcZezEFzwXyal/YI28rxtSzRPNfRfc+BQ3siEkqy2voN5bI1c0cGEloK40mV/LzRMaiI84KCNvqg==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/electron-debug/-/electron-debug-3.2.0.tgz",
"integrity": "sha512-7xZh+LfUvJ52M9rn6N+tPuDw6oRAjxUj9SoxAZfJ0hVCXhZCsdkrSt7TgXOiWiEOBgEV8qwUIO/ScxllsPS7ow==",
"requires": {
"electron-is-dev": "^3.0.1",
"electron-localshortcut": "^3.2.1"
"electron-is-dev": "^1.1.0",
"electron-localshortcut": "^3.1.0"
}
},
"electron-dl": {
@ -17810,9 +17801,9 @@
"integrity": "sha1-UJ5RDCala1Xhf4Y6SwThEYRqsns="
},
"electron-is-dev": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/electron-is-dev/-/electron-is-dev-3.0.1.tgz",
"integrity": "sha512-8TjjAh8Ec51hUi3o4TaU0mD3GMTOESi866oRNavj9A3IQJ7pmv+MJVmdZBFGw4GFT36X7bkqnuDNYvkQgvyI8Q=="
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/electron-is-dev/-/electron-is-dev-1.2.0.tgz",
"integrity": "sha512-R1oD5gMBPS7PVU8gJwH6CtT0e6VSoD0+SzSnYpNm+dBkcijgA+K7VAMHDfnRq/lkKPZArpzplTW6jfiMYosdzw=="
},
"electron-localshortcut": {
"version": "3.2.1",

View File

@ -51,7 +51,7 @@
"dayjs-plugin-utc": "0.1.2",
"debounce": "1.2.1",
"ejs": "3.1.9",
"electron-debug": "^4.0.0",
"electron-debug": "3.2.0",
"electron-dl": "3.5.2",
"electron-window-state": "5.0.3",
"escape-html": "1.0.3",