Skip to content

Commit 61c742e

Browse files
authored
lib: deprecate _http_*
1 parent f6464c5 commit 61c742e

14 files changed

Lines changed: 5144 additions & 4883 deletions

doc/api/deprecations.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4388,6 +4388,21 @@ import { opendir } from 'node:fs/promises';
43884388
}
43894389
```
43904390
4391+
### DEP0195: `require('node:_http_*')`
4392+
4393+
<!-- YAML
4394+
changes:
4395+
- version: REPLACEME
4396+
pr-url: https://github.com/nodejs/node/pull/58535
4397+
description: Runtime deprecation.
4398+
-->
4399+
4400+
Type: Runtime
4401+
4402+
The `node:_http_agent`, `node:_http_client`, `node:_http_common`, `node:_http_incoming`,
4403+
`node:_http_outgoing` and `node:_http_server` modules are deprecated as they should be considered
4404+
an internal nodejs implementation rather than a public facing API, use `node:http` instead.
4405+
43914406
[DEP0142]: #dep0142-repl_builtinlibs
43924407
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
43934408
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3

0 commit comments

Comments
 (0)