/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
ext/node/polyfills/internal_binding/_node.ts
24 строки
463 B
Bartek Iwańczuk
perf(ext/node): convert 62 more polyfill files to lazy-loaded scripts (#33835)
05 май 2026, 09:49
Не верифицирован
05 май 2026, 09:49
88320d6
Код
Авторство
О чём код?
// Copyright 2018-2026 the Deno authors. MIT license. // This file contains C++ node globals accessed in internal binding calls /** * Adapted from * https://github.com/nodejs/node/blob/3b72788afb7365e10ae1e97c71d1f60ee29f09f2/src/node.h#L728-L738 */ (function () { enum Encodings { ASCII, // 0 UTF8, // 1 BASE64, // 2 UCS2, // 3 BINARY, // 4 HEX, // 5 BUFFER, // 6 BASE64URL, // 7 LATIN1 = 4, // 4 = BINARY } return { Encodings, }; })();