diff options
| author | miripiruni <[email protected]> | 2025-05-07 10:07:47 +0300 |
|---|---|---|
| committer | miripiruni <[email protected]> | 2025-05-07 10:47:17 +0300 |
| commit | d7e824932bc47bc9b5ef0f46b940623f87a6d257 (patch) | |
| tree | 8143aedb06b85842cc197f57c0a47f223337420c | |
| parent | e15f61102059c19f07797b4ea54c678f6e5298dc (diff) | |
toolchain: прекратить поддержку Node.js 18
Вливать можно и сейчас, но лучше после 30 апреля.
commit_hash:8e0fcba62c3a7d6ba5ea222dc7ace9a5bc1c2535
| -rw-r--r-- | build/plugins/nots.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/plugins/nots.py b/build/plugins/nots.py index a08c988d2b5..3fc54dde0f2 100644 --- a/build/plugins/nots.py +++ b/build/plugins/nots.py @@ -410,16 +410,16 @@ def on_set_append_with_directive(unit: NotsUnitType, var_name: str, directive: s def _check_nodejs_version(unit: NotsUnitType, major: int) -> None: - if major < 14: + if major < 16: raise Exception( "Node.js {} is unsupported. Update Node.js please. See https://nda.ya.ru/t/joB9Mivm6h4znu".format(major) ) - if major < 18: + if major < 20: unit.message( [ "WARN", - "Node.js {} is deprecated. Update Node.js please. See https://nda.ya.ru/t/joB9Mivm6h4znu".format(major), + "Node.js {} is deprecated. Update Node.js please. See https://nda.ya.ru/t/Yk0qYZe17DeVKP".format(major), ] ) |
