1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-09 16:21:51 +00:00

Update Electron to 37.x

Update electron package from 31.3.0 to 37.2.3, with Chromium 138 and
Node.js 22.17. Also follow the electron-packager -> @electron/packager
rename and upgrade the package.
This commit is contained in:
Даниїл Григор'єв 2025-07-18 06:45:04 +03:00
parent 53df56f492
commit 114a1f9d74
No known key found for this signature in database
GPG Key ID: B890DF16341D8C1D
5 changed files with 876 additions and 660 deletions

View File

@ -15,7 +15,7 @@
},
"devDependencies": {
"@types/semver": "^7.7.0",
"electron": "^31.3.0",
"electron": "^37.2.3",
"typescript": "^5.8.2"
}
},
@ -108,13 +108,13 @@
}
},
"node_modules/@types/node": {
"version": "20.17.30",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.30.tgz",
"integrity": "sha512-7zf4YyHA+jvBNfVrk2Gtvs6x7E8V+YDW05bNfG2XkWDJfYRXrTiP/DsB2zSYTaHX0bGIujTBQdMVAhb+j7mwpg==",
"version": "22.16.4",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.16.4.tgz",
"integrity": "sha512-PYRhNtZdm2wH/NT2k/oAJ6/f2VD2N2Dag0lGlx2vWgMSJXGNmlce5MiTQzoWAiIJtso30mjnfQCOKVH+kAQC/g==",
"dev": true,
"license": "MIT",
"dependencies": {
"undici-types": "~6.19.2"
"undici-types": "~6.21.0"
}
},
"node_modules/@types/responselike": {
@ -325,15 +325,15 @@
"optional": true
},
"node_modules/electron": {
"version": "31.7.7",
"resolved": "https://registry.npmjs.org/electron/-/electron-31.7.7.tgz",
"integrity": "sha512-HZtZg8EHsDGnswFt0QeV8If8B+et63uD6RJ7I4/xhcXqmTIbI08GoubX/wm+HdY0DwcuPe1/xsgqpmYvjdjRoA==",
"version": "37.2.3",
"resolved": "https://registry.npmjs.org/electron/-/electron-37.2.3.tgz",
"integrity": "sha512-JRKKn8cRDXDfkC+oWISbYs+c+L6RA776JM0NiB9bn2yV8H/LnBUlVPzKKfsXgrUIokN4YcbCw694vfAdEJwtGw==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
"@electron/get": "^2.0.0",
"@types/node": "^20.9.0",
"@types/node": "^22.7.7",
"extract-zip": "^2.0.1"
},
"bin": {
@ -888,9 +888,9 @@
}
},
"node_modules/undici-types": {
"version": "6.19.8",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"version": "6.21.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
"dev": true,
"license": "MIT"
},

View File

@ -15,7 +15,7 @@
},
"devDependencies": {
"@types/semver": "^7.7.0",
"electron": "^31.3.0",
"electron": "^37.2.3",
"typescript": "^5.8.2"
}
}

View File

@ -1,4 +1,4 @@
import packager from "electron-packager";
import { packager } from "@electron/packager";
import fs from "fs/promises";
import gulp from "gulp";
import path from "path/posix";

1506
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -29,6 +29,7 @@
"howler": "^2.1.2"
},
"devDependencies": {
"@electron/packager": "^18.3.6",
"@eslint/js": "^9.24.0",
"@tsconfig/node-lts": "^22.0.1",
"@tsconfig/strictest": "^2.0.5",
@ -42,7 +43,6 @@
"cssnano": "^4.1.10",
"cssnano-preset-advanced": "^4.0.7",
"delete-empty": "^3.0.0",
"electron-packager": "^15.4.0",
"eslint": "^9.24.0",
"globals": "^15.0.0",
"gulp": "^4.0.2",