Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/plugin-proposal-async-do-expressions

Package Overview
Dependencies
Maintainers
4
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-proposal-async-do-expressions - npm Package Compare versions

Comparing version 7.21.4-esm.2 to 7.21.4-esm.3

19

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc