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

thr

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thr - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

blackhole.js

16

index.js
/**
* reduced overhead transform stream
*/
var Transform = require('stream').Transform
require('utildot').inherits(thr, Transform)
var Transform = require('stream').Transform;
module.exports = function (fn,flush) {
return new thr(fn, flush);
}
module.exports = function (fn,flush) { return new thr(fn, flush) }
function thr(fn,flush){
if(flush) this._flush = flush
this._transform = fn
Transform.call(this)
if(flush) this._flush = flush;
this._transform = fn;
Transform.call(this);
}
require('utildot').inherits(thr, Transform);
{
"name": "thr",
"version": "0.0.3",
"version": "0.0.4",
"description": "reduced overhead transform stream",

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

Sorry, the diff of this file is not supported yet

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