diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-08-30 17:21:18 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-08-30 17:21:18 +0800 |
| commit | efbc2ffe6a1ee5ec38a4396305561d6515d0943e (patch) | |
| tree | 2b4c94f18f2c792dfda813050755d5c0273fae22 /node_modules/@babel/helper-create-class-features-plugin/lib/misc.js | |
| parent | 43acceb75957c880a5ba5a31aae221394a36d5f6 (diff) | |
node fixes, updates
Diffstat (limited to 'node_modules/@babel/helper-create-class-features-plugin/lib/misc.js')
| -rw-r--r-- | node_modules/@babel/helper-create-class-features-plugin/lib/misc.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js b/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js index f11864b6..4624b982 100644 --- a/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js +++ b/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js @@ -7,8 +7,8 @@ exports.extractComputedKeys = extractComputedKeys; exports.injectInitialization = injectInitialization; exports.memoiseComputedKey = memoiseComputedKey; var _core = require("@babel/core"); -var _helperEnvironmentVisitor = require("@babel/helper-environment-visitor"); -const findBareSupers = _core.traverse.visitors.merge([{ +var _traverse = require("@babel/traverse"); +const findBareSupers = _traverse.visitors.environmentVisitor({ Super(path) { const { node, @@ -20,7 +20,7 @@ const findBareSupers = _core.traverse.visitors.merge([{ this.push(parentPath); } } -}, _helperEnvironmentVisitor.default]); +}); const referenceVisitor = { "TSTypeAnnotation|TypeAnnotation"(path) { path.skip(); |
