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

deps: upgrade uuid to v9.0.0 for jest+esm issue #1027

Merged
merged 4 commits into from
Jun 21, 2023

Conversation

jbranchaud
Copy link
Contributor

Issue is described well here: microsoft/accessibility-insights-web#5421 (comment)

They originally fixed the issue with a custom resolver
(microsoft/accessibility-insights-web@9ad4e61#diff-10ce3d2c4d812be4f9bbaceb999b48c91538e4ccfc23dc585c59deb316d0d689),
but then replaced that workaround with an upgrade to uuid v9.0.0 when it
became available
(microsoft/accessibility-insights-web@6d1c3a3).

uuid v9.0.0 https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md#900-2022-09-05

resolver

@vercel
Copy link

vercel bot commented Jun 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
astro-party ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 9:54pm
badass-turbo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 9:54pm
colt-steele ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 9:54pm
epic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 9:54pm
protailwind-turbo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 9:54pm
python-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 9:54pm
scriptkit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 9:54pm
skill-stack-docs 🔄 Building (Inspect) Visit Preview Jun 21, 2023 9:54pm
technical-interviews ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 9:54pm
testing-javascript ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 9:54pm
testingaccessibility-com 🔄 Building (Inspect) Visit Preview Jun 21, 2023 9:54pm
total-typescript-turbo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 9:54pm
transcript-automation 🔄 Building (Inspect) Visit Preview Jun 21, 2023 9:54pm
typescript-course-turbo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 9:54pm

Comment on lines 17 to 19
"jest": {
"preset": "@skillrecordings/scripts/jest/node",
"testEnvironment": "node"
"preset": "@skillrecordings/scripts/jest/node"
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Getting all of the uuid dependencies on v9 and then allowing commerce-server jest to use the default testEnvironment fixes the ESM/Jest/UUID issue.

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.

2 participants