update playwright to v1.29.1 and other dependencies (#2980)

see title, fixes https://github.com/MichMich/MagicMirror/issues/2969
This commit is contained in:
Karsten Hassel 2022-12-22 16:40:53 +01:00 committed by GitHub
parent 2fec314ff5
commit 76d9042e60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 714 additions and 434 deletions

View File

@ -41,7 +41,7 @@ Special thanks to: @rejas, @sdetweil, @MagMar94
- The `cors`-method in `server.js` now supports sending and recieving HTTP headers.
- Replace `…` by `…`.
- Cleanup compliments module
- Updated dependencies: electron to v22 (#2903), fix playwright to v1.27.1 (#2969)
- Updated dependencies including electron to v22 (#2903)
### Fixed
@ -53,6 +53,7 @@ Special thanks to: @rejas, @sdetweil, @MagMar94
- Tests not waiting for the application to start and stop before starting the next test
- Fix electron tests failing sometimes in github workflow
- Fixed gap in clock module when displayed on the left side with displayType=digital
- Fixed playwright issue by upgrading to v1.29.1 (#2969)
## [2.21.0] - 2022-10-01

1109
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -50,7 +50,7 @@
"homepage": "https://magicmirror.builders",
"devDependencies": {
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^27.1.6",
"eslint-plugin-jest": "^27.1.7",
"eslint-plugin-jsdoc": "^39.6.4",
"eslint-plugin-prettier": "^4.2.1",
"express-basic-auth": "^1.2.1",
@ -58,10 +58,10 @@
"jest": "^29.3.1",
"jsdom": "^20.0.3",
"lodash": "^4.17.21",
"playwright": "1.27.1",
"prettier": "^2.8.0",
"playwright": "^1.29.1",
"prettier": "^2.8.1",
"pretty-quick": "^3.1.3",
"sinon": "^15.0.0",
"sinon": "^15.0.1",
"stylelint": "^14.16.0",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-standard": "^29.0.0",
@ -75,7 +75,7 @@
"colors": "^1.4.0",
"console-stamp": "^3.1.0",
"digest-fetch": "^2.0.1",
"eslint": "^8.29.0",
"eslint": "^8.30.0",
"express": "^4.18.2",
"express-ipfilter": "^1.3.1",
"feedme": "^2.0.2",

View File

@ -1,4 +1,5 @@
const helpers = require("./helpers/global-setup");
const events = require("events");
describe("Electron app environment", () => {
beforeEach(async () => {
@ -26,6 +27,7 @@ describe("Development console tests", () => {
});
it("should open browserwindow and dev console", async () => {
while (global.electronApp.windows().length < 2) await events.once(global.electronApp, "window");
const pageArray = await global.electronApp.windows();
expect(pageArray.length).toBe(2);
for (const page of pageArray) {

22
vendor/package-lock.json generated vendored
View File

@ -9,7 +9,7 @@
"dependencies": {
"@fortawesome/fontawesome-free": "^6.2.1",
"moment": "^2.29.4",
"moment-timezone": "^0.5.39",
"moment-timezone": "^0.5.40",
"nunjucks": "^3.2.3",
"suncalc": "^1.9.0",
"weathericons": "^2.1.0"
@ -32,7 +32,7 @@
"node_modules/asap": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
"integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY="
"integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA=="
},
"node_modules/commander": {
"version": "5.1.0",
@ -51,9 +51,9 @@
}
},
"node_modules/moment-timezone": {
"version": "0.5.39",
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.39.tgz",
"integrity": "sha512-hoB6suq4ISDj7BDgctiOy6zljBsdYT0++0ZzZm9rtxIvJhIbQ3nmbgSWe7dNFGurl6/7b1OUkHlmN9JWgXVz7w==",
"version": "0.5.40",
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.40.tgz",
"integrity": "sha512-tWfmNkRYmBkPJz5mr9GVDn9vRlVZOTe6yqY92rFxiOdWXbjaR0+9LwQnZGGuNR63X456NqmEkbskte8tWL5ePg==",
"dependencies": {
"moment": ">= 2.9.0"
},
@ -93,7 +93,7 @@
"node_modules/weathericons": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/weathericons/-/weathericons-2.1.0.tgz",
"integrity": "sha1-dFOho14gAkXjiftQd9Un7/MLc7Q="
"integrity": "sha512-V45viuyuQQOuoePTqzxvP/wBpYALWkD695fkFvqpn+BiMyo64fFlyDbP2A8umZyFyz1cXFPNw1pWqeaSaQqJlQ=="
}
},
"dependencies": {
@ -110,7 +110,7 @@
"asap": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
"integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY="
"integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA=="
},
"commander": {
"version": "5.1.0",
@ -123,9 +123,9 @@
"integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w=="
},
"moment-timezone": {
"version": "0.5.39",
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.39.tgz",
"integrity": "sha512-hoB6suq4ISDj7BDgctiOy6zljBsdYT0++0ZzZm9rtxIvJhIbQ3nmbgSWe7dNFGurl6/7b1OUkHlmN9JWgXVz7w==",
"version": "0.5.40",
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.40.tgz",
"integrity": "sha512-tWfmNkRYmBkPJz5mr9GVDn9vRlVZOTe6yqY92rFxiOdWXbjaR0+9LwQnZGGuNR63X456NqmEkbskte8tWL5ePg==",
"requires": {
"moment": ">= 2.9.0"
}
@ -148,7 +148,7 @@
"weathericons": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/weathericons/-/weathericons-2.1.0.tgz",
"integrity": "sha1-dFOho14gAkXjiftQd9Un7/MLc7Q="
"integrity": "sha512-V45viuyuQQOuoePTqzxvP/wBpYALWkD695fkFvqpn+BiMyo64fFlyDbP2A8umZyFyz1cXFPNw1pWqeaSaQqJlQ=="
}
}
}

2
vendor/package.json vendored
View File

@ -12,7 +12,7 @@
"dependencies": {
"@fortawesome/fontawesome-free": "^6.2.1",
"moment": "^2.29.4",
"moment-timezone": "^0.5.39",
"moment-timezone": "^0.5.40",
"nunjucks": "^3.2.3",
"suncalc": "^1.9.0",
"weathericons": "^2.1.0"