summaryrefslogtreecommitdiff
path: root/deps/npm
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-06-09 17:11:06 -0700
committerRich Trott <rtrott@gmail.com>2018-06-09 20:00:10 -0700
commit045472528cfd340f20e8ea6b973eaaaf9b2dc40d (patch)
tree190ee004afd8e87c5b13774cee439a4202465e3d /deps/npm
parentff16545f609bf7833cd5c6cf10dd3993d1a849f0 (diff)
downloadandroid-node-v8-045472528cfd340f20e8ea6b973eaaaf9b2dc40d.tar.gz
android-node-v8-045472528cfd340f20e8ea6b973eaaaf9b2dc40d.tar.bz2
android-node-v8-045472528cfd340f20e8ea6b973eaaaf9b2dc40d.zip
deps,npm: float node-gyp patch on npm
This small change makes addon test build successfully with LLVM 10.0.0 and above. This will be fixed in npm source when node-gyp is updated to 3.6.3 or above. PR-URL: https://github.com/nodejs/node/pull/21239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'deps/npm')
-rw-r--r--deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
index b06bdc4e8b..da29ebdf1a 100644
--- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
+++ b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
@@ -1262,7 +1262,7 @@ def XcodeVersion():
except:
version = CLTVersion()
if version:
- version = re.match(r'(\d\.\d\.?\d*)', version).groups()[0]
+ version = re.match(r'(\d+\.\d+\.?\d*)', version).groups()[0]
else:
raise GypError("No Xcode or CLT version detected!")
# The CLT has no build information, so we return an empty string.