From f730ac740eef9bed947ef4ebe1cf004a463c9c51 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 24 Aug 2023 09:49:21 +0000 Subject: [PATCH] fix: upgrade date-fns from 2.16.1 to 2.30.0 Snyk has created this PR to upgrade date-fns from 2.16.1 to 2.30.0. See this package in npm: https://www.npmjs.com/package/date-fns See this project in Snyk: https://app.snyk.io/org/nft-772/project/b9617da3-88f2-4188-a251-f793ab905909?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 24 +++++++++++++++++++++--- package.json | 2 +- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index addb17c..2c6bef8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11173,9 +11173,27 @@ } }, "date-fns": { - "version": "2.16.1", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.16.1.tgz", - "integrity": "sha512-sAJVKx/FqrLYHAQeN7VpJrPhagZc9R4ImZIWYRFZaaohR3KzmuK88touwsSwSVT8Qcbd4zoDsnGfX4GFB4imyQ==" + "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==", + "requires": { + "@babel/runtime": "^7.21.0" + }, + "dependencies": { + "@babel/runtime": { + "version": "7.22.10", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.10.tgz", + "integrity": "sha512-21t/fkKLMZI4pqP2wlmsQAWnYW1PDyKyyUV4vCi+B25ydmdaYTKXPwCj0BzSUnZf4seIiYvSA3jcZ3gdsMFkLQ==", + "requires": { + "regenerator-runtime": "^0.14.0" + } + }, + "regenerator-runtime": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz", + "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==" + } + } }, "date-now": { "version": "0.1.4", diff --git a/package.json b/package.json index 5c1bc74..82c0786 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "@govtechsg/decentralized-renderer-react-components": "^3.2.0", "@govtechsg/oa-schemata": "^1.2.0", "@hot-loader/react-dom": "^16.13.0", - "date-fns": "^2.16.1", + "date-fns": "^2.30.0", "debug": "4.1.1", "react": "^16.13.1", "react-dom": "^16.13.1",