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

common-shake

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-shake - npm Package Compare versions

Comparing version 1.4.3 to 1.4.4

10

lib/shake/analyzer.js

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

return false;
this.requireUses.add(init.callee);

@@ -414,3 +415,8 @@ return true;

this.siftRequireCall(node, current);
const module = this.siftRequireCall(node, current);
if (!module)
return;
// TODO(indutny): support `var lib; lib = require('...')`
module.bailout('Escaping `require` call', node.loc, current.resource);
};

@@ -436,3 +442,3 @@

if (this.requireUses.has(callee))
return;
return false;
this.requireUses.add(callee);

@@ -439,0 +445,0 @@

2

package.json
{
"name": "common-shake",
"version": "1.4.3",
"version": "1.4.4",
"description": "CommonJS Tree Shake",

@@ -5,0 +5,0 @@ "main": "lib/shake.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