mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
runtime deprecate the _tls_common and _tls_wrap modules, users should use nust node:tls insteal and internally internal/tls/commond and internal/tls/wrap should be used instead PR-URL: https://github.com/nodejs/node/pull/57643 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
12 lines
283 B
JavaScript
12 lines
283 B
JavaScript
'use strict';
|
|
|
|
const { TLSSocket, Server, createServer, connect } = require('internal/tls/wrap');
|
|
module.exports = {
|
|
TLSSocket,
|
|
Server,
|
|
createServer,
|
|
connect,
|
|
};
|
|
process.emitWarning('The _tls_wrap module is deprecated.',
|
|
'DeprecationWarning', 'DEP0192');
|