diff --git a/design-system/packages/fields/package.json b/design-system/packages/fields/package.json index 1b33297e1be..a16d9e061b8 100644 --- a/design-system/packages/fields/package.json +++ b/design-system/packages/fields/package.json @@ -19,7 +19,7 @@ "@keystone-ui/core": "workspace:^", "@keystone-ui/icons": "workspace:^", "@keystone-ui/popover": "workspace:^", - "date-fns": "^2.26.0", + "date-fns": "^3.0.0", "react": "^18.2.0", "react-day-picker": "^8.0.4", "react-dom": "^18.2.0", diff --git a/docs/package.json b/docs/package.json index 27db2df6ad7..3d1a1c54f39 100644 --- a/docs/package.json +++ b/docs/package.json @@ -38,7 +38,7 @@ "@vercel/og": "^0.6.0", "classnames": "^2.3.1", "clipboard-copy": "^4.0.1", - "date-fns": "^2.26.0", + "date-fns": "^3.0.0", "dedent": "^1.0.0", "emery": "^1.4.1", "facepaint": "^1.2.1", diff --git a/packages/core/package.json b/packages/core/package.json index 6d847bb8778..b4b8d25718c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -222,7 +222,7 @@ "cookie": "^0.6.0", "cors": "^2.8.5", "dataloader": "^2.1.0", - "date-fns": "^2.26.0", + "date-fns": "^3.0.0", "decimal.js": "^10.4.1", "dumb-passwords": "^0.2.1", "esbuild": "^0.19.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c1757cf1db6..1661dab90b9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,14 +134,14 @@ importers: specifier: workspace:^ version: link:../popover date-fns: - specifier: ^2.26.0 - version: 2.30.0 + specifier: ^3.0.0 + version: 3.0.0 react: specifier: ^18.2.0 version: 18.2.0 react-day-picker: specifier: ^8.0.4 - version: 8.9.1(date-fns@2.30.0)(react@18.2.0) + version: 8.9.1(date-fns@3.0.0)(react@18.2.0) react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) @@ -536,8 +536,8 @@ importers: specifier: ^4.0.1 version: 4.0.1 date-fns: - specifier: ^2.26.0 - version: 2.30.0 + specifier: ^3.0.0 + version: 3.0.0 dedent: specifier: ^1.0.0 version: 1.5.1 @@ -1997,8 +1997,8 @@ importers: specifier: ^2.1.0 version: 2.2.2 date-fns: - specifier: ^2.26.0 - version: 2.30.0 + specifier: ^3.0.0 + version: 3.0.0 decimal.js: specifier: ^10.4.1 version: 10.4.3 @@ -11276,6 +11276,11 @@ packages: engines: {node: '>=0.11'} dependencies: '@babel/runtime': 7.23.5 + dev: true + + /date-fns@3.0.0: + resolution: {integrity: sha512-xjDz3rNN9jp+Lh3P/4MeY4E5HkaRnEnrJCcrdRZnKdn42gJlIe6hwrrwVXePRwVR2kh1UcMnz00erYBnHF8PFA==} + dev: false /deasync@0.1.29: resolution: {integrity: sha512-EBtfUhVX23CE9GR6m+F8WPeImEE4hR/FW9RkK0PMl9V1t283s0elqsTD8EZjaKX28SY1BW2rYfCgNsAYdpamUw==} @@ -17800,13 +17805,13 @@ packages: react: 18.2.0 dev: false - /react-day-picker@8.9.1(date-fns@2.30.0)(react@18.2.0): + /react-day-picker@8.9.1(date-fns@3.0.0)(react@18.2.0): resolution: {integrity: sha512-W0SPApKIsYq+XCtfGeMYDoU0KbsG3wfkYtlw8l+vZp6KoBXGOlhzBUp4tNx1XiwiOZwhfdGOlj7NGSCKGSlg5Q==} peerDependencies: date-fns: ^2.28.0 react: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - date-fns: 2.30.0 + date-fns: 3.0.0 react: 18.2.0 dev: false