@@ -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 { |
@@ -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))); |
+1
-1
@@ -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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1247661
0.04%11848
0.07%