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.2.0 to 1.2.1

23

package.json
{
"name": "browser-stream-util",
"version": "1.2.0",
"version": "1.2.1",
"publishConfig": {

@@ -8,9 +8,9 @@ "access": "public",

},
"types": "./types/util.d.mts",
"exports": {
".": {
"types": "./types/util.d.mts",
"default": "./src/util.mjs"
"default": "./src/util.mjs",
"types": "./types/util.d.mts"
}
},
"types": "./types/util.d.mts",
"description": "utility functions for web streams",

@@ -29,3 +29,4 @@ "keywords": [

"scripts": {
"prepare": "tsc --allowJs --declaration --emitDeclarationOnly --declarationDir types -t esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs",
"prepare": "npm run prepare:typescript",
"prepare:typescript": "tsc --allowJs --declaration --emitDeclarationOnly --declarationDir types --resolveJsonModule -t esnext -m esnext --module nodenext --moduleResolution nodenext --rootDir src ./src**/*.mjs",
"test": "npm run test:browser-ava && npm run test:ava",

@@ -36,13 +37,13 @@ "test:browser-ava": "browser-ava --headless --no-keep-open tests/*-ava.mjs tests/*-ava-browser.mjs",

"docs": "documentation readme --section=API ./src/**/*.mjs",
"lint": "npm run lint:tsc && npm run lint:docs",
"lint": "npm run lint:docs && npm run lint:typescript",
"lint:docs": "documentation lint ./src/**/*.mjs",
"lint:tsc": "tsc --allowJs --checkJs --noEmit -t esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs"
"lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule -t esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs"
},
"devDependencies": {
"ava": "^6.1.1",
"browser-ava": "^2.2.0",
"ava": "^6.1.3",
"browser-ava": "^2.2.13",
"c8": "^9.1.0",
"documentation": "^14.0.3",
"semantic-release": "^23.0.2",
"typescript": "^5.3.3"
"semantic-release": "^23.1.1",
"typescript": "^5.4.5"
},

@@ -49,0 +50,0 @@ "repository": {

[![npm](https://img.shields.io/npm/v/browser-stream-util.svg)](https://www.npmjs.com/package/browser-stream-util)
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
[![Typed with TypeScript](https://flat.badgen.net/badge/icon/Typed?icon=typescript\&label\&labelColor=blue\&color=555555)](https://typescriptlang.org)
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
[![bundlejs](https://deno.bundlejs.com/?q=browser-stream-util\&badge=detailed)](https://bundlejs.com/?q=browser-stream-util)

@@ -39,3 +39,3 @@ [![downloads](http://img.shields.io/npm/dm/browser-stream-util.svg?style=flat-square)](https://npmjs.org/package/browser-stream-util)

Converts an iterator into a web stream.
Converts an iterator into a ReadableStream.

@@ -50,3 +50,3 @@ ### Parameters

Encodes a string into a web stream.
Encodes a string into a ReadableStream.

@@ -62,3 +62,3 @@ ### Parameters

Encodes a uint8 array into a web stream.
Encodes a uint8 array into a ReadableStream.

@@ -94,3 +94,3 @@ ### Parameters

Delivers a zero length web stream with no data.
Delivers a zero length ReadableStream with no data.

@@ -97,0 +97,0 @@ Returns **ReadableStream** 

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