mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
update deps and fix animateCSS_spec test (#3811)
- animateCSS_spec test did throw errors at least with newest dependencies (running locally or on gitlab) - dependency updates: New jest v30 breaks our tests so we have to stay with v29 until fixed (will take a look)
This commit is contained in:
@@ -50,7 +50,7 @@ planned for 2025-07-01
|
|||||||
|
|
||||||
### Updated
|
### Updated
|
||||||
|
|
||||||
- [core] Update dependencies including electron to v36 (#3774, #3788)
|
- [core] Update dependencies including electron to v36 (#3774, #3788, #3811)
|
||||||
|
|
||||||
## [2.31.0] - 2025-04-01
|
## [2.31.0] - 2025-04-01
|
||||||
|
|
||||||
|
1182
package-lock.json
generated
1182
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
32
package.json
32
package.json
@@ -61,15 +61,15 @@
|
|||||||
"*.css": "stylelint --fix"
|
"*.css": "stylelint --fix"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/roboto": "^5.2.5",
|
"@fontsource/roboto": "^5.2.6",
|
||||||
"@fontsource/roboto-condensed": "^5.2.5",
|
"@fontsource/roboto-condensed": "^5.2.6",
|
||||||
"@fortawesome/fontawesome-free": "^6.7.2",
|
"@fortawesome/fontawesome-free": "^6.7.2",
|
||||||
"ajv": "^8.17.1",
|
"ajv": "^8.17.1",
|
||||||
"animate.css": "^4.1.1",
|
"animate.css": "^4.1.1",
|
||||||
"console-stamp": "^3.1.2",
|
"console-stamp": "^3.1.2",
|
||||||
"croner": "^9.0.0",
|
"croner": "^9.1.0",
|
||||||
"envsub": "^4.1.0",
|
"envsub": "^4.1.0",
|
||||||
"eslint": "^9.28.0",
|
"eslint": "^9.29.0",
|
||||||
"express": "^5.1.0",
|
"express": "^5.1.0",
|
||||||
"express-ipfilter": "^1.3.2",
|
"express-ipfilter": "^1.3.2",
|
||||||
"feedme": "^2.0.2",
|
"feedme": "^2.0.2",
|
||||||
@@ -81,35 +81,35 @@
|
|||||||
"moment-timezone": "^0.6.0",
|
"moment-timezone": "^0.6.0",
|
||||||
"node-ical": "^0.20.1",
|
"node-ical": "^0.20.1",
|
||||||
"nunjucks": "^3.2.4",
|
"nunjucks": "^3.2.4",
|
||||||
"pm2": "^6.0.6",
|
"pm2": "^6.0.8",
|
||||||
"socket.io": "^4.8.1",
|
"socket.io": "^4.8.1",
|
||||||
"suncalc": "^1.9.0",
|
"suncalc": "^1.9.0",
|
||||||
"systeminformation": "^5.27.1",
|
"systeminformation": "^5.27.3",
|
||||||
"undici": "^7.10.0",
|
"undici": "^7.10.0",
|
||||||
"weathericons": "^2.1.0"
|
"weathericons": "^2.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@stylistic/eslint-plugin": "^4.4.0",
|
"@stylistic/eslint-plugin": "^4.4.1",
|
||||||
"cspell": "^9.0.2",
|
"cspell": "^9.1.1",
|
||||||
"eslint-plugin-import-x": "^4.15.0",
|
"eslint-plugin-import-x": "^4.15.2",
|
||||||
"eslint-plugin-jest": "^28.12.0",
|
"eslint-plugin-jest": "^29.0.1",
|
||||||
"eslint-plugin-jsdoc": "^50.7.0",
|
"eslint-plugin-jsdoc": "^51.0.3",
|
||||||
"eslint-plugin-package-json": "^0.33.1",
|
"eslint-plugin-package-json": "^0.40.1",
|
||||||
"express-basic-auth": "^1.2.1",
|
"express-basic-auth": "^1.2.1",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"jsdom": "^26.1.0",
|
"jsdom": "^26.1.0",
|
||||||
"lint-staged": "^16.1.0",
|
"lint-staged": "^16.1.2",
|
||||||
"markdownlint-cli2": "^0.18.1",
|
"markdownlint-cli2": "^0.18.1",
|
||||||
"playwright": "^1.52.0",
|
"playwright": "^1.53.1",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
"sinon": "^20.0.0",
|
"sinon": "^21.0.0",
|
||||||
"stylelint": "^16.20.0",
|
"stylelint": "^16.20.0",
|
||||||
"stylelint-config-standard": "^38.0.0",
|
"stylelint-config-standard": "^38.0.0",
|
||||||
"stylelint-prettier": "^5.0.3"
|
"stylelint-prettier": "^5.0.3"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"electron": "^36.3.2"
|
"electron": "^36.5.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=22.14.0"
|
"node": ">=22.14.0"
|
||||||
|
@@ -23,18 +23,18 @@ describe("AnimateCSS integration Test", () => {
|
|||||||
let styles = window.getComputedStyle(elem);
|
let styles = window.getComputedStyle(elem);
|
||||||
|
|
||||||
if (animationIn && animationIn !== "") {
|
if (animationIn && animationIn !== "") {
|
||||||
expect(styles._values["animation-name"]).toBe(animationIn);
|
expect(styles._values.get("animation-name")).toBe(animationIn);
|
||||||
} else {
|
} else {
|
||||||
expect(styles._values["animation-name"]).toBeUndefined();
|
expect(styles._values.get("animation-name")).toBeUndefined();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (animationOut && animationOut !== "") {
|
if (animationOut && animationOut !== "") {
|
||||||
elem = await helpers.waitForElement(`.compliments.animate__animated.animate__${animationOut}`);
|
elem = await helpers.waitForElement(`.compliments.animate__animated.animate__${animationOut}`);
|
||||||
expect(elem).not.toBeNull();
|
expect(elem).not.toBeNull();
|
||||||
styles = window.getComputedStyle(elem);
|
styles = window.getComputedStyle(elem);
|
||||||
expect(styles._values["animation-name"]).toBe(animationOut);
|
expect(styles._values.get("animation-name")).toBe(animationOut);
|
||||||
} else {
|
} else {
|
||||||
expect(styles._values["animation-name"]).toBeUndefined();
|
expect(styles._values.get("animation-name")).toBeUndefined();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user