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>
11 lines
325 B
JavaScript
11 lines
325 B
JavaScript
'use strict';
|
|
|
|
const { SecureContext, createSecureContext, translatePeerCertificate } = require('internal/tls/common');
|
|
module.exports = {
|
|
SecureContext,
|
|
createSecureContext,
|
|
translatePeerCertificate,
|
|
};
|
|
process.emitWarning('The _tls_common module is deprecated.',
|
|
'DeprecationWarning', 'DEP0192');
|