p-transform
Advanced tools
Comparing version 4.0.2 to 4.0.3
/// <reference types="node" resolution-mode="require"/> | ||
import { Duplex } from 'node:stream'; | ||
import type { Duplex as NodeDuplex } from 'node:stream'; | ||
import { type Options, type QueueAddOptions } from 'p-queue'; | ||
@@ -16,3 +16,3 @@ export type TransformLike<T = any> = { | ||
push(chunk: ChunkType): void; | ||
duplex(): Duplex; | ||
duplex(): NodeDuplex; | ||
/** | ||
@@ -19,0 +19,0 @@ * Queue chunk to be emitted. |
@@ -1,3 +0,5 @@ | ||
import { Readable, Duplex } from 'node:stream'; | ||
import { Readable as _Readable, Duplex as _Duplex } from 'readable-stream'; | ||
import PQueue from 'p-queue'; | ||
const Readable = _Readable; | ||
const Duplex = _Duplex; | ||
// eslint-disable-next-line @typescript-eslint/promise-function-async | ||
@@ -4,0 +6,0 @@ const createPromise = () => { |
{ | ||
"name": "p-transform", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"bugs": "https://github.com/mshima/p-transform/issues", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
22268
169