Jimmy Wärting
dc29588366
fix: misc updates ( #132 )
...
* misc updates
* bring back c8 for test coverage
* use new loader
* don't use engines
* simplify ci
* fix double slice problem
v3.1.4
2022-01-20 14:00:15 +01:00
Jimmy Wärting
8ab587d340
removed xo
3.1.3
2021-10-30 13:52:13 +02:00
Jimmy Wärting
f61ee01955
bumped minor patch
2021-10-30 13:50:21 +02:00
Jimmy Wärting
5dbcbb91b4
standard.js style
2021-10-30 13:50:21 +02:00
Jimmy Wärting
c5c2b52154
fix(warning): Supress warnings when importing experimental web stream from NodeJS ( #125 )
...
* Suppress warnings when importing web stream
* added node: prefix
* updated changelog
* apply `standard streams.cjs --fix`
2021-10-30 13:04:02 +02:00
Ben McCann
836709fc65
fix: prefix stream/web import with node: ( #122 )
2021-10-24 17:27:58 +02:00
Nick K
2c11647222
fix(blob, file, tests): Minor improvements for Blob and File implementations ( #120 )
...
* Use private class fields in parts initialization directly.
* Move encoder initialization outside the loop
* Improve errors reported by Blob constructor.
* Simulate WebIDL type casting for lastModified in File constructor.
* Add cancel method for Blob.stream() underlying source.
* Fix indentation inconsistency.
* Use getReader in blob stream cancellation test instead of Symbol.asyncIterator
2021-10-24 14:56:15 +02:00
Jimmy Wärting
9022f8fc70
Update index.js
2021-09-29 17:14:07 +02:00
Jimmy Wärting
0e07457246
Added v12 to test
2021-09-07 17:16:24 +02:00
Jimmy Wärting
46476faf49
Update CHANGELOG.md
2021-07-31 11:30:20 +02:00
Jimmy Wärting
b86b1409de
found/fixed some errors while testing agains WPT ( #109 )
...
* found/fixed some errors while testing agains WPT
* only run test.js with ava
2021-07-31 11:24:15 +02:00
Jimmy Wärting
a08f394f1b
Create PULL_REQUEST_TEMPLATE.md
2021-07-31 11:08:57 +02:00
Nick K
c2903ca530
Allow usage of iterable object in Blob constructor. ( #108 )
...
* Allow usage of iterable object in Blob constructor.
* Fix ESLint errors
2021-07-29 15:42:42 +02:00
Jimmy Wärting
0b028432d0
bumped patch
2021-07-16 11:59:39 +02:00
Jimmy Wärting
f64c20694f
added streams.cjs
2021-07-16 11:58:08 +02:00
Jimmy Wärting
613160ba58
bumped patch
2021-07-16 11:57:08 +02:00
Jimmy Wärting
efdad69698
bumped patch
2021-07-16 11:55:56 +02:00
Jimmy Wärting
e00f849f6d
improve typing ( #105 )
...
* improve typing
* bug fix
* don't test cjs
2021-07-16 11:51:34 +02:00
Jimmy Wärting
52f296c283
Conditional loading ( #104 )
...
use good old cjs to conditionally load stuff in node only
2021-07-16 00:33:00 +02:00
Jimmy Wärting
701103ffd2
Update CHANGELOG.md
2021-07-15 22:55:57 +02:00
Jimmy Wärting
ada23da6ee
Update package.json
2021-07-15 22:50:37 +02:00
Jimmy Wärting
16f312c543
use whatwg streams ( #103 )
...
* use whatwg streams
* could not use optional changing in v12
* could not use fs/promise in v12
2021-07-15 22:49:58 +02:00
Jimmy Wärting
5ba554efd2
Lowered targeted node version to those who support ESM
...
closes #98
2021-06-19 11:51:54 +02:00
Jimmy Wärting
4747497b52
fixed lastModified
3.0.0
2021-06-10 10:51:16 +02:00
Jimmy Wärting
09fd40448a
Update file.js
2021-06-10 10:33:00 +02:00
Jimmy Wärting
8d14e88040
Created a File Class ( #97 )
...
* Created a File Class
* Test the untested parts
* ignore any d.ts file
2021-05-29 11:17:26 +02:00
dependabot-preview[bot] and dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
8ef89adad4
Upgrade to GitHub-native Dependabot ( #89 )
...
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-05-14 11:01:14 +02:00
Jimmy Wärting
a3b0d62b9d
corrected the release name
3.0.0-rc.0
2021-05-07 11:45:20 +02:00
Jimmy Wärting
97a084b5e8
Revamp ( #83 )
...
* See CHANGELOG for v3.0.0
* removed get-stream
* enabled linter just for test.js & from.js
* Any blob part is acceptable (jsdoc)
since the default fallback is to cast unknown items into strings
* async stat version
* import from fs/promise instead
* Updated the Readme and code examples
* known differences, buffer.Blob support, private stream, more test
* require node 14
* use fetch v3
2021-05-07 11:42:01 +02:00
Jimmy Wärting
a8fed4e338
Return empty a empty stream for zero sized blob ( #86 )
...
Return empty a empty stream for zero sized blob
2.1.2
2021-04-29 14:01:01 +02:00
Nick K
483973cf25
Fix for the 'start' range of BlobDataItem when reading its stream ( #85 )
...
Set default value for 'start' option
2021-04-26 12:06:27 +02:00
Jimmy Wärting
cc929f3714
2.1.1 was already publish on npm 9 month ago
2021-04-20 17:52:55 +02:00
Jimmy Wärting
5584886f0f
no message
2021-04-20 17:46:23 +02:00
Jimmy Wärting
0d2cd8b9b7
Updated dependencies
...
Gosh i hate linters. Want to remove them...
2021-04-20 16:32:18 +02:00
Jimmy Wärting
149030ddbe
use extension
2021-04-20 16:15:04 +02:00
Nick K
f08e6a6773
Add generated typings for from.js file. ( #80 )
...
* Generate typings for from.js
* Add generated typings to files section and fix linter issue.
* Remove domexception installation from ci workflow
* Fix for .d.ts output
Co-authored-by: Jimmy Wärting <jimmy@warting.se >
2021-04-20 16:10:46 +02:00
Nick K
eed6a1dddd
Add nullish values checking in Symbol.hasInstance ( #82 )
...
* Add nullish values checking in Symbol.hasInstance
* Fix for a test description
* Add an extension.
* Disable unicorn/import-index rule.
* Fix a typo
2021-04-20 16:07:38 +02:00
Jimmy Wärting
3b12a39ea2
cast type to string
2021-02-13 15:50:02 +01:00
Jimmy Wärting
591a28ed94
Update from.js
2021-02-13 15:01:14 +01:00
Richie Bendall
40f4568c95
Revert 689bee122b
2021-01-29 02:46:12 +13:00
Richie Bendall
a74fb90d95
Update ci.yml
2021-01-28 13:57:22 +13:00
Richie Bendall
689bee122b
Use native Blob when possible
2021-01-28 13:55:33 +13:00
Richie Bendall
50b89fcdce
Make domexception an optional peer dependency
2021-01-18 22:23:51 +13:00
Jimmy Wärting
40c6ff45df
Update from.js
2021-01-04 01:00:19 +01:00
Jimmy Wärting
5b2bab5365
Update CHANGELOG.md
v2.1.1
v2.1.0
2020-07-28 17:48:58 +02:00
Jimmy Wärting
b75fb395b4
bumped minor version to 1.2.0
2020-07-28 17:44:52 +02:00
Jimmy Wärting
3217da9bc7
Create blob backed up by filesystem ( #55 )
...
* create a blob backed up by filesystem
* added code coverage test for filesystem blobs
* updated readme for using filesystem
* install peer dep
* added from to files array in package.json
2020-07-28 17:42:31 +02:00
Jimmy Wärting
ae6b565ae6
fix slice test
...
`added` bytes was calculated wrong
2020-07-24 01:56:18 +02:00
Irakli Gozalishvili
26ca0e39b4
create test illustrating a bug
2020-07-24 01:56:18 +02:00
Antoni Kepinski
99388a79bb
update changelog
2020-06-11 16:31:21 +02:00