faker-js / faker

Generate massive amounts of fake data in the browser and node.js
https://fakerjs.dev
Other
11.85k stars 877 forks source link

feat: introduce FakerCore #2838

Open ST-DDT opened 3 weeks ago

ST-DDT commented 3 weeks ago

First part of the standalone module function feature #2667

TODO

netlify[bot] commented 3 weeks ago

Deploy Preview for fakerjs ready!

Name Link
Latest commit 790e64574e74de3b0a216db445cee1e069e1d61c
Latest deploy log https://app.netlify.com/sites/fakerjs/deploys/6626db15eab6c200088e9f0e
Deploy Preview https://deploy-preview-2838.fakerjs.dev
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

github-actions[bot] commented 3 weeks ago

Uncommitted changes were detected after runnning generate:* commands. Please run pnpm run preflight to generate/update the related files, and commit them.

ST-DDT commented 2 weeks ago

1) Done 2) Changed slightly to improve readability.

ST-DDT commented 2 weeks ago

Does anybody know why this test is failing with that particular error message?

❯ test/simple-faker.spec.ts > simpleFaker > should not log anything on startup → Unexpected token ','

It seems to happen only with vitest/CJS.

Shinigami92 commented 2 weeks ago

Does anybody know why this test is failing with that particular error message?

❯ test/simple-faker.spec.ts > simpleFaker > should not log anything on startup → Unexpected token ','

It seems to happen only with vitest/CJS.

If I set minify: false in tsup.config.ts everything runs fine. Please report a bug-issue to https://github.com/egoist/tsup

Or it is related to https://github.com/egoist/tsup/issues/1091