chore(deps): upgrade Jest past 26 to drop deprecated request/jsdom stack
Open
Nobody has claimed this yet.
dependencies
todo :spiral_notepad:
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Summary
Jest 26.6.3 pulls jest-environment-jsdom@26 → jsdom@16 → deprecated:
request@2.88.2request-promise-native@1.0.9har-validator@5.1.3
(We already have a narrow overrides.request.qs pin for security; that does not clear the deprecation warnings.)
Parent inventory: #445 (Cluster C).
Scope
- Upgrade
jest,babel-jest, and related test tooling to a line that no longer depends on the deprecatedrequeststack (Jest 28+ with modern jsdom, or at least a jsdom that droppedrequest). - Update Jest config / snapshots if required by the major bump.
- Keep Node 18 CI (
npm ci --legacy-peer-deps) green.
Acceptance criteria
- No
request/request-promise-native/har-validatordeprecation warnings on install from the Jest tree - Full Jest suite passes
- Remove obsolete
overrides.requestonly if nothing else still needs it
Related
- #445 Inventory of npm deprecation warnings
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running npm ci --legacy-peer-deps and inspecting the Jest dependency tree for request, request-promise-native, and har-validator. Review the Jest configuration and snapshots for changes required by the upgrade, then run the full Jest suite. Done means the deprecated warnings are gone, CI remains green, and the obsolete override is removed only if unused.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- ci-cd, testing-qa
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100