Hello community, here is the log from the commit of package nodejs10 for openSUSE:Leap:15.2 checked in at 2020-01-17 12:05:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/nodejs10 (Old) and /work/SRC/openSUSE:Leap:15.2/.nodejs10.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs10" Fri Jan 17 12:05:15 2020 rev:9 rq:764590 version:10.18.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/nodejs10/nodejs10.changes 2020-01-15 15:33:46.954874873 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.nodejs10.new.26092/nodejs10.changes 2020-01-17 12:05:16.740605458 +0100 @@ -1,0 +2,59 @@ +Fri Dec 27 14:57:23 UTC 2019 - Adam Majer <[email protected]> + +- node-gyp-addon-gypi.patch: Fix wrong path in gypi files (bsc#1159812) + +------------------------------------------------------------------- +Thu Dec 19 13:46:52 UTC 2019 - Adam Majer <[email protected]> + +- New upstream LTS version 10.18.0: + * deps: update npm to 6.13.4 fixing an arbitrary path overwrite + and access via "bin" field (bsc#1159352, CVE-2019-16777, + CVE-2019-16776, CVE-2019-16775) +- versioned.patch: refreshed + +------------------------------------------------------------------- +Tue Dec 3 13:36:20 UTC 2019 - Adam Majer <[email protected]> + +- Increase _constraints to allow all unit tests to execute + +------------------------------------------------------------------- +Tue Nov 5 08:38:31 UTC 2019 - Adam Majer <[email protected]> + +- skip_no_console.patch: skip tests on build platforms where console + is set to a dumb terminal + +------------------------------------------------------------------- +Thu Oct 24 13:37:11 UTC 2019 - Adam Majer <[email protected]> + +- New upstream LTS version 10.17.0: + * crypto: + + add support for chacha20-poly1305 for AEAD + + increase maxmem range from 32 to 53 bits + * deps: + + update npm to 6.11.3 + + upgrade openssl sources to 1.1.1d + * dns: remove dns.promises experimental warning + * fs: remove experimental warning for fs.promises + * http: makes response.writeHead return the response + * http2: makes response.writeHead return the response + * n-api: + + make func argument of napi_create_threadsafe_function optional + + mark version 5 N-APIs as stable + + implement date object + * process: add --unhandled-rejections flag + * stream: + + implement Readable.from async iterator utility + + make Symbol.asyncIterator support stable + +- CVE-2019-13173.patch: dropped, no longer in upstream npm +- fix_build_with_openssl_1.1.1d.patch: upstreamed +- node-gyp-addon-gypi.patch, versioned.patch: refreshed + +------------------------------------------------------------------- +Wed Sep 18 13:44:55 UTC 2019 - Vítězslav Čížek <[email protected]> + +- Fix build with OpenSSL 1.1.1d (bsc#1149792) + * https://github.com/nodejs/node/pull/29550 + * add fix_build_with_openssl_1.1.1d.patch + +------------------------------------------------------------------- Old: ---- CVE-2019-13173.patch node-v10.16.3.tar.xz New: ---- node-v10.18.0.tar.xz skip_no_console.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs10.spec ++++++ --- /var/tmp/diff_new_pack.l1iBWA/_old 2020-01-17 12:05:17.512605798 +0100 +++ /var/tmp/diff_new_pack.l1iBWA/_new 2020-01-17 12:05:17.516605799 +0100 @@ -26,7 +26,7 @@ ########################################################### Name: nodejs10 -Version: 10.16.3 +Version: 10.18.0 Release: 0 %define node_version_number 10 @@ -42,6 +42,7 @@ %endif %bcond_with valgrind_tests +%bcond_without nodejs_lto %if 0%{?suse_version} == 1110 %define _libexecdir %{_exec_prefix}/lib @@ -123,8 +124,6 @@ Patch7: manual_configure.patch Patch11: valgrind_fixes.patch -Patch31: CVE-2019-13173.patch - ## Patches specific to SUSE and openSUSE # PATCH-FIX-OPENSUSE -- set correct path for dtrace if it is built Patch101: nodejs-libpath.patch @@ -138,6 +137,7 @@ # instead of /usr Patch104: npm_search_paths.patch Patch105: skip_test_on_lowmem.patch +Patch106: skip_no_console.patch Patch120: flaky_test_rerun.patch @@ -148,6 +148,8 @@ BuildRequires: binutils-gold %endif +BuildRequires: pkg-config + # Node.js 4/6/7 requires GCC 4.8.5+. # # For Node.js 8.x, upstream requires GCC 4.9.4+, as GCC 4.8 may have @@ -181,15 +183,19 @@ %endif BuildRequires: fdupes -BuildRequires: pkg-config BuildRequires: procps BuildRequires: xz BuildRequires: zlib-devel + +%if %node_version_number > 12 +BuildRequires: python3 +%else %if 0%{?suse_version} >= 1500 BuildRequires: python2 %else BuildRequires: python %endif +%endif # python3 %if 0%{?suse_version} >= 1500 && %{node_version_number} >= 10 BuildRequires: group(nobody) @@ -278,13 +284,14 @@ Provides: nodejs-npm = %{version} Obsoletes: nodejs-npm < 4.0.0 Provides: npm = %{version} -Provides: npm(npm) = 6.9.0 +Provides: npm(npm) = 6.13.4 %if 0%{?suse_version} >= 1500 %if %{node_version_number} >= 10 Requires: group(nobody) Requires: user(nobody) %endif Recommends: python2 +Recommends: python3 %else Recommends: python %endif @@ -323,7 +330,6 @@ %if 0%{with valgrind_tests} %patch11 -p1 %endif -%patch31 -p1 %patch101 -p1 %patch102 -p1 # Add check_output to configure script (not part of Python 2.6 in SLE11). @@ -332,11 +338,15 @@ %endif %patch104 -p1 %patch105 -p1 +%patch106 -p1 %patch120 -p1 %patch200 -p1 +# remove backup files, if any +find -name \*~ -print0 -delete + # abnormalities from patching -find -name configure.js.orig -delete +find \( -name \*.js.orig -or -name \*.md.orig \) -delete %build # normalize shebang @@ -362,10 +372,6 @@ find deps/zlib -name *.[ch] -delete -# Annoying, over-repetitive patch updated just because lines in -# documentation changes every version. -find -name *.md.orig -delete - # percent-configure pulls in something that confuses node's configure # script, so we'll do it thus: export CFLAGS="%{optflags}" @@ -381,7 +387,7 @@ ./configure \ --prefix=%{_prefix} \ -%if %{node_version_number} >= 12 +%if 0%{?with nodejs_lto} && %{node_version_number} >= 12 --enable-lto \ %endif %if ! 0%{with intree_openssl} ++++++ SHASUMS256.txt ++++++ --- /var/tmp/diff_new_pack.l1iBWA/_old 2020-01-17 12:05:17.540605810 +0100 +++ /var/tmp/diff_new_pack.l1iBWA/_new 2020-01-17 12:05:17.540605810 +0100 @@ -1,36 +1,36 @@ -1e246436e177d69354b5e3ea47579a03b68d7b61a2565972c18c3a4cb5d8ee33 node-v10.16.3-aix-ppc64.tar.gz -6febc571e1543c2845fa919c6d06b36a24e4e142c91aedbe28b6ff7d296119e4 node-v10.16.3-darwin-x64.tar.gz -1d5ce05abf39ef482c2c3eaf16c1f4edb01314308066871d3dfc99e95701b19b node-v10.16.3-darwin-x64.tar.xz -0901d1f1bfe0f5d922f9d79c5822a3624c11eb0f2de9fd552425bc98c7b95e54 node-v10.16.3-headers.tar.gz -6ceb3249ac26a098c943de8104c19d7ea5a540b02db8652b80ab54deed1e5848 node-v10.16.3-headers.tar.xz -3bab16e7107092e43426e082ee9fd88ef0a43a35816f662f14563bcc5152600d node-v10.16.3-linux-arm64.tar.gz -8ee77bad022bd460bf2867a97bf56ce7ddc4aa2ace067e45995fb1721a958428 node-v10.16.3-linux-arm64.tar.xz -c4ce8f8627c4d0d71647987924e5369cd1adeef2865bf1bdbb4387b75fba804b node-v10.16.3-linux-armv6l.tar.gz -17b6ea87cde13c330a72c44be8a30ebebf83c7c71d1a1b92e1d629f273fa0743 node-v10.16.3-linux-armv6l.tar.xz -f267710728ca56ca3b522076fff808540ea27d6aa5fd586bc0ad39c389530c3b node-v10.16.3-linux-armv7l.tar.gz -4a6f27308cd0cea136be6f5f7c194b0faabea016efe844fb1452c846d2eca7b1 node-v10.16.3-linux-armv7l.tar.xz -3e0f41b3cb991f062e1c93a297675af34d1a2f29052306cd585f1f5e25ea9159 node-v10.16.3-linux-ppc64le.tar.gz -b51731b49f6816f5e3e670c399611eb9386f558cc2d597301fb73e585640a642 node-v10.16.3-linux-ppc64le.tar.xz -ae87fa499fd5fd9d86d4f788cb4e54bd3eb4fdb735b20235537e9d38ae5da73b node-v10.16.3-linux-s390x.tar.gz -90cc57506c98cd5561f5dda9e103fa70083242fff2b1a39a5351fc15ff63db46 node-v10.16.3-linux-s390x.tar.xz -2f0397bb81c1d0c9901b9aff82a933257bf60f3992227b86107111a75b9030d9 node-v10.16.3-linux-x64.tar.gz -d2271fd8cf997fa7447d638dfa92749ff18ca4b0d796bf89f2a82bf7800d5506 node-v10.16.3-linux-x64.tar.xz -1c820559780c7a5b90ceebd819afce58f3c14805191141fbd59feb8485c2fc73 node-v10.16.3.pkg -d8f2418b748c4c9b1d8c1dc008b42384ca87c4c4c134df3a3009e6b7546f8b23 node-v10.16.3-sunos-x64.tar.gz -2952da9d127c3f72fe5b3e466fbfe8a45ab3ef63263d881da7e9b586559f3693 node-v10.16.3-sunos-x64.tar.xz -db5a5e03a815b84a1266a4b48bb6a6d887175705f84fd2472f0d28e5e305a1f8 node-v10.16.3.tar.gz -7bf1123d7415964775b8f81fe6ec6dd5c3c08abb42bb71dfe4409dbeeba26bbd node-v10.16.3.tar.xz -c2cc3b95d6e8504b20623cfe74f848d1ebc2f43a262e7bae14bee64db2b13889 node-v10.16.3-win-x64.7z -19aa47de7c5950d7bd71a1e878013b98d93871cc311d7185f5472e6d3f633146 node-v10.16.3-win-x64.zip -fc1ccb1e6f12fe68e816c552e6b1df289a8bfe064c025eb62c360bd041da4a5f node-v10.16.3-win-x86.7z -02a30a17c25c354747ac76fd130ff5495dde2f60f0a21ad675526951c2d7a52a node-v10.16.3-win-x86.zip -f68b75eea46232adb8fd38126c977dc244166d29e7c6cd2df930b460c38590a9 node-v10.16.3-x64.msi -b3cf18ad447d177cf858dbe45751100846cad96ba7497cd7c1850a616758e67f node-v10.16.3-x86.msi -cb8f5c1981e11a3d438b6867df5fb8e4f77cd29ddc0856d99b62060ef991c649 win-x64/node.exe -9f10cd25d27fc31f8fe8f5fcc5e9f27a8ba5bb79dc0791dc0df102f063c0066e win-x64/node.lib -654d350ee101cbb4a0246e5226169f99af763a4d4c14546370ec6dfb09cf5a47 win-x64/node_pdb.7z -426f326d88b5a184cc74ba50f5106eca933cb3386f872ffeb5844f3916296c09 win-x64/node_pdb.zip -78b71fd2fb792c5f24848a05119d50d02407675a54a72caf0e40b039a43fefdd win-x86/node.exe -459095d9bd9dc4e2d12c4284e6fc5bdc78eec8181c8327c57876499b002a59fd win-x86/node.lib -1d0bb57a74e836835a1f9b8c1e0bf2493d4bd095c81a8e12d05cbfbf8c363534 win-x86/node_pdb.7z -e2b5ea28cbe965e074e61035b559efda9312044ac5d0346243c041bbb62cea73 win-x86/node_pdb.zip +1e8604a930d732eef94362c8e5b204cb7272bbd14171582043ee8436caeb7fd4 node-v10.18.0-aix-ppc64.tar.gz +a7af53e3363e8ab654b97387bc7cf352dddb324562404c1d35fe10cba3f27e0f node-v10.18.0-darwin-x64.tar.gz +5bb643fce1024aa6fc2031e6812f82548f0ba9107d5483ef1f7d863300ff9525 node-v10.18.0-darwin-x64.tar.xz +ac81511946bb3f7d41ef0ca010f234a221393242d87c77543e58f59ce9b355e0 node-v10.18.0-headers.tar.gz +af790b0f5281550fef68453ad89d918a51060798f248617dc7a637f9291b857d node-v10.18.0-headers.tar.xz +3f9d6c5e7f5781518fb46e9f86081c03e97fb052ff397345be1acc658997174a node-v10.18.0-linux-arm64.tar.gz +b2b34dd43ea3979890663afa270e09e09c219f046e39e8e439eeda2821cc9643 node-v10.18.0-linux-arm64.tar.xz +42433a115710e7b3b62a7b8fe0a9918742e5c50c9100dc38909bcd7b33eb4f58 node-v10.18.0-linux-armv6l.tar.gz +7acfdae8ed545c0b24f6d9de5053faf02dff5c7375f6132a4f629b3527657bc2 node-v10.18.0-linux-armv6l.tar.xz +4af4cde33af3d756e10a1aaa74054d75116840617911baa48ee0c9c44af0933c node-v10.18.0-linux-armv7l.tar.gz +668f94a5c71d95bd6a3bb6c232de604896de146d896fa9e8fae988e53cd8c1fe node-v10.18.0-linux-armv7l.tar.xz +b688c204140e2feac15d445262c8e9aff2234c8caddcfa0cf31c744f61f8c106 node-v10.18.0-linux-ppc64le.tar.gz +6e65a87c00efce2824c694caa5e0da44751a4fff8a7c226534cbee4445c84720 node-v10.18.0-linux-ppc64le.tar.xz +d2a80abd7cca59dac6bf0cd856f885571646e6b1ea0157e5f057ac852657d72b node-v10.18.0-linux-s390x.tar.gz +4a66ff1212c64645971497c76df6a359bdb041095284a5b46044d663a9a31e68 node-v10.18.0-linux-s390x.tar.xz +78a46d1e1f6db68c0732981fc9a1fe8583eabb4e232f1ed742f7dedc5bed3ddd node-v10.18.0-linux-x64.tar.gz +eac160acfc2c5b6fca021baa9943341fea50859f19c7ccbd56669b1fe04e691e node-v10.18.0-linux-x64.tar.xz +dc7841a447d4aca4754941532667f30e920123d35f74d1b5aec2be5a15794e94 node-v10.18.0.pkg +3ef868fa55234d1b1cff520cfa83207e5343c88fbf44ac2499a173dae74aa0af node-v10.18.0-sunos-x64.tar.gz +e8a956bf121057890aca07287ed8dcfa618fc235628367bcae0c214ba12a4550 node-v10.18.0-sunos-x64.tar.xz +f9c8785c5d5ba0e5412dada04a89ab3fe32531423c47232217aad79757a769e7 node-v10.18.0.tar.gz +0b2662ab849713dea708d3f74fe5e63fe2d0e869d1dc06b9e9f178ed1c66fede node-v10.18.0.tar.xz +e87d68365264c4136d618fe4f36c44a2655f2e2c173c0fd9162fc967d6daa9c8 node-v10.18.0-win-x64.7z +56afcc9c191dfc99017725be92ac1331e23afb1930913446eb91852cb02a8687 node-v10.18.0-win-x64.zip +4025560aeea1366e5b867e3a68a191bab27362a0f04435f2e4816e9270096fac node-v10.18.0-win-x86.7z +fdbb1ffb5bbf2b355b82f9df7e34e4e9f617ec5bc8120b6ba3b319025cc492af node-v10.18.0-win-x86.zip +22c58636bef8c7f6f6dd37dba969c60357bbf8f2962bc05a64c2c1c99dbbf0bd node-v10.18.0-x64.msi +b5d0b674c313b9f2175a3270770bcddd8cc708fbccb8c650f964338909e1ccba node-v10.18.0-x86.msi +d323958727d8f64a5f8642e1c5bc5e85fc4e1075295f3ff580c65bd2481b3251 win-x64/node.exe +18da4bd0b611038dac2fb4b6f18e7b35fa2e30857017fc36e5053e7daa8304d5 win-x64/node.lib +ff54905654abd6f71a1d5f53ceb810bc745a6ea116fff78d2ec51ae380f8978b win-x64/node_pdb.7z +845e243819c0bb590705d294fe9049393e99c3106f2a74840e7bc200c29f5f18 win-x64/node_pdb.zip +b148d60470a36dbc61ff8a1fa6c5add9987331b5e8663339786ccdc8281394bf win-x86/node.exe +fea7d0c5a94fc834a78b44b7da206f0e60ef11dd20d84dc0d49d57ee77e20e16 win-x86/node.lib +3fe0e2974f2e189d5accde8e8dcbdbe6ff4ec0d56f070871a2fdf07dcc30c10c win-x86/node_pdb.7z +6005a4eec09fbaef9e77620e2e4b1dd41eccad9278ba97ab33aa7f622c6bb626 win-x86/node_pdb.zip ++++++ SHASUMS256.txt.sig ++++++ Binary files /var/tmp/diff_new_pack.l1iBWA/_old and /var/tmp/diff_new_pack.l1iBWA/_new differ ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.l1iBWA/_old 2020-01-17 12:05:17.564605820 +0100 +++ /var/tmp/diff_new_pack.l1iBWA/_new 2020-01-17 12:05:17.564605820 +0100 @@ -5,7 +5,7 @@ <size unit="G">5</size> </disk> <memory> - <size unit="M">4500</size> + <size unit="M">6500</size> </memory> </hardware> </constraints> ++++++ fix_ci_tests.patch ++++++ --- /var/tmp/diff_new_pack.l1iBWA/_old 2020-01-17 12:05:17.596605835 +0100 +++ /var/tmp/diff_new_pack.l1iBWA/_new 2020-01-17 12:05:17.596605835 +0100 @@ -2,10 +2,10 @@ Date: Dec 20 09:18:49 UTC 2017 Summary: Fix CI unit tests framework for OBS building -Index: node-v10.16.0/test/parallel/test-module-loading-globalpaths.js +Index: node-v10.17.0/test/parallel/test-module-loading-globalpaths.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-module-loading-globalpaths.js -+++ node-v10.16.0/test/parallel/test-module-loading-globalpaths.js +--- node-v10.17.0.orig/test/parallel/test-module-loading-globalpaths.js ++++ node-v10.17.0/test/parallel/test-module-loading-globalpaths.js @@ -11,6 +11,9 @@ const { addLibraryPath } = require('../c addLibraryPath(process.env); @@ -16,10 +16,10 @@ if (process.argv[2] === 'child') { console.log(require(pkgName).string); } else { -Index: node-v10.16.0/Makefile +Index: node-v10.17.0/Makefile =================================================================== ---- node-v10.16.0.orig/Makefile -+++ node-v10.16.0/Makefile +--- node-v10.17.0.orig/Makefile ++++ node-v10.17.0/Makefile @@ -455,7 +455,7 @@ test-ci-js: | clear-stalled .PHONY: test-ci # Related CI jobs: most CI tests, excluding node-test-commit-arm-fanned @@ -39,10 +39,10 @@ echo "Skipping tools/doc/node_modules (no crypto)"; \ else \ cd tools/doc && $(call available-node,$(run-npm-ci)) \ -Index: node-v10.16.0/test/parallel/test-tls-env-bad-extra-ca.js +Index: node-v10.17.0/test/parallel/test-tls-env-bad-extra-ca.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-tls-env-bad-extra-ca.js -+++ node-v10.16.0/test/parallel/test-tls-env-bad-extra-ca.js +--- node-v10.17.0.orig/test/parallel/test-tls-env-bad-extra-ca.js ++++ node-v10.17.0/test/parallel/test-tls-env-bad-extra-ca.js @@ -36,7 +36,7 @@ fork(__filename, opts) // TODO(addaleax): Make `SafeGetenv` work like `process.env` // encoding-wise @@ -52,10 +52,10 @@ assert(re.test(stderr), stderr); } })) -Index: node-v10.16.0/test/parallel/test-tls-passphrase.js +Index: node-v10.17.0/test/parallel/test-tls-passphrase.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-tls-passphrase.js -+++ node-v10.16.0/test/parallel/test-tls-passphrase.js +--- node-v10.17.0.orig/test/parallel/test-tls-passphrase.js ++++ node-v10.17.0/test/parallel/test-tls-passphrase.js @@ -221,7 +221,7 @@ server.listen(0, common.mustCall(functio }, common.mustCall()); })).unref(); @@ -65,23 +65,23 @@ // Missing passphrase assert.throws(function() { -Index: node-v10.16.0/test/parallel/test-crypto-scrypt.js +Index: node-v10.17.0/test/parallel/test-crypto-scrypt.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-crypto-scrypt.js -+++ node-v10.16.0/test/parallel/test-crypto-scrypt.js +--- node-v10.17.0.orig/test/parallel/test-crypto-scrypt.js ++++ node-v10.17.0/test/parallel/test-crypto-scrypt.js @@ -167,7 +167,7 @@ for (const options of bad) { for (const options of toobig) { const expected = { - message: /error:[^:]+:digital envelope routines:EVP_PBE_scrypt:memory limit exceeded/, -+ message: /(error:[^:]+:digital envelope routines:EVP_PBE_scrypt:memory limit exceeded|Invalid scrypt parameter)/, ++ message: /(error:[^:]+:digital envelope routines:(EVP_PBE_scrypt|scrypt_alg):memory limit exceeded|Invalid scrypt parameter)/, type: Error, }; common.expectsError(() => crypto.scrypt('pass', 'salt', 1, options, () => {}), -Index: node-v10.16.0/test/parallel/test-repl-envvars.js +Index: node-v10.17.0/test/parallel/test-repl-envvars.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-repl-envvars.js -+++ node-v10.16.0/test/parallel/test-repl-envvars.js +--- node-v10.17.0.orig/test/parallel/test-repl-envvars.js ++++ node-v10.17.0/test/parallel/test-repl-envvars.js @@ -2,12 +2,14 @@ // Flags: --expose-internals @@ -98,10 +98,10 @@ const tests = [ { env: {}, -Index: node-v10.16.0/test/parallel/test-fs-utimes.js +Index: node-v10.17.0/test/parallel/test-fs-utimes.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-fs-utimes.js -+++ node-v10.16.0/test/parallel/test-fs-utimes.js +--- node-v10.17.0.orig/test/parallel/test-fs-utimes.js ++++ node-v10.17.0/test/parallel/test-fs-utimes.js @@ -144,8 +144,8 @@ function runTests(iter) { const path = `${tmpdir.path}/test-utimes-precision`; fs.writeFileSync(path, ''); @@ -113,10 +113,10 @@ const Y2K38_mtime = 2 ** 31; fs.utimesSync(path, Y2K38_mtime, Y2K38_mtime); const Y2K38_stats = fs.statSync(path); -Index: node-v10.16.0/test/common/index.js +Index: node-v10.17.0/test/common/index.js =================================================================== ---- node-v10.16.0.orig/test/common/index.js -+++ node-v10.16.0/test/common/index.js +--- node-v10.17.0.orig/test/common/index.js ++++ node-v10.17.0/test/common/index.js @@ -226,6 +226,8 @@ const pwdCommand = isWindows ? @@ -126,10 +126,10 @@ if (process.features.debug) ms = 2 * ms; -Index: node-v10.16.0/test/common/index.mjs +Index: node-v10.17.0/test/common/index.mjs =================================================================== ---- node-v10.16.0.orig/test/common/index.mjs -+++ node-v10.16.0/test/common/index.mjs +--- node-v10.17.0.orig/test/common/index.mjs ++++ node-v10.17.0/test/common/index.mjs @@ -42,6 +42,7 @@ const { expectsError, skipIfInspectorDisabled, @@ -146,10 +146,10 @@ getArrayBufferViews, getBufferSources, disableCrashOnUnhandledRejection, -Index: node-v10.16.0/test/parallel/test-crypto-keygen.js +Index: node-v10.17.0/test/parallel/test-crypto-keygen.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-crypto-keygen.js -+++ node-v10.16.0/test/parallel/test-crypto-keygen.js +--- node-v10.17.0.orig/test/parallel/test-crypto-keygen.js ++++ node-v10.17.0/test/parallel/test-crypto-keygen.js @@ -171,7 +171,7 @@ function convertDERToPEM(label, der) { // Since the private key is encrypted, signing shouldn't work anymore. assert.throws(() => { @@ -186,10 +186,10 @@ testSignVerify(publicKey, { key: privateKey, -Index: node-v10.16.0/test/parallel/test-dns.js +Index: node-v10.17.0/test/parallel/test-dns.js =================================================================== ---- node-v10.16.0.orig/test/parallel/test-dns.js -+++ node-v10.16.0/test/parallel/test-dns.js +--- node-v10.17.0.orig/test/parallel/test-dns.js ++++ node-v10.17.0/test/parallel/test-dns.js @@ -315,12 +315,3 @@ common.expectsError(() => { type: TypeError }); ++++++ node-gyp-addon-gypi.patch ++++++ --- /var/tmp/diff_new_pack.l1iBWA/_old 2020-01-17 12:05:17.604605838 +0100 +++ /var/tmp/diff_new_pack.l1iBWA/_new 2020-01-17 12:05:17.608605840 +0100 @@ -1,7 +1,7 @@ -Index: node-v9.1.0/addon-rpm.gypi +Index: node-v12.8.0/addon-rpm.gypi =================================================================== --- /dev/null -+++ node-v9.1.0/addon-rpm.gypi ++++ node-v12.8.0/addon-rpm.gypi @@ -0,0 +1,35 @@ +{ + 'target_defaults': { @@ -38,11 +38,11 @@ + ] + } +} -Index: node-v9.1.0/deps/npm/node_modules/node-gyp/lib/configure.js +Index: node-v12.8.0/deps/npm/node_modules/node-gyp/lib/configure.js =================================================================== ---- node-v9.1.0.orig/deps/npm/node_modules/node-gyp/lib/configure.js -+++ node-v9.1.0/deps/npm/node_modules/node-gyp/lib/configure.js -@@ -62,10 +62,6 @@ function configure (gyp, argv, callback) +--- node-v12.8.0.orig/deps/npm/node_modules/node-gyp/lib/configure.js ++++ node-v12.8.0/deps/npm/node_modules/node-gyp/lib/configure.js +@@ -46,10 +46,6 @@ function configure (gyp, argv, callback) if ('v' + release.version !== process.version) { // if --target was given, then determine a target version to compile for log.verbose('get node dir', 'compiling against --target node version: %s', release.version) @@ -53,7 +53,7 @@ if (!release.semver) { // could not parse the version string with semver -@@ -80,6 +76,12 @@ function configure (gyp, argv, callback) +@@ -68,6 +64,12 @@ function configure (gyp, argv, callback) nodeDir = path.resolve(gyp.devDir, release.versionDir) createBuildDir() }) @@ -66,13 +66,13 @@ } } -@@ -271,7 +273,8 @@ function configure (gyp, argv, callback) +@@ -282,7 +284,8 @@ function configure (gyp, argv, callback) // this logic ported from the old `gyp_addon` python file - var gyp_script = path.resolve(__dirname, '..', 'gyp', 'gyp_main.py') -- var addon_gypi = path.resolve(__dirname, '..', 'addon.gypi') + var gypScript = path.resolve(__dirname, '..', 'gyp', 'gyp_main.py') +- var addonGypi = path.resolve(__dirname, '..', 'addon.gypi') + var addon_gypi_file = gyp.opts.target || gyp.opts.nodedir ? 'addon.gypi' : 'addon-rpm.gypi' -+ var addon_gypi = path.resolve(__dirname, '..', addon_gypi_file) - var common_gypi = path.resolve(nodeDir, 'include/node/common.gypi') - fs.stat(common_gypi, function (err, stat) { - if (err) ++ var addonGypi = path.resolve(__dirname, '..', addon_gypi_file) + var commonGypi = path.resolve(nodeDir, 'include/node/common.gypi') + fs.stat(commonGypi, function (err) { + if (err) { ++++++ node-v10.16.3.tar.xz -> node-v10.18.0.tar.xz ++++++ /work/SRC/openSUSE:Leap:15.2/nodejs10/node-v10.16.3.tar.xz /work/SRC/openSUSE:Leap:15.2/.nodejs10.new.26092/node-v10.18.0.tar.xz differ: char 27, line 1 ++++++ skip_no_console.patch ++++++ Index: node-v10.17.0/test/parallel/test-console-clear.js =================================================================== --- node-v10.17.0.orig/test/parallel/test-console-clear.js +++ node-v10.17.0/test/parallel/test-console-clear.js @@ -18,5 +18,6 @@ function doTest(isTTY, check) { } // Fake TTY -doTest(true, check); +if (process.env.TERM !== 'dumb') + doTest(true, check); doTest(false, ''); Index: node-v10.17.0/test/parallel/test-readline-position.js =================================================================== --- node-v10.17.0.orig/test/parallel/test-readline-position.js +++ node-v10.17.0/test/parallel/test-readline-position.js @@ -1,11 +1,17 @@ 'use strict'; -require('../common'); +const common = require('../common'); const { PassThrough } = require('stream'); const readline = require('readline'); const assert = require('assert'); const ctrlU = { ctrl: true, name: 'u' }; +if (process.env.TERM == 'dumb') +{ + common.skip('Skipping test - dumb console'); + return; +} + { const input = new PassThrough(); const rl = readline.createInterface({ Index: node-v10.17.0/test/parallel/test-readline-interface.js =================================================================== --- node-v10.17.0.orig/test/parallel/test-readline-interface.js +++ node-v10.17.0/test/parallel/test-readline-interface.js @@ -29,6 +29,12 @@ const internalReadline = require('intern const EventEmitter = require('events').EventEmitter; const { Writable, Readable } = require('stream'); +if (process.env.TERM == 'dumb') +{ + common.skip('Skipping test - dumb console'); + return; +} + class FakeInput extends EventEmitter { resume() {} pause() {} Index: node-v10.17.0/test/parallel/test-readline-undefined-columns.js =================================================================== --- node-v10.17.0.orig/test/parallel/test-readline-undefined-columns.js +++ node-v10.17.0/test/parallel/test-readline-undefined-columns.js @@ -11,6 +11,12 @@ const readline = require('readline'); const iStream = new PassThrough(); const oStream = new PassThrough(); +if (process.env.TERM == 'dumb') +{ + common.skip('Skipping test - dumb console'); + return; +} + readline.createInterface({ terminal: true, input: iStream, Index: node-v10.17.0/test/parallel/test-readline.js =================================================================== --- node-v10.17.0.orig/test/parallel/test-readline.js +++ node-v10.17.0/test/parallel/test-readline.js @@ -4,6 +4,13 @@ const { PassThrough } = require('stream' const readline = require('readline'); const assert = require('assert'); +if (process.env.TERM == 'dumb') +{ + common.skip('Skipping test - dumb console'); + return; +} + + { const input = new PassThrough(); const rl = readline.createInterface({ Index: node-v10.17.0/test/parallel/test-repl-editor.js =================================================================== --- node-v10.17.0.orig/test/parallel/test-repl-editor.js +++ node-v10.17.0/test/parallel/test-repl-editor.js @@ -1,6 +1,6 @@ 'use strict'; -require('../common'); +const common = require('../common'); const assert = require('assert'); const repl = require('repl'); const ArrayStream = require('../common/arraystream'); @@ -11,6 +11,12 @@ const ArrayStream = require('../common/a const terminalCode = '\u001b[1G\u001b[0J> \u001b[3G'; const terminalCodeRegex = new RegExp(terminalCode.replace(/\[/g, '\\['), 'g'); +if (process.env.TERM == 'dumb') +{ + common.skip('Skipping test - dumb console'); + return; +} + function run({ input, output, event, checkTerminalCodes = true }) { const stream = new ArrayStream(); let found = ''; Index: node-v10.17.0/test/parallel/test-repl-eval-scope.js =================================================================== --- node-v10.17.0.orig/test/parallel/test-repl-eval-scope.js +++ node-v10.17.0/test/parallel/test-repl-eval-scope.js @@ -4,6 +4,12 @@ const ArrayStream = require('../common/a const assert = require('assert'); const repl = require('repl'); +if (process.env.TERM == 'dumb') +{ + common.skip('Skipping test - dumb console'); + return; +} + { const stream = new ArrayStream(); const options = { Index: node-v10.17.0/test/parallel/test-repl-history-navigation.js =================================================================== --- node-v10.17.0.orig/test/parallel/test-repl-history-navigation.js +++ node-v10.17.0/test/parallel/test-repl-history-navigation.js @@ -9,6 +9,12 @@ const assert = require('assert'); const fs = require('fs'); const path = require('path'); +if (process.env.TERM == 'dumb') +{ + common.skip('Skipping test - dumb console'); + return; +} + const tmpdir = require('../common/tmpdir'); tmpdir.refresh(); Index: node-v10.17.0/test/parallel/test-repl-load-multiline.js =================================================================== --- node-v10.17.0.orig/test/parallel/test-repl-load-multiline.js +++ node-v10.17.0/test/parallel/test-repl-load-multiline.js @@ -1,10 +1,16 @@ 'use strict'; -require('../common'); +const common = require('../common'); const ArrayStream = require('../common/arraystream'); const fixtures = require('../common/fixtures'); const assert = require('assert'); const repl = require('repl'); +if (process.env.TERM == 'dumb') +{ + common.skip('Skipping test - dumb console'); + return; +} + const command = `.load ${fixtures.path('repl-load-multiline.js')}`; const terminalCode = '\u001b[1G\u001b[0J \u001b[1G'; const terminalCodeRegex = new RegExp(terminalCode.replace(/\[/g, '\\['), 'g'); Index: node-v10.17.0/test/parallel/test-repl-persistent-history.js =================================================================== --- node-v10.17.0.orig/test/parallel/test-repl-persistent-history.js +++ node-v10.17.0/test/parallel/test-repl-persistent-history.js @@ -11,6 +11,12 @@ const fs = require('fs'); const path = require('path'); const os = require('os'); +if (process.env.TERM == 'dumb') +{ + common.skip('Skipping test - dumb console'); + return; +} + const tmpdir = require('../common/tmpdir'); tmpdir.refresh(); ++++++ versioned.patch ++++++ --- /var/tmp/diff_new_pack.l1iBWA/_old 2020-01-17 12:05:17.684605873 +0100 +++ /var/tmp/diff_new_pack.l1iBWA/_new 2020-01-17 12:05:17.688605876 +0100 @@ -8,10 +8,10 @@ This is also important for generation of binary modules for multiple versions of NodeJS -Index: node-v10.16.0/Makefile +Index: node-v10.18.0/Makefile =================================================================== ---- node-v10.16.0.orig/Makefile -+++ node-v10.16.0/Makefile +--- node-v10.18.0.orig/Makefile ++++ node-v10.18.0/Makefile @@ -43,7 +43,7 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT EXEEXT := $(shell $(PYTHON) -c \ "import sys; print('.exe' if sys.platform == 'win32' else '')") @@ -21,10 +21,10 @@ NODE ?= ./$(NODE_EXE) NODE_G_EXE = node_g$(EXEEXT) NPM ?= ./deps/npm/bin/npm-cli.js -Index: node-v10.16.0/tools/install.py +Index: node-v10.18.0/tools/install.py =================================================================== ---- node-v10.16.0.orig/tools/install.py -+++ node-v10.16.0/tools/install.py +--- node-v10.18.0.orig/tools/install.py ++++ node-v10.18.0/tools/install.py @@ -77,7 +77,7 @@ def install(paths, dst): map(lambda path def uninstall(paths, dst): map(lambda path: try_remove(path, dst), paths) @@ -125,10 +125,10 @@ def run(args): global node_prefix, install_path, target_defaults, variables -Index: node-v10.16.0/doc/node.1 +Index: node-v10.18.0/doc/node.1 =================================================================== ---- node-v10.16.0.orig/doc/node.1 -+++ node-v10.16.0/doc/node.1 +--- node-v10.18.0.orig/doc/node.1 ++++ node-v10.18.0/doc/node.1 @@ -30,24 +30,24 @@ .Dt NODE 1 . @@ -158,10 +158,10 @@ .Op Fl -v8-options . .\"====================================================================== -Index: node-v10.16.0/src/node.stp +Index: node-v10.18.0/src/node.stp =================================================================== ---- node-v10.16.0.orig/src/node.stp -+++ node-v10.16.0/src/node.stp +--- node-v10.18.0.orig/src/node.stp ++++ node-v10.18.0/src/node.stp @@ -19,7 +19,7 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. @@ -234,16 +234,16 @@ { scavenge = 1 << 0; compact = 1 << 1; -Index: node-v10.16.0/deps/npm/man/man1/npm.1 +Index: node-v10.18.0/deps/npm/man/man1/npm.1 =================================================================== ---- node-v10.16.0.orig/deps/npm/man/man1/npm.1 -+++ node-v10.16.0/deps/npm/man/man1/npm.1 +--- node-v10.18.0.orig/deps/npm/man/man1/npm.1 ++++ node-v10.18.0/deps/npm/man/man1/npm.1 @@ -1,11 +1,11 @@ - .TH "NPM" "1" "April 2019" "" "" + .TH "NPM" "1" "December 2019" "" "" .SH "NAME" -\fBnpm\fR \- javascript package manager +\fBnpm10\fR \- javascript package manager - .SH SYNOPSIS + .SS Synopsis .P .RS 2 .nf @@ -251,14 +251,14 @@ +npm10 <command> [args] .fi .RE - .SH VERSION + .SS Version @@ -21,7 +21,7 @@ It is extremely configurable to support Most commonly, it is used to publish, discover, install, and develop node programs\. .P -Run \fBnpm help\fP to get a list of available commands\. +Run \fBnpm10 help\fP to get a list of available commands\. - .SH IMPORTANT + .SS Important .P npm is configured to use npm, Inc\.'s public registry at @@ -35,11 +35,11 @@ terms of use\. @@ -266,27 +266,33 @@ You probably got npm because you want to install stuff\. .P -Use \fBnpm install blerg\fP to install the latest version of "blerg"\. Check out --npm help \fBnpm\-install\fP for more info\. It can do a lot of stuff\. +-npm help \fBinstall\fP for more info\. It can do a lot of stuff\. +Use \fBnpm10 install blerg\fP to install the latest version of "blerg"\. Check out -+npm help \fBnpm10\-install\fP for more info\. It can do a lot of stuff\. ++npm10 help \fBinstall\fP for more info\. It can do a lot of stuff\. .P -Use the \fBnpm search\fP command to show everything that's available\. -Use \fBnpm ls\fP to show everything you've installed\. +Use the \fBnpm10 search\fP command to show everything that's available\. +Use \fBnpm10 ls\fP to show everything you've installed\. - .SH DEPENDENCIES + .SS Dependencies .P If a package references to another package with a git URL, npm depends @@ -57,7 +57,7 @@ the node\-gyp repository \fIhttps://gith the node\-gyp Wiki \fIhttps://github\.com/TooTallNate/node\-gyp/wiki\fR\|\. - .SH DIRECTORIES + .SS Directories .P --See npm help 5 \fBnpm\-folders\fP to learn about where npm puts stuff\. -+See npm10 help 5 \fBnpm\-folders\fP to learn about where npm puts stuff\. +-See npm help \fBfolders\fP to learn about where npm puts stuff\. ++See npm10 help \fBfolders\fP to learn about where npm puts stuff\. .P In particular, npm has two modes of operation: .RS 0 -@@ -87,19 +87,19 @@ Make a package\.json file\. See npm hel +@@ -82,24 +82,24 @@ following help topics: + .RS 0 + .IP \(bu 2 + json: +-Make a package\.json file\. See npm help \fBpackage\.json\fP\|\. ++Make a package\.json file\. See npm10 help \fBpackage\.json\fP\|\. + .IP \(bu 2 link: For linking your current working code into Node's path, so that you don't have to reinstall every time you make a change\. Use @@ -308,27 +314,25 @@ +Use the \fBnpm10 publish\fP command to upload your code to the registry\. .RE - .SH CONFIGURATION + .SS Configuration @@ -135,7 +135,7 @@ lib/utils/config\-defs\.js\. These must .RE .P --See npm help 7 \fBnpm\-config\fP for much much more information\. -+See npm10 help 7 \fBnpm\-config\fP for much much more information\. - .SH CONTRIBUTIONS +-See npm help \fBconfig\fP for much much more information\. ++See npm10 help \fBconfig\fP for much much more information\. + .SS Contributions .P Patches welcome! -@@ -174,21 +174,21 @@ i@izs\.me - .SH SEE ALSO +@@ -172,14 +172,14 @@ i@izs\.me + .SS See Also .RS 0 .IP \(bu 2 -npm help help +npm10 help help .IP \(bu 2 - README - .IP \(bu 2 --npm help 5 package\.json -+npm10 help 5 package\.json +-npm help package\.json ++npm10 help package\.json .IP \(bu 2 -npm help install +npm10 help install @@ -336,21 +340,14 @@ -npm help config +npm10 help config .IP \(bu 2 --npm help 7 config -+npm10 help 7 config - .IP \(bu 2 --npm help 5 npmrc -+npm10 help 5 npmrc - .IP \(bu 2 --npm help 7 index -+npm10 help 7 index +-npm help npmrc ++npm10 help npmrc .RE - -Index: node-v10.16.0/node.gyp +Index: node-v10.18.0/node.gyp =================================================================== ---- node-v10.16.0.orig/node.gyp -+++ node-v10.16.0/node.gyp +--- node-v10.18.0.orig/node.gyp ++++ node-v10.18.0/node.gyp @@ -22,8 +22,8 @@ 'node_shared_openssl%': 'false', 'node_v8_options%': '', @@ -362,10 +359,10 @@ 'node_intermediate_lib_type%': 'static_library', 'library_files': [ 'lib/internal/per_context.js', -Index: node-v10.16.0/src/node_main.cc +Index: node-v10.18.0/src/node_main.cc =================================================================== ---- node-v10.16.0.orig/src/node_main.cc -+++ node-v10.16.0/src/node_main.cc +--- node-v10.18.0.orig/src/node_main.cc ++++ node-v10.18.0/src/node_main.cc @@ -119,6 +119,7 @@ int main(int argc, char* argv[]) { #endif // Disable stdio buffering, it interacts poorly with printf() @@ -374,10 +371,10 @@ setvbuf(stdout, nullptr, _IONBF, 0); setvbuf(stderr, nullptr, _IONBF, 0); return node::Start(argc, argv); -Index: node-v10.16.0/deps/npm/man/man1/npx.1 +Index: node-v10.18.0/deps/npm/man/man1/npx.1 =================================================================== ---- node-v10.16.0.orig/deps/npm/man/man1/npx.1 -+++ node-v10.16.0/deps/npm/man/man1/npx.1 +--- node-v10.18.0.orig/deps/npm/man/man1/npx.1 ++++ node-v10.18.0/deps/npm/man/man1/npx.1 @@ -1,32 +1,32 @@ .TH "NPX" "1" "April 2018" "[email protected]" "User Commands" .SH "NAME" @@ -447,7 +444,7 @@ .SH AUTHOR .P Written by Kat Marchan \fIhttps://github\.com/zkat\fR\|\. -@@ -165,10 +165,10 @@ This work is released by its authors int +@@ -165,11 +165,11 @@ This work is released by its authors int .SH SEE ALSO .RS 0 .IP \(bu 2 @@ -461,11 +458,12 @@ +\fBnpm10\-config(7)\fP .RE -Index: node-v10.16.0/tools/test.py + +Index: node-v10.18.0/tools/test.py =================================================================== ---- node-v10.16.0.orig/tools/test.py -+++ node-v10.16.0/tools/test.py -@@ -943,7 +943,7 @@ class Context(object): +--- node-v10.18.0.orig/tools/test.py ++++ node-v10.18.0/tools/test.py +@@ -893,7 +893,7 @@ class Context(object): if self.vm is not None: return self.vm if arch == 'none':
