You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

is-archive

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-archive - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+1
-7
index.js

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

module.exports = function (filepath) {
var ext = path.extname(filepath).slice(1);
if (ext === '') {
return false;
}
return ext in exts;
return path.extname(filepath).slice(1).toLowerCase() in exts;
};
+1
-1
{
"name": "is-archive",
"version": "1.0.0",
"version": "1.0.1",
"description": "Check if a filepath is an archive file",

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