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.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches/debian-hacks/Relax-nodejs-minimum-version.patch b/debian/patches/debian-hacks/Relax-nodejs-minimum-version.patch
index 8839a39026..cd5517cee3 100644
--- a/debian/patches/debian-hacks/Relax-nodejs-minimum-version.patch
+++ b/debian/patches/debian-hacks/Relax-nodejs-minimum-version.patch
@@ -7,15 +7,15 @@ Subject: Relax nodejs minimum version
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/mozbuild/mozbuild/nodeutil.py b/python/mozbuild/mozbuild/nodeutil.py
-index 8ec724a..efc7b7f 100644
+index 42f2627..c0e766c 100644
--- a/python/mozbuild/mozbuild/nodeutil.py
+++ b/python/mozbuild/mozbuild/nodeutil.py
-@@ -11,7 +11,7 @@ from mozboot.util import get_tools_dir
- from mozfile import which
+@@ -11,7 +11,7 @@ from mozfile import which
+ from packaging.version import Version
from six import PY3
--NODE_MIN_VERSION = StrictVersion("12.22.12")
-+NODE_MIN_VERSION = StrictVersion("12.22")
- NPM_MIN_VERSION = StrictVersion("6.14.16")
+-NODE_MIN_VERSION = Version("12.22.12")
++NODE_MIN_VERSION = Version("12.22")
+ NPM_MIN_VERSION = Version("6.14.16")