Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ea48918

Browse filesBrowse files
Renegade334ruyadorno
authored andcommitted
process: deprecate features.{ipv6,uv} and features.tls_*
PR-URL: #55545 Fixes: #55537 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
1 parent 1893be4 commit ea48918
Copy full SHA for ea48918

File tree

Expand file treeCollapse file tree

2 files changed

+57
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+57
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/deprecations.md‎

Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+27Lines changed: 27 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3701,6 +3701,33 @@ Type: Documentation-only
37013701
Passing non-supported argument types is deprecated and, instead of returning `false`,
37023702
will throw an error in a future version.
37033703

3704+
### DEP0187: `process.features.ipv6` and `process.features.uv`
3705+
3706+
<!-- YAML
3707+
changes:
3708+
- version: REPLACEME
3709+
pr-url: https://github.com/nodejs/node/pull/55545
3710+
description: Documentation-only deprecation.
3711+
-->
3712+
3713+
Type: Documentation-only
3714+
3715+
These properties are unconditionally `true`. Any checks based on these properties are redundant.
3716+
3717+
### DEP0188: `process.features.tls_*`
3718+
3719+
<!-- YAML
3720+
changes:
3721+
- version: REPLACEME
3722+
pr-url: https://github.com/nodejs/node/pull/55545
3723+
description: Documentation-only deprecation.
3724+
-->
3725+
3726+
Type: Documentation-only
3727+
3728+
`process.features.tls_alpn`, `process.features.tls_ocsp`, and `process.features.tls_sni` are
3729+
deprecated, as their values are guaranteed to be identical to that of `process.features.tls`.
3730+
37043731
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
37053732
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
37063733
[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4
Collapse file

‎doc/api/process.md‎

Copy file name to clipboardExpand all lines: doc/api/process.md
+30-1Lines changed: 30 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1922,12 +1922,18 @@ A boolean value that is `true` if the current Node.js build includes the inspect
19221922
19231923
<!-- YAML
19241924
added: v0.5.3
1925+
deprecated: REPLACEME
19251926
-->
19261927
1928+
> Stability: 0 - Deprecated. This property is always true, and any checks based on it are
1929+
> redundant.
1930+
19271931
* {boolean}
19281932
19291933
A boolean value that is `true` if the current Node.js build includes support for IPv6.
19301934
1935+
Since all Node.js builds have IPv6 support, this value is always `true`.
1936+
19311937
## `process.features.require_module`
19321938
19331939
<!-- YAML
@@ -1953,32 +1959,50 @@ A boolean value that is `true` if the current Node.js build includes support for
19531959
19541960
<!-- YAML
19551961
added: v4.8.0
1962+
deprecated: REPLACEME
19561963
-->
19571964
1965+
> Stability: 0 - Deprecated. Use `process.features.tls` instead.
1966+
19581967
* {boolean}
19591968
19601969
A boolean value that is `true` if the current Node.js build includes support for ALPN in TLS.
19611970
1971+
In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional ALPN support.
1972+
This value is therefore identical to that of `process.features.tls`.
1973+
19621974
## `process.features.tls_ocsp`
19631975
19641976
<!-- YAML
19651977
added: v0.11.13
1978+
deprecated: REPLACEME
19661979
-->
19671980
1981+
> Stability: 0 - Deprecated. Use `process.features.tls` instead.
1982+
19681983
* {boolean}
19691984
19701985
A boolean value that is `true` if the current Node.js build includes support for OCSP in TLS.
19711986
1987+
In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional OCSP support.
1988+
This value is therefore identical to that of `process.features.tls`.
1989+
19721990
## `process.features.tls_sni`
19731991
19741992
<!-- YAML
19751993
added: v0.5.3
1994+
deprecated: REPLACEME
19761995
-->
19771996
1997+
> Stability: 0 - Deprecated. Use `process.features.tls` instead.
1998+
19781999
* {boolean}
19792000
19802001
A boolean value that is `true` if the current Node.js build includes support for SNI in TLS.
19812002
2003+
In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional SNI support.
2004+
This value is therefore identical to that of `process.features.tls`.
2005+
19822006
## `process.features.typescript`
19832007
19842008
<!-- YAML
@@ -1996,12 +2020,17 @@ A value that is `"strip"` if Node.js is run with `--experimental-strip-types`,
19962020
19972021
<!-- YAML
19982022
added: v0.5.3
2023+
deprecated: REPLACEME
19992024
-->
20002025
2026+
> Stability: 0 - Deprecated. This property is always true, and any checks based on it are
2027+
> redundant.
2028+
20012029
* {boolean}
20022030
20032031
A boolean value that is `true` if the current Node.js build includes support for libuv.
2004-
Since it's currently not possible to build Node.js without libuv, this value is always `true`.
2032+
2033+
Since it's not possible to build Node.js without libuv, this value is always `true`.
20052034
20062035
## `process.finalization.register(ref, callback)`
20072036

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.