/
sweetebin
/
hackaton_26
Обзор
Документация
Войти
/
sweetebin
/
hackaton_26
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
web-form-project/node_modules/concurrently/dist/src/assert.js
15 строк
551 B
AKorostelev
web form project added
28 июл 2026, 10:57
28 июл 2026, 10:57
4339e77
Код
Авторство
О чём код?
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assertDeprecated = assertDeprecated; const deprecations = new Set(); /** * Asserts that some condition is true, and if not, prints a warning about it being deprecated. * The message is printed only once. */ function assertDeprecated(check, name, message) { if (!check && !deprecations.has(name)) { // eslint-disable-next-line no-console console.warn(`[concurrently] ${name} is deprecated. ${message}`); deprecations.add(name); } }