Skip to content

Commit e366bb6

Browse files
authored
Merge branch 'master' into v3
2 parents 943808b + a8fed4e commit e366bb6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Changelog
1414
- index.js can now be imported by browser & deno since it no longer depends on any
1515
core node features (but why would you? other environment can benefit from it)
1616

17+
## v2.1.2
18+
- Fixed a bug where `start` in BlobDataItem was undefined (#85)
19+
1720
## v2.1.1
1821
- Add nullish values checking in Symbol.hasInstance (#82)
1922
- Add generated typings for from.js file (#80)

test.js

+6
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,12 @@ test('Reading empty blobs', async t => {
187187
t.is(actual, '');
188188
});
189189

190+
test('Reading empty blobs', async t => {
191+
const blob = blobFrom('./LICENSE').slice(0, 0);
192+
const actual = await blob.text();
193+
t.is(actual, '');
194+
});
195+
190196
test('Blob-ish class is an instance of Blob', t => {
191197
class File {
192198
stream() {}

0 commit comments

Comments
 (0)