From 804fee9c0d1547775361c28d53a9f6f224582100 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 28 Apr 2024 04:03:37 +0000 Subject: [PATCH] feat: upgrade date-fns-tz from 2.0.1 to 3.0.0 Snyk has created this PR to upgrade date-fns-tz from 2.0.1 to 3.0.0. See this package in npm: https://www.npmjs.com/package/date-fns-tz See this project in Snyk: https://app.snyk.io/org/coderbyheart/project/92965916-3d3a-4ae1-98e5-31dfeca4f424?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 52 +++++++++++++++++++++++++++++------------------ package.json | 2 +- 2 files changed, 33 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index d06d4781..ca18573c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@sentry/browser": "7.112.2", "@sentry/react": "7.112.2", "ajv": "8.12.0", - "date-fns-tz": "2.0.1", + "date-fns-tz": "^3.0.0", "feather-icons": "4.29.1", "ics": "3.7.2", "react": "18.3.1", @@ -4079,24 +4079,24 @@ } }, "node_modules/date-fns": { - "version": "2.28.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.28.0.tgz", - "integrity": "sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-3.6.0.tgz", + "integrity": "sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==", "peer": true, - "engines": { - "node": ">=0.11" - }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/date-fns" + "type": "github", + "url": "https://github.com/sponsors/kossnocorp" } }, "node_modules/date-fns-tz": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/date-fns-tz/-/date-fns-tz-2.0.1.tgz", - "integrity": "sha512-fJCG3Pwx8HUoLhkepdsP7Z5RsucUi+ZBOxyM5d0ZZ6c4SdYustq0VMmOu6Wf7bli+yS/Jwp91TOCqn9jMcVrUA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/date-fns-tz/-/date-fns-tz-3.0.0.tgz", + "integrity": "sha512-YgRowJwvCAAjN1A5F2l1ZjnYKThX7YDq399qo+ThXFpeOqinN1u8SUqfM5IdRQSpai18Iy3EBMb6/CXTSnDstg==", + "dependencies": { + "lodash.clonedeep": "^4.5.0" + }, "peerDependencies": { - "date-fns": "2.x" + "date-fns": "^3.0.0" } }, "node_modules/debug": { @@ -7335,6 +7335,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==" + }, "node_modules/lodash.get": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", @@ -12637,16 +12642,18 @@ } }, "date-fns": { - "version": "2.28.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.28.0.tgz", - "integrity": "sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-3.6.0.tgz", + "integrity": "sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==", "peer": true }, "date-fns-tz": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/date-fns-tz/-/date-fns-tz-2.0.1.tgz", - "integrity": "sha512-fJCG3Pwx8HUoLhkepdsP7Z5RsucUi+ZBOxyM5d0ZZ6c4SdYustq0VMmOu6Wf7bli+yS/Jwp91TOCqn9jMcVrUA==", - "requires": {} + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/date-fns-tz/-/date-fns-tz-3.0.0.tgz", + "integrity": "sha512-YgRowJwvCAAjN1A5F2l1ZjnYKThX7YDq399qo+ThXFpeOqinN1u8SUqfM5IdRQSpai18Iy3EBMb6/CXTSnDstg==", + "requires": { + "lodash.clonedeep": "^4.5.0" + } }, "debug": { "version": "4.3.4", @@ -15068,6 +15075,11 @@ "p-locate": "^5.0.0" } }, + "lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==" + }, "lodash.get": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", diff --git a/package.json b/package.json index 7854eeaf..fc0be937 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@sentry/browser": "7.112.2", "@sentry/react": "7.112.2", "ajv": "8.12.0", - "date-fns-tz": "2.0.1", + "date-fns-tz": "3.0.0", "feather-icons": "4.29.1", "ics": "3.7.2", "react": "18.3.1",