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

babel-dead-code-elimination

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-dead-code-elimination - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

3

dist/index.js

@@ -20,2 +20,5 @@ // src/babel-esm.ts

}
if (binding.path.isVariableDeclarator() && (binding.path.parentPath?.parentPath?.isForOfStatement() || binding.path.parentPath?.parentPath?.isForInStatement())) {
return true;
}
return binding.constantViolations.length > 0;

@@ -22,0 +25,0 @@ }

2

package.json
{
"name": "babel-dead-code-elimination",
"version": "1.0.7",
"version": "1.0.8",
"description": "Composable primitives for dead code elimination in Babel",

@@ -5,0 +5,0 @@ "keywords": [

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