Socket
Socket
Sign inDemoInstall

ipfs-utils

Package Overview
Dependencies
Maintainers
4
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipfs-utils - npm Package Compare versions

Comparing version 9.0.12 to 9.0.13

2

package.json
{
"name": "ipfs-utils",
"version": "9.0.12",
"version": "9.0.13",
"description": "Package to aggregate shared logic and dependencies for the IPFS ecosystem",

@@ -5,0 +5,0 @@ "author": "Hugo Dias <hugomrdias@gmail.com>",

@@ -285,3 +285,19 @@ /* eslint-disable no-undef */

if (isWebReadableStream(source)) {
return browserReableStreamToIt(source)
const reader = source.getReader()
return (async function * () {
try {
while (true) {
// Read from the stream
const { done, value } = await reader.read()
// Exit if we're done
if (done) return
// Else yield the chunk
if (value) {
yield value
}
}
} finally {
reader.releaseLock()
}
})()
}

@@ -288,0 +304,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc