Skip to content

Commit

Permalink
chore: update date-fns
Browse files Browse the repository at this point in the history
  • Loading branch information
JalilArfaoui committed Apr 23, 2024
1 parent 34aa602 commit 2599d46
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@sentry/integrations": "^7.70.0",
"@sentry/react": "^7.70.0",
"algoliasearch": "^4.20.0",
"date-fns": "^2.30.0",
"date-fns": "^3.6.0",
"exoneration-covid": "workspace:^",
"focus-trap-react": "^10.2.1",
"fuse.js": "^6.6.2",
Expand Down
3 changes: 1 addition & 2 deletions site/source/design-system/field/DateField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import 'react-day-picker/dist/style.css'

import { autoUpdate, flip, offset, useFloating } from '@floating-ui/react-dom'
import { format as formatDate, isValid, parse } from 'date-fns'
import enUS from 'date-fns/locale/en-US/index.js'
import fr from 'date-fns/locale/fr/index.js'
import { enUS, fr } from 'date-fns/locale'
import FocusTrap from 'focus-trap-react'
import { useCallback, useEffect, useRef, useState } from 'react'
import { useId } from 'react-aria'
Expand Down
14 changes: 6 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3689,7 +3689,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.21.0":
"@babel/runtime@npm:^7.13.10":
version: 7.22.15
resolution: "@babel/runtime@npm:7.22.15"
dependencies:
Expand Down Expand Up @@ -16876,12 +16876,10 @@ __metadata:
languageName: node
linkType: hard

"date-fns@npm:^2.30.0":
version: 2.30.0
resolution: "date-fns@npm:2.30.0"
dependencies:
"@babel/runtime": ^7.21.0
checksum: f7be01523282e9bb06c0cd2693d34f245247a29098527d4420628966a2d9aad154bd0e90a6b1cf66d37adcb769cd108cf8a7bd49d76db0fb119af5cdd13644f4
"date-fns@npm:^3.6.0":
version: 3.6.0
resolution: "date-fns@npm:3.6.0"
checksum: 0daa1e9a436cf99f9f2ae9232b55e11f3dd46132bee10987164f3eebd29f245b2e066d7d7db40782627411ecf18551d8f4c9fcdf2226e48bb66545407d448ab7
languageName: node
linkType: hard

Expand Down Expand Up @@ -29228,7 +29226,7 @@ __metadata:
cypress-axe: ^1.5.0
cypress-plugin-tab: ^1.0.5
cypress-wait-until: ^1.7.2
date-fns: ^2.30.0
date-fns: ^3.6.0
dotenv: ^16.3.1
eslint-plugin-testing-library: ^6.2.0
exoneration-covid: "workspace:^"
Expand Down

0 comments on commit 2599d46

Please sign in to comment.