You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In v29.7.0 these are bring brought in by jest-environment-jsdom through jsdom:
└─┬ jest-environment-jsdom@29.7.0
└─┬ jsdom@20.0.3
├── abab@2.0.6
├─┬ data-urls@3.0.2
│ └── abab@2.0.6 deduped
└── domexception@4.0.0
``
and I'm not seeing any direct references to those packages in the Jest codebase so I'm pretty sure they're being brought in by nested dependencies which means this isn't really something directly addressable by Jest.
Note that most likely reason that packages have not moved off such packages is because of Node version support - both `atob` and `btoa` were introduced in Node v16, and `DOMException` was introduced in Node v17; while v16 is no longer in-life it's still supported by a lot of packages.
🚀 Feature Proposal
Update deprecated dependencies in @jest/types:
abab@2.0.6, domexception@4.0.0
https://www.npmjs.com/package/abab
Author message:
"Use your platform's native atob() and btoa() methods instead"
https://www.npmjs.com/package/domexception
Author message:
Use your platform's native DOMException instead
Motivation
Warn message:
2 deprecated subdependencies found: abab@2.0.6, domexception@4.0.0
Example
No response
Pitch
n/a
The text was updated successfully, but these errors were encountered: