Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

browser-stream-util

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-stream-util - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

14

package.json
{
"name": "browser-stream-util",
"version": "1.0.0",
"version": "1.1.0",
"publishConfig": {

@@ -33,11 +33,11 @@ "access": "public"

"devDependencies": {
"ava": "^5.1.0",
"browser-ava": "^1.3.5",
"c8": "^7.12.0",
"documentation": "^14.0.0",
"semantic-release": "^19.0.5"
"ava": "^5.2.0",
"browser-ava": "^1.3.27",
"c8": "^7.13.0",
"documentation": "^14.0.1",
"semantic-release": "^20.1.1"
},
"repository": {
"type": "git",
"url": "https://github.com/k0nsti/browser-stream-util.git"
"url": "https://github.com/k0nsti/browser-stream-util"
},

@@ -44,0 +44,0 @@ "bugs": {

@@ -28,2 +28,4 @@ [![npm](https://img.shields.io/npm/v/browser-stream-util.svg)](https://www.npmjs.com/package/browser-stream-util)

* [Parameters](#parameters-2)
* [streamToUint8Array](#streamtouint8array)
* [Parameters](#parameters-3)
* [emptyStream](#emptystream)

@@ -37,3 +39,3 @@

* `iterator` **(AsyncIterator<[UInt8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)> | Iterator<[UInt8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)>)**&#x20;
* `iterator` **(AsyncIterator<[Uint8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)> | Iterator<[Uint8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)>)**&#x20;

@@ -55,3 +57,3 @@ Returns **ReadableStream**&#x20;

Read stream content into a string
Read stream content into a string.

@@ -65,5 +67,15 @@ ### Parameters

## streamToUint8Array
Read stream content into a Uint8Array.
### Parameters
* `stream` **ReadableStream**&#x20;
Returns **[Uint8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)**&#x20;
## emptyStream
Delivers a stream with no data
Delivers a zero length stream with no data.

@@ -70,0 +82,0 @@ Returns **ReadableStream**&#x20;

Sorry, the diff of this file is not supported yet

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