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

babel-plugin-closure-elimination

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-closure-elimination - npm Package Compare versions

Comparing version 1.1.14 to 1.1.15

2

lib/index.js

@@ -94,2 +94,3 @@ 'use strict';

path.scope.crawl(); // sibling plugins may not update scope of auto-generated functions
if (path.node._hoisted) {

@@ -126,3 +127,2 @@ return;

function getHighestCompatibleHoistedScope(path) {
path.scope.crawl(); // sibling plugins may not update scope of auto-generated functions
var parentScopes = getAllParentScopes(path.scope),

@@ -129,0 +129,0 @@ parentBindings = path.scope.parent.getAllBindings();

{
"name": "babel-plugin-closure-elimination",
"version": "1.1.14",
"version": "1.1.15",
"description": "Removes closures from your JavaScript in the name of performance.",

@@ -39,2 +39,3 @@ "main": "lib/index.js",

"babel-plugin-syntax-async-functions": "^6.3.13",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-es2015-destructuring": "^6.18.0",

@@ -41,0 +42,0 @@ "babel-plugin-transform-es2015-modules-commonjs": "^6.18.0",

@@ -17,2 +17,3 @@ import 'babel-polyfill';

const {node} = path;
path.scope.crawl();// sibling plugins may not update scope of auto-generated functions
if (path.node._hoisted) {

@@ -66,3 +67,2 @@ return;

function getHighestCompatibleHoistedScope(path) {
path.scope.crawl();// sibling plugins may not update scope of auto-generated functions
const parentScopes = getAllParentScopes(path.scope),

@@ -69,0 +69,0 @@ parentBindings = path.scope.parent.getAllBindings();

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