/
Ponpon1228
/
Project
Обзор
Документация
Войти
/
Ponpon1228
/
Project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
server/node_modules/pg/lib/crypto/utils.js
9 строк
341 B
xomimishka
Initial commit
24 ноя 2025, 15:54
24 ноя 2025, 15:54
d23c86f
Код
Авторство
О чём код?
'use strict' const useLegacyCrypto = parseInt(process.versions && process.versions.node && process.versions.node.split('.')[0]) < 15 if (useLegacyCrypto) { // We are on an old version of Node.js that requires legacy crypto utilities. module.exports = require('./utils-legacy') } else { module.exports = require('./utils-webcrypto') }