Socket
Socket
Sign inDemoInstall

thr

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

9

index.js

@@ -7,5 +7,8 @@ /**

module.exports = thru
module.exports = function (fn,flush) { return new thr(fn, flush) }
function thru(fn){ return new thr(fn) }
function thr(fn){ this._transform = fn; Transform.call(this) }
function thr(fn,flush){
if(flush) this._flush = flush
this._transform = fn
Transform.call(this)
}
{
"name": "thr",
"version": "0.0.2",
"version": "0.0.3",
"description": "reduced overhead transform stream",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc