| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6a56c68 commit 597bfef
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3809,6 +3809,21 @@ Type: Documentation-only | |||
| 3809 | 3809 | The support for priority signaling has been deprecated in the [RFC 9113][], and | |
| 3810 | 3810 | will be removed in future versions of Node.js. | |
| 3811 | 3811 | ||
| 3812 | + ### DEP0195: Instantiating `node:http` classes without `new` | ||
| 3813 | + | ||
| 3814 | + <!-- YAML | ||
| 3815 | + changes: | ||
| 3816 | + - version: REPLACEME | ||
| 3817 | + pr-url: https://github.com/nodejs/node/pull/58518 | ||
| 3818 | + description: Documentation-only deprecation. | ||
| 3819 | + --> | ||
| 3820 | + | ||
| 3821 | + Type: Documentation-only | ||
| 3822 | + | ||
| 3823 | + Instantiating classes without the `new` qualifier exported by the `node:http` module is deprecated. | ||
| 3824 | + It is recommended to use the `new` qualifier instead. This applies to all http classes, such as | ||
| 3825 | + `OutgoingMessage`, `IncomingMessage`, `ServerResponse` and `ClientRequest`. | ||
| 3826 | + | ||
| 3812 | 3827 | [DEP0142]: #dep0142-repl_builtinlibs | |
| 3813 | 3828 | [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf | |
| 3814 | 3829 | [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments