Skip to content

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

Closed as not planned
Closed as not planned
@aaronzshey

Description

@aaronzshey

🚀 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions