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 9f7a895228d..fba7335ee9e 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 6e339920798..16d55a0e75c 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.20.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4b25149be46..233605b78e4 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.3.1 react: specifier: ^18.2.0 version: 18.2.0 react-day-picker: specifier: ^8.0.4 - version: 8.10.0(date-fns@2.30.0)(react@18.2.0) + version: 8.10.0(date-fns@3.3.1)(react@18.2.0) react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) @@ -530,8 +530,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.3.1 dedent: specifier: ^1.0.0 version: 1.5.1 @@ -1991,8 +1991,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.3.1 decimal.js: specifier: ^10.4.1 version: 10.4.3 @@ -9620,7 +9620,7 @@ packages: '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.24.0) '@vanilla-extract/babel-plugin-debug-ids': 1.0.5 '@vanilla-extract/css': 1.14.1 - esbuild: 0.17.6 + esbuild: 0.19.12 eval: 0.1.8 find-up: 5.0.0 javascript-stringify: 2.1.0 @@ -11565,6 +11565,11 @@ packages: engines: {node: '>=0.11'} dependencies: '@babel/runtime': 7.24.0 + dev: true + + /date-fns@3.3.1: + resolution: {integrity: sha512-y8e109LYGgoQDveiEBD3DYXKba1jWf5BA8YU1FL5Tvm0BTdEfy54WLCwnuYWZNnzzvALy/QQ4Hov+Q9RVRv+Zw==} + dev: false /deasync@0.1.29: resolution: {integrity: sha512-EBtfUhVX23CE9GR6m+F8WPeImEE4hR/FW9RkK0PMl9V1t283s0elqsTD8EZjaKX28SY1BW2rYfCgNsAYdpamUw==} @@ -18084,13 +18089,13 @@ packages: react: 18.2.0 dev: false - /react-day-picker@8.10.0(date-fns@2.30.0)(react@18.2.0): + /react-day-picker@8.10.0(date-fns@3.3.1)(react@18.2.0): resolution: {integrity: sha512-mz+qeyrOM7++1NCb1ARXmkjMkzWVh2GL9YiPbRjKe0zHccvekk4HE+0MPOZOrosn8r8zTHIIeOUXTmXRqmkRmg==} peerDependencies: date-fns: ^2.28.0 || ^3.0.0 react: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - date-fns: 2.30.0 + date-fns: 3.3.1 react: 18.2.0 dev: false