Skip to content

Commit

Permalink
v4.5.1 fix: fix EditorView.update errors (#280). acffc46
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 27, 2022
1 parent f638802 commit b38e17f
Show file tree
Hide file tree
Showing 20 changed files with 253 additions and 151 deletions.
12 changes: 6 additions & 6 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/react-codemirror/static/css/main.1bf843b1.css",
"main.js": "/react-codemirror/static/js/main.6bcd08fe.js",
"main.js": "/react-codemirror/static/js/main.1fc4ebcf.js",
"static/js/2656.9334fc1c.chunk.js": "/react-codemirror/static/js/2656.9334fc1c.chunk.js",
"static/js/6747.e70e8c73.chunk.js": "/react-codemirror/static/js/6747.e70e8c73.chunk.js",
"static/js/7993.81946a17.chunk.js": "/react-codemirror/static/js/7993.81946a17.chunk.js",
Expand Down Expand Up @@ -84,11 +84,11 @@
"static/js/4371.3506d271.chunk.js": "/react-codemirror/static/js/4371.3506d271.chunk.js",
"static/js/5757.bb093491.chunk.js": "/react-codemirror/static/js/5757.bb093491.chunk.js",
"refractor-vendor.js": "/react-codemirror/static/js/refractor-vendor.e7e7aaa1.js",
"codemirror-vendor.js": "/react-codemirror/static/js/codemirror-vendor.2a167f97.js",
"codemirror-vendor.js": "/react-codemirror/static/js/codemirror-vendor.6058be17.js",
"react-vendor.js": "/react-codemirror/static/js/react-vendor.62a846b2.js",
"index.html": "/react-codemirror/index.html",
"main.1bf843b1.css.map": "/react-codemirror/static/css/main.1bf843b1.css.map",
"main.6bcd08fe.js.map": "/react-codemirror/static/js/main.6bcd08fe.js.map",
"main.1fc4ebcf.js.map": "/react-codemirror/static/js/main.1fc4ebcf.js.map",
"2656.9334fc1c.chunk.js.map": "/react-codemirror/static/js/2656.9334fc1c.chunk.js.map",
"6747.e70e8c73.chunk.js.map": "/react-codemirror/static/js/6747.e70e8c73.chunk.js.map",
"7993.81946a17.chunk.js.map": "/react-codemirror/static/js/7993.81946a17.chunk.js.map",
Expand Down Expand Up @@ -171,14 +171,14 @@
"4371.3506d271.chunk.js.map": "/react-codemirror/static/js/4371.3506d271.chunk.js.map",
"5757.bb093491.chunk.js.map": "/react-codemirror/static/js/5757.bb093491.chunk.js.map",
"refractor-vendor.e7e7aaa1.js.map": "/react-codemirror/static/js/refractor-vendor.e7e7aaa1.js.map",
"codemirror-vendor.2a167f97.js.map": "/react-codemirror/static/js/codemirror-vendor.2a167f97.js.map",
"codemirror-vendor.6058be17.js.map": "/react-codemirror/static/js/codemirror-vendor.6058be17.js.map",
"react-vendor.62a846b2.js.map": "/react-codemirror/static/js/react-vendor.62a846b2.js.map"
},
"entrypoints": [
"static/js/refractor-vendor.e7e7aaa1.js",
"static/js/codemirror-vendor.2a167f97.js",
"static/js/codemirror-vendor.6058be17.js",
"static/js/react-vendor.62a846b2.js",
"static/css/main.1bf843b1.css",
"static/js/main.6bcd08fe.js"
"static/js/main.1fc4ebcf.js"
]
}
14 changes: 7 additions & 7 deletions coverage/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/coverage-summary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{"total": {"lines":{"total":65,"covered":61,"skipped":0,"pct":93.84},"statements":{"total":66,"covered":62,"skipped":0,"pct":93.93},"functions":{"total":11,"covered":11,"skipped":0,"pct":100},"branches":{"total":62,"covered":51,"skipped":0,"pct":82.25},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}}
{"total": {"lines":{"total":76,"covered":72,"skipped":0,"pct":94.73},"statements":{"total":77,"covered":73,"skipped":0,"pct":94.8},"functions":{"total":14,"covered":14,"skipped":0,"pct":100},"branches":{"total":72,"covered":60,"skipped":0,"pct":83.33},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/home/runner/work/react-codemirror/react-codemirror/src/index.tsx": {"lines":{"total":12,"covered":11,"skipped":0,"pct":91.66},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":13,"covered":12,"skipped":0,"pct":92.3},"branches":{"total":9,"covered":7,"skipped":0,"pct":77.77}}
,"/home/runner/work/react-codemirror/react-codemirror/src/useCodeMirror.ts": {"lines":{"total":52,"covered":49,"skipped":0,"pct":94.23},"functions":{"total":8,"covered":8,"skipped":0,"pct":100},"statements":{"total":52,"covered":49,"skipped":0,"pct":94.23},"branches":{"total":53,"covered":44,"skipped":0,"pct":83.01}}
,"/home/runner/work/react-codemirror/react-codemirror/src/useCodeMirror.ts": {"lines":{"total":63,"covered":60,"skipped":0,"pct":95.23},"functions":{"total":11,"covered":11,"skipped":0,"pct":100},"statements":{"total":63,"covered":60,"skipped":0,"pct":95.23},"branches":{"total":63,"covered":53,"skipped":0,"pct":84.12}}
,"/home/runner/work/react-codemirror/react-codemirror/src/theme/light.ts": {"lines":{"total":1,"covered":1,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":1,"covered":1,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
}
34 changes: 17 additions & 17 deletions coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,30 @@ <h1>All files</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">93.93% </span>
<span class="strong">94.8% </span>
<span class="quiet">Statements</span>
<span class='fraction'>62/66</span>
<span class='fraction'>73/77</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">82.25% </span>
<span class="strong">83.33% </span>
<span class="quiet">Branches</span>
<span class='fraction'>51/62</span>
<span class='fraction'>60/72</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Functions</span>
<span class='fraction'>11/11</span>
<span class='fraction'>14/14</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">93.84% </span>
<span class="strong">94.73% </span>
<span class="quiet">Lines</span>
<span class='fraction'>61/65</span>
<span class='fraction'>72/76</span>
</div>


Expand Down Expand Up @@ -80,17 +80,17 @@ <h1>All files</h1>
</thead>
<tbody><tr>
<td class="file high" data-value="src"><a href="src/index.html">src</a></td>
<td data-value="93.84" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 93%"></div><div class="cover-empty" style="width: 7%"></div></div>
<td data-value="94.73" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 94%"></div><div class="cover-empty" style="width: 6%"></div></div>
</td>
<td data-value="93.84" class="pct high">93.84%</td>
<td data-value="65" class="abs high">61/65</td>
<td data-value="82.25" class="pct high">82.25%</td>
<td data-value="62" class="abs high">51/62</td>
<td data-value="94.73" class="pct high">94.73%</td>
<td data-value="76" class="abs high">72/76</td>
<td data-value="83.33" class="pct high">83.33%</td>
<td data-value="72" class="abs high">60/72</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="11" class="abs high">11/11</td>
<td data-value="93.75" class="pct high">93.75%</td>
<td data-value="64" class="abs high">60/64</td>
<td data-value="14" class="abs high">14/14</td>
<td data-value="94.66" class="pct high">94.66%</td>
<td data-value="75" class="abs high">71/75</td>
</tr>

<tr>
Expand All @@ -116,7 +116,7 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Sat Mar 19 2022 06:47:55 GMT+0000 (Coordinated Universal Time)
at Sun Mar 27 2022 19:04:24 GMT+0000 (Coordinated Universal Time)
</div>
<script src="prettify.js"></script>
<script>
Expand Down
34 changes: 17 additions & 17 deletions coverage/lcov-report/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,30 @@ <h1><a href="../index.html">All files</a> src</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">93.84% </span>
<span class="strong">94.73% </span>
<span class="quiet">Statements</span>
<span class='fraction'>61/65</span>
<span class='fraction'>72/76</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">82.25% </span>
<span class="strong">83.33% </span>
<span class="quiet">Branches</span>
<span class='fraction'>51/62</span>
<span class='fraction'>60/72</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Functions</span>
<span class='fraction'>11/11</span>
<span class='fraction'>14/14</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">93.75% </span>
<span class="strong">94.66% </span>
<span class="quiet">Lines</span>
<span class='fraction'>60/64</span>
<span class='fraction'>71/75</span>
</div>


Expand Down Expand Up @@ -95,17 +95,17 @@ <h1><a href="../index.html">All files</a> src</h1>

<tr>
<td class="file high" data-value="useCodeMirror.ts"><a href="useCodeMirror.ts.html">useCodeMirror.ts</a></td>
<td data-value="94.23" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 94%"></div><div class="cover-empty" style="width: 6%"></div></div>
<td data-value="95.23" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 95%"></div><div class="cover-empty" style="width: 5%"></div></div>
</td>
<td data-value="94.23" class="pct high">94.23%</td>
<td data-value="52" class="abs high">49/52</td>
<td data-value="83.01" class="pct high">83.01%</td>
<td data-value="53" class="abs high">44/53</td>
<td data-value="95.23" class="pct high">95.23%</td>
<td data-value="63" class="abs high">60/63</td>
<td data-value="84.12" class="pct high">84.12%</td>
<td data-value="63" class="abs high">53/63</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="8" class="abs high">8/8</td>
<td data-value="94.23" class="pct high">94.23%</td>
<td data-value="52" class="abs high">49/52</td>
<td data-value="11" class="abs high">11/11</td>
<td data-value="95.23" class="pct high">95.23%</td>
<td data-value="63" class="abs high">60/63</td>
</tr>

</tbody>
Expand All @@ -116,7 +116,7 @@ <h1><a href="../index.html">All files</a> src</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Sat Mar 19 2022 06:47:55 GMT+0000 (Coordinated Universal Time)
at Sun Mar 27 2022 19:04:24 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/index.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> index.t
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Sat Mar 19 2022 06:47:55 GMT+0000 (Coordinated Universal Time)
at Sun Mar 27 2022 19:04:24 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/theme/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../../index.html">All files</a> src/theme</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Sat Mar 19 2022 06:47:55 GMT+0000 (Coordinated Universal Time)
at Sun Mar 27 2022 19:04:24 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/theme/light.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/theme</a
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at Sat Mar 19 2022 06:47:55 GMT+0000 (Coordinated Universal Time)
at Sun Mar 27 2022 19:04:24 GMT+0000 (Coordinated Universal Time)
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit b38e17f

Please sign in to comment.