peek-readable
Advanced tools
Comparing version 5.2.0 to 5.3.0
@@ -11,3 +11,2 @@ import type { ReadableStream as NodeReadableStream } from 'node:stream/web'; | ||
private reader; | ||
private abortController; | ||
constructor(stream: AnyWebByteStream); | ||
@@ -14,0 +13,0 @@ protected readFromStream(buffer: Uint8Array, offset: number, length: number): Promise<number>; |
@@ -11,3 +11,2 @@ import { EndOfStreamError } from './EndOfStreamError.js'; | ||
super(); | ||
this.abortController = new AbortController(); | ||
this.reader = stream.getReader({ mode: 'byob' }); | ||
@@ -14,0 +13,0 @@ } |
{ | ||
"name": "peek-readable", | ||
"version": "5.2.0", | ||
"version": "5.3.0", | ||
"description": "Read and peek from a readable stream", | ||
@@ -45,12 +45,12 @@ "author": { | ||
"devDependencies": { | ||
"@biomejs/biome": "1.8.3", | ||
"@types/chai": "^4.3.19", | ||
"@types/chai-as-promised": "^8.0.0", | ||
"@biomejs/biome": "1.9.3", | ||
"@types/chai": "^5.0.0", | ||
"@types/chai-as-promised": "^8.0.1", | ||
"@types/mocha": "^10.0.7", | ||
"@types/node": "^22.1.0", | ||
"@types/node": "^22.7.5", | ||
"c8": "^10.1.2", | ||
"chai": "^5.1.1", | ||
"chai-as-promised": "^8.0.0", | ||
"del-cli": "^5.1.0", | ||
"mocha": "^10.7.0", | ||
"del-cli": "^6.0.0", | ||
"mocha": "^10.7.3", | ||
"remark-cli": "^12.0.1", | ||
@@ -60,3 +60,3 @@ "remark-preset-lint-recommended": "^7.0.0", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.5.4" | ||
"typescript": "^5.6.3" | ||
}, | ||
@@ -63,0 +63,0 @@ "keywords": [ |
@@ -0,0 +0,0 @@ [![Node.js CI](https://github.com/Borewit/peek-readable/actions/workflows/nodejs-ci.yml/badge.svg?branch=master)](https://github.com/Borewit/peek-readable/actions/workflows/nodejs-ci.yml) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20305
310
2