Upgrade electron to 31.1.0
This commit is contained in:
parent
d53757d9fa
commit
3ed63edbc8
9 changed files with 29 additions and 66 deletions
2
.github/workflows/benchmark.yml
vendored
2
.github/workflows/benchmark.yml
vendored
|
@ -30,7 +30,7 @@ jobs:
|
||||||
- name: Setup node.js
|
- name: Setup node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20.11.1'
|
node-version: '20.14.0'
|
||||||
- name: Install global dependencies
|
- name: Install global dependencies
|
||||||
run: npm install -g npm@10.2.5
|
run: npm install -g npm@10.2.5
|
||||||
|
|
||||||
|
|
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20.11.1'
|
node-version: '20.14.0'
|
||||||
- run: npm install -g npm@10.2.5
|
- run: npm install -g npm@10.2.5
|
||||||
|
|
||||||
- name: Cache Desktop node_modules
|
- name: Cache Desktop node_modules
|
||||||
|
@ -78,7 +78,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20.11.1'
|
node-version: '20.14.0'
|
||||||
|
|
||||||
- run: npm install -g npm@10.2.5
|
- run: npm install -g npm@10.2.5
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20.11.1'
|
node-version: '20.14.0'
|
||||||
- run: sudo apt-get install xvfb
|
- run: sudo apt-get install xvfb
|
||||||
|
|
||||||
- run: npm install -g npm@10.2.5
|
- run: npm install -g npm@10.2.5
|
||||||
|
@ -197,7 +197,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20.11.1'
|
node-version: '20.14.0'
|
||||||
- run: npm install -g npm@10.2.5 node-gyp@10.0.1
|
- run: npm install -g npm@10.2.5 node-gyp@10.0.1
|
||||||
|
|
||||||
# Set things up so @nodert-win10-rs4 dependencies build properly
|
# Set things up so @nodert-win10-rs4 dependencies build properly
|
||||||
|
@ -305,7 +305,7 @@ jobs:
|
||||||
- name: Setup node.js
|
- name: Setup node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20.11.1'
|
node-version: '20.14.0'
|
||||||
- name: Install global dependencies
|
- name: Install global dependencies
|
||||||
run: npm install -g npm@10.2.5
|
run: npm install -g npm@10.2.5
|
||||||
|
|
||||||
|
|
2
.github/workflows/danger.yml
vendored
2
.github/workflows/danger.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
||||||
fetch-depth: 0 # fetch all history
|
fetch-depth: 0 # fetch all history
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20.11.1'
|
node-version: '20.14.0'
|
||||||
- run: npm install -g npm@10.2.5
|
- run: npm install -g npm@10.2.5
|
||||||
- name: Cache danger node_modules
|
- name: Cache danger node_modules
|
||||||
id: cache-desktop-modules
|
id: cache-desktop-modules
|
||||||
|
|
2
.github/workflows/stories.yml
vendored
2
.github/workflows/stories.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20.11.1'
|
node-version: '20.14.0'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- name: Install global dependencies
|
- name: Install global dependencies
|
||||||
run: npm install -g npm@10.2.5
|
run: npm install -g npm@10.2.5
|
||||||
|
|
2
.nvmrc
2
.nvmrc
|
@ -1 +1 @@
|
||||||
20.11.1
|
20.14.0
|
||||||
|
|
41
package-lock.json
generated
41
package-lock.json
generated
|
@ -208,7 +208,7 @@
|
||||||
"csv-parse": "5.5.2",
|
"csv-parse": "5.5.2",
|
||||||
"danger": "11.3.1",
|
"danger": "11.3.1",
|
||||||
"debug": "4.3.3",
|
"debug": "4.3.3",
|
||||||
"electron": "30.0.9",
|
"electron": "31.1.0",
|
||||||
"electron-builder": "24.13.3",
|
"electron-builder": "24.13.3",
|
||||||
"electron-mocha": "12.2.0",
|
"electron-mocha": "12.2.0",
|
||||||
"endanger": "7.0.4",
|
"endanger": "7.0.4",
|
||||||
|
@ -233,7 +233,7 @@
|
||||||
"p-limit": "3.1.0",
|
"p-limit": "3.1.0",
|
||||||
"patch-package": "8.0.0",
|
"patch-package": "8.0.0",
|
||||||
"pixelmatch": "5.3.0",
|
"pixelmatch": "5.3.0",
|
||||||
"playwright": "1.42.1",
|
"playwright": "1.45.0",
|
||||||
"pngjs": "7.0.0",
|
"pngjs": "7.0.0",
|
||||||
"prettier": "2.8.0",
|
"prettier": "2.8.0",
|
||||||
"protobufjs-cli": "1.1.1",
|
"protobufjs-cli": "1.1.1",
|
||||||
|
@ -260,7 +260,7 @@
|
||||||
"webpack-dev-server": "4.11.1"
|
"webpack-dev-server": "4.11.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "20.11.1"
|
"node": "20.14.0"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"fs-xattr": "0.3.0"
|
"fs-xattr": "0.3.0"
|
||||||
|
@ -21984,11 +21984,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/electron": {
|
"node_modules/electron": {
|
||||||
"version": "30.0.9",
|
"version": "31.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/electron/-/electron-30.0.9.tgz",
|
"resolved": "https://registry.npmjs.org/electron/-/electron-31.1.0.tgz",
|
||||||
"integrity": "sha512-ArxgdGHVu3o5uaP+Tqj8cJDvU03R6vrGrOqiMs7JXLnvQHMqXJIIxmFKQAIdJW8VoT3ac3hD21tA7cPO10RLow==",
|
"integrity": "sha512-TBOwqLxSxnx6+pH6GMri7R3JPH2AkuGJHfWZS0p1HsmN+Qr1T9b0IRJnnehSd/3NZAmAre4ft9Ljec7zjyKFJA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@electron/get": "^2.0.0",
|
"@electron/get": "^2.0.0",
|
||||||
"@types/node": "^20.9.0",
|
"@types/node": "^20.9.0",
|
||||||
|
@ -31587,9 +31588,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/nan": {
|
"node_modules/nan": {
|
||||||
"version": "2.18.0",
|
"version": "2.20.0",
|
||||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.18.0.tgz",
|
"resolved": "https://registry.npmjs.org/nan/-/nan-2.20.0.tgz",
|
||||||
"integrity": "sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w=="
|
"integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw=="
|
||||||
},
|
},
|
||||||
"node_modules/nanoid": {
|
"node_modules/nanoid": {
|
||||||
"version": "3.3.1",
|
"version": "3.3.1",
|
||||||
|
@ -33898,18 +33899,18 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/playwright": {
|
"node_modules/playwright": {
|
||||||
"version": "1.42.1",
|
"version": "1.45.0",
|
||||||
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.42.1.tgz",
|
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.45.0.tgz",
|
||||||
"integrity": "sha512-PgwB03s2DZBcNRoW+1w9E+VkLBxweib6KTXM0M3tkiT4jVxKSi6PmVJ591J+0u10LUrgxB7dLRbiJqO5s2QPMg==",
|
"integrity": "sha512-4z3ac3plDfYzGB6r0Q3LF8POPR20Z8D0aXcxbJvmfMgSSq1hkcgvFRXJk9rUq5H/MJ0Ktal869hhOdI/zUTeLA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"playwright-core": "1.42.1"
|
"playwright-core": "1.45.0"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"playwright": "cli.js"
|
"playwright": "cli.js"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16"
|
"node": ">=18"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"fsevents": "2.3.2"
|
"fsevents": "2.3.2"
|
||||||
|
@ -33928,18 +33929,6 @@
|
||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/playwright/node_modules/playwright-core": {
|
|
||||||
"version": "1.42.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.42.1.tgz",
|
|
||||||
"integrity": "sha512-mxz6zclokgrke9p1vtdy/COWBH+eOZgYUVVU34C73M+4j4HLlQJHtfcqiqqxpP0o8HhMkflvfbquLX5dg6wlfA==",
|
|
||||||
"dev": true,
|
|
||||||
"bin": {
|
|
||||||
"playwright-core": "cli.js"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=16"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/plist": {
|
"node_modules/plist": {
|
||||||
"version": "3.1.0",
|
"version": "3.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/plist/-/plist-3.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/plist/-/plist-3.1.0.tgz",
|
||||||
|
|
|
@ -290,7 +290,7 @@
|
||||||
"csv-parse": "5.5.2",
|
"csv-parse": "5.5.2",
|
||||||
"danger": "11.3.1",
|
"danger": "11.3.1",
|
||||||
"debug": "4.3.3",
|
"debug": "4.3.3",
|
||||||
"electron": "30.0.9",
|
"electron": "31.1.0",
|
||||||
"electron-builder": "24.13.3",
|
"electron-builder": "24.13.3",
|
||||||
"electron-mocha": "12.2.0",
|
"electron-mocha": "12.2.0",
|
||||||
"endanger": "7.0.4",
|
"endanger": "7.0.4",
|
||||||
|
@ -315,7 +315,7 @@
|
||||||
"p-limit": "3.1.0",
|
"p-limit": "3.1.0",
|
||||||
"patch-package": "8.0.0",
|
"patch-package": "8.0.0",
|
||||||
"pixelmatch": "5.3.0",
|
"pixelmatch": "5.3.0",
|
||||||
"playwright": "1.42.1",
|
"playwright": "1.45.0",
|
||||||
"pngjs": "7.0.0",
|
"pngjs": "7.0.0",
|
||||||
"prettier": "2.8.0",
|
"prettier": "2.8.0",
|
||||||
"protobufjs-cli": "1.1.1",
|
"protobufjs-cli": "1.1.1",
|
||||||
|
@ -365,7 +365,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "20.11.1"
|
"node": "20.14.0"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"appId": "org.whispersystems.signal-desktop",
|
"appId": "org.whispersystems.signal-desktop",
|
||||||
|
|
|
@ -1,28 +0,0 @@
|
||||||
diff --git a/node_modules/nan/nan.h b/node_modules/nan/nan.h
|
|
||||||
index 2a68349..7576469 100644
|
|
||||||
--- a/node_modules/nan/nan.h
|
|
||||||
+++ b/node_modules/nan/nan.h
|
|
||||||
@@ -2511,6 +2511,7 @@ inline void SetPrototypeMethod(
|
|
||||||
|
|
||||||
//=== Accessors and Such =======================================================
|
|
||||||
|
|
||||||
+/*
|
|
||||||
NAN_DEPRECATED inline void SetAccessor(
|
|
||||||
v8::Local<v8::ObjectTemplate> tpl
|
|
||||||
, v8::Local<v8::String> name
|
|
||||||
@@ -2557,6 +2558,7 @@ NAN_DEPRECATED inline void SetAccessor(
|
|
||||||
#endif
|
|
||||||
);
|
|
||||||
}
|
|
||||||
+*/
|
|
||||||
|
|
||||||
inline void SetAccessor(
|
|
||||||
v8::Local<v8::ObjectTemplate> tpl
|
|
||||||
@@ -2596,7 +2598,6 @@ inline void SetAccessor(
|
|
||||||
, getter_
|
|
||||||
, setter_
|
|
||||||
, obj
|
|
||||||
- , settings
|
|
||||||
, attribute
|
|
||||||
);
|
|
||||||
}
|
|
|
@ -35,6 +35,8 @@ function launchElectron(attempt: number): string {
|
||||||
NODE_ENV: 'test',
|
NODE_ENV: 'test',
|
||||||
TEST_QUIT_ON_COMPLETE: 'on',
|
TEST_QUIT_ON_COMPLETE: 'on',
|
||||||
},
|
},
|
||||||
|
// Since we run `.cmd` file on Windows - use shell
|
||||||
|
shell: process.platform === 'win32',
|
||||||
encoding: 'utf8',
|
encoding: 'utf8',
|
||||||
});
|
});
|
||||||
return stdout;
|
return stdout;
|
||||||
|
|
Loading…
Reference in a new issue