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

[Feature]: Bump jsdom versions from 22 to 24 #15217

Closed
aaronzshey opened this issue Jul 26, 2024 · 2 comments
Closed

[Feature]: Bump jsdom versions from 22 to 24 #15217

aaronzshey opened this issue Jul 26, 2024 · 2 comments

Comments

@aaronzshey
Copy link

🚀 Feature Proposal

Jest packages jest-environment-jsdom-abstract and jest-environment-jsdom currently depend on jsdom version 22. This version of jsdom depends on abab and domexception, which have both been deprecated, and are not present in jsdom 24

Motivation

By eliminating deprecated packages, jest can avoid serving old packages to its 23 million weekly downloaders.

Example

//-- package.json

dependencies {
jsdom: 24
}

Pitch

Deprecated packages are an eyesore in npm install output and also risk containing unnoticed security vulnerabilities. Given that abab and domexception aren't being used in the latest version of jsdom, Jest should upgrade to jsdom 24 before jest 30 is released.

@SimenB
Copy link
Member

SimenB commented Jul 28, 2024

#15148 (comment)

@SimenB SimenB closed this as not planned Won't fix, can't repro, duplicate, stale Jul 28, 2024
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants