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:
authorSebastien Ahkrin <sebastien48criquet@gmail.com>2020-01-02 16:43:02 +0300
committerRich Trott <rtrott@gmail.com>2020-01-05 01:56:52 +0300
commit9085c03806dbc9eb48e14c2afa49080deee0ee3c (patch)
tree2788eb76f15f24b52a8a7331bc68c401988c0d87 /lib/internal/bootstrap
parentc9b93e234454322ac0b7a6cd29d394f428f3e37d (diff)
lib: replace Map global by the primordials
PR-URL: https://github.com/nodejs/node/pull/31155 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'lib/internal/bootstrap')
-rw-r--r--lib/internal/bootstrap/loaders.js3
-rw-r--r--lib/internal/bootstrap/pre_execution.js1
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/internal/bootstrap/loaders.js b/lib/internal/bootstrap/loaders.js
index 3308957e4a1..c4ef1d12a29 100644
--- a/lib/internal/bootstrap/loaders.js
+++ b/lib/internal/bootstrap/loaders.js
@@ -45,11 +45,12 @@
const {
Error,
- ReflectGet,
+ Map,
ObjectCreate,
ObjectDefineProperty,
ObjectKeys,
ObjectPrototypeHasOwnProperty,
+ ReflectGet,
SafeSet,
} = primordials;
diff --git a/lib/internal/bootstrap/pre_execution.js b/lib/internal/bootstrap/pre_execution.js
index 7af4be660fc..1f4d5c04b9b 100644
--- a/lib/internal/bootstrap/pre_execution.js
+++ b/lib/internal/bootstrap/pre_execution.js
@@ -1,6 +1,7 @@
'use strict';
const {
+ Map,
ObjectDefineProperty,
SafeWeakMap,
} = primordials;