bbbco / insomnia-plugin-faker

Faker Plugin for Insomnia REST Client
71 stars 7 forks source link

Bump Faker to 5.5.3 #10

Closed Pharserror closed 2 years ago

Pharserror commented 2 years ago

The reason for making this PR is I was experiencing problems giving faker.random.number() an optional JSON argument in Insomnia (it would display something exactly like what is shown in #8 & #7 .

I am now not seeing the error with the new faker.datatype.number() and values are as expected.

bbbco commented 2 years ago

Thanks for this PR.

Actually, I'd prefer to keep lodash out of this project, but I'm open to the other fixes you have made.

Please refactor without lodash.

Pharserror commented 2 years ago

@bbbco pinging you just so you know I've pushed changes, let me know if there's anything else.

bbbco commented 2 years ago

@pharserror I'm open to completing this PR, just want to ensure that it is explicitly clear what the actual changes are for this PR.

I have pushed up a Prettier version of the index.js file so hopefully the reformatting should no longer be an issue if you want to reopen this back up.