Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
0
Versions
31
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.24.7 to 7.25.0

14

lib/index.js

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

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