aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-traverse/lib/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/babel-traverse/lib/index.js')
-rw-r--r--node_modules/babel-traverse/lib/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/babel-traverse/lib/index.js b/node_modules/babel-traverse/lib/index.js
index a5d1468d3..19a14cea5 100644
--- a/node_modules/babel-traverse/lib/index.js
+++ b/node_modules/babel-traverse/lib/index.js
@@ -155,6 +155,9 @@ traverse.clearCache = function () {
cache.clear();
};
+traverse.clearCache.clearPath = cache.clearPath;
+traverse.clearCache.clearScope = cache.clearScope;
+
traverse.copyCache = function (source, destination) {
if (cache.path.has(source)) {
cache.path.set(destination, cache.path.get(source));