Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC]: Update (dep) faker to use @faker-js/faker v7.6.0 instead in sandbox #1161

Open
1 task done
Codedwells opened this issue Mar 14, 2023 · 1 comment · May be fixed by #1162
Open
1 task done

[DOC]: Update (dep) faker to use @faker-js/faker v7.6.0 instead in sandbox #1161

Codedwells opened this issue Mar 14, 2023 · 1 comment · May be fixed by #1162
Labels

Comments

@Codedwells
Copy link

Would you like to work on a fix?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior

  • faker@latest is deprecated on npm.
  • Suggesting use of @faker-js/faker v7.6.0 in sandbox

Reproduction

When I got the snippet for Line chart from chartjs website I installed faker. But it was not working. I later found that faker@latest on npm was depricated.

chart.js version

v4.2.2

react-chartjs-2 version

v5.2.0

Possible solution

Use of @faker-js/faker with syntax similar to faker.

@kkipngenokoech
Copy link

update from import faker from '
Screenshot from 2023-05-03 09-58-40

faker' to import { faker } from '@faker-js/faker'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants