summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@informatik.uni-hamburg.de>2020-02-18 19:00:01 +0100
committerGitHub <noreply@github.com>2020-02-18 12:00:01 -0600
commitc77b6923b8ced8212a734c6ded26579ddaabad9c (patch)
tree724638ac7a65a7d1baab74b568a9c7c52664b861
parent4bca09cc89af1e182f07f82c9bd5d663a8a47c9b (diff)
downloadspack-c77b6923b8ced8212a734c6ded26579ddaabad9c.tar.gz
spack-c77b6923b8ced8212a734c6ded26579ddaabad9c.tar.bz2
spack-c77b6923b8ced8212a734c6ded26579ddaabad9c.tar.xz
spack-c77b6923b8ced8212a734c6ded26579ddaabad9c.zip
npm: Add 6.13.7 (#15034)
-rw-r--r--var/spack/repos/builtin/packages/npm/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/npm/package.py b/var/spack/repos/builtin/packages/npm/package.py
index 91b4345484..43be2a2001 100644
--- a/var/spack/repos/builtin/packages/npm/package.py
+++ b/var/spack/repos/builtin/packages/npm/package.py
@@ -16,6 +16,7 @@ class Npm(Package):
# base http://www.npmjs.com/
url = "https://registry.npmjs.org/npm/-/npm-6.13.4.tgz"
+ version('6.13.7', sha256='6adf71c198d61a5790cf0e057f4ab72c6ef6c345d72bed8bb7212cb9db969494')
version('6.13.4', sha256='a063290bd5fa06a8753de14169b7b243750432f42d01213fbd699e6b85916de7')
version('3.10.9', sha256='fb0871b1aebf4b74717a72289fade356aedca83ee54e7386e38cb51874501dd6')
version('3.10.5', sha256='ff019769e186152098841c1fa6325e5a79f7903a45f13bd0046a4dc8e63f845f')
@@ -37,8 +38,8 @@ class Npm(Package):
def patch(self):
shutil.rmtree('node_modules/node-gyp')
install_tree('node-gyp/package', 'node_modules/node-gyp')
- filter_file('"node-gyp": "^5.0.5"', '"node-gyp": "^6.0.1"',
- 'package.json', string=True)
+ filter_file(r'"node-gyp": "\^5\..*"', '"node-gyp": "^6.0.1"',
+ 'package.json')
install_tree('env-paths/package', 'node_modules/env-paths')
def configure(self, spec, prefix):