p-transform
Advanced tools
Comparing version 4.0.0 to 4.0.1
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { type pipeline as pipelineType } from 'node:stream/promises'; | ||
import type { Duplex } from 'node:stream'; | ||
import type { pipeline as pipelineType } from 'node:stream/promises'; | ||
import { type TransformMethod } from './queue.js'; | ||
@@ -8,10 +8,10 @@ export * from './queue.js'; | ||
export { pipeline }; | ||
export declare const transform: <ChunkType = any>(transform: TransformMethod<ChunkType>) => import("stream").Duplex; | ||
export declare const transform: <ChunkType = any>(transform: TransformMethod<ChunkType>) => Duplex; | ||
/** | ||
* Shortcut to create a passthrough with spy. | ||
*/ | ||
export declare const passthrough: <ChunkType = any>(spy?: ((chunk: ChunkType) => Promise<void> | void) | undefined) => import("stream").Duplex; | ||
export declare const passthrough: <ChunkType = any>(spy?: ((chunk: ChunkType) => Promise<void> | void) | undefined) => Duplex; | ||
/** | ||
* Create a filter stream. | ||
*/ | ||
export declare const filter: <ChunkType = any>(filter: (chunk: ChunkType) => boolean | Promise<boolean>) => import("stream").Duplex; | ||
export declare const filter: <ChunkType = any>(filter: (chunk: ChunkType) => boolean | Promise<boolean>) => Duplex; |
{ | ||
"name": "p-transform", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"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
24850