Skip to content

A feature-rich command-line audio/video downloader

[ie/youtube] Drop support for `deno<2.3.0` (#16788)

bashonlye534a32619d1
diff --git a/.github/workflows/challenge-tests.yml b/.github/workflows/challenge-tests.yml
index 287a115bd1..c76b9fa84c 100644
--- a/.github/workflows/challenge-tests.yml
+++ b/.github/workflows/challenge-tests.yml
@@ -50,7 +50,7 @@ jobs:
- name: Install Deno
uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 # v2.0.4
with:
- deno-version: '2.0.0' # minimum supported version
+ deno-version: '2.3.0' # minimum supported version
- name: Install Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
diff --git a/yt_dlp/utils/_jsruntime.py b/yt_dlp/utils/_jsruntime.py
index 740248533b..0abd6f4280 100644
--- a/yt_dlp/utils/_jsruntime.py
+++ b/yt_dlp/utils/_jsruntime.py
@@ -87,7 +87,7 @@ class JsRuntime(abc.ABC):
class DenoJsRuntime(JsRuntime):
- MIN_SUPPORTED_VERSION = (2, 0, 0)
+ MIN_SUPPORTED_VERSION = (2, 3, 0)
def _info(self):
path = _determine_runtime_path(self._path, 'deno')