Socket
Socket
Sign inDemoInstall

tar

Package Overview
Dependencies
18
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.10 to 0.1.11

11

lib/parse.js

@@ -39,2 +39,3 @@

me._stream = new BlockStream(512)
me.position = 0

@@ -129,2 +130,4 @@ me._stream.on("error", function (e) {

}
this.position += 512
}

@@ -142,2 +145,10 @@

if (null === header.size || !header.cksumValid) {
var e = new Error("invalid tar file")
e.header = header
e.tar_file_offset = this.position
e.tar_block = this.position / 512
this.emit("error", e)
}
switch (tar.types[header.type]) {

@@ -144,0 +155,0 @@ case "File":

2

package.json

@@ -5,3 +5,3 @@ {

"description": "tar for node",
"version": "0.1.10",
"version": "0.1.11",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

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