@babel/plugin-proposal-async-do-expressions
Advanced tools
Comparing version 7.21.4-esm.2 to 7.21.4-esm.3
@@ -1,5 +0,11 @@ | ||
import { declare } from "@babel/helper-plugin-utils"; | ||
import syntaxAsyncDoExpressions from "@babel/plugin-syntax-async-do-expressions"; | ||
import hoistVariables from "@babel/helper-hoist-variables"; | ||
export default declare(({ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = void 0; | ||
var _helperPluginUtils = require("@babel/helper-plugin-utils"); | ||
var _pluginSyntaxAsyncDoExpressions = require("@babel/plugin-syntax-async-do-expressions"); | ||
var _helperHoistVariables = require("@babel/helper-hoist-variables"); | ||
var _default = (0, _helperPluginUtils.declare)(({ | ||
types: t, | ||
@@ -11,3 +17,3 @@ assertVersion | ||
name: "proposal-async-do-expressions", | ||
inherits: syntaxAsyncDoExpressions, | ||
inherits: _pluginSyntaxAsyncDoExpressions.default, | ||
visitor: { | ||
@@ -22,3 +28,3 @@ DoExpression: { | ||
} = path; | ||
hoistVariables(path, id => { | ||
(0, _helperHoistVariables.default)(path, id => { | ||
scope.push({ | ||
@@ -41,3 +47,4 @@ id: t.cloneNode(id) | ||
}); | ||
exports.default = _default; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@babel/plugin-proposal-async-do-expressions", | ||
"version": "7.21.4-esm.2", | ||
"version": "7.21.4-esm.3", | ||
"description": "Transform async do expressions to ES2021", | ||
@@ -23,5 +23,5 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-hoist-variables": "7.21.4-esm.2", | ||
"@babel/helper-plugin-utils": "7.21.4-esm.2", | ||
"@babel/plugin-syntax-async-do-expressions": "7.21.4-esm.2" | ||
"@babel/helper-hoist-variables": "7.21.4-esm.3", | ||
"@babel/helper-plugin-utils": "7.21.4-esm.3", | ||
"@babel/plugin-syntax-async-do-expressions": "7.21.4-esm.3" | ||
}, | ||
@@ -32,6 +32,6 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "7.21.4-esm.2", | ||
"@babel/helper-plugin-test-runner": "7.21.4-esm.2", | ||
"@babel/traverse": "7.21.4-esm.2", | ||
"@babel/types": "7.21.4-esm.2" | ||
"@babel/core": "7.21.4-esm.3", | ||
"@babel/helper-plugin-test-runner": "7.21.4-esm.3", | ||
"@babel/traverse": "7.21.4-esm.3", | ||
"@babel/types": "7.21.4-esm.3" | ||
}, | ||
@@ -38,0 +38,0 @@ "homepage": "https://babel.dev/docs/en/next/babel-plugin-proposal-async-do-expressions", |
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
7427
45
+ Added@babel/helper-hoist-variables@7.21.4-esm.3(transitive)
+ Added@babel/helper-plugin-utils@7.21.4-esm.3(transitive)
+ Added@babel/helper-string-parser@7.21.4-esm.3(transitive)
+ Added@babel/helper-validator-identifier@7.21.4-esm.3(transitive)
+ Added@babel/plugin-syntax-async-do-expressions@7.21.4-esm.3(transitive)
+ Added@babel/types@7.21.4-esm.3(transitive)
- Removed@babel/helper-hoist-variables@7.21.4-esm.2(transitive)
- Removed@babel/helper-plugin-utils@7.21.4-esm.2(transitive)
- Removed@babel/helper-string-parser@7.21.4-esm.2(transitive)
- Removed@babel/helper-validator-identifier@7.21.4-esm.2(transitive)
- Removed@babel/plugin-syntax-async-do-expressions@7.21.4-esm.2(transitive)
- Removed@babel/types@7.21.4-esm.2(transitive)
Updated@babel/plugin-syntax-async-do-expressions@7.21.4-esm.3