jest icon indicating copy to clipboard operation
jest copied to clipboard

[Feature]: Deprecated dependencies in jest

Open GennadiyK opened this issue 9 months ago • 4 comments

🚀 Feature Proposal

  1. The [email protected] has dependency jsdom@^20.0.0. The jsdom has next deprecated dependencies:
  2. 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.

GennadiyK avatar Mar 10 '25 13:03 GennadiyK

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.

rocambille avatar Mar 14 '25 16:03 rocambille

It's not nice to see just npm warn deprecated in the console)

eldardada avatar Mar 30 '25 20:03 eldardada

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.

github-actions[bot] avatar Apr 29 '25 21:04 github-actions[bot]

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.

lencioni avatar May 29 '25 15:05 lencioni

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.

github-actions[bot] avatar Jun 28 '25 15:06 github-actions[bot]

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.

github-actions[bot] avatar Jul 28 '25 15:07 github-actions[bot]

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.

github-actions[bot] avatar Jul 28 '25 15:07 github-actions[bot]

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[bot] avatar Aug 28 '25 00:08 github-actions[bot]