Skip to content

Commit

Permalink
fix(deps): update dependency date-fns to v3 (#8970)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Cousens <[email protected]>
  • Loading branch information
renovate[bot] and dcousens authored Apr 29, 2024
1 parent 175dfd4 commit 64f7220
Show file tree
Hide file tree
Showing 7 changed files with 962 additions and 948 deletions.
2 changes: 1 addition & 1 deletion design-system/packages/fields/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion docs/markdoc/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'fs/promises'
import isMatch from 'date-fns/isMatch'
import { isMatch } from 'date-fns'
import Markdoc, { type Config, type Tag, type ValidateError } from '@markdoc/markdoc'
import { isNonEmptyArray } from 'emery/guards'
import { assert } from 'emery/assertions'
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions docs/pages/blog/[post].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import {
} from 'next'
import Link from 'next/link'
import { useRouter } from 'next/router'
import parse from 'date-fns/parse'
import format from 'date-fns/format'
import { parse, format } from 'date-fns'
import { globby } from 'globby'
import { type BlogContent, readBlogContent } from '../../markdoc'
import { extractHeadings, Markdoc } from '../../components/Markdoc'
Expand Down
3 changes: 1 addition & 2 deletions docs/pages/blog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import fs from 'fs/promises'
import { globby } from 'globby'
import { type InferGetStaticPropsType, type GetStaticPropsResult } from 'next'
import Link from 'next/link'
import parse from 'date-fns/parse'
import format from 'date-fns/format'
import { parse, format } from 'date-fns'
import { jsx } from '@emotion/react'

import { MWrapper } from '../../components/content/MWrapper'
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,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",
Expand Down
Loading

0 comments on commit 64f7220

Please sign in to comment.