Skip to content

Commit

Permalink
release 1.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaldcwl committed May 7, 2020
1 parent 8fd3b37 commit a201f4d
Show file tree
Hide file tree
Showing 17 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ yarn add browser-image-compression
```
or use a CDN like [delivrjs]:
```
https://cdn.jsdelivr.net/npm/browser-image-compression@1.0.10/dist/browser-image-compression.js
https://cdn.jsdelivr.net/npm/browser-image-compression@1.0.11/dist/browser-image-compression.js
or
https://cdn.jsdelivr.net/npm/browser-image-compression@latest/dist/browser-image-compression.js
```
Expand Down
4 changes: 2 additions & 2 deletions coverage/coverage-final.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion coverage/image-compression.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ <h1><a href="index.html">All files</a> image-compression.js</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,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">istanbul</a>
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions coverage/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ <h1><a href="index.html">All files</a> index.js</h1>
imageCompression.handleMaxWidthOrHeight = handleMaxWidthOrHeight
imageCompression.followExifOrientation = followExifOrientation
imageCompression.cleanupMemory = cleanupCanvasMemory
imageCompression.version = '1.0.10'
imageCompression.version = '1.0.11'
&nbsp;
export default imageCompression
&nbsp;</pre></td></tr></table></pre>
Expand All @@ -343,7 +343,7 @@ <h1><a href="index.html">All files</a> index.js</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/image-compression.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ <h1><a href="index.html">All files</a> image-compression.js</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,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">istanbul</a>
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions coverage/lcov-report/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ <h1><a href="index.html">All files</a> index.js</h1>
imageCompression.handleMaxWidthOrHeight = handleMaxWidthOrHeight
imageCompression.followExifOrientation = followExifOrientation
imageCompression.cleanupMemory = cleanupCanvasMemory
imageCompression.version = '1.0.10'
imageCompression.version = '1.0.11'
&nbsp;
export default imageCompression
&nbsp;</pre></td></tr></table></pre>
Expand All @@ -343,7 +343,7 @@ <h1><a href="index.html">All files</a> index.js</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions coverage/lcov-report/utils.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ <h1><a href="index.html">All files</a> utils.js</h1>
const height = canvas.height
const maxWidthOrHeight = options.maxWidthOrHeight
&nbsp;
const needToHandle = Number.isFinite(maxWidthOrHeight) &amp;&amp; (width &gt; maxWidthOrHeight || <span class="branch-2 cbranch-no" title="branch not covered" >height &gt; maxWidthOrHeight)</span>
const needToHandle = isFinite(maxWidthOrHeight) &amp;&amp; (width &gt; maxWidthOrHeight || <span class="branch-2 cbranch-no" title="branch not covered" >height &gt; maxWidthOrHeight)</span>
&nbsp;
let newCanvas = canvas
let ctx
Expand Down Expand Up @@ -1018,7 +1018,7 @@ <h1><a href="index.html">All files</a> utils.js</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions coverage/utils.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ <h1><a href="index.html">All files</a> utils.js</h1>
const height = canvas.height
const maxWidthOrHeight = options.maxWidthOrHeight
&nbsp;
const needToHandle = Number.isFinite(maxWidthOrHeight) &amp;&amp; (width &gt; maxWidthOrHeight || <span class="branch-2 cbranch-no" title="branch not covered" >height &gt; maxWidthOrHeight)</span>
const needToHandle = isFinite(maxWidthOrHeight) &amp;&amp; (width &gt; maxWidthOrHeight || <span class="branch-2 cbranch-no" title="branch not covered" >height &gt; maxWidthOrHeight)</span>
&nbsp;
let newCanvas = canvas
let ctx
Expand Down Expand Up @@ -1018,7 +1018,7 @@ <h1><a href="index.html">All files</a> utils.js</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
Loading

0 comments on commit a201f4d

Please sign in to comment.