mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-05-28 10:40:38 +00:00
[ie/youtube] Drop support for node<22 (#16787)
Closes #16765 Authored by: bashonly
This commit is contained in:
2
.github/workflows/challenge-tests.yml
vendored
2
.github/workflows/challenge-tests.yml
vendored
@@ -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
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user