Socket
Socket
Sign inDemoInstall

decompress-tar

Package Overview
Dependencies
33
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc