diff --git a/extra/nodejs/build b/extra/nodejs/build index 60a53d48..cc5df7da 100755 --- a/extra/nodejs/build +++ b/extra/nodejs/build @@ -1,9 +1,12 @@ #!/bin/sh -e -# Force a Python 3 build. -sed -i'' '/sys.exit(1)/d' configure +# Python 3 support (but not > 3.5). +sed -i -e 's/(3, 5)/(3, 8)/' configure -sh ./configure \ +# Fix broken npm. +sed -i -e "s/: '10/: '13/g" deps/npm/lib/utils/unsupported.js + +./configure \ --prefix=/usr make diff --git a/extra/nodejs/checksums b/extra/nodejs/checksums index 1d28cdd8..0642b206 100644 --- a/extra/nodejs/checksums +++ b/extra/nodejs/checksums @@ -1 +1 @@ -a82b1541cf670318a0102c32e06f296662b5ccccae764c1f32be4a3cf038bef6 node-v12.13.0.tar.xz +45ff3b40afc3fc93fd62e31c0f5dfa046f307f0b33d0f32e09019f306bc74767 node-v13.0.0.tar.xz diff --git a/extra/nodejs/sources b/extra/nodejs/sources index 10639bd8..3b3703ed 100644 --- a/extra/nodejs/sources +++ b/extra/nodejs/sources @@ -1 +1 @@ -https://nodejs.org/dist/v12.13.0/node-v12.13.0.tar.xz +https://nodejs.org/dist/v13.0.0/node-v13.0.0.tar.xz diff --git a/extra/nodejs/version b/extra/nodejs/version index 4ac02fd4..acbb1e0c 100644 --- a/extra/nodejs/version +++ b/extra/nodejs/version @@ -1 +1 @@ -12.13.0 1 +13.0.0 1