diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2019-04-09 09:55:53 +0200 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-04-12 05:38:45 +0200 |
commit | 908292cf1f551c614a733d858528ffb13fb3a524 (patch) | |
tree | 5d3b3a020a6936203b36b82e77a970d8339966de /lib/_http_agent.js | |
parent | 9ad5106934a21416a2391890ea28bde8b42a6c60 (diff) | |
download | node-new-908292cf1f551c614a733d858528ffb13fb3a524.tar.gz |
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/_http_agent.js')
-rw-r--r-- | lib/_http_agent.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/_http_agent.js b/lib/_http_agent.js index 41fe003c08..32dbf27abc 100644 --- a/lib/_http_agent.js +++ b/lib/_http_agent.js @@ -21,6 +21,8 @@ 'use strict'; +const { Object } = primordials; + const net = require('net'); const EventEmitter = require('events'); const debug = require('internal/util/debuglog').debuglog('http'); |