-
Notifications
You must be signed in to change notification settings - Fork 60
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
Tests failing following semver 7.5.0 update #2077
Comments
re-opening as the PR #2078 locking semver to version pre 7.5.0 is a temporary fix. A permanent fix as described in the OP is preferred. |
Given we only use semver in one place in the frontend (introduced by #2042) another option is to just add the couple lines of code needed to do the required version check rather than import a whole module (whether semver or another) to do it. This issue should not be the driving factor for replacing webpack - that's a bigger piece of work. |
Alternatively, a possible contender: https://www.npmjs.com/package/compare-versions This NPM lib has a healthy weekly download, is half the size of semver, is browser ready and has no deps. |
PR to follow is https://github.com/npm/node-semver/pull/559/files |
Closed by Update semver to avoid CVE #2718 |
Current Behavior
We currently use
semver
on vue pages and since it was updated to v7.5.0 tests fail with the error:see this failed run for more detail.
Our current dependency of semver is
^7.3.8
meaning GH will useV7.x
and thus hit this issuePossible workarounds include: (from best/hardest to worst/easiest)
NOTE:
Anyone installing FF fresh will probably also hit this issue
Expected Behavior
tests to run without this error
Steps To Reproduce
raise a new PR that causes frontend tests to run
Environment
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
The text was updated successfully, but these errors were encountered: