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

common-shakeify

Package Overview
Dependencies
Maintainers
40
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-shakeify - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

3

CHANGELOG.md

@@ -7,2 +7,5 @@ # common-shakeify change log

## 1.1.1
* Fixes infinite loop in new side-effect feature. ([#40](https://github.com/browserify/common-shakeify/pull/40))
## 1.1.0

@@ -9,0 +12,0 @@ * Entirely remove side-effect-free unused modules when they declare `sideEffects: false` in `package.json`. ([#31](https://github.com/browserify/common-shakeify/pull/31))

4

index.js

@@ -64,4 +64,6 @@ 'use strict'

let dir = file
while (!pkg && (dir = path.dirname(dir))) {
let prevDir = null
while (!pkg && (dir = path.dirname(dir)) && prevDir !== dir) {
pkg = packages.get(dir)
prevDir = dir
}

@@ -68,0 +70,0 @@ return pkg && pkg.sideEffects === false ? false : true

{
"name": "common-shakeify",
"version": "1.1.0",
"version": "1.1.1",
"description": "browserify tree shaking plugin using @indutny common-shake",

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