From c145e71733791c736bad226e202658d8baa3ceb7 Mon Sep 17 00:00:00 2001 From: Ru Chern Chong Date: Sat, 7 Sep 2024 00:53:08 +0800 Subject: [PATCH] Update date-fns to v3 --- package.json | 2 +- pnpm-lock.yaml | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index e501206..89cb7f5 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "classnames": "^2.3.2", "clsx": "^2.1.1", "d3": "^7.8.5", - "date-fns": "^2.30.0", + "date-fns": "^3.6.0", "drizzle-orm": "^0.33.0", "jotai": "^2.7.1", "lucide-react": "^0.381.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c5e2eb0..346754d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -81,8 +81,8 @@ importers: specifier: ^7.8.5 version: 7.8.5 date-fns: - specifier: ^2.30.0 - version: 2.30.0 + specifier: ^3.6.0 + version: 3.6.0 drizzle-orm: specifier: ^0.33.0 version: 0.33.0(@neondatabase/serverless@0.9.4)(@types/pg@8.11.6)(@types/react@18.3.3)(react@18.3.1) @@ -3370,9 +3370,8 @@ packages: resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==} engines: {node: '>=12'} - date-fns@2.30.0: - resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} - engines: {node: '>=0.11'} + date-fns@3.6.0: + resolution: {integrity: sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==} debug@3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} @@ -9746,9 +9745,7 @@ snapshots: whatwg-mimetype: 3.0.0 whatwg-url: 11.0.0 - date-fns@2.30.0: - dependencies: - '@babel/runtime': 7.23.9 + date-fns@3.6.0: {} debug@3.2.7: dependencies: