Skip to content

Commit 2eaadc1

Browse files
dpwatrousgingi
authored andcommitted
Update many dependencies and require Node 18 (#2789)
1 parent 9c082e3 commit 2eaadc1

File tree

58 files changed

+21183
-71845
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+21183
-71845
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
* text=auto
22
package*.json text eol=lf
3+
resources.*.json text eol=lf

.vsts/node-setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
steps:
22
- task: NodeTool@0
33
inputs:
4-
versionSpec: '16.x.x'
4+
versionSpec: '18.x.x'
55
displayName: Set NodeJS version
66

77
- script: cp .vsts/pipelines.npmrc $(Agent.TempDirectory)/.npmrc

desktop/karma.conf.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ const webpackConfig = require("./config/webpack.config.test");
22

33
process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = "true";
44

5+
// Clear --openssl-legacy-provider flag
6+
process.env.NODE_OPTIONS = "";
7+
58
// Only enable coverage if env is defined(So we don't enable it in watch mode as it duplicate logs)
69
const coverageReporters = process.env.COVERAGE ? ["coverage", "junit"] : [];
710

@@ -10,7 +13,8 @@ const coverageReporters = process.env.COVERAGE ? ["coverage", "junit"] : [];
1013
module.exports = function(config) {
1114
config.set({
1215
basePath: ".",
13-
frameworks: ["jasmine"],
16+
frameworks: ["jasmine", "webpack"],
17+
1418
files: [
1519
{
1620
pattern: "./test/app/spec-entry.js",
@@ -53,7 +57,6 @@ module.exports = function(config) {
5357
webPreferences: {
5458
nodeIntegration: true,
5559
contextIsolation: false,
56-
enableRemoteModule: true,
5760
}
5861
}
5962
}

0 commit comments

Comments
 (0)