summaryrefslogtreecommitdiff
path: root/node_modules/@babel/traverse/lib/cache.js
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
commitf06956efd2dc4bf77244a9fcce2b883a00b925af (patch)
tree0123cb73ce67f1f4b17e1d6cbabff076ee44e31b /node_modules/@babel/traverse/lib/cache.js
parent8d980c13970c15b6d2312b6fc4ac51698dd0d220 (diff)
updated node modules
Diffstat (limited to 'node_modules/@babel/traverse/lib/cache.js')
-rw-r--r--node_modules/@babel/traverse/lib/cache.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/node_modules/@babel/traverse/lib/cache.js b/node_modules/@babel/traverse/lib/cache.js
index 0455cfa0..79a41b9c 100644
--- a/node_modules/@babel/traverse/lib/cache.js
+++ b/node_modules/@babel/traverse/lib/cache.js
@@ -9,10 +9,8 @@ exports.clearScope = clearScope;
exports.getCachedPaths = getCachedPaths;
exports.getOrCreateCachedPaths = getOrCreateCachedPaths;
exports.scope = exports.path = void 0;
-let pathsCache = new WeakMap();
-exports.path = pathsCache;
-let scope = new WeakMap();
-exports.scope = scope;
+let pathsCache = exports.path = new WeakMap();
+let scope = exports.scope = new WeakMap();
function clear() {
clearPath();
clearScope();