request is deprecated
Deprecated as of 2020-02-11. Replacement: Native fetch or a maintained HTTP client. Source: request package deprecation notice.
Check a version:
evergreen check pkg:npm/request
The package is fully deprecated and no new changes are expected.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | Deprecated |
| Severity | high |
| Ecosystem | npm |
| Component | pkg:npm/request |
| Affected versions | vers:npm/* |
| Date from the source | 2020-02-11 |
| Replacement | Native fetch or a maintained HTTP client |
| Evidence last seen | 2026-10-13 |
| Reviewed | 2026-10-14 by arminazimi |
| Review due | 2027-10-14 (365 days after the last review) |
| Rule ID | npm.package.request.deprecated |
Sources
- request package deprecation notice (accessed 2026-10-13)
Migration
Constraints
- Preserve request method, headers, authentication, redirects, timeouts, retries, proxy behavior, streaming, and response/error semantics used by each call site.
Steps
- Choose the target HTTP client. Select native fetch or one maintained client whose behavior covers the affected request usages.
- Rewrite request usages. Translate callbacks, options, response handling, errors, and streams at every reported import and call.
- Replace the dependency. Remove request from package metadata and add the selected maintained client only if native fetch is insufficient.
Verification
npm run test --if-present: Run HTTP behavior and repository tests when defined.npm run build --if-present: Verify imports, types, and the build remain valid.
Detected by
The npm detector. See Detectors and Compatibility.
Related
Same ecosystem
- abab is deprecated
- @angular/core v18 and older are no longer supported
- @angular/core v19 is no longer supported
- @angular/core v20 reaches end of life on 2026-11-28
- @angular/core v21 reaches end of life on 2027-06-30
- @angular/core v22 reaches end of life on 2028-06-30
- are-we-there-yet is no longer supported
- babel-eslint is deprecated
Data
This page is generated from registry/npm.json, rule npm.package.request.deprecated, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated