Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
The SVGO option `multipass` is disabled because of
svg/svgo#1617.
  • Loading branch information
remcohaszing committed Nov 16, 2021
1 parent b201ec4 commit 555c95d
Show file tree
Hide file tree
Showing 13 changed files with 934 additions and 742 deletions.
82 changes: 45 additions & 37 deletions __fixtures__/dark/output.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,41 @@
# An example of a flowchart

<svg xmlns:xlink="http://www.w3.org/1999/xlink" height="233" fill="#ccc" font-family="&quot;trebuchet ms&quot;,verdana,arial,sans-serif" font-size="16" style="max-width:124.640625px" viewBox="0 0 124.641 233">
<svg xmlns:xlink="http://www.w3.org/1999/xlink" height="233" fill="#ccc" font-family="&quot;trebuchet ms&quot;,verdana,arial,sans-serif" font-size="16px" style="max-width:124.640625px" viewBox="0 0 124.641 233">
<defs>
<path id="b" fill="#d3d3d3" stroke-dasharray="1,0" d="m0 0 10 5-10 5z"/>
</defs>
<path fill="none" stroke="#d3d3d3" stroke-width="2" marker-end="url(#a)" d="m47.473 44.015-4.157 4.664c-4.157 4.664-12.47 13.993-16.628 22.823-4.157 8.831-4.157 17.165-4.157 21.331V97"/>
<defs>
<marker id="a" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
<path fill="none" stroke="#d3d3d3" stroke-width="2" marker-end="url(#c)" d="m76.91 44.015 4.157 4.664c4.157 4.664 12.47 13.993 16.628 22.823 4.157 8.831 4.157 17.165 4.157 21.331V97"/>
<defs>
<marker id="c" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
<path fill="none" stroke="#d3d3d3" stroke-width="2" marker-end="url(#d)" d="M22.531 136v4.167c0 4.166 0 12.5 4.126 21.295 4.126 8.796 12.377 18.054 16.503 22.684l4.125 4.629"/>
<defs>
<marker id="d" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
<path fill="none" stroke="#d3d3d3" stroke-width="2" marker-end="url(#e)" d="M101.852 136v4.167c0 4.166 0 12.5-4.126 21.295-4.126 8.796-12.377 18.054-16.503 22.684l-4.125 4.629"/>
<defs>
<marker id="e" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
<g opacity="1">
<path fill="none" stroke="#d3d3d3" stroke-width="2px" marker-end="url(#a)" d="m47.473 44.015-4.157 4.664c-4.157 4.664-12.47 13.993-16.628 22.823-4.157 8.831-4.157 17.165-4.157 21.331V97"/>
<defs>
<marker id="a" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
</g>
<g opacity="1">
<path fill="none" stroke="#d3d3d3" stroke-width="2px" marker-end="url(#c)" d="m76.91 44.015 4.157 4.664c4.157 4.664 12.47 13.993 16.628 22.823 4.157 8.831 4.157 17.165 4.157 21.331V97"/>
<defs>
<marker id="c" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
</g>
<g opacity="1">
<path fill="none" stroke="#d3d3d3" stroke-width="2px" marker-end="url(#d)" d="M22.531 136v4.167c0 4.166 0 12.5 4.126 21.295 4.126 8.796 12.377 18.054 16.503 22.684l4.125 4.629"/>
<defs>
<marker id="d" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
</g>
<g opacity="1">
<path fill="none" stroke="#d3d3d3" stroke-width="2px" marker-end="url(#e)" d="M101.852 136v4.167c0 4.166 0 12.5-4.126 21.295-4.126 8.796-12.377 18.054-16.503 22.684l-4.125 4.629"/>
<defs>
<marker id="e" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
</g>
<foreignObject width="0" height="0" color="#ccc" style="background-color:#585858;text-align:center">
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
<span fill="#ccc" color="#ccc" style="background-color:#585858;text-align:center"/>
Expand All @@ -48,33 +56,33 @@
<span fill="#ccc" color="#ccc" style="background-color:#585858;text-align:center"/>
</div>
</foreignObject>
<g transform="translate(62.191 27.5)">
<rect width="29.438" height="39" x="-14.719" y="-19.5" fill="#1f2020" stroke="#81b1db" rx="0" ry="0"/>
<foreignObject width="9.438" height="19" color="#ccc" style="text-align:center" transform="translate(-4.719 -9.5)">
<g opacity="1" transform="translate(62.191 27.5)">
<rect width="29.438" height="39" x="-14.719" y="-19.5" fill="#1f2020" stroke="#81b1db" stroke-width="1px" rx="0" ry="0"/>
<foreignObject width="9.438" height="19" transform="translate(-4.719 -9.5)" color="#ccc" style="text-align:center">
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
A
</div>
</foreignObject>
</g>
<g transform="translate(22.531 116.5)">
<rect width="29.063" height="39" x="-14.531" y="-19.5" fill="#1f2020" stroke="#81b1db" rx="0" ry="0"/>
<foreignObject width="9.063" height="19" color="#ccc" style="text-align:center" transform="translate(-4.531 -9.5)">
<g opacity="1" transform="translate(22.531 116.5)">
<rect width="29.063" height="39" x="-14.531" y="-19.5" fill="#1f2020" stroke="#81b1db" stroke-width="1px" rx="0" ry="0"/>
<foreignObject width="9.063" height="19" transform="translate(-4.531 -9.5)" color="#ccc" style="text-align:center">
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
B
</div>
</foreignObject>
</g>
<g transform="translate(101.852 116.5)">
<rect width="29.578" height="39" x="-14.789" y="-19.5" fill="#1f2020" stroke="#81b1db" rx="0" ry="0"/>
<foreignObject width="9.578" height="19" color="#ccc" style="text-align:center" transform="translate(-4.79 -9.5)">
<g opacity="1" transform="translate(101.852 116.5)">
<rect width="29.578" height="39" x="-14.789" y="-19.5" fill="#1f2020" stroke="#81b1db" stroke-width="1px" rx="0" ry="0"/>
<foreignObject width="9.578" height="19" transform="translate(-4.79 -9.5)" color="#ccc" style="text-align:center">
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
C
</div>
</foreignObject>
</g>
<g transform="translate(62.191 205.5)">
<rect width="29.813" height="39" x="-14.906" y="-19.5" fill="#1f2020" stroke="#81b1db" rx="0" ry="0"/>
<foreignObject width="9.813" height="19" color="#ccc" style="text-align:center" transform="translate(-4.906 -9.5)">
<g opacity="1" transform="translate(62.191 205.5)">
<rect width="29.813" height="39" x="-14.906" y="-19.5" fill="#1f2020" stroke="#81b1db" stroke-width="1px" rx="0" ry="0"/>
<foreignObject width="9.813" height="19" transform="translate(-4.906 -9.5)" color="#ccc" style="text-align:center">
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
D
</div>
Expand Down
82 changes: 45 additions & 37 deletions __fixtures__/flowchart/output.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,41 @@
# An example of a flowchart

<svg xmlns:xlink="http://www.w3.org/1999/xlink" height="233" fill="#333" font-family="&quot;trebuchet ms&quot;,verdana,arial,sans-serif" font-size="16" style="max-width:124.640625px" viewBox="0 0 124.641 233">
<svg xmlns:xlink="http://www.w3.org/1999/xlink" height="233" fill="#333" font-family="&quot;trebuchet ms&quot;,verdana,arial,sans-serif" font-size="16px" style="max-width:124.640625px" viewBox="0 0 124.641 233">
<defs>
<path id="b" stroke-dasharray="1,0" d="m0 0 10 5-10 5z"/>
</defs>
<path fill="none" stroke="#333" stroke-width="2" marker-end="url(#a)" d="m47.473 44.015-4.157 4.664c-4.157 4.664-12.47 13.993-16.628 22.823-4.157 8.831-4.157 17.165-4.157 21.331V97"/>
<defs>
<marker id="a" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
<path fill="none" stroke="#333" stroke-width="2" marker-end="url(#c)" d="m76.91 44.015 4.157 4.664c4.157 4.664 12.47 13.993 16.628 22.823 4.157 8.831 4.157 17.165 4.157 21.331V97"/>
<defs>
<marker id="c" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
<path fill="none" stroke="#333" stroke-width="2" marker-end="url(#d)" d="M22.531 136v4.167c0 4.166 0 12.5 4.126 21.295 4.126 8.796 12.377 18.054 16.503 22.684l4.125 4.629"/>
<defs>
<marker id="d" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
<path fill="none" stroke="#333" stroke-width="2" marker-end="url(#e)" d="M101.852 136v4.167c0 4.166 0 12.5-4.126 21.295-4.126 8.796-12.377 18.054-16.503 22.684l-4.125 4.629"/>
<defs>
<marker id="e" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
<g opacity="1">
<path fill="none" stroke="#333" stroke-width="2px" marker-end="url(#a)" d="m47.473 44.015-4.157 4.664c-4.157 4.664-12.47 13.993-16.628 22.823-4.157 8.831-4.157 17.165-4.157 21.331V97"/>
<defs>
<marker id="a" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
</g>
<g opacity="1">
<path fill="none" stroke="#333" stroke-width="2px" marker-end="url(#c)" d="m76.91 44.015 4.157 4.664c4.157 4.664 12.47 13.993 16.628 22.823 4.157 8.831 4.157 17.165 4.157 21.331V97"/>
<defs>
<marker id="c" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
</g>
<g opacity="1">
<path fill="none" stroke="#333" stroke-width="2px" marker-end="url(#d)" d="M22.531 136v4.167c0 4.166 0 12.5 4.126 21.295 4.126 8.796 12.377 18.054 16.503 22.684l4.125 4.629"/>
<defs>
<marker id="d" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
</g>
<g opacity="1">
<path fill="none" stroke="#333" stroke-width="2px" marker-end="url(#e)" d="M101.852 136v4.167c0 4.166 0 12.5-4.126 21.295-4.126 8.796-12.377 18.054-16.503 22.684l-4.125 4.629"/>
<defs>
<marker id="e" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
<use xlink:href="#b" stroke-dasharray="1,0"/>
</marker>
</defs>
</g>
<foreignObject width="0" height="0" color="#333" style="background-color:#e8e8e8;text-align:center">
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
<span fill="#333" color="#333" style="background-color:#e8e8e8;text-align:center"/>
Expand All @@ -48,33 +56,33 @@
<span fill="#333" color="#333" style="background-color:#e8e8e8;text-align:center"/>
</div>
</foreignObject>
<g transform="translate(62.191 27.5)">
<rect width="29.438" height="39" x="-14.719" y="-19.5" fill="#ececff" stroke="#9370db" rx="0" ry="0"/>
<foreignObject width="9.438" height="19" color="#333" style="text-align:center" transform="translate(-4.719 -9.5)">
<g opacity="1" transform="translate(62.191 27.5)">
<rect width="29.438" height="39" x="-14.719" y="-19.5" fill="#ececff" stroke="#9370db" stroke-width="1px" rx="0" ry="0"/>
<foreignObject width="9.438" height="19" transform="translate(-4.719 -9.5)" color="#333" style="text-align:center">
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
A
</div>
</foreignObject>
</g>
<g transform="translate(22.531 116.5)">
<rect width="29.063" height="39" x="-14.531" y="-19.5" fill="#ececff" stroke="#9370db" rx="0" ry="0"/>
<foreignObject width="9.063" height="19" color="#333" style="text-align:center" transform="translate(-4.531 -9.5)">
<g opacity="1" transform="translate(22.531 116.5)">
<rect width="29.063" height="39" x="-14.531" y="-19.5" fill="#ececff" stroke="#9370db" stroke-width="1px" rx="0" ry="0"/>
<foreignObject width="9.063" height="19" transform="translate(-4.531 -9.5)" color="#333" style="text-align:center">
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
B
</div>
</foreignObject>
</g>
<g transform="translate(101.852 116.5)">
<rect width="29.578" height="39" x="-14.789" y="-19.5" fill="#ececff" stroke="#9370db" rx="0" ry="0"/>
<foreignObject width="9.578" height="19" color="#333" style="text-align:center" transform="translate(-4.79 -9.5)">
<g opacity="1" transform="translate(101.852 116.5)">
<rect width="29.578" height="39" x="-14.789" y="-19.5" fill="#ececff" stroke="#9370db" stroke-width="1px" rx="0" ry="0"/>
<foreignObject width="9.578" height="19" transform="translate(-4.79 -9.5)" color="#333" style="text-align:center">
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
C
</div>
</foreignObject>
</g>
<g transform="translate(62.191 205.5)">
<rect width="29.813" height="39" x="-14.906" y="-19.5" fill="#ececff" stroke="#9370db" rx="0" ry="0"/>
<foreignObject width="9.813" height="19" color="#333" style="text-align:center" transform="translate(-4.906 -9.5)">
<g opacity="1" transform="translate(62.191 205.5)">
<rect width="29.813" height="39" x="-14.906" y="-19.5" fill="#ececff" stroke="#9370db" stroke-width="1px" rx="0" ry="0"/>
<foreignObject width="9.813" height="19" transform="translate(-4.906 -9.5)" color="#333" style="text-align:center">
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
D
</div>
Expand Down
Loading

0 comments on commit 555c95d

Please sign in to comment.