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

test(remix): Add dependency resolution overrides to fix breaking Node compatibility changes in dependencies #12793

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Jul 8, 2024

This PR fixes our broken Remix v1 @ Node 16 integration test. Over the weekend, the following transitive dependencies received minor and patch releases which removed support for EOL Node versions.

IMO this, despite the dropped versions being EOL, is a breaking change and a major inconvenience for a lot of users. I added comments/opened issues with the request to revert the Node version drops and do it in a major version instead. We're by far not the only affected ones. As our tests show, at least everyone using Remix@1 on Node 16 will be broken by this.

To fix, I added dependency resolutions, mostly scoped to specific packages that depend on one of the three packages. Global overrides for glob and lru-cache did not work because we have multiple dependencies depending on different major versions of said packages.

@Lms24 Lms24 merged commit d6cd5ca into develop Jul 8, 2024
94 of 95 checks passed
@Lms24 Lms24 deleted the lms/fix-remix-test-dependencies branch July 8, 2024 11:19
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