Upgrades electron to 18.1.0 (#4643)

Co-authored-by: David Marby <david@dmarby.se>
This commit is contained in:
Dimitri Mitropoulos 2022-04-27 11:40:05 -04:00 committed by GitHub
parent 04bbde88b4
commit cced992115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 255 additions and 344 deletions

2
.nvmrc
View File

@ -1 +1 @@
16.13.0
16.13.2

View File

@ -16,7 +16,6 @@
"lint:markdown": "markdownlint-cli2 \"**/*.md\" \"#**/node_modules\"",
"lint:fix": "lerna run lint:fix --stream --no-bail",
"bootstrap": "npm install && lerna bootstrap && lerna run --stream bootstrap",
"bootstrap:electron-builder": "lerna bootstrap --no-ci -- --production --no-optional",
"version": "lerna version",
"publish": "lerna publish from-package",
"clean": "lerna run clean --parallel --stream && lerna clean --yes && rimraf node_modules",

View File

@ -1 +1 @@
16.13.0
16.13.2

View File

@ -1,7 +1,7 @@
/** @type { import('@babel/core').TransformOptions } */
module.exports = {
presets: [
['@babel/preset-env',{targets: {electron: '17.3.1'}}],
['@babel/preset-env',{targets: {electron: '18.1.0'}}],
'@babel/preset-typescript',
'@babel/preset-react',
],

View File

@ -1,3 +1,3 @@
runtime = electron
target = 17.3.1
target = 18.1.0
disturl = https://electronjs.org/headers

File diff suppressed because it is too large Load Diff

View File

@ -39,7 +39,7 @@
"type-check:watch": "npm run type-check -- --watch"
},
"dependencies": {
"@getinsomnia/node-libcurl": "2.3.5-0",
"@getinsomnia/node-libcurl": "2.3.5-1",
"@grpc/grpc-js": "^1.1.8",
"@grpc/proto-loader": "^0.5.5",
"@hapi/hawk": "^8.0.0",
@ -163,9 +163,9 @@
"cross-env": "^7.0.3",
"date-fns": "^2.28.0",
"deep-equal": "^1.0.1",
"electron": "17.3.1",
"electron-builder": "23.0.3",
"electron-builder-squirrel-windows": "23.0.3",
"electron": "18.1.0",
"electron-builder": "23.0.7",
"electron-builder-squirrel-windows": "23.0.7",
"electron-devtools-installer": "^3.2.0",
"electron-notarize": "^1.1.1",
"esbuild": "^0.14.27",

View File

@ -40,7 +40,6 @@ class MarkdownPreviewInternal extends PureComponent<Props, State> {
if (this._compileTimeout !== null) {
clearTimeout(this._compileTimeout);
}
// @ts-expect-error -- TSCONVERSION
this._compileTimeout = setTimeout(
async () => {
try {