prism icon indicating copy to clipboard operation
prism copied to clipboard

Upgrade Faker?

Open OliverJAsh opened this issue 9 months ago • 4 comments

Firstly, thanks for sharing this library!

It looks like Prism currently uses Faker v6. The latest version of Faker is v9. Is there any reason not to upgrade, or is just the work hasn't been done yet?

OliverJAsh avatar Mar 03 '25 19:03 OliverJAsh

I agree... Perhaps I will submit a PR for this update.

InfoSec812 avatar Apr 04 '25 19:04 InfoSec812

Came looking for this.

nacho-villanueva avatar Apr 04 '25 20:04 nacho-villanueva

I have the update implemented and I have ALMOST all of the tests working with the new 9.6.0 version of Faker.js. I am having an issue with the HTTP server tests which are apparently causing the server to crash?!?!

I have to get to my day job, but if anyone wants to look into this last test suite, the branch can be found here: https://github.com/InfoSec812/prism/tree/feature/Issue-2669_-_Update_FakerJS_Version

InfoSec812 avatar Apr 07 '25 11:04 InfoSec812

I've started seeing Faker v6 be unable to build OOTB in bundlers ranging from Rsbuild to Vite, making this issue particularly frustrating.

samhh avatar Jul 21 '25 12:07 samhh