update dependencies and formatting (#3693)

after updating deps 2 files needed formatting updates
This commit is contained in:
Karsten Hassel 2025-01-13 21:36:44 +01:00 committed by GitHub
parent 99dda821d3
commit 2400e2045f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 971 additions and 567 deletions

View File

@ -24,6 +24,8 @@ planned for 2025-04-01
### Updated
- [core] Update dependencies and formatting
### Fixed
- [calendar] Fix clipping events being broadcast (#3678)

View File

@ -181,8 +181,8 @@ Module.register("clock", {
const untilNextEventString = `${untilNextEvent.hours()}h ${untilNextEvent.minutes()}m`;
sunWrapper.innerHTML
= `<span class="${isVisible ? "bright" : ""}"><i class="fas fa-sun" aria-hidden="true"></i> ${untilNextEventString}</span>`
+ `<span><i class="fas fa-arrow-up" aria-hidden="true"></i> ${formatTime(this.config, sunTimes.sunrise)}</span>`
+ `<span><i class="fas fa-arrow-down" aria-hidden="true"></i> ${formatTime(this.config, sunTimes.sunset)}</span>`;
+ `<span><i class="fas fa-arrow-up" aria-hidden="true"></i> ${formatTime(this.config, sunTimes.sunrise)}</span>`
+ `<span><i class="fas fa-arrow-down" aria-hidden="true"></i> ${formatTime(this.config, sunTimes.sunset)}</span>`;
digitalWrapper.appendChild(sunWrapper);
}
@ -208,8 +208,8 @@ Module.register("clock", {
moonWrapper.innerHTML
= `<span class="${isVisible ? "bright" : ""}">${image} ${showFraction ? illuminatedFractionString : ""}</span>`
+ `<span><i class="fas fa-arrow-up" aria-hidden="true"></i> ${moonRise ? formatTime(this.config, moonRise) : "..."}</span>`
+ `<span><i class="fas fa-arrow-down" aria-hidden="true"></i> ${moonSet ? formatTime(this.config, moonSet) : "..."}</span>`;
+ `<span><i class="fas fa-arrow-up" aria-hidden="true"></i> ${moonRise ? formatTime(this.config, moonRise) : "..."}</span>`
+ `<span><i class="fas fa-arrow-down" aria-hidden="true"></i> ${moonSet ? formatTime(this.config, moonSet) : "..."}</span>`;
digitalWrapper.appendChild(moonWrapper);
}

View File

@ -128,14 +128,14 @@ const WeatherUtils = {
} else if (tempInF > 80 && humidity > 40) {
feelsLike
= -42.379
+ 2.04901523 * tempInF
+ 10.14333127 * humidity
- 0.22475541 * tempInF * humidity
- 6.83783 * Math.pow(10, -3) * tempInF * tempInF
- 5.481717 * Math.pow(10, -2) * humidity * humidity
+ 1.22874 * Math.pow(10, -3) * tempInF * tempInF * humidity
+ 8.5282 * Math.pow(10, -4) * tempInF * humidity * humidity
- 1.99 * Math.pow(10, -6) * tempInF * tempInF * humidity * humidity;
+ 2.04901523 * tempInF
+ 10.14333127 * humidity
- 0.22475541 * tempInF * humidity
- 6.83783 * Math.pow(10, -3) * tempInF * tempInF
- 5.481717 * Math.pow(10, -2) * humidity * humidity
+ 1.22874 * Math.pow(10, -3) * tempInF * tempInF * humidity
+ 8.5282 * Math.pow(10, -4) * tempInF * humidity * humidity
- 1.99 * Math.pow(10, -6) * tempInF * tempInF * humidity * humidity;
}
return ((feelsLike - 32) * 5) / 9;

1492
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -63,10 +63,10 @@
},
"dependencies": {
"ajv": "^8.17.1",
"ansis": "^3.5.2",
"ansis": "^3.9.0",
"console-stamp": "^3.1.2",
"envsub": "^4.1.0",
"eslint": "^9.17.0",
"eslint": "^9.18.0",
"express": "^4.21.2",
"express-ipfilter": "^1.3.2",
"feedme": "^2.0.2",
@ -79,12 +79,12 @@
"pm2": "^5.4.3",
"socket.io": "^4.8.1",
"suncalc": "^1.9.0",
"systeminformation": "^5.24.3",
"undici": "^7.2.0"
"systeminformation": "^5.25.11",
"undici": "^7.2.1"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^2.12.1",
"cspell": "^8.17.1",
"@stylistic/eslint-plugin": "^2.13.0",
"cspell": "^8.17.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-jsdoc": "^50.6.1",
@ -92,18 +92,18 @@
"express-basic-auth": "^1.2.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jsdom": "^25.0.1",
"jsdom": "^26.0.0",
"lint-staged": "^15.3.0",
"markdownlint-cli2": "^0.17.1",
"playwright": "^1.49.1",
"prettier": "^3.4.2",
"sinon": "^19.0.2",
"stylelint": "^16.12.0",
"stylelint-config-standard": "^36.0.1",
"stylelint": "^16.13.1",
"stylelint-config-standard": "^37.0.0",
"stylelint-prettier": "^5.0.2"
},
"optionalDependencies": {
"electron": "^32.2.7"
"electron": "^32.2.8"
},
"engines": {
"node": ">=20.18.1 <21 || >=22"