◐ Shell
clean mode source ↗

process: deprecate `features.{ipv6,uv}` and `features.tls_*` · nodejs/node@ea48918

@@ -1922,12 +1922,18 @@ A boolean value that is `true` if the current Node.js build includes the inspect

1922192219231923

<!-- YAML

19241924

added: v0.5.3

1925+

deprecated: REPLACEME

19251926

-->

192619271928+

> Stability: 0 - Deprecated. This property is always true, and any checks based on it are

1929+

> redundant.

1930+19271931

* {boolean}

1928193219291933

A boolean value that is `true` if the current Node.js build includes support for IPv6.

193019341935+

Since all Node.js builds have IPv6 support, this value is always `true`.

1936+19311937

## `process.features.require_module`

1932193819331939

<!-- YAML

@@ -1953,32 +1959,50 @@ A boolean value that is `true` if the current Node.js build includes support for

1953195919541960

<!-- YAML

19551961

added: v4.8.0

1962+

deprecated: REPLACEME

19561963

-->

195719641965+

> Stability: 0 - Deprecated. Use `process.features.tls` instead.

1966+19581967

* {boolean}

1959196819601969

A boolean value that is `true` if the current Node.js build includes support for ALPN in TLS.

196119701971+

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`

1963197519641976

<!-- YAML

19651977

added: v0.11.13

1978+

deprecated: REPLACEME

19661979

-->

196719801981+

> Stability: 0 - Deprecated. Use `process.features.tls` instead.

1982+19681983

* {boolean}

1969198419701985

A boolean value that is `true` if the current Node.js build includes support for OCSP in TLS.

197119861987+

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`

1973199119741992

<!-- YAML

19751993

added: v0.5.3

1994+

deprecated: REPLACEME

19761995

-->

197719961997+

> Stability: 0 - Deprecated. Use `process.features.tls` instead.

1998+19781999

* {boolean}

1979200019802001

A boolean value that is `true` if the current Node.js build includes support for SNI in TLS.

198120022003+

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`

1983200719842008

<!-- YAML

@@ -1996,12 +2020,17 @@ A value that is `"strip"` if Node.js is run with `--experimental-strip-types`,

1996202019972021

<!-- YAML

19982022

added: v0.5.3

2023+

deprecated: REPLACEME

19992024

-->

200020252026+

> Stability: 0 - Deprecated. This property is always true, and any checks based on it are

2027+

> redundant.

2028+20012029

* {boolean}

2002203020032031

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`.

2005203420062035

## `process.finalization.register(ref, callback)`

20072036