Skip to content

Commit a201f4d

Browse files
committed
release 1.0.11
1 parent 8fd3b37 commit a201f4d

17 files changed

+24
-24
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ yarn add browser-image-compression
1818
```
1919
or use a CDN like [delivrjs]:
2020
```
21-
https://cdn.jsdelivr.net/npm/[email protected].10/dist/browser-image-compression.js
21+
https://cdn.jsdelivr.net/npm/[email protected].11/dist/browser-image-compression.js
2222
or
2323
https://cdn.jsdelivr.net/npm/browser-image-compression@latest/dist/browser-image-compression.js
2424
```

coverage/coverage-final.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

coverage/image-compression.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ <h1><a href="index.html">All files</a> image-compression.js</h1>
397397
<div class='footer quiet pad2 space-top1 center small'>
398398
Code coverage generated by
399399
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
400-
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
400+
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
401401
</div>
402402
</div>
403403
<script src="prettify.js"></script>

coverage/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ <h1>All files</h1>
125125
<div class='footer quiet pad2 space-top1 center small'>
126126
Code coverage generated by
127127
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
128-
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
128+
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
129129
</div>
130130
</div>
131131
<script src="prettify.js"></script>

coverage/index.js.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ <h1><a href="index.html">All files</a> index.js</h1>
333333
imageCompression.handleMaxWidthOrHeight = handleMaxWidthOrHeight
334334
imageCompression.followExifOrientation = followExifOrientation
335335
imageCompression.cleanupMemory = cleanupCanvasMemory
336-
imageCompression.version = '1.0.10'
336+
imageCompression.version = '1.0.11'
337337
&nbsp;
338338
export default imageCompression
339339
&nbsp;</pre></td></tr></table></pre>
@@ -343,7 +343,7 @@ <h1><a href="index.html">All files</a> index.js</h1>
343343
<div class='footer quiet pad2 space-top1 center small'>
344344
Code coverage generated by
345345
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
346-
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
346+
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
347347
</div>
348348
</div>
349349
<script src="prettify.js"></script>

coverage/lcov-report/image-compression.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ <h1><a href="index.html">All files</a> image-compression.js</h1>
397397
<div class='footer quiet pad2 space-top1 center small'>
398398
Code coverage generated by
399399
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
400-
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
400+
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
401401
</div>
402402
</div>
403403
<script src="prettify.js"></script>

coverage/lcov-report/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ <h1>All files</h1>
125125
<div class='footer quiet pad2 space-top1 center small'>
126126
Code coverage generated by
127127
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
128-
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
128+
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
129129
</div>
130130
</div>
131131
<script src="prettify.js"></script>

coverage/lcov-report/index.js.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ <h1><a href="index.html">All files</a> index.js</h1>
333333
imageCompression.handleMaxWidthOrHeight = handleMaxWidthOrHeight
334334
imageCompression.followExifOrientation = followExifOrientation
335335
imageCompression.cleanupMemory = cleanupCanvasMemory
336-
imageCompression.version = '1.0.10'
336+
imageCompression.version = '1.0.11'
337337
&nbsp;
338338
export default imageCompression
339339
&nbsp;</pre></td></tr></table></pre>
@@ -343,7 +343,7 @@ <h1><a href="index.html">All files</a> index.js</h1>
343343
<div class='footer quiet pad2 space-top1 center small'>
344344
Code coverage generated by
345345
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
346-
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
346+
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
347347
</div>
348348
</div>
349349
<script src="prettify.js"></script>

coverage/lcov-report/utils.js.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ <h1><a href="index.html">All files</a> utils.js</h1>
905905
const height = canvas.height
906906
const maxWidthOrHeight = options.maxWidthOrHeight
907907
&nbsp;
908-
const needToHandle = Number.isFinite(maxWidthOrHeight) &amp;&amp; (width &gt; maxWidthOrHeight || <span class="branch-2 cbranch-no" title="branch not covered" >height &gt; maxWidthOrHeight)</span>
908+
const needToHandle = isFinite(maxWidthOrHeight) &amp;&amp; (width &gt; maxWidthOrHeight || <span class="branch-2 cbranch-no" title="branch not covered" >height &gt; maxWidthOrHeight)</span>
909909
&nbsp;
910910
let newCanvas = canvas
911911
let ctx
@@ -1018,7 +1018,7 @@ <h1><a href="index.html">All files</a> utils.js</h1>
10181018
<div class='footer quiet pad2 space-top1 center small'>
10191019
Code coverage generated by
10201020
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
1021-
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
1021+
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
10221022
</div>
10231023
</div>
10241024
<script src="prettify.js"></script>

coverage/utils.js.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ <h1><a href="index.html">All files</a> utils.js</h1>
905905
const height = canvas.height
906906
const maxWidthOrHeight = options.maxWidthOrHeight
907907
&nbsp;
908-
const needToHandle = Number.isFinite(maxWidthOrHeight) &amp;&amp; (width &gt; maxWidthOrHeight || <span class="branch-2 cbranch-no" title="branch not covered" >height &gt; maxWidthOrHeight)</span>
908+
const needToHandle = isFinite(maxWidthOrHeight) &amp;&amp; (width &gt; maxWidthOrHeight || <span class="branch-2 cbranch-no" title="branch not covered" >height &gt; maxWidthOrHeight)</span>
909909
&nbsp;
910910
let newCanvas = canvas
911911
let ctx
@@ -1018,7 +1018,7 @@ <h1><a href="index.html">All files</a> utils.js</h1>
10181018
<div class='footer quiet pad2 space-top1 center small'>
10191019
Code coverage generated by
10201020
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
1021-
at Thu May 07 2020 18:21:50 GMT+0800 (香港標準時間)
1021+
at Fri May 08 2020 00:21:28 GMT+0800 (香港標準時間)
10221022
</div>
10231023
</div>
10241024
<script src="prettify.js"></script>

0 commit comments

Comments
 (0)