Socket
Socket
Sign inDemoInstall

@faker-js/faker

Package Overview
Dependencies
0
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234567Next

9.0.0-alpha.0

Diff

Changelog

Source

9.0.0-alpha.0 (2024-04-12)

⚠ BREAKING CHANGES

  • locale: remove unused global locale faker instance (#2789)
  • locale: remove deprecated locale aliases (#2787)
  • date: birthdate improvements (#2756)
  • date: stricter error handling of between (#2719)
  • date: fail on invalid dates (#2757)
  • location: remove v8 deprecated location methods (#2753)
  • remove v8 deprecated type aliases (#2754)
  • commerce: remove v8 deprecated commerce method (#2752)
  • location: remove default_country definitions (#2740)
  • helpers: remove v8 deprecated helpers methods (#2729)
  • number: remove v8 deprecated number parameter (#2738)
  • company: remove v8 deprecated company methods (#2726)
  • phone: add new style parameter (#2578)
  • finance: remove v8 deprecated finance methods (#2727)
  • git: remove v8 deprecated git method (#2716)
  • phone: remove v8 deprecated phone format (#2712)
  • date: remove v8 deprecated date methods (#2704)
  • helpers: stricter checking for function signature passed to multiple (#2563)
  • internet: remove v8 deprecated internet methods (#2699)
  • random: remove v8 deprecated image methods (#2697)
  • high precision random number generator (#2357)
  • person: flatten jobs definitions (#2505)
  • datatype: remove v8 deprecated datatype methods (#2694)
  • helpers: use const generics where possible (#2685)
  • random: remove deprecated random module (#2678)
  • remove v8 deprecated faker class parts (#2682)
  • helpers: remove v8 deprecated unique (#2661)
  • switch to tsup (#2391)
  • image: remove v8 deprecated providers (#2634)
  • image: randomize defaults (#2472)
  • deps: update dependency typescript to v5 (#1953)
  • drop NodeJS v14 and v16 support (#2121)

Features

Bug Fixes

infra

New Locales

Changed Locales

shinigami92
published 8.4.1 •

Changelog

Source

8.4.1 (2024-02-06)

  • JSDocs improvements
division-by-zero
published 8.4.0 •

Changelog

Source

8.4.0 (2024-01-24)

Features

Bug Fixes

  • finance: correct VG IBAN format (#2552) (b8049d1)
  • internet: username method to return value that always includes… (#2506) (0ee1c67)
  • locale: incomplete airline names in zh_CN (#2558) (5525b55)
  • number: improve float generation for precisions of form 10^-n (#2581) (39c715d)
division-by-zero
published 8.3.1 •

Changelog

Source

8.3.1 (2023-11-14)

Bug Fixes

  • remove [@internal](https://github.com/internal) from module parent classes (#2548) (77f54ad)
division-by-zero
published 8.3.0 •

Changelog

Source

8.3.0 (2023-11-14)

Features

Bug Fixes

  • date: ensures correct range for birthdate (#2535) (7ce8c28)
  • finance: maskedNumber has incorrect defaults (#2494) (e0ba50b)
  • locale: improve Swedish phone numbers format (#2520) (e4865df)

Changed Locales

  • locale: remove fr_CH data which is identical to fr (#2526) (fafcba4)

New Locales

division-by-zero
published 8.2.0 •

Changelog

Source

8.2.0 (2023-10-14)

Features

Bug Fixes

New Locales

  • locale: add airline database science commerce and vehicle for zh_CN (#2395) (9c96c0a)
  • locale: add street_name to en_US, en_GB and en (#2371) (491d319)
  • locale: add unionpay credit card for zh_CN (#2338) (74eeccc)
shinigami92
published 8.1.0 •

Changelog

Source

8.1.0 (2023-09-19)

Features

Bug Fixes

  • helpers: prevent uniqueArray from hanging (#2239) (3dece09)
  • image: dataUri is not random (#2316) (a7d25fa)
  • locale: invalid date definitions (#2293) (3cecae9)
  • locale: limited ja first names without passing sex (#2190) (5de8874)
  • locale: remove continent from ja countries (#2194) (cdd162a)
  • locale: remove duplicated countries in ja locale (#2189) (785a38a)
  • location: avoid hyphenated surnames in city patterns (#2119) (7a4bb43)
  • location: Czech postcode format (#2268) (37898ca)
  • location: Dutch postal codes can never start with '0' (#2326) (f195e06)
  • location: Pad en_US ZIP codes left to 5 characters if needed (#2278) (0ca1e44)
  • remove unrelated from de_CH country codes (#2304) (aa1bb13)
  • test: fix imports for jsdocs example verification (#2281) (2fe1308)
  • test: typedoc signature test issues (#2280) (02fc7ca)

Changed Locales

New Locales

shinigami92
published 8.0.2 •

Changelog

Source

8.0.2 (2023-05-27)

Bug Fixes

  • git: limit need for Intl to specific method (#2172) (a5e73f8)
  • locale: en_HK last_name_patterns should be last_name_pattern (#2154) (03cc391)
  • locale: ro_MD city should be city_pattern (#2155) (c173150)
shinigami92
published 8.0.1 •

Changelog

Source

8.0.1 (2023-05-15)

shinigami92
published 8.0.0 •

Changelog

Source

8.0.0 (2023-05-11)

Bug Fixes

  • docs: fix faker v7 code example for locale migration (#2125) (b570461)
  • locales: add real cities for zu_ZA and af_ZA, update en_ZA city list (#2141) (ee8c97c)
234567Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc