summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian-hacks/Allow-to-build-with-older-versions-of-nodejs-10.patch
blob: 77fce0c93fb78aabd0d6314fb3ee13f2a777ab2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Mike Hommey <mh@glandium.org>
Date: Wed, 8 Apr 2020 08:43:20 +0900
Subject: Allow to build with older versions of nodejs 10

---
 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 5856227..38ca679 100644
--- a/python/mozbuild/mozbuild/nodeutil.py
+++ b/python/mozbuild/mozbuild/nodeutil.py
@@ -13,7 +13,7 @@ from mozboot.util import get_state_dir
 from mozfile import which
 from six import PY3
 
-NODE_MIN_VERSION = StrictVersion("10.23.1")
+NODE_MIN_VERSION = StrictVersion("10.0")
 NPM_MIN_VERSION = StrictVersion("6.14.10")