react-chartjs-2 icon indicating copy to clipboard operation
react-chartjs-2 copied to clipboard

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

Open Codedwells opened this issue 1 year ago • 1 comments

Would you like to work on a fix?

  • [X] 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.

Codedwells avatar Mar 14 '23 08:03 Codedwells

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

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

kkipngenokoech avatar May 03 '23 06:05 kkipngenokoech