-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revamp #83
Revamp #83
Conversation
Codecov Report
@@ Coverage Diff @@
## master #83 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 238 289 +51
Branches 40 44 +4
=========================================
+ Hits 238 289 +51
Continue to review full report at Codecov.
|
Change CI node version to something higher? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻 cool stuff!
since the default fallback is to cast unknown items into strings
Only remaning question now is: |
It was unflagged in 13.x release, then backported into 12.x. I would put something like 12.13 - the release when 12.x becomes LTS |
Would like to publish this to npm as 3.0.0-rc.0 and begin to roll it out for testing. But wondering first a bit about #51 so we don't do any more breaking changes...
ofc, you could iterate over a blob by slicing 'n reading I think this can be easily subclassed/upgraded in user-land by either upgrading our Would have been nice if the blob spec had Would like to hear someones else opinion also - don't want this to be one sided. Do someone else agree with me or do you think it's bad to have a none spec generator instead of a whatwg stream with symbol.asyncIterator? Some folks already depend on our |
I vehemently agree with you - until there is no official & stable WHATWG stream support in Node.js, it's best to do the isomorphic approach with
I read the discussion. If we want to make
👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job.
will release 3.0.0-rc.0 tomorrow if there are no objections, never good to do release durning the night |
v3.0.0
blob.stream()
return a subset of whatwg stream which is the async iterable(it no longer return a node stream - now it returns a AsyncGenerator)
Readable.from(blob.stream())
type
to lowercase (Implementations allow all values in type getter w3c/FileAPI#43)This is more loose than strict, keys should be lowercased, but values should not?
It would require a more proper mime type parser - so I just made it loose.
core node features and dose not bundle anything to commonjs
closes #51 #53 #67 #62