Skip to content

Commit

Permalink
v3.25.3 fix: unicode autoincrement (#206)
Browse files Browse the repository at this point in the history
Co-authored-by: chenyulun390 <[email protected]> 54bc335
  • Loading branch information
jaywcjlove committed Jun 10, 2023
1 parent e187fba commit 56be4e0
Show file tree
Hide file tree
Showing 32 changed files with 150 additions and 147 deletions.
12 changes: 7 additions & 5 deletions CONTRIBUTORS.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions badges.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions coverage-summary.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{"total": {"lines":{"total":304,"covered":265,"skipped":0,"pct":87.17},"statements":{"total":331,"covered":279,"skipped":0,"pct":84.29},"functions":{"total":68,"covered":61,"skipped":0,"pct":89.7},"branches":{"total":200,"covered":124,"skipped":0,"pct":62},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}}
{"total": {"lines":{"total":304,"covered":265,"skipped":0,"pct":87.17},"statements":{"total":331,"covered":280,"skipped":0,"pct":84.59},"functions":{"total":68,"covered":61,"skipped":0,"pct":89.7},"branches":{"total":201,"covered":124,"skipped":0,"pct":61.69},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}}
,"/home/runner/work/svgtofont/svgtofont/src/cli.ts": {"lines":{"total":11,"covered":0,"skipped":0,"pct":0},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":11,"covered":0,"skipped":0,"pct":0},"branches":{"total":6,"covered":0,"skipped":0,"pct":0}}
,"/home/runner/work/svgtofont/svgtofont/src/generate.ts": {"lines":{"total":36,"covered":35,"skipped":0,"pct":97.22},"functions":{"total":11,"covered":11,"skipped":0,"pct":100},"statements":{"total":41,"covered":40,"skipped":0,"pct":97.56},"branches":{"total":27,"covered":17,"skipped":0,"pct":62.96}}
,"/home/runner/work/svgtofont/svgtofont/src/index.ts": {"lines":{"total":112,"covered":102,"skipped":0,"pct":91.07},"functions":{"total":4,"covered":4,"skipped":0,"pct":100},"statements":{"total":122,"covered":108,"skipped":0,"pct":88.52},"branches":{"total":92,"covered":68,"skipped":0,"pct":73.91}}
,"/home/runner/work/svgtofont/svgtofont/src/log.ts": {"lines":{"total":13,"covered":10,"skipped":0,"pct":76.92},"functions":{"total":8,"covered":5,"skipped":0,"pct":62.5},"statements":{"total":17,"covered":11,"skipped":0,"pct":64.7},"branches":{"total":10,"covered":4,"skipped":0,"pct":40}}
,"/home/runner/work/svgtofont/svgtofont/src/utils.ts": {"lines":{"total":132,"covered":118,"skipped":0,"pct":89.39},"functions":{"total":43,"covered":41,"skipped":0,"pct":95.34},"statements":{"total":140,"covered":120,"skipped":0,"pct":85.71},"branches":{"total":65,"covered":35,"skipped":0,"pct":53.84}}
,"/home/runner/work/svgtofont/svgtofont/src/utils.ts": {"lines":{"total":132,"covered":118,"skipped":0,"pct":89.39},"functions":{"total":43,"covered":41,"skipped":0,"pct":95.34},"statements":{"total":140,"covered":121,"skipped":0,"pct":86.42},"branches":{"total":66,"covered":35,"skipped":0,"pct":53.03}}
}
10 changes: 5 additions & 5 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@
/* IE9*/
src: url("svgtofont.eot#iefix") format("embedded-opentype"),
/* IE6-IE8 */
url("svgtofont.woff2?1686272059876") format("woff2"),
url("svgtofont.woff?1686272059876") format("woff"),
url("svgtofont.woff2?1686368265762") format("woff2"),
url("svgtofont.woff?1686368265762") format("woff"),
/* chrome, firefox */
url("svgtofont.ttf?1686272059876") format("truetype"),
url("svgtofont.ttf?1686368265762") format("truetype"),
/* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url("svgtofont.svg#svgtofont?1686272059876") format("svg");
url("svgtofont.svg#svgtofont?1686368265762") format("svg");
/* iOS 4.1- */
}
.iconfont {
Expand Down Expand Up @@ -149,7 +149,7 @@ <h1>svgtofont<sup>3.25.3</sup></h1>
</div>
<div class="icons">
<ul>
<li class="unicode-icon"><span class="iconfont"></span><h4>adobe</h4><span class="unicode">&amp;#59905;</span></li><li class="unicode-icon"><span class="iconfont"></span><h4>demo</h4><span class="unicode">&amp;#59905;</span></li><li class="unicode-icon"><span class="iconfont"></span><h4>git</h4><span class="unicode">&amp;#59905;</span></li><li class="unicode-icon"><span class="iconfont"></span><h4>left</h4><span class="unicode">&amp;#59905;</span></li><li class="unicode-icon"><span class="iconfont"></span><h4>stylelint</h4><span class="unicode">&amp;#59905;</span></li>
<li class="unicode-icon"><span class="iconfont"></span><h4>adobe</h4><span class="unicode">&amp;#59905;</span></li><li class="unicode-icon"><span class="iconfont"></span><h4>demo</h4><span class="unicode">&amp;#59906;</span></li><li class="unicode-icon"><span class="iconfont"></span><h4>git</h4><span class="unicode">&amp;#59907;</span></li><li class="unicode-icon"><span class="iconfont"></span><h4>left</h4><span class="unicode">&amp;#59908;</span></li><li class="unicode-icon"><span class="iconfont"></span><h4>stylelint</h4><span class="unicode">&amp;#59909;</span></li>
</ul>
</div>
<p class="links">
Expand Down
20 changes: 10 additions & 10 deletions example/svgtofont.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@font-face {
font-family: "svgtofont";
src: url('svgtofont.eot?t=1686272059837'); /* IE9*/
src: url('svgtofont.eot?t=1686272059837#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("svgtofont.woff2?t=1686272059837") format("woff2"),
url("svgtofont.woff?t=1686272059837") format("woff"),
url('svgtofont.ttf?t=1686272059837') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('svgtofont.svg?t=1686272059837#svgtofont') format('svg'); /* iOS 4.1- */
src: url('svgtofont.eot?t=1686368265734'); /* IE9*/
src: url('svgtofont.eot?t=1686368265734#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("svgtofont.woff2?t=1686368265734") format("woff2"),
url("svgtofont.woff?t=1686368265734") format("woff"),
url('svgtofont.ttf?t=1686368265734') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('svgtofont.svg?t=1686368265734#svgtofont') format('svg'); /* iOS 4.1- */
}

[class^="svgtofont-"], [class*=" svgtofont-"] {
Expand All @@ -18,8 +18,8 @@


.svgtofont-adobe:before { content: "\ea01"; }
.svgtofont-demo:before { content: "\ea01"; }
.svgtofont-git:before { content: "\ea01"; }
.svgtofont-left:before { content: "\ea01"; }
.svgtofont-stylelint:before { content: "\ea01"; }
.svgtofont-demo:before { content: "\ea02"; }
.svgtofont-git:before { content: "\ea03"; }
.svgtofont-left:before { content: "\ea04"; }
.svgtofont-stylelint:before { content: "\ea05"; }

Binary file modified example/svgtofont.eot
Binary file not shown.
20 changes: 10 additions & 10 deletions example/svgtofont.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {font-family: "svgtofont";
src: url('svgtofont.eot?t=1686272059837'); /* IE9*/
src: url('svgtofont.eot?t=1686272059837#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("svgtofont.woff2?t=1686272059837") format("woff2"),
url("svgtofont.woff?t=1686272059837") format("woff"),
url('svgtofont.ttf?t=1686272059837') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('svgtofont.svg?t=1686272059837#svgtofont') format('svg'); /* iOS 4.1- */
src: url('svgtofont.eot?t=1686368265734'); /* IE9*/
src: url('svgtofont.eot?t=1686368265734#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("svgtofont.woff2?t=1686368265734") format("woff2"),
url("svgtofont.woff?t=1686368265734") format("woff"),
url('svgtofont.ttf?t=1686368265734') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('svgtofont.svg?t=1686368265734#svgtofont') format('svg'); /* iOS 4.1- */
}

[class^="svgtofont-"], [class*=" svgtofont-"] {
Expand All @@ -16,7 +16,7 @@
}

.svgtofont-adobe:before { content: "\ea01"; }
.svgtofont-demo:before { content: "\ea01"; }
.svgtofont-git:before { content: "\ea01"; }
.svgtofont-left:before { content: "\ea01"; }
.svgtofont-stylelint:before { content: "\ea01"; }
.svgtofont-demo:before { content: "\ea02"; }
.svgtofont-git:before { content: "\ea03"; }
.svgtofont-left:before { content: "\ea04"; }
.svgtofont-stylelint:before { content: "\ea05"; }
20 changes: 10 additions & 10 deletions example/svgtofont.module.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {font-family: "svgtofont";
src: url('svgtofont.eot?t=1686272059837'); /* IE9*/
src: url('svgtofont.eot?t=1686272059837#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("svgtofont.woff2?t=1686272059837") format("woff2"),
url("svgtofont.woff?t=1686272059837") format("woff"),
url('svgtofont.ttf?t=1686272059837') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('svgtofont.svg?t=1686272059837#svgtofont') format('svg'); /* iOS 4.1- */
src: url('svgtofont.eot?t=1686368265734'); /* IE9*/
src: url('svgtofont.eot?t=1686368265734#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("svgtofont.woff2?t=1686368265734") format("woff2"),
url("svgtofont.woff?t=1686368265734") format("woff"),
url('svgtofont.ttf?t=1686368265734') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('svgtofont.svg?t=1686368265734#svgtofont') format('svg'); /* iOS 4.1- */
}

[class^="svgtofont-"], [class*=" svgtofont-"] {
Expand All @@ -17,9 +17,9 @@

:global {
.svgtofont-adobe:before { content: "\ea01"; }
.svgtofont-demo:before { content: "\ea01"; }
.svgtofont-git:before { content: "\ea01"; }
.svgtofont-left:before { content: "\ea01"; }
.svgtofont-stylelint:before { content: "\ea01"; }
.svgtofont-demo:before { content: "\ea02"; }
.svgtofont-git:before { content: "\ea03"; }
.svgtofont-left:before { content: "\ea04"; }
.svgtofont-stylelint:before { content: "\ea05"; }

}
28 changes: 14 additions & 14 deletions example/svgtofont.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {font-family: "svgtofont";
src: url('svgtofont.eot?t=1686272059837'); /* IE9*/
src: url('svgtofont.eot?t=1686272059837#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("svgtofont.woff2?t=1686272059837") format("woff2"),
url("svgtofont.woff?t=1686272059837") format("woff"),
url('svgtofont.ttf?t=1686272059837') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('svgtofont.svg?t=1686272059837#svgtofont') format('svg'); /* iOS 4.1- */
src: url('svgtofont.eot?t=1686368265734'); /* IE9*/
src: url('svgtofont.eot?t=1686368265734#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("svgtofont.woff2?t=1686368265734") format("woff2"),
url("svgtofont.woff?t=1686368265734") format("woff"),
url('svgtofont.ttf?t=1686368265734') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('svgtofont.svg?t=1686368265734#svgtofont') format('svg'); /* iOS 4.1- */
}

[class^="svgtofont-"], [class*=" svgtofont-"] {
Expand All @@ -16,14 +16,14 @@
}

.svgtofont-adobe:before { content: "\ea01"; }
.svgtofont-demo:before { content: "\ea01"; }
.svgtofont-git:before { content: "\ea01"; }
.svgtofont-left:before { content: "\ea01"; }
.svgtofont-stylelint:before { content: "\ea01"; }
.svgtofont-demo:before { content: "\ea02"; }
.svgtofont-git:before { content: "\ea03"; }
.svgtofont-left:before { content: "\ea04"; }
.svgtofont-stylelint:before { content: "\ea05"; }

$svgtofont-adobe: "\ea01";
$svgtofont-demo: "\ea01";
$svgtofont-git: "\ea01";
$svgtofont-left: "\ea01";
$svgtofont-stylelint: "\ea01";
$svgtofont-demo: "\ea02";
$svgtofont-git: "\ea03";
$svgtofont-left: "\ea04";
$svgtofont-stylelint: "\ea05";

20 changes: 10 additions & 10 deletions example/svgtofont.styl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {font-family: "svgtofont";
src: url('svgtofont.eot?t=1686272059837'); /* IE9*/
src: url('svgtofont.eot?t=1686272059837#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("svgtofont.woff2?t=1686272059837") format("woff2"),
url("svgtofont.woff?t=1686272059837") format("woff"),
url('svgtofont.ttf?t=1686272059837') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('svgtofont.svg?t=1686272059837#svgtofont') format('svg'); /* iOS 4.1- */
src: url('svgtofont.eot?t=1686368265734'); /* IE9*/
src: url('svgtofont.eot?t=1686368265734#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("svgtofont.woff2?t=1686368265734") format("woff2"),
url("svgtofont.woff?t=1686368265734") format("woff"),
url('svgtofont.ttf?t=1686368265734') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('svgtofont.svg?t=1686368265734#svgtofont') format('svg'); /* iOS 4.1- */
}

[class^="svgtofont-"], [class*=" svgtofont-"] {
Expand All @@ -16,7 +16,7 @@
}

.svgtofont-adobe:before { content: "\ea01"; }
.svgtofont-demo:before { content: "\ea01"; }
.svgtofont-git:before { content: "\ea01"; }
.svgtofont-left:before { content: "\ea01"; }
.svgtofont-stylelint:before { content: "\ea01"; }
.svgtofont-demo:before { content: "\ea02"; }
.svgtofont-git:before { content: "\ea03"; }
.svgtofont-left:before { content: "\ea04"; }
.svgtofont-stylelint:before { content: "\ea05"; }
Loading

0 comments on commit 56be4e0

Please sign in to comment.