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

understream

Package Overview
Dependencies
Maintainers
3
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

understream - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

7

lib-js/transforms/progress.js

@@ -16,8 +16,8 @@ // Generated by CoffeeScript 1.6.3

function Progress(options) {
function Progress(stream_opts, options) {
this.stream_opts = stream_opts;
this.options = options;
this._transform = __bind(this._transform, this);
Progress.__super__.constructor.call(this, this.stream_opts);
_(this.options).defaults({
maxWrites: 200,
objectMode: true,
every: 1000,

@@ -28,3 +28,2 @@ name: '.'

this.cnt = 0;
Progress.__super__.constructor.call(this, this.options);
}

@@ -31,0 +30,0 @@

@@ -16,6 +16,8 @@ // Generated by CoffeeScript 1.6.3

function Value(options) {
function Value(stream_opts, options) {
this.stream_opts = stream_opts;
this.options = options;
this._flush = __bind(this._flush, this);
this._transform = __bind(this._transform, this);
Value.__super__.constructor.call(this, this.stream_opts);
if (_(this.options).isFunction()) {

@@ -27,5 +29,2 @@ this.options = {

this.value = [];
Value.__super__.constructor.call(this, _(this.options).extend({
objectMode: true
}));
}

@@ -32,0 +31,0 @@

{
"name": "understream",
"version": "0.4.1",
"version": "0.4.2",
"description": "stream helpers",

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

Sorry, the diff of this file is not supported yet

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