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

tar

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tar - npm Package Compare versions

Comparing version
7.5.3
to
7.5.4
+5
-1
dist/commonjs/normalize-unicode.js

@@ -14,3 +14,7 @@ "use strict";

if (!cache.has(s)) {
normalizeCache[s] = s.normalize('NFD');
// shake out identical accents and ligatures
normalizeCache[s] = s
.normalize('NFD')
.toLocaleLowerCase('en')
.toLocaleUpperCase('en');
}

@@ -17,0 +21,0 @@ else {

+1
-1

@@ -47,3 +47,3 @@ "use strict";

// don't need normPath, because we skip this entirely for windows
return (0, strip_trailing_slashes_js_1.stripTrailingSlashes)((0, node_path_1.join)((0, normalize_unicode_js_1.normalizeUnicode)(p))).toLowerCase();
return (0, strip_trailing_slashes_js_1.stripTrailingSlashes)((0, node_path_1.join)((0, normalize_unicode_js_1.normalizeUnicode)(p)));
});

@@ -50,0 +50,0 @@ const dirs = new Set(paths.map(path => getDirs(path)).reduce((a, b) => a.concat(b)));

@@ -11,3 +11,7 @@ // warning: extremely hot code path.

if (!cache.has(s)) {
normalizeCache[s] = s.normalize('NFD');
// shake out identical accents and ligatures
normalizeCache[s] = s
.normalize('NFD')
.toLocaleLowerCase('en')
.toLocaleUpperCase('en');
}

@@ -14,0 +18,0 @@ else {

@@ -44,3 +44,3 @@ // A path exclusive reservation system

// don't need normPath, because we skip this entirely for windows
return stripTrailingSlashes(join(normalizeUnicode(p))).toLowerCase();
return stripTrailingSlashes(join(normalizeUnicode(p)));
});

@@ -47,0 +47,0 @@ const dirs = new Set(paths.map(path => getDirs(path)).reduce((a, b) => a.concat(b)));

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

"description": "tar for node",
"version": "7.5.3",
"version": "7.5.4",
"repository": {

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet