You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With 3.5.0, this sample code no longer works. It looks like the examples haven't been updated if the options with compression key are now required for stream() like they look to be for writeFile():
The addition of WriteBaseProps to the stream() method was not implemented correctly and caused this issue. Apparently the node stream test was skipped or the feedback not checked as well, so apologies for the poor Q&A.
The issue has been fixed and the type defs file updated as well.
As v3.6.0 has major demo changes, I dont want to create a v3.5.1 release with the current codebase. However, we are moving to monthly releases starting this cycle, so a fix will be shipped soon. If you'd like to patch your current install, you can check the 2 changes above.
With 3.5.0, this sample code no longer works. It looks like the examples haven't been updated if the options with
compression
key are now required forstream()
like they look to be forwriteFile()
:In a Fiddle (open the console/inspector):
https://jsfiddle.net/hztm8p6k/1/
Solution is to provide
compression
option:Is this supposed to be required?
The text was updated successfully, but these errors were encountered: