upgrade to electron 38

This commit is contained in:
Vendicated
2025-09-04 19:43:27 +02:00
parent 27293d4ae9
commit 0ee194698d
2 changed files with 45 additions and 39 deletions

View File

@@ -39,7 +39,7 @@
"@types/react": "18.3.1",
"@vencord/types": "^1.11.5",
"dotenv": "^16.5.0",
"electron": "^37.2.0",
"electron": "^38.0.0",
"electron-builder": "^26.0.12",
"esbuild": "^0.25.5",
"eslint": "^9.30.1",

82
pnpm-lock.yaml generated
View File

@@ -42,8 +42,8 @@ importers:
specifier: ^16.5.0
version: 16.6.1
electron:
specifier: ^37.2.0
version: 37.2.0
specifier: ^38.0.0
version: 38.0.0
electron-builder:
specifier: ^26.0.12
version: 26.0.12(electron-builder-squirrel-windows@25.1.8)
@@ -469,6 +469,9 @@ packages:
'@types/node@22.16.0':
resolution: {integrity: sha512-B2egV9wALML1JCpv3VQoQ+yesQKAmNMBIAY7OteVrikcOcAkWm+dGL6qpeCktPjAv6N1JLnhbNiqS35UpFyBsQ==}
'@types/node@22.18.1':
resolution: {integrity: sha512-rzSDyhn4cYznVG+PCzGe1lwuMYJrcBS1fc3JqSa2PvtABwWo+dZ1ij5OVok3tqfpEBCBoaR4d7upFJk73HRJDw==}
'@types/node@24.0.10':
resolution: {integrity: sha512-ENHwaH+JIRTDIEEbDK6QSQntAYGtbvdDXnMXnZaZ6k13Du1dPMmprkEHIL7ok2Wl2aZevetwTAb5S+7yIF+enA==}
@@ -1119,8 +1122,8 @@ packages:
electron-updater@6.6.2:
resolution: {integrity: sha512-Cr4GDOkbAUqRHP5/oeOmH/L2Bn6+FQPxVLZtPbcmKZC63a1F3uu5EefYOssgZXG3u/zBlubbJ5PJdITdMVggbw==}
electron@37.2.0:
resolution: {integrity: sha512-dE6+qeg6SBUVd5d8CD2+GH82kh+gF1v40+hs+U+UOno681NMSGmBtgqwldQRpbvtnQDD7V2M9Cpfr3+Abw7aBg==}
electron@38.0.0:
resolution: {integrity: sha512-egljptiPJqbL/oamFCEY+g3RNeONWTVxZSGeyLqzK8xq106JhzuxnhJZ3sxt4DzJFaofbGyGJA37Oe9d+gVzYw==}
engines: {node: '>= 12.20.55'}
hasBin: true
@@ -1408,8 +1411,8 @@ packages:
resolution: {integrity: sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==}
engines: {node: '>= 6'}
form-data@4.0.3:
resolution: {integrity: sha512-qsITQPfmvMOSAdeyZ+12I1c+CKSstAFAwu+97zrnWAbIr5u8wfsExUzCesVLC8NgHuRUqNN4Zy6UPWUTRGslcA==}
form-data@4.0.4:
resolution: {integrity: sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==}
engines: {node: '>= 6'}
fragment-cache@0.2.1:
@@ -1676,8 +1679,8 @@ packages:
resolution: {integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==}
engines: {node: '>= 0.4'}
ip-address@9.0.5:
resolution: {integrity: sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==}
ip-address@10.0.1:
resolution: {integrity: sha512-NWv9YLW4PoW2B7xtzaS3NCot75m6nK7Icdv0o3lfMceJVRfSoQwqD4wEH5rLwoKJwUiZ/rfpiVBhnaF0FK4HoA==}
engines: {node: '>= 12'}
is-accessor-descriptor@1.0.1:
@@ -1852,6 +1855,10 @@ packages:
resolution: {integrity: sha512-YKBKVkKhty7s8rxddb40oOkuP0NbaeXrQvLin6QMHL7Ypiy2RW9LwOVrVgZRyOrhQlayMd9t+D8yDy8MKFTSDQ==}
engines: {node: '>= 18.0.0'}
isbinaryfile@5.0.6:
resolution: {integrity: sha512-I+NmIfBHUl+r2wcDd6JwE9yWje/PIVY/R5/CmV8dXLZd5K+L9X2klAOwfAHNnondLXkbHyTAleQAWonpTJBTtw==}
engines: {node: '>= 18.0.0'}
isexe@2.0.0:
resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
@@ -1875,9 +1882,6 @@ packages:
resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}
hasBin: true
jsbn@1.1.0:
resolution: {integrity: sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==}
json-buffer@3.0.1:
resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==}
@@ -2129,8 +2133,8 @@ packages:
resolution: {integrity: sha512-c5XK0MjkGBrQPGYG24GBADZud0NCbznxNx0ZkS+ebUTrmV1qTDxPxSL8zEAPURXSbLRWVexxmP4986BziahL5w==}
engines: {node: '>=10'}
node-abi@3.75.0:
resolution: {integrity: sha512-OhYaY5sDsIka7H7AtijtI9jwGYLyl29eQn/W623DiN/MIv5sUqc4g7BIDThX+gb7di9f6xK02nkp8sdfFWZLTg==}
node-abi@3.77.0:
resolution: {integrity: sha512-DSmt0OEcLoK4i3NuscSbGjOf3bqiDEutejqENSplMSFA/gmB8mkED9G4pKWnPl7MDU4rSHebKPHeitpDfyH0cQ==}
engines: {node: '>=10'}
node-addon-api@1.7.2:
@@ -2572,8 +2576,8 @@ packages:
resolution: {integrity: sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==}
engines: {node: '>= 10'}
socks@2.8.5:
resolution: {integrity: sha512-iF+tNDQla22geJdTyJB1wM/qrX9DMRwWrciEPwWLPRWAUEM8sQiyxgckLxWT1f7+9VabJS0jTGGr4QgBuvi6Ww==}
socks@2.8.7:
resolution: {integrity: sha512-HLpt+uLy/pxB+bum/9DzAgiKS8CX1EvbWxI4zlmgGCExImLdiad2iCwXT5Z4c9c3Eq8rP2318mPW2c+QbtjK8A==}
engines: {node: '>= 10.0.0', npm: '>= 3.0.0'}
source-map-resolve@0.5.3:
@@ -2974,7 +2978,7 @@ snapshots:
make-fetch-happen: 10.2.1
nopt: 6.0.0
proc-log: 2.0.1
semver: 7.7.2
semver: 7.7.1
tar: 6.2.1
which: 2.0.2
transitivePeerDependencies:
@@ -3008,7 +3012,7 @@ snapshots:
detect-libc: 2.0.4
fs-extra: 10.1.0
got: 11.8.6
node-abi: 3.75.0
node-abi: 3.77.0
node-api-version: 0.2.1
node-gyp: 9.4.1
ora: 5.4.1
@@ -3235,7 +3239,7 @@ snapshots:
'@npmcli/fs@2.1.2':
dependencies:
'@gar/promisify': 1.1.3
semver: 7.7.2
semver: 7.7.1
'@npmcli/move-file@2.0.1':
dependencies:
@@ -3302,6 +3306,10 @@ snapshots:
dependencies:
undici-types: 6.21.0
'@types/node@22.18.1':
dependencies:
undici-types: 6.21.0
'@types/node@24.0.10':
dependencies:
undici-types: 7.8.0
@@ -3463,7 +3471,7 @@ snapshots:
agent-base@6.0.2:
dependencies:
debug: 4.4.1
debug: 4.4.0
transitivePeerDependencies:
- supports-color
@@ -3525,11 +3533,11 @@ snapshots:
ejs: 3.1.10
electron-builder-squirrel-windows: 25.1.8(dmg-builder@26.0.12)
electron-publish: 25.1.7
form-data: 4.0.3
form-data: 4.0.4
fs-extra: 10.1.0
hosted-git-info: 4.1.0
is-ci: 3.0.1
isbinaryfile: 5.0.4
isbinaryfile: 5.0.6
js-yaml: 4.1.0
json5: 2.2.3
lazy-val: 1.0.5
@@ -4240,10 +4248,10 @@ snapshots:
transitivePeerDependencies:
- supports-color
electron@37.2.0:
electron@38.0.0:
dependencies:
'@electron/get': 2.0.3
'@types/node': 22.16.0
'@types/node': 22.18.1
extract-zip: 2.0.1
transitivePeerDependencies:
- supports-color
@@ -4637,7 +4645,7 @@ snapshots:
es-set-tostringtag: 2.1.0
mime-types: 2.1.35
form-data@4.0.3:
form-data@4.0.4:
dependencies:
asynckit: 0.4.0
combined-stream: 1.0.8
@@ -4891,7 +4899,7 @@ snapshots:
dependencies:
'@tootallnate/once': 2.0.0
agent-base: 6.0.2
debug: 4.4.1
debug: 4.4.0
transitivePeerDependencies:
- supports-color
@@ -4910,7 +4918,7 @@ snapshots:
https-proxy-agent@5.0.1:
dependencies:
agent-base: 6.0.2
debug: 4.4.1
debug: 4.4.0
transitivePeerDependencies:
- supports-color
@@ -4967,10 +4975,7 @@ snapshots:
hasown: 2.0.2
side-channel: 1.1.0
ip-address@9.0.5:
dependencies:
jsbn: 1.1.0
sprintf-js: 1.1.3
ip-address@10.0.1: {}
is-accessor-descriptor@1.0.1:
dependencies:
@@ -5135,6 +5140,8 @@ snapshots:
isbinaryfile@5.0.4: {}
isbinaryfile@5.0.6: {}
isexe@2.0.0: {}
isobject@2.1.0:
@@ -5160,8 +5167,6 @@ snapshots:
dependencies:
argparse: 2.0.1
jsbn@1.1.0: {}
json-buffer@3.0.1: {}
json-schema-traverse@0.4.1: {}
@@ -5406,7 +5411,7 @@ snapshots:
dependencies:
semver: 7.7.1
node-abi@3.75.0:
node-abi@3.77.0:
dependencies:
semver: 7.7.2
@@ -5896,14 +5901,14 @@ snapshots:
socks-proxy-agent@7.0.0:
dependencies:
agent-base: 6.0.2
debug: 4.4.1
socks: 2.8.5
debug: 4.4.0
socks: 2.8.7
transitivePeerDependencies:
- supports-color
socks@2.8.5:
socks@2.8.7:
dependencies:
ip-address: 9.0.5
ip-address: 10.0.1
smart-buffer: 4.2.0
source-map-resolve@0.5.3:
@@ -5929,7 +5934,8 @@ snapshots:
dependencies:
extend-shallow: 3.0.2
sprintf-js@1.1.3: {}
sprintf-js@1.1.3:
optional: true
ssri@9.0.1:
dependencies: