Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2019-04-09 10:55:53 +0300
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-04-12 06:38:45 +0300
commit908292cf1f551c614a733d858528ffb13fb3a524 (patch)
tree5d3b3a020a6936203b36b82e77a970d8339966de /lib/internal/tls.js
parent9ad5106934a21416a2391890ea28bde8b42a6c60 (diff)
lib: enforce the use of Object from primordials
PR-URL: https://github.com/nodejs/node/pull/27146 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'lib/internal/tls.js')
-rw-r--r--lib/internal/tls.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/internal/tls.js b/lib/internal/tls.js
index 4e468a2dd72..80f6d80e18c 100644
--- a/lib/internal/tls.js
+++ b/lib/internal/tls.js
@@ -1,5 +1,7 @@
'use strict';
+const { Object } = primordials;
+
// Example:
// C=US\nST=CA\nL=SF\nO=Joyent\nOU=Node.js\nCN=ca1\nemailAddress=ry@clouds.org
function parseCertString(s) {