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

@compodoc/ngd-transformer

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compodoc/ngd-transformer - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

2

dist/engines/dot/dot.template.js

@@ -16,2 +16,2 @@ "use strict";

};
exports.DOT_TEMPLATE = "\ndigraph dependencies {\n node [shape=\"rect\", style=\"filled\", colorscheme=###scheme###];\n ranksep=0.4;\n compound=false;\n remincross=true;\n splines=true;\n splines=ortho;\n\n rankdir=LR;\n rankdir=TB;\n rankdir=BT;\n\n label=###legend###;\n\n ratio=compress;\n fontname=\"sans-serif\";\n\n {{~it.modules :mod}}\n subgraph \"cluster_{{=mod.name}}\" {\n label=\"\";\n style=\"dotted\";\n\t\tnode [shape=\"folder\", fillcolor=1];\n\n /* declarations:start */\n\n\t\tsubgraph cluster_{{=mod.name}}_declarations {\n style=\"solid\";\n\t\t\tnode [style=\"filled\", shape=\"rect\"];\n\n\t {{~mod.declarations :declaration}}\n\t\t\t\tnode [fillcolor=2];\n\t \"{{=declaration.name}}\";\n\t {{~}}\n\n\t\t}\n\n {{~mod.declarations :declaration}}\n \"{{=declaration.name}}\" -> \"{{=mod.name}}\" [style=\"solid\", lhead=\"cluster_{{=mod.name}}\" ltail=\"cluster_{{=mod.name}}_declarations\"];\n\n subgraph \"cluster_{{=mod.name}}_{{=declaration.name}}_providers\" {\n style=\"solid\";\n {{~declaration.providers :prov}}\n node [fillcolor=6, shape=\"oval\", style=\"filled\"];\n \"{{=prov.name}}\" -> \"{{=declaration.name}}\" [lhead=\"cluster_{{=mod.name}}_declarations\" ltail=\"cluster_{{=mod.name}}_{{=declaration.name}}_providers\"];\n {{~}}\n }\n\n {{~}}\n\n /* declarations:end */\n\n /* imports:start */\n\n subgraph cluster_{{=mod.name}}_imports {\n style=\"solid\";\n node [style=\"filled\", fillcolor=1, shape=\"rect\"];\n\n ".concat(loopBlock('imports', 'shape="folder"'), "\n }\n\n ").concat(loopBlock('imports', 'lhead="cluster_{{=mod.name}}", ltail="cluster_{{=mod.name}}_imports"', '->'), "\n\n /* imports:end */\n\n /* exports:start */\n\n\t\tsubgraph cluster_{{=mod.name}}_exports {\n style=\"solid\";\n\t\t\tnode [style=\"filled\", fillcolor=4, shape=\"rect\"];\n\t\t\t{{~mod.exports :exp}}\n\t\t\t\t\"{{=exp.name}} \" [label=\"{{=exp.name}} \", shape=\"rect\"]\n\t\t\t{{~}}\n\t\t}\n\n {{~mod.exports :exp}}\n \"{{=mod.name}}\" -> \"{{=exp.name}} \" [style=\"dashed\", ltail=\"cluster_{{=mod.name}}\" lhead=\"cluster_{{=mod.name}}_exports\"];\n {{~}}\n\n /* exports:end */\n\n /* bootstrap:start */\n\n subgraph cluster_{{=mod.name}}_bootstrap {\n style=\"solid\";\n node [style=\"filled\", fillcolor=5, shape=\"rect\"];\n {{~mod.bootstrap :bts}}\n \"{{=bts.name}} \" [label=\"{{=bts.name}} \", shape=\"rect\"]\n {{~}}\n }\n\n {{~mod.bootstrap :bts}}\n \"{{=mod.name}}\" -> \"{{=bts.name}} \" [style=\"dotted\", lhead=\"cluster_{{=mod.name}}_bootstrap\" ltail=\"cluster_{{=mod.name}}\"];\n {{~}}\n\n /* bootstrap:end */\n\n /* providers:start */\n\n subgraph cluster_{{=mod.name}}_providers {\n style=\"solid\";\n node [style=\"filled\", fillcolor=6, shape=\"rect\"];\n\n ").concat(loopBlock('providers', 'shape="oval"'), "\n }\n\n ").concat(loopBlock('providers', 'lhead="cluster_{{=mod.name}}", ltail="cluster_{{=mod.name}}_providers"', '->'), "\n\n /* providers:end */\n }\n {{~}}\n\n /* ").concat(exports.LEGEND, " */\n}\n");
exports.DOT_TEMPLATE = "\ndigraph dependencies {\n node [shape=\"rect\", style=\"filled\", colorscheme=###scheme###];\n ranksep=0.4;\n compound=false;\n remincross=true;\n splines=true;\n splines=ortho;\n\n rankdir=LR;\n rankdir=TB;\n rankdir=BT;\n\n label=###legend###;\n\n ratio=compress;\n fontname=\"Times-12\";\n\n {{~it.modules :mod}}\n subgraph \"cluster_{{=mod.name}}\" {\n label=\"\";\n style=\"dotted\";\n\t\tnode [shape=\"folder\", fillcolor=1];\n\n /* declarations:start */\n\n\t\tsubgraph cluster_{{=mod.name}}_declarations {\n style=\"solid\";\n\t\t\tnode [style=\"filled\", shape=\"rect\"];\n\n\t {{~mod.declarations :declaration}}\n\t\t\t\tnode [fillcolor=2];\n\t \"{{=declaration.name}}\";\n\t {{~}}\n\n\t\t}\n\n {{~mod.declarations :declaration}}\n \"{{=declaration.name}}\" -> \"{{=mod.name}}\" [style=\"solid\", lhead=\"cluster_{{=mod.name}}\" ltail=\"cluster_{{=mod.name}}_declarations\"];\n\n subgraph \"cluster_{{=mod.name}}_{{=declaration.name}}_providers\" {\n style=\"solid\";\n {{~declaration.providers :prov}}\n node [fillcolor=6, shape=\"oval\", style=\"filled\"];\n \"{{=prov.name}}\" -> \"{{=declaration.name}}\" [lhead=\"cluster_{{=mod.name}}_declarations\" ltail=\"cluster_{{=mod.name}}_{{=declaration.name}}_providers\"];\n {{~}}\n }\n\n {{~}}\n\n /* declarations:end */\n\n /* imports:start */\n\n subgraph cluster_{{=mod.name}}_imports {\n style=\"solid\";\n node [style=\"filled\", fillcolor=1, shape=\"rect\"];\n\n ".concat(loopBlock('imports', 'shape="folder"'), "\n }\n\n ").concat(loopBlock('imports', 'lhead="cluster_{{=mod.name}}", ltail="cluster_{{=mod.name}}_imports"', '->'), "\n\n /* imports:end */\n\n /* exports:start */\n\n\t\tsubgraph cluster_{{=mod.name}}_exports {\n style=\"solid\";\n\t\t\tnode [style=\"filled\", fillcolor=4, shape=\"rect\"];\n\t\t\t{{~mod.exports :exp}}\n\t\t\t\t\"{{=exp.name}} \" [label=\"{{=exp.name}} \", shape=\"rect\"]\n\t\t\t{{~}}\n\t\t}\n\n {{~mod.exports :exp}}\n \"{{=mod.name}}\" -> \"{{=exp.name}} \" [style=\"dashed\", ltail=\"cluster_{{=mod.name}}\" lhead=\"cluster_{{=mod.name}}_exports\"];\n {{~}}\n\n /* exports:end */\n\n /* bootstrap:start */\n\n subgraph cluster_{{=mod.name}}_bootstrap {\n style=\"solid\";\n node [style=\"filled\", fillcolor=5, shape=\"rect\"];\n {{~mod.bootstrap :bts}}\n \"{{=bts.name}} \" [label=\"{{=bts.name}} \", shape=\"rect\"]\n {{~}}\n }\n\n {{~mod.bootstrap :bts}}\n \"{{=mod.name}}\" -> \"{{=bts.name}} \" [style=\"dotted\", lhead=\"cluster_{{=mod.name}}_bootstrap\" ltail=\"cluster_{{=mod.name}}\"];\n {{~}}\n\n /* bootstrap:end */\n\n /* providers:start */\n\n subgraph cluster_{{=mod.name}}_providers {\n style=\"solid\";\n node [style=\"filled\", fillcolor=6, shape=\"rect\"];\n\n ").concat(loopBlock('providers', 'shape="oval"'), "\n }\n\n ").concat(loopBlock('providers', 'lhead="cluster_{{=mod.name}}", ltail="cluster_{{=mod.name}}_providers"', '->'), "\n\n /* providers:end */\n }\n {{~}}\n\n /* ").concat(exports.LEGEND, " */\n}\n");
{
"name": "@compodoc/ngd-transformer",
"version": "2.1.1",
"version": "2.1.2",
"description": "A set of transformers for @compodoc/ngd",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -52,6 +52,6 @@ export const LEGEND = `<

const loopBlock = (symbols, attrs, edge = '') => {
let str = '';
let str = '';
if (edge === '->') {
str = `
if (edge === '->') {
str = `
{{~mod.${symbols} :_symbol}}

@@ -67,5 +67,4 @@

`;
}
else {
str = `
} else {
str = `
{{~mod.${symbols} :_symbol}}

@@ -80,6 +79,6 @@

{{~}}`;
}
}
return str;
}
return str;
};

@@ -102,3 +101,3 @@ export const DOT_TEMPLATE = `

ratio=compress;
fontname="sans-serif";
fontname="Times-12";

@@ -145,17 +144,6 @@ {{~it.modules :mod}}

${
loopBlock(
'imports',
'shape="folder"'
)
}
${loopBlock('imports', 'shape="folder"')}
}
${
loopBlock(
'imports',
'lhead="cluster_{{=mod.name}}", ltail="cluster_{{=mod.name}}_imports"',
'->'
)
}
${loopBlock('imports', 'lhead="cluster_{{=mod.name}}", ltail="cluster_{{=mod.name}}_imports"', '->')}

@@ -202,17 +190,6 @@ /* imports:end */

${
loopBlock(
'providers',
'shape="oval"'
)
}
${loopBlock('providers', 'shape="oval"')}
}
${
loopBlock(
'providers',
'lhead="cluster_{{=mod.name}}", ltail="cluster_{{=mod.name}}_providers"',
'->'
)
}
${loopBlock('providers', 'lhead="cluster_{{=mod.name}}", ltail="cluster_{{=mod.name}}_providers"', '->')}

@@ -219,0 +196,0 @@ /* providers:end */

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