@babel/plugin-proposal-async-do-expressions
Advanced tools
Comparing version 7.24.7 to 7.25.0
@@ -9,3 +9,2 @@ "use strict"; | ||
var _pluginSyntaxAsyncDoExpressions = require("@babel/plugin-syntax-async-do-expressions"); | ||
var _helperHoistVariables = require("@babel/helper-hoist-variables"); | ||
var _default = exports.default = (0, _helperPluginUtils.declare)(({ | ||
@@ -25,10 +24,7 @@ types: t, | ||
} | ||
const { | ||
scope | ||
} = path; | ||
(0, _helperHoistVariables.default)(path, id => { | ||
scope.push({ | ||
id: t.cloneNode(id) | ||
}); | ||
}, "var"); | ||
{ | ||
var _path$scope, _path$scope$hoistVari; | ||
(_path$scope$hoistVari = (_path$scope = path.scope).hoistVariables) != null ? _path$scope$hoistVari : _path$scope.hoistVariables = require("@babel/traverse").Scope.prototype.hoistVariables; | ||
} | ||
path.scope.hoistVariables(); | ||
const bodyPath = path.get("body"); | ||
@@ -35,0 +31,0 @@ const completionRecords = bodyPath.getCompletionRecords(); |
{ | ||
"name": "@babel/plugin-proposal-async-do-expressions", | ||
"version": "7.24.7", | ||
"version": "7.25.0", | ||
"description": "Transform async do expressions to ES2021", | ||
@@ -26,5 +26,5 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-hoist-variables": "^7.24.7", | ||
"@babel/helper-plugin-utils": "^7.24.7", | ||
"@babel/plugin-syntax-async-do-expressions": "^7.24.7" | ||
"@babel/helper-plugin-utils": "^7.24.8", | ||
"@babel/plugin-syntax-async-do-expressions": "^7.24.7", | ||
"@babel/traverse": "^7.25.0" | ||
}, | ||
@@ -35,6 +35,4 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "^7.24.7", | ||
"@babel/helper-plugin-test-runner": "^7.24.7", | ||
"@babel/traverse": "^7.24.7", | ||
"@babel/types": "^7.24.7" | ||
"@babel/core": "^7.24.9", | ||
"@babel/helper-plugin-test-runner": "^7.24.7" | ||
}, | ||
@@ -41,0 +39,0 @@ "homepage": "https://babel.dev/docs/en/next/babel-plugin-proposal-async-do-expressions", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
70337
59
+ Added@babel/traverse@^7.25.0
- Removed@babel/helper-hoist-variables@7.24.7(transitive)