dependency-cruiser
Advanced tools
Comparing version 1.5.0 to 1.5.1
{ | ||
"name": "dependency-cruiser", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Visualize and validate javascript dependencies. With your rules. ES6, CommonJS, AMD", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -149,5 +149,24 @@ # Dependency cruiser ![Dependency cruiser](https://raw.githubusercontent.com/sverweij/dependency-cruiser/master/doc/assets/ZKH-Dependency-recolored-160.png) | ||
```json | ||
{ | ||
"forbidden": [{ | ||
"name": "not-to-test", | ||
"comment": "don't allow dependencies from outside the test folder to test", | ||
"severity": "error", | ||
"from": { "pathNot": "^test" }, | ||
"to": { "path": "^test" } | ||
},{ | ||
"name": "not-to-unresolvable", | ||
"comment": "don't allow dependencies to modules that cannot be resolved (and probably don't exist on disk)", | ||
"severity": "error", | ||
"from": {}, | ||
"to": { "couldNotResolve": true } | ||
},{ | ||
"name": "not-to-core-puny-os", | ||
"comment": "allow dependencies on core modules, but not on 'punycode' (which has been deprecated) or 'os' (for no reason)", | ||
"severity": "info", | ||
"from": { }, | ||
"to": { "coreModule": true, "path": "^(punycode|os)$"} | ||
}], | ||
"allowed": [{ | ||
@@ -157,6 +176,2 @@ "from": { "path": "^(src|test)" }, | ||
}, { | ||
"comment": "because these are the only core that modules make sense here", | ||
"from": { "path": "^(src|test)" }, | ||
"to": { "coreModule": true, "path": "^(fs|path)$" } | ||
}, { | ||
"from": { "path": "^bin" }, | ||
@@ -173,19 +188,2 @@ "to": { "path": "^src/index\\.js" } | ||
"to": { "path": "^test" } | ||
}], | ||
"forbidden": [{ | ||
"name": "no-dep-on-test", | ||
"severity": "error", | ||
"from": { "path": "^src" }, | ||
"to": { "path": "^test" } | ||
}, { | ||
"name": "no-external-to-here", | ||
"comment": "you never know...", | ||
"severity": "info", | ||
"from": { "path": "node_modules" }, | ||
"to": { "path": "^(src|test|lib)" } | ||
}, { | ||
"name": "not-to-unresolvable", | ||
"severity": "error", | ||
"from": {}, | ||
"to": { "couldNotResolve": true } | ||
}] | ||
@@ -201,7 +199,11 @@ } | ||
colaborated on [acorn](https://github.com/ternjs/acorn) - | ||
the excelent javascript parser dependecy-cruiser uses to infer | ||
the excelent javascript parser dependency-cruiser uses to infer | ||
dependencies. | ||
[![build status](https://gitlab.com/sverweij/dependency-cruiser/badges/develop/build.svg)](https://gitlab.com/sverweij/dependency-cruiser/commits/develop) | ||
[![coverage report](https://gitlab.com/sverweij/dependency-cruiser/badges/develop/coverage.svg)](https://gitlab.com/sverweij/dependency-cruiser/commits/develop) | ||
[![build status](https://gitlab.com/sverweij/dependency-cruiser/badges/master/build.svg)](https://gitlab.com/sverweij/dependency-cruiser/builds) | ||
[![coverage](https://gitlab.com/sverweij/dependency-cruiser/badges/master/coverage.svg)](https://gitlab.com/sverweij/dependency-cruiser/builds) | ||
[![bitHound Overall Score](https://www.bithound.io/github/sverweij/dependency-cruiser/badges/score.svg)](https://www.bithound.io/github/sverweij/dependency-cruiser) | ||
[![bitHound Dependencies](https://www.bithound.io/github/sverweij/dependency-cruiser/badges/dependencies.svg)](https://www.bithound.io/github/sverweij/dependency-cruiser/master/dependencies/npm) | ||
[![bitHound Dev Dependencies](https://www.bithound.io/github/sverweij/dependency-cruiser/badges/devDependencies.svg)](https://www.bithound.io/github/sverweij/dependency-cruiser/master/dependencies/npm) | ||
[![npm stable version](https://img.shields.io/npm/v/dependency-cruiser.svg)](https://npmjs.com/package/dependency-cruiser) | ||
[![total downloads on npm](https://img.shields.io/npm/dt/dependency-cruiser.svg?maxAge=2592000)](https://npmjs.com/package/dependency-cruiser) |
@@ -38,3 +38,3 @@ "use strict"; | ||
lDependencies | ||
.filter(pDep => pDep.followable && !pVisited.has(pDep.resolved)) | ||
.filter(pDep => pDep.followable) | ||
.forEach( | ||
@@ -80,7 +80,7 @@ pDep => { | ||
return { | ||
source: pToListItem.resolved, | ||
followable: pToListItem.followable, | ||
coreModule: pToListItem.coreModule, | ||
couldNotResolve: pToListItem.couldNotResolve, | ||
dependencies: [] | ||
source : pToListItem.resolved, | ||
followable : pToListItem.followable, | ||
coreModule : pToListItem.coreModule, | ||
couldNotResolve : pToListItem.couldNotResolve, | ||
dependencies : [] | ||
}; | ||
@@ -87,0 +87,0 @@ } |
@@ -65,7 +65,9 @@ var Handlebars = require("handlebars/runtime"); var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; | ||
},"18":function(container,depth0,helpers,partials,data) { | ||
var helper; | ||
var stack1, helper; | ||
return " [color=\"" | ||
+ container.escapeExpression(((helper = (helper = helpers.color || (depth0 != null ? depth0.color : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"color","hash":{},"data":data}) : helper))) | ||
+ "\" penwidth=2.0]"; | ||
+ ((stack1 = ((helper = (helper = helpers.color || (depth0 != null ? depth0.color : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"color","hash":{},"data":data}) : helper))) != null ? stack1 : "") | ||
+ "\" penwidth=2.0 tooltip=\"" | ||
+ ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.rule : depth0)) != null ? stack1.name : stack1), depth0)) != null ? stack1 : "") | ||
+ "\"]"; | ||
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) { | ||
@@ -72,0 +74,0 @@ var stack1, alias1=depth0 != null ? depth0 : {}; |
@@ -21,13 +21,13 @@ var Handlebars = require("handlebars/runtime"); var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; | ||
return " <tr>\n <td class=\"first-cell" | ||
return " <tr>\n <td class=\"first-cell" | ||
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.coreModule : depth0),{"name":"if","hash":{},"fn":container.program(8, data, 0, blockParams, depths),"inverse":container.program(10, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "") | ||
+ "\">" | ||
+ alias4(((helper = (helper = helpers.source || (depth0 != null ? depth0.source : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"source","hash":{},"data":data}) : helper))) | ||
+ "</td>\n " | ||
+ "</td>\n " | ||
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.incidences : depth0),{"name":"each","hash":{},"fn":container.program(13, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "") | ||
+ "\n <td class=\"first-cell" | ||
+ "\n <td class=\"first-cell" | ||
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.coreModule : depth0),{"name":"if","hash":{},"fn":container.program(8, data, 0, blockParams, depths),"inverse":container.program(10, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "") | ||
+ "\">" | ||
+ alias4(((helper = (helper = helpers.source || (depth0 != null ? depth0.source : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"source","hash":{},"data":data}) : helper))) | ||
+ "</td>\n </tr>\n"; | ||
+ "</td>\n </tr>\n"; | ||
},"8":function(container,depth0,helpers,partials,data) { | ||
@@ -55,3 +55,3 @@ return " cell-core-module"; | ||
+ alias2(container.lambda((depths[1] != null ? depths[1].source : depths[1]), depth0)) | ||
+ " ->\n" | ||
+ " ->\n " | ||
+ alias2(((helper = (helper = helpers.to || (depth0 != null ? depth0.to : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"to","hash":{},"data":data}) : helper))) | ||
@@ -63,13 +63,13 @@ + "\""; | ||
return container.escapeExpression(((helper = (helper = helpers.rule || (depth0 != null ? depth0.rule : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"rule","hash":{},"data":data}) : helper))) | ||
+ ":\n"; | ||
+ ":\n "; | ||
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) { | ||
var stack1, alias1=depth0 != null ? depth0 : {}; | ||
return "<style media=\"screen\">\n html {\n font-family: sans-serif;\n font-size: 10pt;\n }\n table, td.controls {\n transition-duration: 0.4s;\n }\n table, th, td{\n border: solid black 1px;\n border-collapse: collapse;\n font-size: inherit;\n }\n th{\n text-align:start;\n vertical-align: bottom;\n max-width: 1em;\n max-height: 30em;\n height: 20em;\n font-weight: normal;\n white-space: nowrap;\n overflow: hidden;\n }\n th div {\n transform: rotateZ(-90deg);\n transform-origin: 0.5em;\n text-align: start;\n height: 1em;\n width: 30em;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n td {\n text-align: center;\n }\n td.first-cell {\n text-align: left;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n td.top-left {\n border-top: solid 1px transparent;\n border-left: solid 1px transparent;\n }\n td.top-right {\n border-top: solid 1px transparent;\n border-right: solid 1px transparent;\n }\n td.bottom-left {\n border-bottom: solid 1px transparent;\n border-left: solid 1px transparent;\n }\n td.bottom-right {\n border-bottom: solid 1px transparent;\n border-right: solid 1px transparent;\n }\n tbody tr:hover {\n background-color: lightgrey;\n }\n #table-rotated:target {\n transform: rotateZ(45deg);\n transform-origin: bottom left;\n }\n #table-rotated:target #unrotate {\n opacity: 1;\n }\n #table-rotated:target #rotate {\n opacity: 0;\n }\n #unrotate {\n opacity: 0;\n }\n #rotate {\n opacity: 1;\n }\n .controls {\n opacity: 0.2;\n vertical-align: bottom;\n padding: 0.5em;\n }\n .controls:hover {\n opacity: 1;\n }\n .controls a {\n font-style: normal;\n text-decoration: none;\n background-color: #eee;\n padding: 0.2em 0.5em 0.2em 0.5em;\n }\n .cell-core-module {\n color: grey;\n font-style: italic;\n }\n .cell-unresolvable-module {\n color: red;\n font-style: italic;\n }\n .cell-true {\n background-color: black;\n opacity: 0.5;\n }\n .cell-false {\n background-color: white;\n opacity: 0.5;\n }\n .cell-error {\n background-color: red;\n opacity: 0.5;\n }\n .cell-warn {\n background-color: orange;\n opacity: 0.5;\n }\n .cell-info {\n background-color: blue;\n opacity: 0.5;\n }\n</style>\n<table id=\"table-rotated\">\n <thead>\n <tr>\n <td class=\"controls top-left\">\n <a id=\"rotate\" href=\"#table-rotated\">rotate</a>\n <a id=\"unrotate\" href=\"#\">rotate back</a>\n </td>\n " | ||
return "<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"utf-8\">\n <title>dependency-cruiser output</title>\n <style media=\"screen\">\n html {\n font-family: sans-serif;\n font-size: 10pt;\n }\n table, td.controls {\n transition-duration: 0.4s;\n }\n table, th, td{\n border: solid black 1px;\n border-collapse: collapse;\n font-size: inherit;\n }\n th{\n text-align:start;\n vertical-align: bottom;\n max-width: 1em;\n max-height: 30em;\n height: 20em;\n font-weight: normal;\n white-space: nowrap;\n overflow: hidden;\n }\n th div {\n transform: rotateZ(-90deg);\n transform-origin: 0.5em;\n text-align: start;\n height: 1em;\n width: 30em;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n td {\n text-align: center;\n }\n td.first-cell {\n text-align: left;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n td.top-left {\n border-top: solid 1px transparent;\n border-left: solid 1px transparent;\n }\n td.top-right {\n border-top: solid 1px transparent;\n border-right: solid 1px transparent;\n }\n td.bottom-left {\n border-bottom: solid 1px transparent;\n border-left: solid 1px transparent;\n }\n td.bottom-right {\n border-bottom: solid 1px transparent;\n border-right: solid 1px transparent;\n }\n tbody tr:hover {\n background-color: lightgrey;\n }\n #table-rotated:target {\n transform: rotateZ(45deg);\n transform-origin: bottom left;\n }\n #table-rotated:target #unrotate {\n opacity: 1;\n }\n #table-rotated:target #rotate {\n opacity: 0;\n }\n #unrotate {\n opacity: 0;\n }\n #rotate {\n opacity: 1;\n }\n .controls {\n opacity: 0.2;\n vertical-align: bottom;\n padding: 0.5em;\n }\n .controls:hover {\n opacity: 1;\n }\n .controls a {\n font-style: normal;\n text-decoration: none;\n background-color: #eee;\n padding: 0.2em 0.5em 0.2em 0.5em;\n }\n .cell-core-module {\n color: grey;\n font-style: italic;\n }\n .cell-unresolvable-module {\n color: red;\n font-style: italic;\n }\n .cell-true {\n background-color: black;\n opacity: 0.5;\n }\n .cell-false {\n background-color: white;\n opacity: 0.5;\n }\n .cell-error {\n background-color: red;\n opacity: 0.5;\n }\n .cell-warn {\n background-color: orange;\n opacity: 0.5;\n }\n .cell-info {\n background-color: blue;\n opacity: 0.5;\n }\n </style>\n </head>\n <body>\n <table id=\"table-rotated\">\n <thead>\n <tr>\n <td class=\"controls top-left\">\n <a id=\"rotate\" href=\"#table-rotated\">rotate</a>\n <a id=\"unrotate\" href=\"#\">rotate back</a>\n </td>\n " | ||
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.things : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "") | ||
+ "\n <td class=\"top-right\"></td>\n </tr>\n </thead>\n <tbody>\n" | ||
+ "\n <td class=\"top-right\"></td>\n </tr>\n </thead>\n <tbody>\n" | ||
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.things : depth0),{"name":"each","hash":{},"fn":container.program(7, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "") | ||
+ " </tbody>\n <tfoot>\n <tr>\n <td class=\"bottom-left\"></td>\n " | ||
+ " </tbody>\n <tfoot>\n <tr>\n <td class=\"bottom-left\"></td>\n " | ||
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.things : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "") | ||
+ "\n <td class=\"bottom-right\"></td>\n </tr>\n </tfoot>\n</table>\n"; | ||
+ "\n <td class=\"bottom-right\"></td>\n </tr>\n </tfoot>\n </table>\n </body>\n</html>\n"; | ||
},"useData":true,"useDepths":true}); |
@@ -35,21 +35,21 @@ "use strict"; | ||
"node_modules/somemodule/src/somemodule.js" -> "node_modules/somemodule/src/moar-javascript.js" [color="orange" penwidth=2.0] | ||
"node_modules/somemodule/src/somemodule.js" -> "node_modules/somemodule/node_modules/someothermodule/main.js" [color="orange" penwidth=2.0] | ||
"one_only_one.js" -> "path" [color="orange" penwidth=2.0] | ||
"one_only_two.js" -> "path" [color="orange" penwidth=2.0] | ||
"root_one.js" -> "one_only_one.js" [color="orange" penwidth=2.0] | ||
"root_one.js" -> "one_only_two.js" [color="orange" penwidth=2.0] | ||
"root_one.js" -> "shared.js" [color="orange" penwidth=2.0] | ||
"root_one.js" -> "sub/dir.js" [color="orange" penwidth=2.0] | ||
"root_one.js" -> "fs" [color="orange" penwidth=2.0] | ||
"root_one.js" -> "node_modules/somemodule/src/somemodule.js" [color="orange" penwidth=2.0] | ||
"root_two.js" -> "shared.js" [color="orange" penwidth=2.0] | ||
"root_two.js" -> "somedata.json" [color="orange" penwidth=2.0] | ||
"root_two.js" -> "two_only_one.js" [color="orange" penwidth=2.0] | ||
"root_two.js" -> "http" [color="orange" penwidth=2.0] | ||
"shared.js" -> "path" [color="orange" penwidth=2.0] | ||
"sub/depindir.js" -> "path" [color="orange" penwidth=2.0] | ||
"sub/dir.js" -> "sub/depindir.js" [color="orange" penwidth=2.0] | ||
"sub/dir.js" -> "path" [color="orange" penwidth=2.0] | ||
"two_only_one.js" -> "sub/dir.js" [color="orange" penwidth=2.0] | ||
"node_modules/somemodule/src/somemodule.js" -> "node_modules/somemodule/src/moar-javascript.js" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"node_modules/somemodule/src/somemodule.js" -> "node_modules/somemodule/node_modules/someothermodule/main.js" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"one_only_one.js" -> "path" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"one_only_two.js" -> "path" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"root_one.js" -> "one_only_one.js" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"root_one.js" -> "one_only_two.js" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"root_one.js" -> "shared.js" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"root_one.js" -> "sub/dir.js" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"root_one.js" -> "fs" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"root_one.js" -> "node_modules/somemodule/src/somemodule.js" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"root_two.js" -> "shared.js" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"root_two.js" -> "somedata.json" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"root_two.js" -> "two_only_one.js" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"root_two.js" -> "http" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"shared.js" -> "path" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"sub/depindir.js" -> "path" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"sub/dir.js" -> "sub/depindir.js" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"sub/dir.js" -> "path" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
"two_only_one.js" -> "sub/dir.js" [color="orange" penwidth=2.0 tooltip="unnamed"] | ||
} | ||
@@ -56,0 +56,0 @@ `; |
@@ -6,256 +6,265 @@ "use strict"; | ||
const elFixture = `<style media="screen"> | ||
html { | ||
font-family: sans-serif; | ||
font-size: 10pt; | ||
} | ||
table, td.controls { | ||
transition-duration: 0.4s; | ||
} | ||
table, th, td{ | ||
border: solid black 1px; | ||
border-collapse: collapse; | ||
font-size: inherit; | ||
} | ||
th{ | ||
text-align:start; | ||
vertical-align: bottom; | ||
max-width: 1em; | ||
max-height: 30em; | ||
height: 20em; | ||
font-weight: normal; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
} | ||
th div { | ||
transform: rotateZ(-90deg); | ||
transform-origin: 0.5em; | ||
text-align: start; | ||
height: 1em; | ||
width: 30em; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
td { | ||
text-align: center; | ||
} | ||
td.first-cell { | ||
text-align: left; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
td.top-left { | ||
border-top: solid 1px transparent; | ||
border-left: solid 1px transparent; | ||
} | ||
td.top-right { | ||
border-top: solid 1px transparent; | ||
border-right: solid 1px transparent; | ||
} | ||
td.bottom-left { | ||
border-bottom: solid 1px transparent; | ||
border-left: solid 1px transparent; | ||
} | ||
td.bottom-right { | ||
border-bottom: solid 1px transparent; | ||
border-right: solid 1px transparent; | ||
} | ||
tbody tr:hover { | ||
background-color: lightgrey; | ||
} | ||
#table-rotated:target { | ||
transform: rotateZ(45deg); | ||
transform-origin: bottom left; | ||
} | ||
#table-rotated:target #unrotate { | ||
opacity: 1; | ||
} | ||
#table-rotated:target #rotate { | ||
opacity: 0; | ||
} | ||
#unrotate { | ||
opacity: 0; | ||
} | ||
#rotate { | ||
opacity: 1; | ||
} | ||
.controls { | ||
opacity: 0.2; | ||
vertical-align: bottom; | ||
padding: 0.5em; | ||
} | ||
.controls:hover { | ||
opacity: 1; | ||
} | ||
.controls a { | ||
font-style: normal; | ||
text-decoration: none; | ||
background-color: #eee; | ||
padding: 0.2em 0.5em 0.2em 0.5em; | ||
} | ||
.cell-core-module { | ||
color: grey; | ||
font-style: italic; | ||
} | ||
.cell-unresolvable-module { | ||
color: red; | ||
font-style: italic; | ||
} | ||
.cell-true { | ||
background-color: black; | ||
opacity: 0.5; | ||
} | ||
.cell-false { | ||
background-color: white; | ||
opacity: 0.5; | ||
} | ||
.cell-error { | ||
background-color: red; | ||
opacity: 0.5; | ||
} | ||
.cell-warn { | ||
background-color: orange; | ||
opacity: 0.5; | ||
} | ||
.cell-info { | ||
background-color: blue; | ||
opacity: 0.5; | ||
} | ||
</style> | ||
<table id="table-rotated"> | ||
<thead> | ||
<tr> | ||
<td class="controls top-left"> | ||
<a id="rotate" href="#table-rotated">rotate</a> | ||
<a id="unrotate" href="#">rotate back</a> | ||
</td> | ||
<th><div>node_modules/somemodule/node_modules/someothermodule/main.js</div></th><th><div>node_modules/somemodule/src/moar-javascript.js</div></th><th><div>node_modules/somemodule/src/somemodule.js</div></th><th><div>one_only_one.js</div></th><th><div>one_only_two.js</div></th><th><div>root_one.js</div></th><th><div>root_two.js</div></th><th><div class="cell-unresolvable-module">shared.js</div></th><th><div>somedata.json</div></th><th><div>sub/depindir.js</div></th><th><div>sub/dir.js</div></th><th><div>two_only_one.js</div></th><th><div class="cell-core-module">fs</div></th><th><div class="cell-core-module">http</div></th><th><div class="cell-core-module">path</div></th> | ||
<td class="top-right"></td> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td class="first-cell">node_modules/somemodule/node_modules/someothermodule/main.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">node_modules/somemodule/node_modules/someothermodule/main.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">node_modules/somemodule/src/moar-javascript.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">node_modules/somemodule/src/moar-javascript.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">node_modules/somemodule/src/somemodule.js</td> | ||
<td class="cell cell-warn" title="unnamed: | ||
node_modules/somemodule/src/somemodule.js -> | ||
node_modules/somemodule/node_modules/someothermodule/main.js"></td><td class="cell cell-warn" title="unnamed: | ||
node_modules/somemodule/src/somemodule.js -> | ||
node_modules/somemodule/src/moar-javascript.js"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">node_modules/somemodule/src/somemodule.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">one_only_one.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
one_only_one.js -> | ||
path"></td> | ||
<td class="first-cell">one_only_one.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">one_only_two.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
one_only_two.js -> | ||
path"></td> | ||
<td class="first-cell">one_only_two.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">root_one.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_one.js -> | ||
node_modules/somemodule/src/somemodule.js"></td><td class="cell cell-warn" title="unnamed: | ||
root_one.js -> | ||
one_only_one.js"></td><td class="cell cell-warn" title="unnamed: | ||
root_one.js -> | ||
one_only_two.js"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_one.js -> | ||
shared.js"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_one.js -> | ||
sub/dir.js"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_one.js -> | ||
fs"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">root_one.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">root_two.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_two.js -> | ||
shared.js"></td><td class="cell cell-warn" title="unnamed: | ||
root_two.js -> | ||
somedata.json"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_two.js -> | ||
two_only_one.js"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_two.js -> | ||
http"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">root_two.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell cell-unresolvable-module">shared.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
shared.js -> | ||
path"></td> | ||
<td class="first-cell cell-unresolvable-module">shared.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">somedata.json</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">somedata.json</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">sub/depindir.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
sub/depindir.js -> | ||
path"></td> | ||
<td class="first-cell">sub/depindir.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">sub/dir.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
sub/dir.js -> | ||
sub/depindir.js"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
sub/dir.js -> | ||
path"></td> | ||
<td class="first-cell">sub/dir.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">two_only_one.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
two_only_one.js -> | ||
sub/dir.js"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">two_only_one.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell cell-core-module">fs</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell cell-core-module">fs</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell cell-core-module">http</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell cell-core-module">http</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell cell-core-module">path</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell cell-core-module">path</td> | ||
</tr> | ||
</tbody> | ||
<tfoot> | ||
<tr> | ||
<td class="bottom-left"></td> | ||
<th><div>node_modules/somemodule/node_modules/someothermodule/main.js</div></th><th><div>node_modules/somemodule/src/moar-javascript.js</div></th><th><div>node_modules/somemodule/src/somemodule.js</div></th><th><div>one_only_one.js</div></th><th><div>one_only_two.js</div></th><th><div>root_one.js</div></th><th><div>root_two.js</div></th><th><div class="cell-unresolvable-module">shared.js</div></th><th><div>somedata.json</div></th><th><div>sub/depindir.js</div></th><th><div>sub/dir.js</div></th><th><div>two_only_one.js</div></th><th><div class="cell-core-module">fs</div></th><th><div class="cell-core-module">http</div></th><th><div class="cell-core-module">path</div></th> | ||
<td class="bottom-right"></td> | ||
</tr> | ||
</tfoot> | ||
</table> | ||
const elFixture = `<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>dependency-cruiser output</title> | ||
<style media="screen"> | ||
html { | ||
font-family: sans-serif; | ||
font-size: 10pt; | ||
} | ||
table, td.controls { | ||
transition-duration: 0.4s; | ||
} | ||
table, th, td{ | ||
border: solid black 1px; | ||
border-collapse: collapse; | ||
font-size: inherit; | ||
} | ||
th{ | ||
text-align:start; | ||
vertical-align: bottom; | ||
max-width: 1em; | ||
max-height: 30em; | ||
height: 20em; | ||
font-weight: normal; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
} | ||
th div { | ||
transform: rotateZ(-90deg); | ||
transform-origin: 0.5em; | ||
text-align: start; | ||
height: 1em; | ||
width: 30em; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
td { | ||
text-align: center; | ||
} | ||
td.first-cell { | ||
text-align: left; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
td.top-left { | ||
border-top: solid 1px transparent; | ||
border-left: solid 1px transparent; | ||
} | ||
td.top-right { | ||
border-top: solid 1px transparent; | ||
border-right: solid 1px transparent; | ||
} | ||
td.bottom-left { | ||
border-bottom: solid 1px transparent; | ||
border-left: solid 1px transparent; | ||
} | ||
td.bottom-right { | ||
border-bottom: solid 1px transparent; | ||
border-right: solid 1px transparent; | ||
} | ||
tbody tr:hover { | ||
background-color: lightgrey; | ||
} | ||
#table-rotated:target { | ||
transform: rotateZ(45deg); | ||
transform-origin: bottom left; | ||
} | ||
#table-rotated:target #unrotate { | ||
opacity: 1; | ||
} | ||
#table-rotated:target #rotate { | ||
opacity: 0; | ||
} | ||
#unrotate { | ||
opacity: 0; | ||
} | ||
#rotate { | ||
opacity: 1; | ||
} | ||
.controls { | ||
opacity: 0.2; | ||
vertical-align: bottom; | ||
padding: 0.5em; | ||
} | ||
.controls:hover { | ||
opacity: 1; | ||
} | ||
.controls a { | ||
font-style: normal; | ||
text-decoration: none; | ||
background-color: #eee; | ||
padding: 0.2em 0.5em 0.2em 0.5em; | ||
} | ||
.cell-core-module { | ||
color: grey; | ||
font-style: italic; | ||
} | ||
.cell-unresolvable-module { | ||
color: red; | ||
font-style: italic; | ||
} | ||
.cell-true { | ||
background-color: black; | ||
opacity: 0.5; | ||
} | ||
.cell-false { | ||
background-color: white; | ||
opacity: 0.5; | ||
} | ||
.cell-error { | ||
background-color: red; | ||
opacity: 0.5; | ||
} | ||
.cell-warn { | ||
background-color: orange; | ||
opacity: 0.5; | ||
} | ||
.cell-info { | ||
background-color: blue; | ||
opacity: 0.5; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<table id="table-rotated"> | ||
<thead> | ||
<tr> | ||
<td class="controls top-left"> | ||
<a id="rotate" href="#table-rotated">rotate</a> | ||
<a id="unrotate" href="#">rotate back</a> | ||
</td> | ||
<th><div>node_modules/somemodule/node_modules/someothermodule/main.js</div></th><th><div>node_modules/somemodule/src/moar-javascript.js</div></th><th><div>node_modules/somemodule/src/somemodule.js</div></th><th><div>one_only_one.js</div></th><th><div>one_only_two.js</div></th><th><div>root_one.js</div></th><th><div>root_two.js</div></th><th><div class="cell-unresolvable-module">shared.js</div></th><th><div>somedata.json</div></th><th><div>sub/depindir.js</div></th><th><div>sub/dir.js</div></th><th><div>two_only_one.js</div></th><th><div class="cell-core-module">fs</div></th><th><div class="cell-core-module">http</div></th><th><div class="cell-core-module">path</div></th> | ||
<td class="top-right"></td> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td class="first-cell">node_modules/somemodule/node_modules/someothermodule/main.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">node_modules/somemodule/node_modules/someothermodule/main.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">node_modules/somemodule/src/moar-javascript.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">node_modules/somemodule/src/moar-javascript.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">node_modules/somemodule/src/somemodule.js</td> | ||
<td class="cell cell-warn" title="unnamed: | ||
node_modules/somemodule/src/somemodule.js -> | ||
node_modules/somemodule/node_modules/someothermodule/main.js"></td><td class="cell cell-warn" title="unnamed: | ||
node_modules/somemodule/src/somemodule.js -> | ||
node_modules/somemodule/src/moar-javascript.js"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">node_modules/somemodule/src/somemodule.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">one_only_one.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
one_only_one.js -> | ||
path"></td> | ||
<td class="first-cell">one_only_one.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">one_only_two.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
one_only_two.js -> | ||
path"></td> | ||
<td class="first-cell">one_only_two.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">root_one.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_one.js -> | ||
node_modules/somemodule/src/somemodule.js"></td><td class="cell cell-warn" title="unnamed: | ||
root_one.js -> | ||
one_only_one.js"></td><td class="cell cell-warn" title="unnamed: | ||
root_one.js -> | ||
one_only_two.js"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_one.js -> | ||
shared.js"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_one.js -> | ||
sub/dir.js"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_one.js -> | ||
fs"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">root_one.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">root_two.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_two.js -> | ||
shared.js"></td><td class="cell cell-warn" title="unnamed: | ||
root_two.js -> | ||
somedata.json"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_two.js -> | ||
two_only_one.js"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
root_two.js -> | ||
http"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">root_two.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell cell-unresolvable-module">shared.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
shared.js -> | ||
path"></td> | ||
<td class="first-cell cell-unresolvable-module">shared.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">somedata.json</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">somedata.json</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">sub/depindir.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
sub/depindir.js -> | ||
path"></td> | ||
<td class="first-cell">sub/depindir.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">sub/dir.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
sub/dir.js -> | ||
sub/depindir.js"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
sub/dir.js -> | ||
path"></td> | ||
<td class="first-cell">sub/dir.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell">two_only_one.js</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-warn" title="unnamed: | ||
two_only_one.js -> | ||
sub/dir.js"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell">two_only_one.js</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell cell-core-module">fs</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell cell-core-module">fs</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell cell-core-module">http</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell cell-core-module">http</td> | ||
</tr> | ||
<tr> | ||
<td class="first-cell cell-core-module">path</td> | ||
<td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td><td class="cell cell-false"></td> | ||
<td class="first-cell cell-core-module">path</td> | ||
</tr> | ||
</tbody> | ||
<tfoot> | ||
<tr> | ||
<td class="bottom-left"></td> | ||
<th><div>node_modules/somemodule/node_modules/someothermodule/main.js</div></th><th><div>node_modules/somemodule/src/moar-javascript.js</div></th><th><div>node_modules/somemodule/src/somemodule.js</div></th><th><div>one_only_one.js</div></th><th><div>one_only_two.js</div></th><th><div>root_one.js</div></th><th><div>root_two.js</div></th><th><div class="cell-unresolvable-module">shared.js</div></th><th><div>somedata.json</div></th><th><div>sub/depindir.js</div></th><th><div>sub/dir.js</div></th><th><div>two_only_one.js</div></th><th><div class="cell-core-module">fs</div></th><th><div class="cell-core-module">http</div></th><th><div class="cell-core-module">path</div></th> | ||
<td class="bottom-right"></td> | ||
</tr> | ||
</tfoot> | ||
</table> | ||
</body> | ||
</html> | ||
`; | ||
@@ -262,0 +271,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
7873534
181
5290
206