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.4 to 4.1.5

6

dist/queue.js

@@ -0,1 +1,2 @@

import { setTimeout } from 'node:timers/promises';
import { Readable as _Readable, Duplex as _Duplex } from 'readable-stream';

@@ -85,2 +86,7 @@ import PQueue from 'p-queue';

this.push(chunk);
// Wait next tick to continue.
// Improves responsiveness since it prioritize chunks to pass through the entire pipeline instead of buffering in a transform.
if (this.#queue.pending > 1) {
await setTimeout();
}
}

@@ -87,0 +93,0 @@ await this.flush();

2

package.json
{
"name": "p-transform",
"version": "4.1.4",
"version": "4.1.5",
"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