common-shakeify
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -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)) |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46539
885