| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f3a31e8 commit 4c52ee3
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3543,6 +3543,21 @@ switch to its new provider model. The `clientCertEngine` option for | |||
| 3543 | 3543 | the `privateKeyEngine` and `privateKeyIdentifier` for [`tls.createSecureContext()`][]; | |
| 3544 | 3544 | and [`crypto.setEngine()`][] all depend on this functionality from OpenSSL. | |
| 3545 | 3545 | ||
| 3546 | + ### DEP0184: Instantiating `node:zlib` classes without `new` | ||
| 3547 | + | ||
| 3548 | + <!-- YAML | ||
| 3549 | + changes: | ||
| 3550 | + - version: REPLACEME | ||
| 3551 | + pr-url: https://github.com/nodejs/node/pull/54708 | ||
| 3552 | + description: Documentation-only deprecation. | ||
| 3553 | + --> | ||
| 3554 | + | ||
| 3555 | + Type: Documentation-only | ||
| 3556 | + | ||
| 3557 | + Instantiating classes without the `new` qualifier exported by the `node:zlib` module is deprecated. | ||
| 3558 | + It is recommended to use the `new` qualifier instead. This applies to all Zlib classes, such as `Deflate`, | ||
| 3559 | + `DeflateRaw`, `Gunzip`, `Inflate`, `InflateRaw`, `Unzip`, and `Zlib`. | ||
| 3560 | + | ||
| 3546 | 3561 | [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf | |
| 3547 | 3562 | [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 | |
| 3548 | 3563 | [RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments