[Feature]: Deprecated dependencies in jest
🚀 Feature Proposal
- The [email protected] has dependency jsdom@^20.0.0. The jsdom has next deprecated dependencies:
- The jest@^29.7.0 -> jest-cli@^29.7.0 -> jest-config@^29.7.0 -> glob@^7.1.3. The glob@^7.1.3 is deprecated.
Motivation
- Deprecated packages no longer receive security updates.
- Updating jest-environment-jsdom to a version that removes abab ensures long-term stability.
- Updating jest-configt to a version that has updated glob ensures long-term stability.
Example
No response
Pitch
The jest-environment-jsdom depends on jsdom@^20.0.0, which includes the deprecated abab package.
Hello, glad to see someone else is saddened with that :)
Just to add my two cents, in case upgrading to last version is not possible, looks like abab and domexception were removed from jsdom starting with version 23.0.0.
It's not nice to see just npm warn deprecated in the console)
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.
jsdom will be at v26 in Jest 30 (https://github.com/jestjs/jest/pull/15473) so I think that portion is done.
I see that installing jest 30 beta 5 I mostly get glob v10, but jest#@jest#core#@jest#transform#babel-plugin-istanbul#test-exclude brings in glob v7. It looks like test-exclude is at v6, but https://github.com/istanbuljs/babel-plugin-istanbul/pull/301 updates that, which I think will resolve that version once it lands.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.
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.