Skip to content

Commit 7b2acf4

Browse files
authored
tls: move _tls_* to end-of-life
1 parent 6beb65e commit 7b2acf4

11 files changed

+6
-55
lines changed

β€Ždoc/api/deprecations.mdβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4185,6 +4185,9 @@ npx codemod@latest @nodejs/repl-builtin-modules
41854185

41864186
<!-- YAML
41874187
changes:
4188+
- version: REPLACEME
4189+
pr-url: https://github.com/nodejs/node/pull/60658
4190+
description: End-of-Life.
41884191
- version:
41894192
- v24.2.0
41904193
- v22.17.0
@@ -4193,7 +4196,7 @@ changes:
41934196
description: Runtime deprecation.
41944197
-->
41954198

4196-
Type: Runtime
4199+
Type: End-of-Life
41974200

41984201
The `node:_tls_common` and `node:_tls_wrap` modules are deprecated as they should be considered
41994202
an internal nodejs implementation rather than a public facing API, use `node:tls` instead.

β€Žlib/_tls_common.jsβ€Ž

Lines changed: 0 additions & 10 deletions
This file was deleted.

β€Žlib/_tls_wrap.jsβ€Ž

Lines changed: 0 additions & 11 deletions
This file was deleted.

β€Žlib/eslint.config_partial.mjsβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,6 @@ export default [
531531
{
532532
files: [
533533
'lib/_http_*.js',
534-
'lib/_tls_*.js',
535534
'lib/http.js',
536535
'lib/http2.js',
537536
'lib/internal/http.js',

β€Žlib/internal/main/mksnapshot.jsβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ const supportedModules = new SafeSet(new SafeArrayIterator([
4242
// '_http_incoming',
4343
// '_http_outgoing',
4444
// '_http_server',
45-
// '_tls_common',
46-
// '_tls_wrap',
4745
'assert',
4846
'assert/strict',
4947
// 'async_hooks',

β€Žsrc/node_builtins.ccβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ BuiltinLoader::BuiltinCategories BuiltinLoader::GetBuiltinCategories() const {
142142
#endif // !NODE_USE_V8_PLATFORM || !defined(NODE_HAVE_I18N_SUPPORT)
143143

144144
#if !HAVE_OPENSSL
145-
"crypto", "crypto/promises", "https", "http2", "tls", "_tls_common",
146-
"_tls_wrap", "internal/tls/parse-cert-string", "internal/tls/common",
145+
"crypto", "crypto/promises", "https", "http2", "tls",
146+
"internal/tls/parse-cert-string", "internal/tls/common",
147147
"internal/tls/wrap", "internal/tls/secure-context",
148148
"internal/http2/core", "internal/http2/compat",
149149
"internal/streams/lazy_transform",

β€Žtest/parallel/test-internal-module-require.jsβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ const expectedPublicModules = new Set([
2424
'_http_incoming',
2525
'_http_outgoing',
2626
'_http_server',
27-
'_tls_common',
28-
'_tls_wrap',
2927
'assert',
3028
'async_hooks',
3129
'buffer',

β€Žtest/parallel/test-process-get-builtin.mjsβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ if (!isMainThread) {
2525
if (!hasCrypto) {
2626
publicBuiltins.delete('crypto');
2727
publicBuiltins.delete('tls');
28-
publicBuiltins.delete('_tls_common');
29-
publicBuiltins.delete('_tls_wrap');
3028
publicBuiltins.delete('http2');
3129
publicBuiltins.delete('https');
3230
publicBuiltins.delete('inspector');

β€Žtest/parallel/test-warn-tls-common-deprecation.jsβ€Ž

Lines changed: 0 additions & 11 deletions
This file was deleted.

β€Žtest/parallel/test-warn-tls-wrap-deprecation.jsβ€Ž

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
Β (0)