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

tar-stream

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tar-stream - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

9

extract.js

@@ -42,6 +42,3 @@ var stream = require('stream');

self._locked = false;
if (err) {
self.emit('error', err);
return self.destroy();
}
if (err) return self.destroy(err);
if (!self._stream) oncontinue();

@@ -94,5 +91,7 @@ };

Extract.prototype.destroy = function() {
Extract.prototype.destroy = function(err) {
if (this._destroyed) return;
this._destroyed = true;
if (err) this.emit('error', err);
this.emit('close');

@@ -99,0 +98,0 @@ if (this._stream) this._stream.emit('close');

@@ -123,5 +123,7 @@ var stream = require('stream');

Pack.prototype.destroy = function() {
Pack.prototype.destroy = function(err) {
if (this._destroyed) return;
this._destroyed = true;
if (err) this.emit('error', err);
this.emit('close');

@@ -128,0 +130,0 @@ if (this._stream && this._stream.destroy) this._stream.destroy();

{
"name": "tar-stream",
"version": "0.2.0",
"version": "0.2.1",
"description": "tar-stream is a streaming tar parser and generator and nothing else. It is streams2 and operates purely using streams which means you can easily extract/parse tarballs without ever hitting the file system.",

@@ -5,0 +5,0 @@ "repository": "git://github.com:mafintosh/tar-stream.git",

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