dependency-cruiser
Advanced tools
Comparing version 1.7.1 to 1.7.2
{ | ||
"name": "dependency-cruiser", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"description": "Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.", | ||
@@ -56,3 +56,3 @@ "bin": { | ||
"chalk": "1.1.3", | ||
"coffee-script": "1.12.0", | ||
"coffee-script": "1.12.1", | ||
"commander": "2.9.0", | ||
@@ -59,0 +59,0 @@ "figures": "2.0.0", |
@@ -12,2 +12,3 @@ "use strict"; | ||
const reportErr = require("../report/errReporter"); | ||
const reportVis = require("../report/visReporter"); | ||
@@ -19,3 +20,4 @@ const TYPE2REPORTER = { | ||
"csv" : reportCsv, | ||
"err" : reportErr | ||
"err" : reportErr, | ||
"vis" : reportVis | ||
}; | ||
@@ -22,0 +24,0 @@ |
@@ -9,3 +9,3 @@ "use strict"; | ||
const MODULE_SYSTEM_LIST_RE = /^((cjs|amd|es6)(,|$))+$/gi; | ||
const OUTPUT_TYPES_RE = /(html|dot|csv|err|json)/g; | ||
const OUTPUT_TYPES_RE = /(html|dot|csv|err|json|vis)/g; | ||
@@ -12,0 +12,0 @@ function validateFileExistence(pDirOrFile) { |
@@ -25,6 +25,6 @@ "use strict"; | ||
return pRule => | ||
(!Boolean(pRule.from.path) || pFrom.match(pRule.from.path)) && | ||
(!Boolean(pRule.from.path) || pFrom.match(pRule.from.path)) && | ||
(!Boolean(pRule.from.pathNot) || !(pFrom.match(pRule.from.pathNot))) && | ||
(!Boolean(pRule.to.path) || pTo.resolved.match(pRule.to.path)) && | ||
(!Boolean(pRule.to.pathNot) || !(pTo.resolved.match(pRule.to.pathNot))) && | ||
(!Boolean(pRule.to.path) || pTo.resolved.match(pRule.to.path)) && | ||
(!Boolean(pRule.to.pathNot) || !(pTo.resolved.match(pRule.to.pathNot))) && | ||
propertyEquals(pTo, pRule, "coreModule") && | ||
@@ -31,0 +31,0 @@ propertyEquals(pTo, pRule, "couldNotResolve"); |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
433631
55
1627
7
+ Addedcoffee-script@1.12.1(transitive)
- Removedcoffee-script@1.12.0(transitive)
Updatedcoffee-script@1.12.1