diff --git a/package-lock.json b/package-lock.json index c8a45f3591..4715c8511b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ "classlist.js": "https://github.com/eligrey/classList.js/archive/1.2.20180112.tar.gz", "classnames": "2.5.1", "core-js": "3.49.0", - "date-fns": "2.30.0", + "date-fns": "4.4.0", "dompurify": "2.5.9", "element-closest-polyfill": "1.0.7", "epubjs": "0.3.93", @@ -9900,18 +9900,13 @@ } }, "node_modules/date-fns": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", - "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", - "dependencies": { - "@babel/runtime": "^7.21.0" - }, - "engines": { - "node": ">=0.11" - }, + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.4.0.tgz", + "integrity": "sha512-+1UMbeh68lH1SegH83CGWwpb6OHHbpSgr3+s5Eww5M4CAgswBpoWS0AjTOfEJ33HiYKz1hdj/KTFprzXHmq/6w==", + "license": "MIT", "funding": { - "type": "opencollective", - "url": "https://opencollective.com/date-fns" + "type": "github", + "url": "https://github.com/sponsors/kossnocorp" } }, "node_modules/debug": { diff --git a/package.json b/package.json index b5849f5853..ad20cd63f8 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "classlist.js": "https://github.com/eligrey/classList.js/archive/1.2.20180112.tar.gz", "classnames": "2.5.1", "core-js": "3.49.0", - "date-fns": "2.30.0", + "date-fns": "4.4.0", "dompurify": "2.5.9", "element-closest-polyfill": "1.0.7", "epubjs": "0.3.93",