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

[Debt] Bump faker to V8 #7481

Merged
merged 6 commits into from
Aug 3, 2023
Merged

[Debt] Bump faker to V8 #7481

merged 6 commits into from
Aug 3, 2023

Conversation

petertgiles
Copy link
Contributor

@petertgiles petertgiles commented Aug 2, 2023

🤖 Resolves #6702

👋 Introduction

This branch bumps the faker dependency to version 8. Since we're only using the default locale ("EN") I simply removed the setLocale calls. I also proactively repointed many of the deprecated method calls.

Faker V8 has removed the unique helper from the library. In the Github discussion they linked to a library that factors that functionality out. I added a dependency to it and applied it for skills and skill families.

One of the tests is now broken with Faker V8 and I couldn't quickly fix it. I skipped it for now and put issue #7515 on the board for it.

🧪 Testing

  1. Review the Storybook
  2. Review the Chromatic diffs

@petertgiles petertgiles marked this pull request as ready for review August 3, 2023 13:34
Copy link
Member

@esizer esizer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@petertgiles
Copy link
Contributor Author

LGTM! +1

@esizer Ready to approve? 😆

Copy link
Member

@esizer esizer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks GREAT to me so, ready for approval 😛

@petertgiles petertgiles merged commit 1522cc4 into main Aug 3, 2023
@petertgiles petertgiles deleted the 6702-bump-faker branch August 3, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

♻️ Bump @faker-js/faker to v8
2 participants