chore(deps): upgrade Jest past 26 to drop deprecated request/jsdom stack
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript
- Domain
- ci-cd, testing-qa
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.
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
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
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.
More from multei/web
-
dependencies todo :spiral_notepad:
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
dependencies todo :spiral_notepad:
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
dependencies todo :spiral_notepad:
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
dependencies todo :spiral_notepad:
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 42/100
Similar issues
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
georgestephanis/p2026#40 ·
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Margaret-Petersen/food-delivery-app-clone-react-native#1981 ·