forked from lucaspatenaude/ScoreSpot
Updated readMe to have all GitHubs
This commit is contained in:
12
ProjectSourceCode/node_modules/tar/lib/normalize-unicode.js
generated
vendored
12
ProjectSourceCode/node_modules/tar/lib/normalize-unicode.js
generated
vendored
@@ -1,12 +0,0 @@
|
||||
// warning: extremely hot code path.
|
||||
// This has been meticulously optimized for use
|
||||
// within npm install on large package trees.
|
||||
// Do not edit without careful benchmarking.
|
||||
const normalizeCache = Object.create(null)
|
||||
const { hasOwnProperty } = Object.prototype
|
||||
module.exports = s => {
|
||||
if (!hasOwnProperty.call(normalizeCache, s)) {
|
||||
normalizeCache[s] = s.normalize('NFD')
|
||||
}
|
||||
return normalizeCache[s]
|
||||
}
|
||||
Reference in New Issue
Block a user