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-11-23 12:09:05 +0300
committerMichaël Zasso <targos@protonmail.com>2019-11-27 21:29:01 +0300
commit141a6e34eed05577edf43ad085a74f330d0559cb (patch)
tree1d66ed917d299069b79d34abe1493d18dcb5e138 /lib/internal/querystring.js
parent5904dfcc9c70b79971ab09dacd711e5c13d7120c (diff)
lib: enforce use of Array from primordials
PR-URL: https://github.com/nodejs/node/pull/30635 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'lib/internal/querystring.js')
-rw-r--r--lib/internal/querystring.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/internal/querystring.js b/lib/internal/querystring.js
index ecb4e072d83..7df1c495c6e 100644
--- a/lib/internal/querystring.js
+++ b/lib/internal/querystring.js
@@ -1,5 +1,9 @@
'use strict';
+const {
+ Array,
+} = primordials;
+
const { ERR_INVALID_URI } = require('internal/errors').codes;
const hexTable = new Array(256);