summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian-hacks/Relax-nodejs-minimum-version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debian-hacks/Relax-nodejs-minimum-version.patch')
-rw-r--r--debian/patches/debian-hacks/Relax-nodejs-minimum-version.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/debian-hacks/Relax-nodejs-minimum-version.patch b/debian/patches/debian-hacks/Relax-nodejs-minimum-version.patch
new file mode 100644
index 0000000000..cd5517cee3
--- /dev/null
+++ b/debian/patches/debian-hacks/Relax-nodejs-minimum-version.patch
@@ -0,0 +1,21 @@
+From: Mike Hommey <mh@glandium.org>
+Date: Wed, 21 Sep 2022 08:48:27 +0900
+Subject: Relax nodejs minimum version
+
+---
+ python/mozbuild/mozbuild/nodeutil.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/python/mozbuild/mozbuild/nodeutil.py b/python/mozbuild/mozbuild/nodeutil.py
+index 42f2627..c0e766c 100644
+--- a/python/mozbuild/mozbuild/nodeutil.py
++++ b/python/mozbuild/mozbuild/nodeutil.py
+@@ -11,7 +11,7 @@ from mozfile import which
+ from packaging.version import Version
+ from six import PY3
+
+-NODE_MIN_VERSION = Version("12.22.12")
++NODE_MIN_VERSION = Version("12.22")
+ NPM_MIN_VERSION = Version("6.14.16")
+
+