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

unpack-stream

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unpack-stream - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

0

dist/index.d.ts

@@ -0,0 +0,0 @@ /// <reference types="node" />

4

dist/index.js
"use strict";
const crypto = require('crypto');
const gunzip = require('gunzip-maybe');
const decompress = require('decompress-maybe');
const tar = require('tar-fs');

@@ -46,3 +46,3 @@ function remote(stream, dest, opts) {

stream
.pipe(gunzip()).on('error', reject)
.pipe(decompress()).on('error', reject)
.pipe(tar.extract(dest, { strip: 1 })).on('error', reject)

@@ -49,0 +49,0 @@ .on('finish', resolve);

{
"name": "unpack-stream",
"version": "1.0.2",
"version": "1.1.0",
"description": "Unpack a tarball stream",

@@ -36,4 +36,4 @@ "main": "dist/index.js",

"dependencies": {
"@types/node": "^6.0.45",
"gunzip-maybe": "^1.3.1",
"@types/node": "^7.0.0",
"decompress-maybe": "^1.0.0",
"tar-fs": "^1.14.0"

@@ -40,0 +40,0 @@ },

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