mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
update eslint
This commit is contained in:
@@ -61,7 +61,7 @@ export function dateFormatFrontend(date: Date): string {
|
||||
|
||||
function dateParse(input: string, formatString: string): Date {
|
||||
const date = parse(input, formatString, new Date())
|
||||
if (date.getTime() !== NaN) {
|
||||
if (!Number.isNaN(date.getTime())) {
|
||||
return date
|
||||
}
|
||||
|
||||
|
||||
668
package-lock.json
generated
668
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -36,9 +36,9 @@
|
||||
"@tailwindcss/postcss": "^4.0.17",
|
||||
"@types/nodemailer": "^6.4.17",
|
||||
"@types/uuid": "10.0.0",
|
||||
"eslint": "8.57.0",
|
||||
"eslint": "^9.23.0",
|
||||
"eslint-config-next": "15.2.4",
|
||||
"eslint-config-prettier": "9.1.0",
|
||||
"eslint-config-prettier": "^10.1.1",
|
||||
"jest": "29.7.0",
|
||||
"postcss": "^8.5.3",
|
||||
"prettier": "3.5.3",
|
||||
|
||||
Reference in New Issue
Block a user