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
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
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
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
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
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
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
Irakli Gozalishvili
26ca0e39b4
create test illustrating a bug
2020-07-24 01:56:18 +02:00
Konstantin Vyatkin
126b4ec697
Switch to GitHub Actions ( #47 )
...
* remove travis
* add codecov partial line coverage
* switch coverage to c8
* add GitHub Actions
* update badge
* import TextDecoder from util
* lint
2020-06-11 10:01:22 +02:00
Jimmy Wärting
fd4f45e70f
Operate on blob parts (byte sequence) ( #44 )
...
* operate on blob parts
* jsdoc
* specify parts type
* Back to 100% (discovered a small bug)
2020-06-07 23:42:42 +02:00
Jimmy Wärting
870be1e2d5
Use a WeakMap for private properties ( #42 )
...
* options.buffer isn't a valid option
* truly private internal properties
* 100% test coverage
2020-06-06 00:09:32 -04:00
Richie Bendall
4a46def452
Maintenance update
...
Signed-off-by: Richie Bendall <richiebendall@gmail.com >
2020-04-14 21:52:25 +12:00
Richie Bendall
1f5258cd79
chore: Update dependencies
...
Signed-off-by: Richie Bendall <richiebendall@gmail.com >
2020-02-13 21:48:24 +13:00
David Frank
a8c43d37e4
readme and test update
2019-05-16 16:15:58 +08:00
David Frank
6134add4ee
test blob
2019-05-16 15:41:22 +08:00