mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-12 13:54:28 +00:00
[ie/youtube] Drop support for node<22 (#16787)
Closes #16765 Authored by: bashonly
This commit is contained in:
parent
e534a32619
commit
b536d72c86
2
.github/workflows/challenge-tests.yml
vendored
2
.github/workflows/challenge-tests.yml
vendored
@ -60,7 +60,7 @@ jobs:
|
|||||||
- name: Install Node
|
- name: Install Node
|
||||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||||
with:
|
with:
|
||||||
node-version: '20.0' # minimum supported version
|
node-version: '22.0' # minimum supported version
|
||||||
- name: Install QuickJS (Linux)
|
- name: Install QuickJS (Linux)
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@ -117,7 +117,7 @@ class BunJsRuntime(JsRuntime):
|
|||||||
|
|
||||||
|
|
||||||
class NodeJsRuntime(JsRuntime):
|
class NodeJsRuntime(JsRuntime):
|
||||||
MIN_SUPPORTED_VERSION = (20, 0, 0)
|
MIN_SUPPORTED_VERSION = (22, 0, 0)
|
||||||
|
|
||||||
def _info(self):
|
def _info(self):
|
||||||
path = _determine_runtime_path(self._path, 'node')
|
path = _determine_runtime_path(self._path, 'node')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user