diff options
author | Rich Trott <rtrott@gmail.com> | 2019-02-05 21:45:46 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-02-08 00:01:12 -0800 |
commit | 62942e9ad7a59b76e9255ea2560bad2245709efc (patch) | |
tree | b293b632cdd808efc578db6f122145032778d22a /lib/_tls_wrap.js | |
parent | 5d609bb11c4c4b73f86100363430010b663f0775 (diff) | |
download | android-node-v8-62942e9ad7a59b76e9255ea2560bad2245709efc.tar.gz android-node-v8-62942e9ad7a59b76e9255ea2560bad2245709efc.tar.bz2 android-node-v8-62942e9ad7a59b76e9255ea2560bad2245709efc.zip |
lib: replace 'assert' with 'internal/assert' for many built-ins
Replace large 'assert' module with tiny 'internal/assert' module for
many built-in uses.
PR-URL: https://github.com/nodejs/node/pull/25956
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Diffstat (limited to 'lib/_tls_wrap.js')
-rw-r--r-- | lib/_tls_wrap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_tls_wrap.js b/lib/_tls_wrap.js index 79b9c6d395..182dab7584 100644 --- a/lib/_tls_wrap.js +++ b/lib/_tls_wrap.js @@ -23,7 +23,7 @@ require('internal/util').assertCrypto(); -const assert = require('assert'); +const assert = require('internal/assert'); const crypto = require('crypto'); const net = require('net'); const tls = require('tls'); |