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

babel-plugin-lazy-require

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-lazy-require - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

index.js

@@ -72,3 +72,3 @@ 'use strict';

path.unshiftContainer('body', t.variableDeclaration('const', [t.variableDecclarator(importsVar, t.objectExpression(properties))]));
path.unshiftContainer('body', t.variableDeclaration('const', [t.variableDeclarator(importsVar, t.objectExpression(properties))]));
for (const declaration of variableDeclarations) {

@@ -75,0 +75,0 @@ path.unshiftContainer('body', declaration);

{
"name": "babel-plugin-lazy-require",
"version": "0.0.4",
"version": "0.0.5",
"description": "Transform CommonJS require statements into lazily evaluated imports",

@@ -5,0 +5,0 @@ "main": "index.js",

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