Socket
Socket
Sign inDemoInstall

is-tar

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-tar - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

index.js

@@ -11,3 +11,3 @@ 'use strict';

module.exports = function (buf) {
if (!buf || buf.length < 4) {
if (!buf || buf.length < 262) {
return false;

@@ -14,0 +14,0 @@ }

{
"name": "is-tar",
"version": "0.1.0",
"version": "0.1.1",
"description": "Check if a Buffer/Uint8Array is a TAR file",

@@ -33,4 +33,5 @@ "license": "MIT",

"browserify": "^3.44.2",
"mocha": "^1.18.2"
"mocha": "^1.18.2",
"read-chunk": "^0.1.0"
}
}
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