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

chore(deps): update to @faker-js/faker@8.4.1 #30161

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

raygdev
Copy link
Contributor

@raygdev raygdev commented Sep 1, 2024

Additional details

objectValue<T extends Record<string, unknown>>(object: T): T[keyof T]

which appears to be the same return type as the deprecated objectElement method. A new type was created for the expected generic.

  • The arrayElement method was moved to the Helpers module and the uuid method was moved to the String module.
  • The between, recent, and past methods of the Date module have all had their original function signatures deprecated and now require an options object to be passed.
  • There may be reproduction issues related to the date module. Though, it doesn't appear that the current implementation will be effected, but referencing here for transparency.
  • The randomComponent function seems to only be used here and writes to a file using the command yarn workspace @packages/frontend-shared generate-stub-specs <fileName> <n> <baseName> [--app] to generate fixtures. Refer to the README for the options. This seems to work as intended if someone wants to verify.

Steps to test

git clean -xfd
yarn
yarn workspace @packages/frontend-shared check-ts
yarn workspace @packages/frontend-shared cypress:run:ct

How has the user experience changed?

No change.

PR Tasks

@cypress-app-bot
Copy link
Collaborator

@jennifer-shehane jennifer-shehane merged commit b6b0b49 into cypress-io:develop Sep 4, 2024
79 checks passed
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.

Update to @faker-js/faker 6.3.1 or later
5 participants