diff options
author | Sebastien Ahkrin <sebastien48criquet@gmail.com> | 2019-11-30 18:55:29 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-12-08 15:38:58 +0300 |
commit | eac3f0adc46c3af0e94d70bb8635440382df7d7f (patch) | |
tree | 258cd0b82b7db6cc84c6baff941e133e7bb7b577 /lib/internal/net.js | |
parent | d1f4936fab0a57282581da65d82411db96eb4108 (diff) |
lib: replace Symbol global by the primordials Symbol
PR-URL: https://github.com/nodejs/node/pull/30737
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'lib/internal/net.js')
-rw-r--r-- | lib/internal/net.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/internal/net.js b/lib/internal/net.js index bbdc9bf8437..5f6e476b582 100644 --- a/lib/internal/net.js +++ b/lib/internal/net.js @@ -1,5 +1,9 @@ 'use strict'; +const { + Symbol, +} = primordials; + const Buffer = require('buffer').Buffer; const { writeBuffer } = internalBinding('fs'); const errors = require('internal/errors'); |