Skip to content
Permalink
Browse files
inspector: refactor to use more primordials
PR-URL: #36356
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
aduh95 authored and targos committed Jun 11, 2021
1 parent 98806da commit ba19313e1e047007bae6a62ff541a00f16ac160f
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/inspector.js
@@ -3,7 +3,7 @@
const {
JSONParse,
JSONStringify,
Map,
SafeMap,
Symbol,
} = primordials;

@@ -48,7 +48,7 @@ class Session extends EventEmitter {
super();
this[connectionSymbol] = null;
this[nextIdSymbol] = 1;
this[messageCallbacksSymbol] = new Map();
this[messageCallbacksSymbol] = new SafeMap();
}

connect() {

0 comments on commit ba19313

Please sign in to comment.