-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed as not planned
Closed as not planned
Copy link
Description
Version
29.7.0
Steps to reproduce
Run npm install jest-environment-jsdom
Expected behavior
Installs without warnings
Actual behavior
Warnings are raised.
npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
Additional context
Both abab and domexception packages are used by one of the dependencies: jsdom.
├─┬ jest-environment-jsdom 29.7.0
│ └─┬ jsdom 20.0.3
│ ├── abab 2.0.6
│ └─┬ data-urls 3.0.2
│ └── abab 2.0.6
└─┬ jest-environment-jsdom 29.7.0
└─┬ jsdom 20.0.3
└── domexception 4.0.0
Fortunately jsdom package removed both abab and domexception in version 23.0.0.
They also bumped data-urls version to 5.0, which also ditched the abab package.
So from 23.0.0 jsdom package is free of both of these packages.
I'm not exactly sure what implications would bumping jsdom@20.0.3 to 23.0.0 have, but it's fixed upstream so it's worth to see if this is relatively painless transition.
Environment
System:
OS: macOS 14.1.1
CPU: (10) arm64 Apple M1 Pro
Binaries:
Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v18.16.0/bin/yarn
npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
pnpm: 8.6.12 - ~/Library/pnpm/pnpmmarkuskullberg-sanoma and neustajs