-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
chore: update jsdom to v26.0.0 #15473
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
Conversation
|
|
✅ Deploy Preview for jestjs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
527bf1d to
7ea9a40
Compare
|
#15417 |
|
Can anyone help with the e2e snapshot tests? <3 I've never done snapshot testing before and don't know how to fix the issues. |
@andreibereczki Are you currently blocked on this? I can't see the failure locally. |
|
Just pointing out Node 16 support was dropped in |
|
@jeremy-daley-kr : well the e2e tests running on ci will prevent this pr from being merged, so i would consider that blocking.
|
|
This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
|
@andreibereczki All the tests are passing on |
|
Also, I think you should update the canvas peer dependency to v3.0.0, as jsdom v26 is using canvas v3 now "peerDependencies": {
"canvas": "^3.0.0",This would get rid of the deprecation warnings regarding (While, upgrading to jsdom v26 allows to get rid of the deprecation warnings regarding |
after sync with main i get different build errors. Are these on main as well? They don't seem related to my changes. |
|
It looks like the So it's probably an issue within the |
|
do we wait for a fix or should we temporarily override the package version for parse5 for all dependants? |
|
I asked the maintainer of |
|
also resolves #15507 :) |
|
What's the status of this PR? |
|
We dropped Node 16, so let's make this happen. |
|
Rebased, let's ship it. |
In jestjs#15473 JSDOM was updated to v26.
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Increased version of jsdom to
^26.0.0.#15325
#15217
CVE-2024-37890
Test plan
yarn add jsdom@26.0.0
yarn add @types/jsdom@21.1.7
Not a big deal.
22 tests are failing > but they are failing for me on main as well. No additional tests failed after the change.