2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-06-06 06:20:47 +00:00

Bump default Electron to 18.0.3 (from 16.2.2)

As usual, we did our best to adapt to Electron breaking changes in 17/18,
but patches welcome to fix regressions. Release notes with breaking changes:

- https://www.electronjs.org/blog/electron-17-0
- https://www.electronjs.org/blog/electron-18-0

Detailed release notes:

- https://github.com/electron/electron/releases/tag/v17.0.0
- https://github.com/electron/electron/releases/tag/v18.0.0
- https://github.com/electron/electron/releases/tag/v18.0.1
- https://github.com/electron/electron/releases/tag/v18.0.2
- https://github.com/electron/electron/releases/tag/v18.0.3
This commit is contained in:
Ronan Jouchet 2022-04-10 13:14:29 -04:00
parent c215d7a7b2
commit 77df5618f4
5 changed files with 21 additions and 21 deletions

View File

@ -31,7 +31,7 @@ Note: lying about the User Agent is required, else Google will notice your
nativefier 'https://outlook.office.com/mail' nativefier 'https://outlook.office.com/mail'
--internal-urls '.*?(outlook.live.com|outlook.office365.com).*?' --internal-urls '.*?(outlook.live.com|outlook.office365.com).*?'
--file-download-options '{"saveAs": true}' --file-download-options '{"saveAs": true}'
--browserwindow-options '{"webPreferences": { "webviewTag": true, "nodeIntegration": true, "nodeIntegrationInSubFrames": true, "nativeWindowOpen": true } }' --browserwindow-options '{"webPreferences": { "webviewTag": true, "nodeIntegration": true, "nodeIntegrationInSubFrames": true } }'
``` ```
Note: `--browserwindow-options` is needed to allow pop-outs when creating/editing an email. Note: `--browserwindow-options` is needed to allow pop-outs when creating/editing an email.

View File

@ -17,7 +17,7 @@
"source-map-support": "^0.5.19" "source-map-support": "^0.5.19"
}, },
"devDependencies": { "devDependencies": {
"electron": "^16.0.8" "electron": "^18.0.3"
} }
}, },
"node_modules/@electron/get": { "node_modules/@electron/get": {
@ -64,9 +64,9 @@
} }
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "14.18.12", "version": "16.11.26",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.12.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.26.tgz",
"integrity": "sha512-q4jlIR71hUpWTnGhXWcakgkZeHa3CCjcQcnuzU8M891BAWA2jHiziiWEPEkdS5pFsz7H9HJiy8BrK7tBRNrY7A==", "integrity": "sha512-GZ7bu5A6+4DtG7q9GsoHXy3ALcgeIHP4NnL0Vv2wu0uUB/yQex26v0tf6/na1mm0+bS9Uw+0DFex7aaKr2qawQ==",
"dev": true "dev": true
}, },
"node_modules/ansi-regex": { "node_modules/ansi-regex": {
@ -296,14 +296,14 @@
"dev": true "dev": true
}, },
"node_modules/electron": { "node_modules/electron": {
"version": "16.2.2", "version": "18.0.3",
"resolved": "https://registry.npmjs.org/electron/-/electron-16.2.2.tgz", "resolved": "https://registry.npmjs.org/electron/-/electron-18.0.3.tgz",
"integrity": "sha512-MOZCewpDvhiuYCw8UnJnQxU/9cni4tlHHWBdi0JWbcdBOrGsDMSt17nuPwR5wSf1e7mSfofGIUPg9iHS5KA8Eg==", "integrity": "sha512-QRUZkGL8O/8CyDmTLSjBeRsZmGTPlPVeWnnpkdNqgHYYaOc/A881FKMiNzvQ9Cj0a+rUavDdwBUfUL82U3Ay7w==",
"dev": true, "dev": true,
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@electron/get": "^1.13.0", "@electron/get": "^1.13.0",
"@types/node": "^14.6.2", "@types/node": "^16.11.26",
"extract-zip": "^1.0.3" "extract-zip": "^1.0.3"
}, },
"bin": { "bin": {
@ -1231,9 +1231,9 @@
} }
}, },
"@types/node": { "@types/node": {
"version": "14.18.12", "version": "16.11.26",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.12.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.26.tgz",
"integrity": "sha512-q4jlIR71hUpWTnGhXWcakgkZeHa3CCjcQcnuzU8M891BAWA2jHiziiWEPEkdS5pFsz7H9HJiy8BrK7tBRNrY7A==", "integrity": "sha512-GZ7bu5A6+4DtG7q9GsoHXy3ALcgeIHP4NnL0Vv2wu0uUB/yQex26v0tf6/na1mm0+bS9Uw+0DFex7aaKr2qawQ==",
"dev": true "dev": true
}, },
"ansi-regex": { "ansi-regex": {
@ -1412,13 +1412,13 @@
"dev": true "dev": true
}, },
"electron": { "electron": {
"version": "16.2.2", "version": "18.0.3",
"resolved": "https://registry.npmjs.org/electron/-/electron-16.2.2.tgz", "resolved": "https://registry.npmjs.org/electron/-/electron-18.0.3.tgz",
"integrity": "sha512-MOZCewpDvhiuYCw8UnJnQxU/9cni4tlHHWBdi0JWbcdBOrGsDMSt17nuPwR5wSf1e7mSfofGIUPg9iHS5KA8Eg==", "integrity": "sha512-QRUZkGL8O/8CyDmTLSjBeRsZmGTPlPVeWnnpkdNqgHYYaOc/A881FKMiNzvQ9Cj0a+rUavDdwBUfUL82U3Ay7w==",
"dev": true, "dev": true,
"requires": { "requires": {
"@electron/get": "^1.13.0", "@electron/get": "^1.13.0",
"@types/node": "^14.6.2", "@types/node": "^16.11.26",
"extract-zip": "^1.0.3" "extract-zip": "^1.0.3"
} }
}, },

View File

@ -20,6 +20,6 @@
"source-map-support": "^0.5.19" "source-map-support": "^0.5.19"
}, },
"devDependencies": { "devDependencies": {
"electron": "^16.0.8" "electron": "^18.0.3"
} }
} }

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "nativefier", "name": "nativefier",
"version": "46.2.0", "version": "46.2.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "nativefier", "name": "nativefier",
"version": "46.2.0", "version": "46.2.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"axios": "^0.26.0", "axios": "^0.26.0",

View File

@ -4,9 +4,9 @@ export const DEFAULT_APP_NAME = 'APP';
// Update both DEFAULT_ELECTRON_VERSION and DEFAULT_CHROME_VERSION together, // Update both DEFAULT_ELECTRON_VERSION and DEFAULT_CHROME_VERSION together,
// and update app / package.json / devDeps / electron to value of DEFAULT_ELECTRON_VERSION // and update app / package.json / devDeps / electron to value of DEFAULT_ELECTRON_VERSION
export const DEFAULT_ELECTRON_VERSION = '16.2.2'; export const DEFAULT_ELECTRON_VERSION = '18.0.3';
// https://atom.io/download/atom-shell/index.json // https://atom.io/download/atom-shell/index.json
export const DEFAULT_CHROME_VERSION = '96.0.4664.174'; export const DEFAULT_CHROME_VERSION = '100.0.4896.75';
// Update each of these periodically // Update each of these periodically
// https://product-details.mozilla.org/1.0/firefox_versions.json // https://product-details.mozilla.org/1.0/firefox_versions.json