diff options
| author | DivisionByZero <[email protected]> | 2023-01-29 22:33:12 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-29 21:33:12 +0000 |
| commit | 52e9c1c43769d94f3f2c7be8e52504a46aa7cd74 (patch) | |
| tree | a3eb1a14306f7c6817176cae366fc0fd9538276a /docs | |
| parent | 64f480d214dc0bd173b0921025c8a1ad76d12c0f (diff) | |
| download | faker-52e9c1c43769d94f3f2c7be8e52504a46aa7cd74.tar.xz faker-52e9c1c43769d94f3f2c7be8e52504a46aa7cd74.zip | |
refactor(system): replace mime db with common dataset (#1788)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/guide/upgrading.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/guide/upgrading.md b/docs/guide/upgrading.md index 204ef067..c30ee63b 100644 --- a/docs/guide/upgrading.md +++ b/docs/guide/upgrading.md @@ -118,3 +118,7 @@ For the old `faker.datatype.number` method you should replace with `faker.number ### `allowLeadingZeros` behavior change in `faker.string.numeric` The `allowLeadingZeros` boolean parameter in `faker.string.numeric` (in the new `string` module) now defaults to `true`. `faker.string.numeric` will now generate numeric strings that could have leading zeros by default. + +### Simplified MIME type data + +The functions `faker.system.mimeType`, `faker.system.fileType` and `faker.system.fileExt` now return data from a smaller set of more common MIME types, filetypes and extensions. |
