Skip to content

Commit 0a1ccfe

Browse files
fix(deps): update dependency filesize to v10 (#1010)
* fix(deps): update dependency filesize to v10 * fix: correct usage Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Emmanuel Chambon <[email protected]>
1 parent 63c123f commit 0a1ccfe

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

packages/use-i18n/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@formatjs/ecma402-abstract": "1.12.0",
3131
"@formatjs/fast-memoize": "1.2.6",
3232
"date-fns": "2.29.3",
33-
"filesize": "9.0.11",
33+
"filesize": "10.0.5",
3434
"international-types": "0.3.5",
3535
"intl-messageformat": "10.1.5",
3636
"prop-types": "15.8.1"

packages/use-i18n/src/formatUnit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import filesize from 'filesize'
1+
import { filesize } from 'filesize'
22
import formatters from './formatters'
33

44
// We are on base 10, so we should use IEC standard here ...

pnpm-lock.yaml

Lines changed: 8 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)