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

decompress-tar

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decompress-tar - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

8

index.js

@@ -35,10 +35,12 @@ 'use strict';

if (file.type !== 'Directory') {
var chunk = '';
var chunk = [];
var len = 0;
file.on('data', function (data) {
chunk += data.toString();
chunk.push(data);
len += data.length;
});
file.on('end', function () {
chunk = new Buffer(chunk);
chunk = Buffer.concat(chunk, len);
files.push({ contents: chunk, path: stripDirs(file.path, opts.strip) });

@@ -45,0 +47,0 @@ });

{
"name": "decompress-tar",
"version": "1.0.2",
"version": "1.0.3",
"description": "decompress tar plugin",

@@ -5,0 +5,0 @@ "license": "MIT",

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