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

p-transform

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

p-transform - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

12

dist/index.d.ts

@@ -7,10 +7,16 @@ /// <reference types="node" resolution-mode="require"/>

export { pipeline };
export declare const transform: <ChunkType = any>(transform: TransformMethod<ChunkType>, end?: () => void | Promise<void>) => DuplexWithDebug;
export declare const transform: <ChunkType = any>(transform: TransformMethod<ChunkType>, end?: ((this: {
push: (ChunkType: any) => void;
}) => void | Promise<void>) | undefined) => DuplexWithDebug;
/**
* Shortcut to create a passthrough with spy.
*/
export declare const passthrough: <ChunkType = any>(spy?: ((chunk: ChunkType) => Promise<void> | void) | undefined, end?: () => void | Promise<void>) => DuplexWithDebug;
export declare const passthrough: <ChunkType = any>(spy?: ((chunk: ChunkType) => Promise<void> | void) | undefined, end?: ((this: {
push: (ChunkType: any) => void;
}) => void | Promise<void>) | undefined) => DuplexWithDebug;
/**
* Create a filter stream.
*/
export declare const filter: <ChunkType = any>(filter: (chunk: ChunkType) => boolean | Promise<boolean>, end?: () => void) => DuplexWithDebug;
export declare const filter: <ChunkType = any>(filter: (chunk: ChunkType) => boolean | Promise<boolean>, end?: ((this: {
push: (ChunkType: any) => void;
}) => void) | undefined) => DuplexWithDebug;

@@ -19,3 +19,5 @@ /// <reference types="node" resolution-mode="require"/>

push(chunk: ChunkType): void;
duplex(end?: () => void | Promise<void>): DuplexWithDebug;
duplex(end?: (this: {
push: (ChunkType: any) => void;
}) => void | Promise<void>): DuplexWithDebug;
/**

@@ -22,0 +24,0 @@ * Queue chunk to be emitted.

{
"name": "p-transform",
"version": "4.1.0",
"version": "4.1.1",
"bugs": "https://github.com/mshima/p-transform/issues",

@@ -5,0 +5,0 @@ "repository": {

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