Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jackfranklin/test-data-bot

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jackfranklin/test-data-bot - npm Package Versions

2.1.0

Diff

Changelog

Source

2.1.0 - 01 Mar 2023

  • New feature: Added one(config) as a helper method to create a single instance. This is equal to calling the created builder directly. PR
  • New feature: Added many(N, config) as a helper method to create an array of N instances. PR.
  • Bug fix: incorrect overrriding of Date fields. PR
  • Bug fix: allow traits to override undefined values. PR
jackfranklin
published 2.0.0 •

Changelog

Source

2.0.0 - 17 Mar 2022

  • BREAKING Removed Faker support. If you wish to use it, you may, and you can use the perBuild generator to integrate it. PR.
  • BREAKING Various TypeScript changes to improve type-safety of builders. May cause values that were previously any to be typed more strictly, and hence may need code changes PR.
  • BREAKING Dropped support for Node 10. Minimum Node version is now 12.
  • Dropped the dependency on Lodash PR.
jackfranklin
published 1.4.0 •

Changelog

Source

1.4.0 - 09 Dec 2021

Sorry for the lack of updates and silence! I'm hopeful that I can maintain this library more proactively moving forwards and continue to improve test-data-bot.

  • Updated Faker to latest version (v5.5.3)
  • Support non-truthy values in overrides PR
  • Various dependency updates: latest TypeScript, Prettier, ESLint, Jest, and so on.
jackfranklin
published 1.3.0 •

Changelog

Source

1.3.0 - 13 May 2020

  • Added traits to test-data-bot. See the README for examples.
jackfranklin
published 1.2.0 •

Changelog

Source

1.2.0 - 09 May 2020

  • Factories now do not need a factory name property. You can simply pass in the configuration object :

    const userBuilder = build({ ... });
    // rather than:
    const userBuilder = build('User', { ... });
    

    You can still pass a name if you like, but it's not required and will probably be removed in a future major version.

jackfranklin
published 1.1.0 •

Changelog

Source

1.1.0 - 23 March 2020

  • Fix: builders can now take literal null or undefined values: https://github.com/jackfranklin/test-data-bot/pull/198
  • Fix: sequence returns unknown not number: https://github.com/jackfranklin/test-data-bot/pull/196
  • Fix: ship Faker types for nice type hinting: https://github.com/jackfranklin/test-data-bot/pull/197
  • Upgrade to Prettier 2: https://github.com/jackfranklin/test-data-bot/pull/195
  • Swap from yarn to npm: https://github.com/jackfranklin/test-data-bot/pull/194
jackfranklin
published 1.0.0 •

Changelog

Source

1.0.0 - 26 January 2020

  • Completely new version! See README for migration details.
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc