diff --git a/.github/workflows/challenge-tests.yml b/.github/workflows/challenge-tests.yml index c76b9fa84c..36f973f9b7 100644 --- a/.github/workflows/challenge-tests.yml +++ b/.github/workflows/challenge-tests.yml @@ -60,7 +60,7 @@ jobs: - name: Install Node uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: - node-version: '20.0' # minimum supported version + node-version: '22.0' # minimum supported version - name: Install QuickJS (Linux) if: matrix.os == 'ubuntu-latest' shell: bash diff --git a/yt_dlp/utils/_jsruntime.py b/yt_dlp/utils/_jsruntime.py index 0abd6f4280..a1a647e670 100644 --- a/yt_dlp/utils/_jsruntime.py +++ b/yt_dlp/utils/_jsruntime.py @@ -117,7 +117,7 @@ class BunJsRuntime(JsRuntime): class NodeJsRuntime(JsRuntime): - MIN_SUPPORTED_VERSION = (20, 0, 0) + MIN_SUPPORTED_VERSION = (22, 0, 0) def _info(self): path = _determine_runtime_path(self._path, 'node')