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.0.0 to 4.0.1

10

dist/index.d.ts
/// <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": {

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