/
yu-yu
/
restaurant-project
Обзор
Документация
Войти
/
yu-yu
/
restaurant-project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
node_modules/tar/lib/normalize-unicode.js
12 строк
412 B
yu-yu-3
практика
19 дек 2025, 16:45
19 дек 2025, 16:45
6bcfa15
Код
Авторство
О чём код?
// 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] }