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.18.6 to 7.21.4-esm

lib/index.js.map

11

lib/index.js

@@ -7,9 +7,5 @@ "use strict";

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)(({

@@ -29,3 +25,2 @@ types: t,

}
const {

@@ -41,3 +36,2 @@ scope

const completionRecords = bodyPath.getCompletionRecords();
for (const p of completionRecords) {

@@ -48,6 +42,4 @@ if (p.isExpressionStatement()) {

}
path.replaceWith(t.callExpression(t.arrowFunctionExpression([], bodyPath.node, true), []));
}
}

@@ -57,3 +49,4 @@ }

});
exports.default = _default;
exports.default = _default;
//# sourceMappingURL=index.js.map
{
"name": "@babel/plugin-proposal-async-do-expressions",
"version": "7.18.6",
"version": "7.21.4-esm",
"description": "Transform async do expressions to ES2021",

@@ -23,14 +23,14 @@ "repository": {

"dependencies": {
"@babel/helper-hoist-variables": "^7.18.6",
"@babel/helper-plugin-utils": "^7.18.6",
"@babel/plugin-syntax-async-do-expressions": "^7.18.6"
"@babel/helper-hoist-variables": "^7.21.4-esm",
"@babel/helper-plugin-utils": "^7.21.4-esm",
"@babel/plugin-syntax-async-do-expressions": "^7.21.4-esm"
},
"peerDependencies": {
"@babel/core": "^7.13.0"
"@babel/core": "^7.13.0 || 7.21.4-esm"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/helper-plugin-test-runner": "^7.18.6",
"@babel/traverse": "^7.18.6",
"@babel/types": "^7.18.6"
"@babel/core": "^7.21.4-esm",
"@babel/helper-plugin-test-runner": "^7.21.4-esm",
"@babel/traverse": "^7.21.4-esm",
"@babel/types": "^7.21.4-esm"
},

@@ -37,0 +37,0 @@ "homepage": "https://babel.dev/docs/en/next/babel-plugin-proposal-async-do-expressions",

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