r/javascript • u/luciferreeves • Jan 06 '22
Faker.JS is dead. I created "BluffMaster"
https://www.npmjs.com/package/bluffmaster4
u/dylantestaccount Jan 06 '22
This seems pretty disingenuous to me. As far as I can see, you haven't added anything new to the existing codebase which you forked, only just released a renamed version.
4
u/luciferreeves Jan 07 '22 edited Jan 07 '22
I am constantly pushing new changes. Since, I forked it today only, it takes time to make changes (not deployed to NPM yet, though). Here's a small list:
- Fixed typos (and trust me there were a lot)
- Fixed testing functions (almost all of them were failing and now all are passing) - took me a lot of hours to fix the code as the code was outdated too. In order to write new test cases and make older ones pass, I had to modify around half of the core lib files.
- Fixed the generate bitcoin function. Also added a new big int datatype.
- Replaced fakercloud (faker was using it to generate random profile pictures and this also went down) by pravatar.
- Replaced jshint with eslint and fixed all linting errors.
- Coverage reports were not being generated, I fixed that too.
- And of course, I renamed it. I wanted something unique on NPM, I credited the original author though. Renaming also take a lot of time, unfortunately.
I am still fixing and adding new things.
6
u/WowSoWholesome Jan 06 '22
So you forked it?
5
u/luciferreeves Jan 06 '22 edited Jan 06 '22
Forked and updated to some unique name so that you don’t need to type
npm i someuser/fakerornpm i faker-js-communityor something like that. Will continue to update this.5
u/Is_Kub Jan 06 '22 edited Jan 06 '22
But you forked someone else’s fork and all you did was come up with a package name. Why should one use yours over the one you forked?
2
u/luciferreeves Jan 06 '22
Yes. Rightly so. And I saw a lot of things don’t work. Fixed a few and hastily released 3 versions - big mistake. Now I switched to a different branch and I am fixing everything. Looks like the fork was created using some older archive. I’m not sure.
0
u/WowSoWholesome Jan 06 '22
Fair enough! Definitely value there
-14
u/luciferreeves Jan 06 '22
Please consider upvoting the post in that case and starring the repo too.
2
Jan 07 '22
You created what? You basically forked it and now claiming it your own? Thats not how OSS works.
1
u/luciferreeves Jan 07 '22
I never claimed it to be my own. I forked and credited the original author in the very first line of my readme. Plus I did make a long list of changes before publishing, because the version I forked from was too old and I had to basically modify ~35 - 40% of the code. Here's a changelog I added: https://github.com/luciferreeves/blaver/releases/tag/v6.6.7
5
u/[deleted] Jan 06 '22 edited Jan 06 '22