circular-dependency-plugin
Advanced tools
Comparing version 5.2.0 to 5.2.1
# Changelog | ||
## 5.2.1 | ||
* Fixed an issue where modules that do not include themselves were marked as having circular dependencies | ||
## 5.2.0 | ||
* Webpack 5 compatibility | ||
## 5.1.0 | ||
@@ -4,0 +12,0 @@ |
@@ -84,2 +84,9 @@ let path = require('path') | ||
for (let dependency of currentModule.dependencies) { | ||
if ( | ||
dependency.constructor && | ||
dependency.constructor.name === 'CommonJsSelfReferenceDependency' | ||
) { | ||
continue | ||
} | ||
let depModule = null | ||
@@ -86,0 +93,0 @@ if (compilation.moduleGraph) { |
@@ -8,3 +8,3 @@ { | ||
"webpack": "^4.0.1", | ||
"webpack-next": "npm:webpack@^5.0.0-alpha.19" | ||
"webpack5": "npm:webpack@^5.0.0" | ||
}, | ||
@@ -15,3 +15,3 @@ "peerDependencies": { | ||
"description": "Detect modules with circular dependencies when bundling with webpack.", | ||
"version": "5.2.0", | ||
"version": "5.2.1", | ||
"engines": { | ||
@@ -18,0 +18,0 @@ "node": ">=6.0.0" |
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
10062
114