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

dicer

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dicer - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

test/test-multipart-extra-trailer.js

7

lib/Dicer.js

@@ -70,2 +70,3 @@ var WritableStream = require('stream').Writable

self.emit('finish');
self._realFinish = false;
});

@@ -76,2 +77,3 @@ return;

self.emit('finish');
self._realFinish = false;
});

@@ -84,2 +86,6 @@ }

Dicer.prototype._write = function(data, encoding, cb) {
// ignore unexpected data (e.g. extra trailer data after finished)
if (!this._hparser || !this._bparser)
return cb();
if (this._headerFirst && this._isPreamble) {

@@ -210,2 +216,3 @@ if (!this._part) {

self.emit('finish');
self._realFinish = false;
}

@@ -212,0 +219,0 @@ });

2

package.json
{ "name": "dicer",
"version": "0.2.2",
"version": "0.2.3",
"author": "Brian White <mscdex@mscdex.net>",

@@ -4,0 +4,0 @@ "description": "A very fast streaming multipart parser for node.js",

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