Compare commits

26 Commits

Author SHA256 Message Date
eb4624368b OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=41 2023-04-12 12:45:01 +00:00
f40d512f7f - Update to version 19.9.0
* add Tracing Channel in diagnostic_channel
  * new URL.canParse API

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=40
2023-04-12 11:46:38 +00:00
857d7cb3ba - Update to version 19.8.1
* buffer: add Buffer.copyBytesFrom(...)
  * events: add listener argument to listenerCount
  * lib: add AsyncLocalStorage.bind() and .snapshot()
  * tls: support automatic DHE
  * wasi: add support for version when creating WASI
  * worker: add support for worker name in inspector and trace_events
  * deps: npm updated to 9.5.1
- versioned.patch: refreshed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=39
2023-03-20 13:00:37 +00:00
36fb818d9f - relax Requires to Suggests for alts on TW
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=37
2023-03-13 16:45:49 +00:00
28ed7b1ae5 - Update to version 19.7.0:
* deps:
    + upgrade npm to 9.5.0
    + update undici to v5.20.0
  * stream: add abort signal for ReadableStream and WritableStream
  * url: replace url-parser with ada (not language)
- Changes in version 19.6.1:
  * fixes permissions policies can be bypassed via process.mainModule
    (bsc#1208481, CVE-2023-23918)
  * fixes insecure loading of ICU data through ICU_DATA environment
    variable (bsc#1208487, CVE-2023-23920)
  * fixes OpenSSL error handling issues in nodejs crypto library
    (bsc#1208483, CVE-2023-23919)
  * updates undici to v5.19.1
    + Fetch API in Node.js did not protect against CRLF injection in host headers
    + Regular Expression Denial of Service in Headers in Node.js fetch API
    (bsc#1208413, bsc#1208485, CVE-2023-24807, CVE-2023-23936)
- linker_lto_jobs.patch: refreshed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=35
2023-02-22 15:38:13 +00:00
9967ff6a77 - node-gyp_7.1.2.tar.xz: added dependencies
- node-gyp-config.patch: allows gyp 7.1.2 to run with node 19.x

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=34
2023-02-21 16:32:07 +00:00
fdfc60bbdd - sysctl.patch, s390.patch: upstreamed, removed
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=32
2023-02-03 12:14:45 +00:00
2cb71112fe - Update to version 19.6.0:
* ESM: Leverage loaders when resolving subsequent loaders
    Loaders now apply to subsequent loaders, for example:
    --experimental-loader ts-node --experimental-loader loader-written-in-typescript
  * deps: upgrade npm to 9.4.0
    Added --install-strategy=linked option for installations
    similar to pnpm.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=31
2023-02-03 12:09:28 +00:00
8b7ecc6c06 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=29 2023-02-01 10:51:01 +00:00
e7ba2c1992 - Do not use pkg_vcmp to decide BuildDependencies: this works based
on 'installed packages' which is not interpreted correctly by the
  scheduler. Rather switch to boolean dependencies.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=28
2023-02-01 10:05:09 +00:00
1216beffe9 - s390.patch: fix unit test on s390 with patched zlib
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=26
2023-01-26 13:00:35 +00:00
dbd52b3b32 - sysctl.patch: don't try to execute sysctl
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=25
2023-01-26 10:42:46 +00:00
4474461529 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=24 2023-01-25 15:47:00 +00:00
44fb8dedcc - Update to version 19.5.0:
* http: join authorization headers
  * lib: add webstreams to Duplex.from()
  * stream: implement finished() for ReadableStream and WritableStream
- npm_search_paths.patch, linker_lto_jobs.patch: refreshed

- Use default openssl again and do not force openssl 1.1.1
- _constraints: reset aarch64 memory requirements back to original
  otherwise some unit tests can fail

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=23
2023-01-25 15:43:59 +00:00
82baefc474 - Update _constraints:
* Less RAM for aarch64 and 32-bit arm
  * Use 'asimdrdm' cpu flag to use aarch64 workers where tests
    are more stable

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=21
2023-01-16 15:36:00 +00:00
eafa27d426 - Update to version 19.4.0:
* buffer: add buffer.isUtf8 for utf8 validation
  * http: improved timeout defaults handling
  * net: add autoSelectFamily global getter and setter
  * os: add availableParallelism()
  * util: add fast path for text-decoder fatal flag

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=20
2023-01-16 14:42:18 +00:00
df7b07c915 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=18 2022-12-19 03:47:55 +00:00
e68fbd263d - Update to version 19.3.0:
* deps : npm updates to 9.2.0
  * build: disable v8 snapshot compression by default
  * net: add autoSelectFamily and autoSelectFamilyAttemptTimeout options
- temporarily require openssl 1.1.1 to build on TW
- versioned.patch: refreshed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=17
2022-12-19 02:16:29 +00:00
95b75e5ff1 - Update to version 19.2.0:
* buffer: introduce `File` class
  * deps: update V8 to 10.8.168.20
  * doc: deprecate use of invalid ports in `url.parse`
  * util: add fast path for utf8 encoding
For details, see CHANGELOG_V19.md

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=16
2022-12-18 03:27:02 +00:00
78bafb2543 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=14 2022-11-17 12:34:43 +00:00
51d43df231 - Update to version 19.1.0:
* test: Support function mocking on Node.js test runner
  * fs.watch recursive support on Linux
  * util: add MIME utilities
- new_python3.patch, icu721_fixes.patch: upstreamed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=13
2022-11-17 12:34:06 +00:00
933ab44079 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=11 2022-11-10 09:47:01 +00:00
7e72866c23 - icu721_fixes.patch: fixes compatibility with ICU 72.1 (bsc#1205236)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=10
2022-11-10 09:15:37 +00:00
61dbd2cf66 - Fix migration to openssl-3 (bsc#1205042)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=8
2022-11-07 14:17:19 +00:00
d1ad0ab272 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=7 2022-11-07 10:39:11 +00:00
963b394dea - Update to version 19.0.1:
* inspector: DNS rebinding in --inspect via invalid octal IP
    (bsc#1205119, CVE-2022-43548)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=6
2022-11-07 10:02:44 +00:00
14 changed files with 448 additions and 486 deletions

View File

@@ -1,34 +1,41 @@
6c01d2537f0f906d252d8a2b6fbf830e3080844d06ec59c48b902e99e0dc101f node-v19.0.0-aix-ppc64.tar.gz
e30054d93857d3b2f55d22a4305e379ba9544adea885428900ff57bae465435e node-v19.0.0-darwin-arm64.tar.gz
76c550a8f2aa9611ce9148d6d3a5af900c2cbbc4b35ba68d545f63239c2d24e9 node-v19.0.0-darwin-arm64.tar.xz
a1b46d199bbc307f6ef8621b118e71356c626a279eb421c6b3ce7a7741573041 node-v19.0.0-darwin-x64.tar.gz
4643bd70b273d615668861e2c9bb028bc45307bc02ecc1bb9f592c712cdacf9b node-v19.0.0-darwin-x64.tar.xz
a4fbde83aa689694fb50a29f2b450446ac94430965f8a6c81e38bb2f2a1e632b node-v19.0.0-headers.tar.gz
e50a5e2fb8c6ff11ffa99289567e36e9eacfafdda859b8b384bf098ed23607de node-v19.0.0-headers.tar.xz
fcfbd83208d9bc11943c070109ed615170d93d81bfaf5d45851319a33363c998 node-v19.0.0-linux-arm64.tar.gz
f43f31f8ebe9daf26edd20d40aa8bb01be6cf52a6dc91a66cfe35b57bf4bda5c node-v19.0.0-linux-arm64.tar.xz
46201af3fd3217c01e06ac3bddf4ee4d996c11af2f4124cfee96ec609fad7996 node-v19.0.0-linux-armv7l.tar.gz
18b6c37f20a27e692568068075f0020ca47759508c33b5ae556ed52c18c310c6 node-v19.0.0-linux-armv7l.tar.xz
5d27d9859859821eeae561d5bfe25d8c1982b8808bfa2dbf22adb020ee42716b node-v19.0.0-linux-ppc64le.tar.gz
3f867fb530ce5f97a13e7f148a161a1de84c9be3f345ec734a548b8908ccabbc node-v19.0.0-linux-ppc64le.tar.xz
daefa03d9513a5737cb8fb92db25faea23a79c05f261b9cc33d8d738aa13c393 node-v19.0.0-linux-s390x.tar.gz
46908bf331de98041840b6e2dfbbf0d2ec4b95e7ec933ba363708b66c30cb584 node-v19.0.0-linux-s390x.tar.xz
857f4dde358a8b23afab47ebdc685ae736bcfeac1258c2dddae3648f6a03a77a node-v19.0.0-linux-x64.tar.gz
a16fa0fd4ba7dff0f9476778dbabe535250c99a121db4c65c2a68a2506097698 node-v19.0.0-linux-x64.tar.xz
b53e633e1a0821ef89a96b210f12d19263aead128c66c069f6081b968110b0e3 node-v19.0.0-win-x64.7z
94fdfb96a041b1a9cafd1ee1bb42ab57a5b73f6a3606cd222ae96c5768bdb31d node-v19.0.0-win-x64.zip
f6b1a8d99146406ecbf925e8193f0f89fc2c506e7d569067552dd2bc099edd08 node-v19.0.0-win-x86.7z
b3f59e71506ed6390385782b0ecb7960daa579e4b1a45a7b93cea96dbbc54f4a node-v19.0.0-win-x86.zip
bd60df59c2db97569f675baaa437372ef9b45f87e73de4983bdd4239207bf5ab node-v19.0.0-x64.msi
6f893000ab67cd0515525db9121a7e024c136f16e6b52bb23fb3ce0fefb32cc3 node-v19.0.0-x86.msi
69158e1268115aee665753e1dd8a8036680a270776a5db09bd5d5e016974a177 node-v19.0.0.pkg
8b15e256f567aec294c9d97c1e9663f65a2c967347bd614d79a4e58a0b74a777 node-v19.0.0.tar.gz
0b72d207a5815f1ce7b247b33cbf9a2c86f6d01253fa3990c9744e25d975050d node-v19.0.0.tar.xz
ed59d9ae2a87676d605fdf55ffb279137db24512cfae4f011c4016cbbdefed5c win-x64/node.exe
207cac29c02762e417c23dc4703bb22e137ed1a271e69283a2ec0e4b9afef9be win-x64/node.lib
ea805bbb1c88f2e4fd3908f5f4d6c64c6a0002f850eee419fba4fc6f1067487a win-x64/node_pdb.7z
489c5beac518a62bfe35eb720313e5d0315ea1cadec957567d9d4ee789fe163a win-x64/node_pdb.zip
e26b292e009e2527fe73c79724d8ccbf19ea92067edb1cd398fc8fc4a51983b4 win-x86/node.exe
45ddbe6798a427532a8336d1a8f7f8ece5b2757d76276ddd7e9243994de35513 win-x86/node.lib
5fb0ebad3792edda19dbb062e2c3728d3bcb563930fa9ecf5f8942777f1d8221 win-x86/node_pdb.7z
9c8a6f2ef3bc830dd91c295cd45666154200b64750147aae3b4aba3a1f265af6 win-x86/node_pdb.zip
86a6024daff66e468c5feb15648ce03d6072ef88834f9d453ef6b5de5e7255de node-v19.9.0-aix-ppc64.tar.gz
ee5f875605d96bdc5968799960df26044da3ef7d451661ccd702836c2b8cba51 node-v19.9.0-arm64.msi
13f7f0e57a2123e55a3172b65e08bc2a51fb52bf366a83d7dda12456ebdc3da0 node-v19.9.0-darwin-arm64.tar.gz
79bee93e746eb3a5497a92343e2f83adf7b60202eb913019b6b071f24ad562e7 node-v19.9.0-darwin-arm64.tar.xz
4f1a5b72ef0bcb6757e5daaf3fcf2c26fa35dc5d5fdff7692b63775ed51934a4 node-v19.9.0-darwin-x64.tar.gz
313a7e05af8137d179ac547b3270ce0aa23986e11838bfb7ab1874b3f6540277 node-v19.9.0-darwin-x64.tar.xz
61ad287af371315998742d431b14964856932337c3478140d3a8c787060a0df9 node-v19.9.0-headers.tar.gz
8e448ed5cc292a34ba159d367101f4d552845f5fba4d4ba4575f03f1a9ec8323 node-v19.9.0-headers.tar.xz
1ebddd6ac062270ac895233b78eb0feabc5fd08ea88502dfede626f4a1b4b037 node-v19.9.0-linux-arm64.tar.gz
7dd78091f8cf34fc094c79b6dfcdbf427abd2ecc4df266a99964bf853b5d6ca0 node-v19.9.0-linux-arm64.tar.xz
6d9258355f791b8f0517a0317d432afa9e6aff57be6697d625c361853efb62a0 node-v19.9.0-linux-armv7l.tar.gz
a9cc87fc5f86e8077c293dd0e39d4241dc7b490d87096526f642aeccee1701f2 node-v19.9.0-linux-armv7l.tar.xz
ba363f760f185ab808ba1a3828ad9393dbd4f786ccea347085d94e58f771b6aa node-v19.9.0-linux-ppc64le.tar.gz
9e5cf7c3f31c1028ca6ee6f854711573cb382d7eaf64497d1b2448f6ed5f3fb1 node-v19.9.0-linux-ppc64le.tar.xz
a31ac53084eda27881e48a71ecb45408d47027df1591a485240bfd9092d8abe7 node-v19.9.0-linux-s390x.tar.gz
8c956f305a8ca1964e3d0572980083ae01614e0bf14a695a319aed981b65dd08 node-v19.9.0-linux-s390x.tar.xz
15168a298d150335c098f19449f9baef0b0758466723fafc23ef209156dae604 node-v19.9.0-linux-x64.tar.gz
e8ea737ee15a62c8752159d12765ed757b5d4b18036b1011d9e4c9e692a4e58d node-v19.9.0-linux-x64.tar.xz
2db67c5dacfb600abd16e30a3b1c63d11c0328793f51cc4fe8d6d5a740be3ffb node-v19.9.0.pkg
c9293eb40dff8e5f55ef8da7cf1b9fd71b4a6a513620d02bbd158936e85216f2 node-v19.9.0.tar.gz
c7fce9d46ca6ce0d8990433cbf601bb9279c0eaed8705b357018cf50be9bed29 node-v19.9.0.tar.xz
8b6c30caab941b57d408c1b8858c470d9caeb1610dd4c055c89e08ac3aa4bf67 node-v19.9.0-win-arm64.7z
761ab28aa0f228e701ca11c0ba9b5decc9f54035ac477b4fc3d9854f32992d00 node-v19.9.0-win-arm64.zip
b670d61fa2ca1fb0248d1af741a2d691136b6eedb899decaf8e26e6e886c48a8 node-v19.9.0-win-x64.7z
589f7880af8de21ee371de8c06a85b5e996d049bf499fbac1245fb10b441e504 node-v19.9.0-win-x64.zip
6db5a772709207bb78d01405f19b912d295dd4bb3f4ecc8f793dcb211d5359dd node-v19.9.0-win-x86.7z
4517d95051c6bfc589dcd6f7546f716cd28f2d3e3663cb5326613ca4de87ab8b node-v19.9.0-win-x86.zip
a508c50ab0c6f35c40bfe1dd047036de3a24317b2fba048e7e79408ea183311c node-v19.9.0-x64.msi
3cf665f8efae4cc8d697099f850d87f98d860a01df9bb0402b503351a1dc5eff node-v19.9.0-x86.msi
11da4828c17e7e948564459770f0f6fe9cf0a310720b0ff5db4059fdde902f86 win-arm64/node.exe
cf4ed315c06367f6098a91b60306b3ddca255ef02e9dfd25ceb438f5c56b29c9 win-arm64/node.lib
5fba674eff0c26915cf7dc877006a64fef3f0fcbf18e830b167a9bca13a26bb2 win-arm64/node_pdb.7z
b22959f9ecb8ded1011381a2f2f0646c4a9c6cafb0b3007768fabbcb93dce3cc win-arm64/node_pdb.zip
4e3f15c87f43dfdf8e200dbc1e27fd2ebdb572c0bb6db2925e387ec13aa26728 win-x64/node.exe
7828f4c3b82dfdac0da50d33374c60e76dcf5e957c7c73254c9c3e3bc92f8ea0 win-x64/node.lib
24be9c261c49d8c3e4a8223ee828de9dc1bb7b5f4b66694f5d92d92559e9d05e win-x64/node_pdb.7z
e319a1923ed4b923c3b5cfc2e1d23fae388766774b989350450c28e9d8b3a67e win-x64/node_pdb.zip
3ecd67884a7b6f5afcbe90180b3caeffa6729e48a05d79036c9be6527b1c6ebb win-x86/node.exe
6a6aebc149e09cd7cc221d0e439a0220943554e7121f424f890b3c2dba449885 win-x86/node.lib
060f77b3cd05cbacce7ea8c2e40f77a0fbd8cac1ac6412804f343e1e9135c282 win-x86/node_pdb.7z
dbc91ab1bb913d2e1119768b8024f1456cff56aadb5a3426c4c6118627a86312 win-x86/node_pdb.zip

Binary file not shown.

View File

@@ -8,4 +8,25 @@
<size unit="M">10000</size>
</physicalmemory>
</hardware>
<overwrite>
<conditions>
<arch>aarch64</arch>
</conditions>
<hardware>
<cpu>
<flag>asimdrdm</flag>
</cpu>
</hardware>
</overwrite>
<overwrite>
<conditions>
<arch>armv6l</arch>
<arch>armv7l</arch>
</conditions>
<hardware>
<physicalmemory>
<size unit="G">5</size>
</physicalmemory>
</hardware>
</overwrite>
</constraints>

View File

@@ -3,39 +3,23 @@ is run serially over these binaries instead of in parallel.
OBS workers run out of memory as each executable seems to require
upward of 5G RAM
Index: node-v19.0.0/node.gyp
Index: node-v19.7.0/node.gyp
===================================================================
--- node-v19.0.0.orig/node.gyp
+++ node-v19.0.0/node.gyp
@@ -922,6 +922,7 @@
'<(node_lib_target_name)',
'deps/histogram/histogram.gyp:histogram',
--- node-v19.7.0.orig/node.gyp
+++ node-v19.7.0/node.gyp
@@ -951,6 +951,7 @@
'deps/uvwasi/uvwasi.gyp:uvwasi',
+ 'fuzz_url',
],
'includes': [
'node.gypi'
@@ -965,6 +966,7 @@
'deps/googletest/googletest.gyp:gtest_main',
'deps/histogram/histogram.gyp:histogram',
'deps/uvwasi/uvwasi.gyp:uvwasi',
+ 'fuzz_env',
'deps/simdutf/simdutf.gyp:simdutf',
'deps/ada/ada.gyp:ada',
+ 'fuzz_env'
],
'includes': [
@@ -1062,6 +1064,7 @@
'<(node_lib_target_name)',
@@ -1047,6 +1048,7 @@
'deps/histogram/histogram.gyp:histogram',
'deps/uvwasi/uvwasi.gyp:uvwasi',
+ 'cctest',
],
'includes': [
@@ -1131,6 +1134,7 @@
'<(node_lib_target_name)',
'deps/histogram/histogram.gyp:histogram',
'deps/uvwasi/uvwasi.gyp:uvwasi',
+ 'embedtest'
'deps/ada/ada.gyp:ada',
+ 'cctest'
],
'includes': [

View File

@@ -1,21 +0,0 @@
Index: node-v18.9.0/configure
===================================================================
--- node-v18.9.0.orig/configure
+++ node-v18.9.0/configure
@@ -4,6 +4,7 @@
# Note that the mix of single and double quotes is intentional,
# as is the fact that the ] goes on a new line.
_=[ 'exec' '/bin/sh' '-c' '''
+command -v python3.11 >/dev/null && exec python3.11 "$0" "$@"
command -v python3.10 >/dev/null && exec python3.10 "$0" "$@"
command -v python3.9 >/dev/null && exec python3.9 "$0" "$@"
command -v python3.8 >/dev/null && exec python3.8 "$0" "$@"
@@ -22,7 +23,7 @@ except ImportError:
from distutils.spawn import find_executable as which
print('Node.js configure: Found Python {}.{}.{}...'.format(*sys.version_info))
-acceptable_pythons = ((3, 10), (3, 9), (3, 8), (3, 7), (3, 6), (3, 4))
+acceptable_pythons = ((3, 11), (3, 10), (3, 9), (3, 8), (3, 7), (3, 6), (3, 4))
if sys.version_info[:2] in acceptable_pythons:
import configure
else:

13
node-gyp-config.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: node-v19.1.0/deps/npm/node_modules/node-gyp/lib/configure.js
===================================================================
--- node-v19.1.0.orig/deps/npm/node_modules/node-gyp/lib/configure.js
+++ node-v19.1.0/deps/npm/node_modules/node-gyp/lib/configure.js
@@ -96,7 +96,7 @@ function configure (gyp, argv, callback)
log.verbose('build/' + configFilename, 'creating config file')
- var config = process.config || {}
+ var config = JSON.parse(JSON.stringify(process.config || {}))
var defaults = config.target_defaults
var variables = config.variables

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b72d207a5815f1ce7b247b33cbf9a2c86f6d01253fa3990c9744e25d975050d
size 38853960

3
node-v19.9.0.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7fce9d46ca6ce0d8990433cbf601bb9279c0eaed8705b357018cf50be9bed29
size 40783032

View File

@@ -1,3 +1,165 @@
-------------------------------------------------------------------
Wed Apr 12 09:10:03 UTC 2023 - Adam Majer <adam.majer@suse.de> - 19.9.0
- Update to version 19.9.0
* add Tracing Channel in diagnostic_channel
* new URL.canParse API
-------------------------------------------------------------------
Mon Mar 20 12:49:54 UTC 2023 - Adam Majer <adam.majer@suse.de> - 19.8.1
- Update to version 19.8.1
* buffer: add Buffer.copyBytesFrom(...)
* events: add listener argument to listenerCount
* lib: add AsyncLocalStorage.bind() and .snapshot()
* tls: support automatic DHE
* wasi: add support for version when creating WASI
* worker: add support for worker name in inspector and trace_events
* deps: npm updated to 9.5.1
- versioned.patch: refreshed
-------------------------------------------------------------------
Mon Mar 13 16:44:05 UTC 2023 - Adam Majer <adam.majer@suse.de>
- relax Requires to Suggests for alts on TW
-------------------------------------------------------------------
Wed Feb 22 15:26:13 UTC 2023 - Adam Majer <adam.majer@suse.de>
- Update to version 19.7.0:
* deps:
+ upgrade npm to 9.5.0
+ update undici to v5.20.0
* stream: add abort signal for ReadableStream and WritableStream
* url: replace url-parser with ada (not language)
- Changes in version 19.6.1:
* fixes permissions policies can be bypassed via process.mainModule
(bsc#1208481, CVE-2023-23918)
* fixes insecure loading of ICU data through ICU_DATA environment
variable (bsc#1208487, CVE-2023-23920)
* fixes OpenSSL error handling issues in nodejs crypto library
(bsc#1208483, CVE-2023-23919)
* updates undici to v5.19.1
+ Fetch API in Node.js did not protect against CRLF injection in host headers
+ Regular Expression Denial of Service in Headers in Node.js fetch API
(bsc#1208413, bsc#1208485, CVE-2023-24807, CVE-2023-23936)
- linker_lto_jobs.patch: refreshed
-------------------------------------------------------------------
Tue Feb 21 15:40:11 UTC 2023 - Adam Majer <adam.majer@suse.de>
- node-gyp_7.1.2.tar.xz: added dependencies
- node-gyp-config.patch: allows gyp 7.1.2 to run with node 19.x
-------------------------------------------------------------------
Fri Feb 3 11:44:55 UTC 2023 - Adam Majer <adam.majer@suse.de>
- Update to version 19.6.0:
* ESM: Leverage loaders when resolving subsequent loaders
Loaders now apply to subsequent loaders, for example:
--experimental-loader ts-node --experimental-loader loader-written-in-typescript
* deps: upgrade npm to 9.4.0
Added --install-strategy=linked option for installations
similar to pnpm.
- sysctl.patch, s390.patch: upstreamed, removed
-------------------------------------------------------------------
Wed Feb 1 07:58:26 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not use pkg_vcmp to decide BuildDependencies: this works based
on 'installed packages' which is not interpreted correctly by the
scheduler. Rather switch to boolean dependencies.
-------------------------------------------------------------------
Wed Jan 25 15:13:49 UTC 2023 - Adam Majer <adam.majer@suse.de>
- Update to version 19.5.0:
* http: join authorization headers
* lib: add webstreams to Duplex.from()
* stream: implement finished() for ReadableStream and WritableStream
- npm_search_paths.patch, linker_lto_jobs.patch: refreshed
- sysctl.patch: don't try to execute sysctl
- s390.patch: fix unit test on s390 with patched zlib
-------------------------------------------------------------------
Wed Jan 25 12:01:55 UTC 2023 - Adam Majer <adam.majer@suse.de>
- Use default openssl again and do not force openssl 1.1.1
- _constraints: reset aarch64 memory requirements back to original
otherwise some unit tests can fail
-------------------------------------------------------------------
Mon Jan 16 14:36:50 UTC 2023 - Adam Majer <adam.majer@suse.de>
- Update to version 19.4.0:
* buffer: add buffer.isUtf8 for utf8 validation
* http: improved timeout defaults handling
* net: add autoSelectFamily global getter and setter
* os: add availableParallelism()
* util: add fast path for text-decoder fatal flag
-------------------------------------------------------------------
Fri Dec 23 11:31:12 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update _constraints:
* Less RAM for aarch64 and 32-bit arm
* Use 'asimdrdm' cpu flag to use aarch64 workers where tests
are more stable
-------------------------------------------------------------------
Mon Dec 19 01:30:30 UTC 2022 - Adam Majer <adam.majer@suse.de>
- Update to version 19.3.0:
* deps : npm updates to 9.2.0
* build: disable v8 snapshot compression by default
* net: add autoSelectFamily and autoSelectFamilyAttemptTimeout options
- temporarily require openssl 1.1.1 to build on TW
- versioned.patch: refreshed
-------------------------------------------------------------------
Wed Dec 7 04:11:51 UTC 2022 - Adam Majer <adam.majer@suse.de>
- Update to version 19.2.0:
* buffer: introduce `File` class
* deps: update V8 to 10.8.168.20
* doc: deprecate use of invalid ports in `url.parse`
* util: add fast path for utf8 encoding
For details, see CHANGELOG_V19.md
-------------------------------------------------------------------
Thu Nov 17 12:05:45 UTC 2022 - Adam Majer <adam.majer@suse.de>
- Update to version 19.1.0:
* test: Support function mocking on Node.js test runner
* fs.watch recursive support on Linux
* util: add MIME utilities
- new_python3.patch, icu721_fixes.patch: upstreamed
-------------------------------------------------------------------
Thu Nov 10 08:19:06 UTC 2022 - Adam Majer <adam.majer@suse.de>
- icu721_fixes.patch: fixes compatibility with ICU 72.1 (bsc#1205236)
-------------------------------------------------------------------
Mon Nov 7 14:00:54 UTC 2022 - Adam Majer <adam.majer@suse.de>
- Fix migration to openssl-3 (bsc#1205042)
-------------------------------------------------------------------
Mon Nov 7 09:05:24 UTC 2022 - Adam Majer <adam.majer@suse.de>
- Update to version 19.0.1:
* inspector: DNS rebinding in --inspect via invalid octal IP
(bsc#1205119, CVE-2022-43548)
-------------------------------------------------------------------
Fri Oct 21 09:28:29 UTC 2022 - Adam Majer <adam.majer@suse.de>

View File

@@ -31,7 +31,7 @@
%endif
Name: nodejs19
Version: 19.0.0
Version: 19.9.0
Release: 0
# Double DWZ memory limits
@@ -82,7 +82,7 @@ Release: 0
%define _libexecdir %{_exec_prefix}/lib
%endif
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 120500 || 0%{?fedora_version} >= 35
%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 120400 || 0%{?fedora_version} >= 35
%bcond_with intree_openssl
%else
%bcond_without intree_openssl
@@ -131,7 +131,7 @@ Source3: nodejs.keyring
# Python 3.4 compatible node-gyp
### https://github.com/nodejs/node-gyp.git
### git archive v7.1.2 gyp/ | xz > node-gyp_7.1.2.tar.xz
### git archive v7.1.2 | xz > node-gyp_7.1.2.tar.xz
Source5: node-gyp_7.1.2.tar.xz
# Only required to run unit tests in NodeJS 10+
Source10: update_npm_tarball.sh
@@ -169,8 +169,8 @@ Patch132: test-skip-y2038-on-32bit-time_t.patch
# Use versioned binaries and paths
Patch200: versioned.patch
Patch304: new_python3.patch
Patch305: qemu_timeouts_arches.patch
Patch308: node-gyp-config.patch
BuildRequires: pkg-config
BuildRequires: fdupes
@@ -236,10 +236,11 @@ BuildRequires: gcc-c++
# Python dependencies
%if %node_version_number >= 16
%if %node_version_number >= 14
%if 0%{?suse_version} && 0%{?suse_version} < 1500
BuildRequires: python36
%define forced_python_version 3.6m
%else
BuildRequires: python3
%endif
@@ -263,26 +264,23 @@ BuildRequires: user(nobody)
BuildRequires: group(nobody)
%endif
# shared openssl
%if ! 0%{with intree_openssl}
BuildRequires: pkgconfig(openssl) >= %{openssl_req_ver}
# require patched openssl library on SLES for nodejs16
%if 0%{?suse_version}
%if %node_version_number >= 16 && 0%{suse_version} <= 1500 && %{pkg_vcmp openssl-1_1 < '1.1.1e' } && 0%{with openssl_RSA_get0_pss_params}
BuildRequires: openssl-has-RSA_get0_pss_params
Requires: openssl-has-RSA_get0_pss_params
%endif
%endif
%if 0%{?suse_version}
%if 0%{?suse_version} >= 1500
BuildRequires: openssl >= %{openssl_req_ver}
BuildRequires: (libopenssl1_1-hmac if libopenssl-1_1-devel)
BuildRequires: (libopenssl3-hmac if libopenssl-3-devel)
%else
BuildRequires: openssl-1_1 >= %{openssl_req_ver}
BuildRequires: libopenssl1_1-hmac
%endif
BuildRequires: libopenssl1_1-hmac
# /suse_version
%endif
@@ -291,29 +289,32 @@ BuildRequires: openssl >= %{openssl_req_ver}
%endif
%else
# bundled openssl
%if %node_version_number <= 12 && 0%{?suse_version} == 1315 && 0%{?sle_version} < 120400
Provides: bundled(openssl) = 3.0.5
Provides: bundled(openssl) = 3.0.8
%else
BuildRequires: bundled_openssl_should_not_be_required
%endif
# /bundled openssl
%endif
%if ! 0%{with intree_cares}
BuildRequires: pkgconfig(libcares) >= 1.17.0
%else
Provides: bundled(libcares2) = 1.18.1
Provides: bundled(libcares2) = 1.19.0
%endif
%if ! 0%{with intree_icu}
BuildRequires: pkgconfig(icu-i18n) >= 69
BuildRequires: pkgconfig(icu-i18n) >= 71
%else
Provides: bundled(icu) = 71.1
Provides: bundled(icu) = 72.1
%endif
%if ! 0%{with intree_nghttp2}
BuildRequires: libnghttp2-devel >= 1.41.0
%else
Provides: bundled(nghttp2) = 1.47.0
Provides: bundled(nghttp2) = 1.52.0
%endif
%if 0%{with valgrind_tests}
@@ -321,7 +322,7 @@ BuildRequires: valgrind
%endif
%if %{with libalternatives}
Requires: alts
Suggests: alts
%else
Requires(postun): %{_sbindir}/update-alternatives
%endif
@@ -362,9 +363,9 @@ ExclusiveArch: not_buildable
%endif
%endif
Provides: bundled(uvwasi) = 0.0.13
Provides: bundled(libuv) = 1.43.0
Provides: bundled(v8) = 10.7.193.13
Provides: bundled(uvwasi) = 0.0.16
Provides: bundled(libuv) = 1.44.2
Provides: bundled(v8) = 10.8.168.25
%if %{with intree_brotli}
Provides: bundled(brotli) = 1.0.9
%else
@@ -374,14 +375,18 @@ BuildRequires: pkgconfig(libbrotlidec)
Provides: bundled(llhttp) = 8.1.0
Provides: bundled(ngtcp2) = 0.8.1
Provides: bundled(base64) = 0.5.0
Provides: bundled(simdutf) = 3.2.3
# bundled url-ada parser, not ada
Provides: bundled(ada) = 1.0.4
Provides: bundled(node-acorn) = 8.8.0
Provides: bundled(node-acorn) = 8.8.2
Provides: bundled(node-acorn-walk) = 8.2.0
Provides: bundled(node-busboy) = 1.6.0
Provides: bundled(node-cjs-module-lexer) = 1.2.2
Provides: bundled(node-corepack) = 0.14.2
Provides: bundled(node-corepack) = 0.17.1
Provides: bundled(node-streamsearch) = 1.1.0
Provides: bundled(node-undici) = 5.11.0
Provides: bundled(node-undici) = 5.21.0
%description
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js
@@ -410,7 +415,7 @@ Requires: nodejs-common
Requires: nodejs19 = %{version}
Provides: nodejs-npm = %{version}
Obsoletes: nodejs-npm < 4.0.0
Provides: npm(npm) = 8.19.2
Provides: npm(npm) = 9.6.3
Provides: npm = %{version}
%if 0%{?suse_version} >= 1500
%if %{node_version_number} >= 10
@@ -419,30 +424,36 @@ Requires: group(nobody)
%endif
%endif
Provides: bundled(node-abbrev) = 1.1.1
Provides: bundled(node-abbrev) = 2.0.0
Provides: bundled(node-abort-controller) = 3.0.0
Provides: bundled(node-agent-base) = 6.0.2
Provides: bundled(node-agentkeepalive) = 4.2.1
Provides: bundled(node-agentkeepalive) = 4.3.0
Provides: bundled(node-aggregate-error) = 3.1.0
Provides: bundled(node-ansi-regex) = 5.0.1
Provides: bundled(node-ansi-styles) = 4.3.0
Provides: bundled(node-aproba) = 2.0.0
Provides: bundled(node-archy) = 1.0.0
Provides: bundled(node-are-we-there-yet) = 3.0.1
Provides: bundled(node-asap) = 2.0.6
Provides: bundled(node-are-we-there-yet) = 4.0.0
Provides: bundled(node-balanced-match) = 1.0.2
Provides: bundled(node-bin-links) = 3.0.3
Provides: bundled(node-base64-js) = 1.5.1
Provides: bundled(node-bin-links) = 4.0.1
Provides: bundled(node-binary-extensions) = 2.2.0
Provides: bundled(node-brace-expansion) = 1.1.11
Provides: bundled(node-brace-expansion) = 2.0.1
Provides: bundled(node-buffer) = 6.0.3
Provides: bundled(node-builtins) = 5.0.1
Provides: bundled(node-cacache) = 16.1.3
Provides: bundled(node-cacache) = 17.0.5
Provides: bundled(node-chalk) = 4.1.2
Provides: bundled(node-chownr) = 2.0.0
Provides: bundled(node-ci-info) = 3.8.0
Provides: bundled(node-cidr-regex) = 3.1.1
Provides: bundled(node-clean-stack) = 2.2.0
Provides: bundled(node-cli-columns) = 4.0.0
Provides: bundled(node-cli-table3) = 0.6.2
Provides: bundled(node-cli-table3) = 0.6.3
Provides: bundled(node-clone) = 1.0.4
Provides: bundled(node-cmd-shim) = 5.0.0
Provides: bundled(node-cmd-shim) = 6.0.1
Provides: bundled(node-color-convert) = 2.0.1
Provides: bundled(node-color-name) = 1.1.4
Provides: bundled(node-color-support) = 1.1.3
@@ -452,154 +463,167 @@ Provides: bundled(node-concat-map) = 0.0.1
Provides: bundled(node-console-control-strings) = 1.1.0
Provides: bundled(node-cssesc) = 3.0.0
Provides: bundled(node-debug) = 4.3.4
Provides: bundled(node-debuglog) = 1.0.1
Provides: bundled(node-defaults) = 1.0.3
Provides: bundled(node-defaults) = 1.0.4
Provides: bundled(node-delegates) = 1.0.0
Provides: bundled(node-depd) = 1.1.2
Provides: bundled(node-dezalgo) = 1.0.4
Provides: bundled(node-depd) = 2.0.0
Provides: bundled(node-diff) = 5.1.0
Provides: bundled(node-emoji-regex) = 8.0.0
Provides: bundled(node-encoding) = 0.1.13
Provides: bundled(node-env-paths) = 2.2.1
Provides: bundled(node-err-code) = 2.0.3
Provides: bundled(node-fastest-levenshtein) = 1.0.12
Provides: bundled(node-event-target-shim) = 5.0.1
Provides: bundled(node-events) = 3.3.0
Provides: bundled(node-fastest-levenshtein) = 1.0.16
Provides: bundled(node-fs-minipass) = 2.1.0
Provides: bundled(node-fs-minipass) = 3.0.1
Provides: bundled(node-fs.realpath) = 1.0.0
Provides: bundled(node-function-bind) = 1.1.1
Provides: bundled(node-gauge) = 4.0.4
Provides: bundled(node-gauge) = 5.0.0
Provides: bundled(node-glob) = 7.2.3
Provides: bundled(node-glob) = 8.0.3
Provides: bundled(node-graceful-fs) = 4.2.10
Provides: bundled(node-glob) = 8.1.0
Provides: bundled(node-glob) = 9.3.1
Provides: bundled(node-graceful-fs) = 4.2.11
Provides: bundled(node-has) = 1.0.3
Provides: bundled(node-has-flag) = 4.0.0
Provides: bundled(node-has-unicode) = 2.0.1
Provides: bundled(node-hosted-git-info) = 5.1.0
Provides: bundled(node-http-cache-semantics) = 4.1.0
Provides: bundled(node-hosted-git-info) = 6.1.1
Provides: bundled(node-http-cache-semantics) = 4.1.1
Provides: bundled(node-http-proxy-agent) = 5.0.0
Provides: bundled(node-https-proxy-agent) = 5.0.1
Provides: bundled(node-humanize-ms) = 1.2.1
Provides: bundled(node-iconv-lite) = 0.6.3
Provides: bundled(node-ignore-walk) = 5.0.1
Provides: bundled(node-ieee754) = 1.2.1
Provides: bundled(node-ignore-walk) = 6.0.2
Provides: bundled(node-imurmurhash) = 0.1.4
Provides: bundled(node-indent-string) = 4.0.0
Provides: bundled(node-infer-owner) = 1.0.4
Provides: bundled(node-inflight) = 1.0.6
Provides: bundled(node-inherits) = 2.0.4
Provides: bundled(node-ini) = 3.0.1
Provides: bundled(node-init-package-json) = 3.0.2
Provides: bundled(node-init-package-json) = 5.0.0
Provides: bundled(node-ip) = 2.0.0
Provides: bundled(node-ip-regex) = 4.3.0
Provides: bundled(node-is-cidr) = 4.0.2
Provides: bundled(node-is-core-module) = 2.10.0
Provides: bundled(node-is-core-module) = 2.11.0
Provides: bundled(node-is-fullwidth-code-point) = 3.0.0
Provides: bundled(node-is-lambda) = 1.0.1
Provides: bundled(node-isexe) = 2.0.0
Provides: bundled(node-json-parse-even-better-errors) = 2.3.1
Provides: bundled(node-json-parse-even-better-errors) = 3.0.0
Provides: bundled(node-json-stringify-nice) = 1.1.4
Provides: bundled(node-jsonparse) = 1.3.1
Provides: bundled(node-just-diff) = 5.1.1
Provides: bundled(node-just-diff-apply) = 5.4.1
Provides: bundled(node-libnpmaccess) = 6.0.4
Provides: bundled(node-libnpmdiff) = 4.0.5
Provides: bundled(node-libnpmexec) = 4.0.13
Provides: bundled(node-libnpmfund) = 3.0.4
Provides: bundled(node-libnpmhook) = 8.0.4
Provides: bundled(node-libnpmorg) = 4.0.4
Provides: bundled(node-libnpmpack) = 4.1.3
Provides: bundled(node-libnpmpublish) = 6.0.5
Provides: bundled(node-libnpmsearch) = 5.0.4
Provides: bundled(node-libnpmteam) = 4.0.4
Provides: bundled(node-libnpmversion) = 3.0.7
Provides: bundled(node-just-diff) = 6.0.0
Provides: bundled(node-just-diff-apply) = 5.5.0
Provides: bundled(node-libnpmaccess) = 7.0.2
Provides: bundled(node-libnpmdiff) = 5.0.14
Provides: bundled(node-libnpmexec) = 5.0.14
Provides: bundled(node-libnpmfund) = 4.0.14
Provides: bundled(node-libnpmhook) = 9.0.3
Provides: bundled(node-libnpmorg) = 5.0.3
Provides: bundled(node-libnpmpack) = 5.0.14
Provides: bundled(node-libnpmpublish) = 7.1.3
Provides: bundled(node-libnpmsearch) = 6.0.2
Provides: bundled(node-libnpmteam) = 5.0.3
Provides: bundled(node-libnpmversion) = 4.0.2
Provides: bundled(node-lru-cache) = 6.0.0
Provides: bundled(node-lru-cache) = 7.13.2
Provides: bundled(node-lru-cache) = 7.18.3
Provides: bundled(node-make-fetch-happen) = 10.2.1
Provides: bundled(node-make-fetch-happen) = 11.0.3
Provides: bundled(node-minimatch) = 3.1.2
Provides: bundled(node-minimatch) = 5.1.0
Provides: bundled(node-minipass) = 3.3.4
Provides: bundled(node-minimatch) = 5.1.6
Provides: bundled(node-minimatch) = 7.4.3
Provides: bundled(node-minipass) = 3.3.6
Provides: bundled(node-minipass) = 4.2.5
Provides: bundled(node-minipass-collect) = 1.0.2
Provides: bundled(node-minipass-fetch) = 2.1.1
Provides: bundled(node-minipass-fetch) = 2.1.2
Provides: bundled(node-minipass-fetch) = 3.0.1
Provides: bundled(node-minipass-flush) = 1.0.5
Provides: bundled(node-minipass-json-stream) = 1.0.1
Provides: bundled(node-minipass-pipeline) = 1.2.4
Provides: bundled(node-minipass-sized) = 1.0.3
Provides: bundled(node-minizlib) = 2.1.2
Provides: bundled(node-mkdirp) = 1.0.4
Provides: bundled(node-mkdirp-infer-owner) = 2.0.0
Provides: bundled(node-ms) = 2.1.2
Provides: bundled(node-ms) = 2.1.3
Provides: bundled(node-mute-stream) = 0.0.8
Provides: bundled(node-mute-stream) = 1.0.0
Provides: bundled(node-negotiator) = 0.6.3
Provides: bundled(node-node-gyp) = 9.1.0
Provides: bundled(node-nopt) = 5.0.0
Provides: bundled(node-node-gyp) = 9.3.1
Provides: bundled(node-nopt) = 6.0.0
Provides: bundled(node-normalize-package-data) = 4.0.1
Provides: bundled(node-npm-audit-report) = 3.0.0
Provides: bundled(node-npm-bundled) = 1.1.2
Provides: bundled(node-npm-bundled) = 2.0.1
Provides: bundled(node-npm-install-checks) = 5.0.0
Provides: bundled(node-npm-normalize-package-bin) = 1.0.1
Provides: bundled(node-npm-normalize-package-bin) = 2.0.0
Provides: bundled(node-npm-package-arg) = 9.1.0
Provides: bundled(node-npm-packlist) = 5.1.3
Provides: bundled(node-npm-pick-manifest) = 7.0.2
Provides: bundled(node-npm-profile) = 6.2.1
Provides: bundled(node-npm-registry-fetch) = 13.3.1
Provides: bundled(node-npm-user-validate) = 1.0.1
Provides: bundled(node-nopt) = 7.1.0
Provides: bundled(node-normalize-package-data) = 5.0.0
Provides: bundled(node-npm-audit-report) = 4.0.0
Provides: bundled(node-npm-bundled) = 3.0.0
Provides: bundled(node-npm-install-checks) = 6.1.0
Provides: bundled(node-npm-normalize-package-bin) = 3.0.0
Provides: bundled(node-npm-package-arg) = 10.1.0
Provides: bundled(node-npm-packlist) = 7.0.4
Provides: bundled(node-npm-pick-manifest) = 8.0.1
Provides: bundled(node-npm-profile) = 7.0.1
Provides: bundled(node-npm-registry-fetch) = 14.0.3
Provides: bundled(node-npm-user-validate) = 2.0.0
Provides: bundled(node-npmlog) = 6.0.2
Provides: bundled(node-npmlog) = 7.0.1
Provides: bundled(node-once) = 1.4.0
Provides: bundled(node-opener) = 1.5.2
Provides: bundled(node-p-map) = 4.0.0
Provides: bundled(node-pacote) = 13.6.2
Provides: bundled(node-parse-conflict-json) = 2.0.2
Provides: bundled(node-pacote) = 15.1.1
Provides: bundled(node-parse-conflict-json) = 3.0.1
Provides: bundled(node-path-is-absolute) = 1.0.1
Provides: bundled(node-postcss-selector-parser) = 6.0.10
Provides: bundled(node-proc-log) = 2.0.1
Provides: bundled(node-path-scurry) = 1.6.1
Provides: bundled(node-postcss-selector-parser) = 6.0.11
Provides: bundled(node-proc-log) = 3.0.0
Provides: bundled(node-process) = 0.11.10
Provides: bundled(node-promise-all-reject-late) = 1.0.1
Provides: bundled(node-promise-call-limit) = 1.0.1
Provides: bundled(node-promise-inflight) = 1.0.1
Provides: bundled(node-promise-retry) = 2.0.1
Provides: bundled(node-promzard) = 0.3.0
Provides: bundled(node-promzard) = 1.0.0
Provides: bundled(node-qrcode-terminal) = 0.12.0
Provides: bundled(node-read) = 1.0.7
Provides: bundled(node-read-cmd-shim) = 3.0.0
Provides: bundled(node-read-package-json) = 5.0.2
Provides: bundled(node-read-package-json-fast) = 2.0.3
Provides: bundled(node-readable-stream) = 3.6.0
Provides: bundled(node-readdir-scoped-modules) = 1.1.0
Provides: bundled(node-read) = 2.0.0
Provides: bundled(node-read-cmd-shim) = 4.0.0
Provides: bundled(node-read-package-json) = 6.0.1
Provides: bundled(node-read-package-json-fast) = 3.0.2
Provides: bundled(node-readable-stream) = 3.6.2
Provides: bundled(node-readable-stream) = 4.3.0
Provides: bundled(node-retry) = 0.12.0
Provides: bundled(node-rimraf) = 3.0.2
Provides: bundled(node-safe-buffer) = 5.2.1
Provides: bundled(node-safe-buffer) = 5.1.2
Provides: bundled(node-safer-buffer) = 2.1.2
Provides: bundled(node-semver) = 7.3.7
Provides: bundled(node-semver) = 7.3.8
Provides: bundled(node-set-blocking) = 2.0.0
Provides: bundled(node-signal-exit) = 3.0.7
Provides: bundled(node-sigstore) = 1.2.0
Provides: bundled(node-smart-buffer) = 4.2.0
Provides: bundled(node-socks) = 2.7.0
Provides: bundled(node-socks) = 2.7.1
Provides: bundled(node-socks-proxy-agent) = 7.0.0
Provides: bundled(node-spdx-correct) = 3.1.1
Provides: bundled(node-spdx-correct) = 3.2.0
Provides: bundled(node-spdx-exceptions) = 2.3.0
Provides: bundled(node-spdx-expression-parse) = 3.0.1
Provides: bundled(node-spdx-license-ids) = 3.0.11
Provides: bundled(node-spdx-license-ids) = 3.0.13
Provides: bundled(node-ssri) = 10.0.1
Provides: bundled(node-ssri) = 9.0.1
Provides: bundled(node-string_decoder) = 1.3.0
Provides: bundled(node-string_decoder) = 1.1.1
Provides: bundled(node-string-width) = 4.2.3
Provides: bundled(node-strip-ansi) = 6.0.1
Provides: bundled(node-supports-color) = 7.2.0
Provides: bundled(node-tar) = 6.1.11
Provides: bundled(node-tar) = 6.1.13
Provides: bundled(node-text-table) = 0.2.0
Provides: bundled(node-tiny-relative-date) = 1.3.0
Provides: bundled(node-treeverse) = 2.0.0
Provides: bundled(node-treeverse) = 3.0.0
Provides: bundled(node-tuf-js) = 1.1.2
Provides: bundled(node-unique-filename) = 2.0.1
Provides: bundled(node-unique-filename) = 3.0.0
Provides: bundled(node-unique-slug) = 3.0.0
Provides: bundled(node-unique-slug) = 4.0.0
Provides: bundled(node-util-deprecate) = 1.0.2
Provides: bundled(node-validate-npm-package-license) = 3.0.4
Provides: bundled(node-validate-npm-package-name) = 4.0.0
Provides: bundled(node-validate-npm-package-name) = 5.0.0
Provides: bundled(node-walk-up-path) = 1.0.0
Provides: bundled(node-wcwidth) = 1.0.1
Provides: bundled(node-which) = 2.0.2
Provides: bundled(node-which) = 3.0.0
Provides: bundled(node-wide-align) = 1.1.5
Provides: bundled(node-wrappy) = 1.0.2
Provides: bundled(node-write-file-atomic) = 4.0.2
Provides: bundled(node-write-file-atomic) = 5.0.0
Provides: bundled(node-yallist) = 4.0.0
%description -n npm19
@@ -636,17 +660,34 @@ echo "`grep node-v%{version}.tar.xz %{S:1} | head -n1 | cut -c1-64` %{S:0}" | s
%if %{node_version_number} <= 10
rm -r deps/npm/*
tar zxf %{SOURCE9} -C deps/npm --strip-components=1
tar Jxf %{SOURCE90} -C deps/npm
pushd deps/npm
tar zxf %{SOURCE9} --strip-components=1
tar Jxf %{SOURCE90}
popd
%endif
%if %{node_version_number} >= 10
tar Jxf %{SOURCE11}
%endif
# downgrade node-gyp to last version that supports python 3.4 for SLE12
%if 0%{?suse_version} && 0%{?suse_version} < 1500 && %{node_version_number} >= 16
rm -r deps/npm/node_modules/node-gyp
mkdir deps/npm/node_modules/node-gyp
pushd deps/npm/node_modules/node-gyp
tar Jxf %{SOURCE5}
popd
%if %{node_version_number} >= 19
%patch308 -p1
%endif
%endif
%patch1 -p1
%patch3 -p1
%if %{node_version_number} <= 12 && 0%{?suse_version} < 1500
%patch5 -p1
%endif
%patch7 -p1
%if 0%{with valgrind_tests}
%endif
@@ -666,10 +707,9 @@ tar Jxf %{SOURCE11}
%endif
%patch200 -p1
%patch304 -p1
%patch305 -p1
%if %{node_version_number} <= 12
%if %{node_version_number} == 12
# minimist security update - patch50
rm -r deps/npm/node_modules/mkdirp/node_modules/minimist
rmdir ./deps/npm/node_modules/mkdirp/node_modules
@@ -681,12 +721,6 @@ find -name \*~ -print0 -delete
# abnormalities from patching
find \( -name \*.js.orig -or -name \*.md.orig -or -name \*.1.orig \) -delete
# downgrade node-gyp to last version that supports python 3.4 for SLE12
%if 0%{?use_version} && 0%{?suse_version} < 1500
rm -r deps/npm/node_modules/node-gyp
mkdir deps/npm/node_modules/node-gyp
tar -C deps/npm/node_modules/node-gyp Jxf %{SOURCE5}
%endif
%build
@@ -898,6 +932,12 @@ export NODE_TEST_NO_INTERNET=1
find test \( -name \*.out -or -name \*.js \) -exec sed -i 's,Use `node ,Use `node%{node_version_number} ,' {} \;
%endif
# Update the python3 executable name to point at forced python version
# needed to fix build on SLE12 SP5
%if 0%{?forced_python_version:1}
sed -i -e "s,'python3','python%{forced_python_version}'," test/parallel/test-child-process-set-blocking.js
%endif
ln addon-rpm.gypi deps/npm/node_modules/node-gyp/addon-rpm.gypi
# Tarball doesn't have eslint package distributed, so disable some tests
find test -name \*-eslint-\* -print -delete
@@ -960,7 +1000,8 @@ make test-ci
%files
%defattr(-, root, root)
%license LICENSE
%doc AUTHORS *.md
%doc doc/changelogs/CHANGELOG_V%{node_version_number}.md
%doc *.md
%doc deps/v8/tools/gdbinit
%dir %{_libdir}/node_modules
%dir %{_datadir}/libalternatives

View File

@@ -1,21 +1,21 @@
Index: node-v18.2.0/deps/npm/lib/commands/help-search.js
Index: node-v19.9.0/deps/npm/lib/commands/help-search.js
===================================================================
--- node-v18.2.0.orig/deps/npm/lib/commands/help-search.js
+++ node-v18.2.0/deps/npm/lib/commands/help-search.js
@@ -20,7 +20,7 @@ class HelpSearch extends BaseCommand {
--- node-v19.9.0.orig/deps/npm/lib/commands/help-search.js
+++ node-v19.9.0/deps/npm/lib/commands/help-search.js
@@ -16,7 +16,7 @@ class HelpSearch extends BaseCommand {
throw this.usageError()
}
- const docPath = path.resolve(__dirname, '..', '..', 'docs/content')
- const docPath = path.resolve(this.npm.npmRoot, 'docs/content')
+ const docPath = '/usr/share/doc/packages/nodejs'
const files = await glob(`${globify(docPath)}/*/*.md`)
const data = await this.readFiles(files)
const results = await this.searchFiles(args, data, files)
Index: node-v18.2.0/deps/npm/lib/npm.js
let files = await glob(`${globify(docPath)}/*/*.md`)
// preserve glob@8 behavior
files = files.sort((a, b) => a.localeCompare(b, 'en'))
Index: node-v19.9.0/deps/npm/lib/npm.js
===================================================================
--- node-v18.2.0.orig/deps/npm/lib/npm.js
+++ node-v18.2.0/deps/npm/lib/npm.js
@@ -383,7 +383,13 @@ class Npm extends EventEmitter {
--- node-v19.9.0.orig/deps/npm/lib/npm.js
+++ node-v19.9.0/deps/npm/lib/npm.js
@@ -408,7 +408,13 @@ class Npm extends EventEmitter {
}
get globalPrefix () {

View File

@@ -1,20 +1,20 @@
Index: node-v16.13.0/configure
Index: node-v19.1.0/configure
===================================================================
--- node-v16.13.0.orig/configure
+++ node-v16.13.0/configure
@@ -22,7 +22,7 @@ except ImportError:
--- node-v19.1.0.orig/configure
+++ node-v19.1.0/configure
@@ -23,7 +23,7 @@ except ImportError:
from distutils.spawn import find_executable as which
print('Node.js configure: Found Python {}.{}.{}...'.format(*sys.version_info))
-acceptable_pythons = ((3, 10), (3, 9), (3, 8), (3, 7), (3, 6))
+acceptable_pythons = ((3, 10), (3, 9), (3, 8), (3, 7), (3, 6), (3, 4))
-acceptable_pythons = ((3, 11), (3, 10), (3, 9), (3, 8), (3, 7), (3, 6))
+acceptable_pythons = ((3, 11), (3, 10), (3, 9), (3, 8), (3, 7), (3, 6), (3, 4))
if sys.version_info[:2] in acceptable_pythons:
import configure
else:
Index: node-v16.13.0/deps/npm/node_modules/node-gyp/lib/find-python.js
Index: node-v19.1.0/deps/npm/node_modules/node-gyp/lib/find-python.js
===================================================================
--- node-v16.13.0.orig/deps/npm/node_modules/node-gyp/lib/find-python.js
+++ node-v16.13.0/deps/npm/node_modules/node-gyp/lib/find-python.js
--- node-v19.1.0.orig/deps/npm/node_modules/node-gyp/lib/find-python.js
+++ node-v19.1.0/deps/npm/node_modules/node-gyp/lib/find-python.js
@@ -15,7 +15,7 @@ const programFiles = process.env.Program
const programFilesX86 = process.env['ProgramFiles(x86)'] || `${programFiles} (x86)`

View File

@@ -8,10 +8,10 @@ management via update_alternatives.
This is also important for generation of binary
modules for multiple versions of NodeJS
Index: node-v19.0.0/Makefile
Index: node-v19.8.1/Makefile
===================================================================
--- node-v19.0.0.orig/Makefile
+++ node-v19.0.0/Makefile
--- node-v19.8.1.orig/Makefile
+++ node-v19.8.1/Makefile
@@ -76,7 +76,7 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT
EXEEXT := $(shell $(PYTHON) -c \
"import sys; print('.exe' if sys.platform == 'win32' else '')")
@@ -21,10 +21,10 @@ Index: node-v19.0.0/Makefile
NODE ?= ./$(NODE_EXE)
NODE_G_EXE = node_g$(EXEEXT)
NPM ?= ./deps/npm/bin/npm-cli.js
Index: node-v19.0.0/tools/install.py
Index: node-v19.8.1/tools/install.py
===================================================================
--- node-v19.0.0.orig/tools/install.py
+++ node-v19.0.0/tools/install.py
--- node-v19.8.1.orig/tools/install.py
+++ node-v19.8.1/tools/install.py
@@ -86,7 +86,7 @@ def uninstall(paths, dst):
try_remove(path, dst)
@@ -84,7 +84,7 @@ Index: node-v19.0.0/tools/install.py
+ ], 'include/node19/')
# Add the expfile that is created on AIX
if sys.platform.startswith('aix'):
if sys.platform.startswith('aix') or sys.platform == "os400":
- action(['out/Release/node.exp'], 'include/node/')
+ action(['out/Release/node.exp'], 'include/node19/')
@@ -113,11 +113,11 @@ Index: node-v19.0.0/tools/install.py
if sys.platform == 'zos':
zoslibinc = os.environ.get('ZOSLIB_INCLUDES')
Index: node-v19.0.0/doc/node.1
Index: node-v19.8.1/doc/node.1
===================================================================
--- node-v19.0.0.orig/doc/node.1
+++ node-v19.0.0/doc/node.1
@@ -30,24 +30,24 @@
--- node-v19.8.1.orig/doc/node.1
+++ node-v19.8.1/doc/node.1
@@ -31,24 +31,24 @@
.Dt NODE 1
.
.Sh NAME
@@ -146,85 +146,10 @@ Index: node-v19.0.0/doc/node.1
.Op Fl -v8-options
.
.\"======================================================================
Index: node-v19.0.0/deps/npm/man/man1/npm.1
Index: node-v19.8.1/src/node_main.cc
===================================================================
--- node-v19.0.0.orig/deps/npm/man/man1/npm.1
+++ node-v19.0.0/deps/npm/man/man1/npm.1
@@ -1,6 +1,6 @@
.TH "NPM" "1" "September 2022" "" ""
.SH "NAME"
-\fBnpm\fR \- javascript package manager
+\fBnpm19\fR \- javascript package manager
.SS Synopsis
.SS Version
.P
@@ -15,7 +15,7 @@ It is extremely configurable to support
commonly, you use it to publish, discover, install, and develop node
programs\.
.P
-Run \fBnpm help\fP to get a list of available commands\.
+Run \fBnpm19 help\fP to get a list of available commands\.
.SS Important
.P
npm comes preconfigured to use npm's public registry at
@@ -31,14 +31,14 @@ their terms of use\.
You probably got npm because you want to install stuff\.
.P
The very first thing you will most likely want to run in any node
-program is \fBnpm install\fP to install its dependencies\.
+program is \fBnpm19 install\fP to install its dependencies\.
.P
-You can also run \fBnpm install blerg\fP to install the latest version of
+You can also run \fBnpm19 install blerg\fP to install the latest version of
"blerg"\. Check out npm 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 in the
-public registry\. Use \fBnpm ls\fP to show everything you've installed\.
+Use the \fBnpm19 search\fP command to show everything that's available in the
+public registry\. Use \fBnpm19 ls\fP to show everything you've installed\.
.SS Dependencies
.P
If a package lists a dependency using a git URL, npm will install that
@@ -87,7 +87,7 @@ npm help \fBpackage\.json\fP\|\.
.IP \(bu 2
link:
Links your current working code into Node's path, so that you don't
-have to reinstall every time you make a change\. Use npm help \fBnpm
+have to reinstall every time you make a change\. Use npm help \fBnpm19
link\fP to do this\.
.IP \(bu 2
install:
@@ -170,18 +170,18 @@ https://github\.com/npm/rfcs
.SS See Also
.RS 0
.IP \(bu 2
-npm help help
+npm19 help help
.IP \(bu 2
-npm help package\.json
+npm19 help package\.json
.IP \(bu 2
-npm help npmrc
+npm19 help npmrc
.IP \(bu 2
-npm help config
+npm19 help config
.IP \(bu 2
-npm help install
+npm19 help install
.IP \(bu 2
-npm help prefix
+npm19 help prefix
.IP \(bu 2
-npm help publish
+npm19 help publish
.RE
Index: node-v19.0.0/src/node_main.cc
===================================================================
--- node-v19.0.0.orig/src/node_main.cc
+++ node-v19.0.0/src/node_main.cc
--- node-v19.8.1.orig/src/node_main.cc
+++ node-v19.8.1/src/node_main.cc
@@ -94,6 +94,7 @@ int wmain(int argc, wchar_t* wargv[]) {
// UNIX
@@ -233,11 +158,11 @@ Index: node-v19.0.0/src/node_main.cc
return node::Start(argc, argv);
}
#endif
Index: node-v19.0.0/tools/test.py
Index: node-v19.8.1/tools/test.py
===================================================================
--- node-v19.0.0.orig/tools/test.py
+++ node-v19.0.0/tools/test.py
@@ -948,7 +948,7 @@ class Context(object):
--- node-v19.8.1.orig/tools/test.py
+++ node-v19.8.1/tools/test.py
@@ -954,7 +954,7 @@ class Context(object):
if self.vm is not None:
return self.vm
if arch == 'none':
@@ -246,14 +171,14 @@ Index: node-v19.0.0/tools/test.py
else:
name = 'out/%s.%s/node' % (arch, mode)
Index: node-v19.0.0/node.gyp
Index: node-v19.8.1/node.gyp
===================================================================
--- node-v19.0.0.orig/node.gyp
+++ node-v19.0.0/node.gyp
@@ -22,8 +22,8 @@
'node_use_openssl%': 'true',
--- node-v19.8.1.orig/node.gyp
+++ node-v19.8.1/node.gyp
@@ -23,8 +23,8 @@
'node_shared_openssl%': 'false',
'node_v8_options%': '',
'node_enable_v8_vtunejit%': 'false',
- 'node_core_target_name%': 'node',
- 'node_lib_target_name%': 'libnode',
+ 'node_core_target_name%': 'node19',
@@ -261,173 +186,3 @@ Index: node-v19.0.0/node.gyp
'node_intermediate_lib_type%': 'static_library',
'node_builtin_modules_path%': '',
# We list the deps/ files out instead of globbing them in js2c.py since we
Index: node-v19.0.0/deps/npm/man/man1/npx.1
===================================================================
--- node-v19.0.0.orig/deps/npm/man/man1/npx.1
+++ node-v19.0.0/deps/npm/man/man1/npx.1
@@ -5,10 +5,10 @@
.P
.RS 2
.nf
-npx \-\- <pkg>[@<version>] [args\.\.\.]
-npx \-\-package=<pkg>[@<version>] \-\- <cmd> [args\.\.\.]
-npx \-c '<cmd> [args\.\.\.]'
-npx \-\-package=foo \-c '<cmd> [args\.\.\.]'
+npx19 \-\- <pkg>[@<version>] [args\.\.\.]
+npx19 \-\-package=<pkg>[@<version>] \-\- <cmd> [args\.\.\.]
+npx19 \-c '<cmd> [args\.\.\.]'
+npx19 \-\-package=foo \-c '<cmd> [args\.\.\.]'
.fi
.RE
.SS Description
@@ -57,9 +57,9 @@ no bin entries, or none of them match th
To run a binary \fIother than\fR the named binary, specify one or more
\fB\-\-package\fP options, which will prevent npm from inferring the package from
the first command argument\.
-.SS \fBnpx\fP vs \fBnpm exec\fP
+.SS \fBnpx19\fP vs \fBnpm exec\fP
.P
-When run via the \fBnpx\fP binary, all flags and options \fImust\fR be set prior to
+When run via the \fBnpx19\fP binary, all flags and options \fImust\fR be set prior to
any positional arguments\. When run via \fBnpm exec\fP, a double\-hyphen \fB\-\-\fP
flag can be used to suppress npm's parsing of switches and options that
should be sent to the executed command\.
@@ -68,7 +68,7 @@ For example:
.P
.RS 2
.nf
-$ npx foo@latest bar \-\-package=@npmcli/foo
+$ npx19 foo@latest bar \-\-package=@npmcli/foo
.fi
.RE
.P
@@ -89,7 +89,7 @@ different:
.P
.RS 2
.nf
-$ npm exec foo@latest bar \-\-package=@npmcli/foo
+$ npm19 exec foo@latest bar \-\-package=@npmcli/foo
.fi
.RE
.P
@@ -105,11 +105,11 @@ $ foo@latest bar
.P
The double\-hyphen character is recommended to explicitly tell npm to stop
parsing command line options and switches\. The following command would
-thus be equivalent to the \fBnpx\fP command above:
+thus be equivalent to the \fBnpx19\fP command above:
.P
.RS 2
.nf
-$ npm exec \-\- foo@latest bar \-\-package=@npmcli/foo
+$ npm19 exec \-\- foo@latest bar \-\-package=@npmcli/foo
.fi
.RE
.SS Examples
@@ -119,8 +119,8 @@ arguments:
.P
.RS 2
.nf
-$ npm exec \-\- tap \-\-bail test/foo\.js
-$ npx tap \-\-bail test/foo\.js
+$ npm19 exec \-\- tap \-\-bail test/foo\.js
+$ npx19 tap \-\-bail test/foo\.js
.fi
.RE
.P
@@ -129,9 +129,9 @@ by specifying a \fB\-\-package\fP option
.P
.RS 2
.nf
-$ npm exec \-\-package=foo \-\- bar \-\-bar\-argument
+$ npm19 exec \-\-package=foo \-\- bar \-\-bar\-argument
# ~ or ~
-$ npx \-\-package=foo bar \-\-bar\-argument
+$ npx19 \-\-package=foo bar \-\-bar\-argument
.fi
.RE
.P
@@ -139,14 +139,14 @@ Run an arbitrary shell script, in the co
.P
.RS 2
.nf
-$ npm x \-c 'eslint && say "hooray, lint passed"'
-$ npx \-c 'eslint && say "hooray, lint passed"'
+$ npm19 x \-c 'eslint && say "hooray, lint passed"'
+$ npx19 \-c 'eslint && say "hooray, lint passed"'
.fi
.RE
.SS Compatibility with Older npx Versions
.P
-The \fBnpx\fP binary was rewritten in npm v7\.0\.0, and the standalone \fBnpx\fP
-package deprecated at that time\. \fBnpx\fP uses the \fBnpm exec\fP
+The \fBnpx19\fP binary was rewritten in npm v7\.0\.0, and the standalone \fBnpx19\fP
+package deprecated at that time\. \fBnpx19\fP uses the \fBnpm19 exec\fP
command instead of a separate argument parser and install process, with
some affordances to maintain backwards compatibility with the arguments it
accepted in previous versions\.
@@ -154,10 +154,10 @@ accepted in previous versions\.
This resulted in some shifts in its functionality:
.RS 0
.IP \(bu 2
-Any \fBnpm\fP config value may be provided\.
+Any \fBnpm19\fP config value may be provided\.
.IP \(bu 2
To prevent security and user\-experience problems from mistyping package
-names, \fBnpx\fP prompts before installing anything\. Suppress this
+names, \fBnpx19\fP prompts before installing anything\. Suppress this
prompt with the \fB\-y\fP or \fB\-\-yes\fP option\.
.IP \(bu 2
The \fB\-\-no\-install\fP option is deprecated, and will be converted to \fB\-\-no\fP\|\.
@@ -165,13 +165,13 @@ The \fB\-\-no\-install\fP option is depr
Shell fallback functionality is removed, as it is not advisable\.
.IP \(bu 2
The \fB\-p\fP argument is a shorthand for \fB\-\-parseable\fP in npm, but shorthand
-for \fB\-\-package\fP in npx\. This is maintained, but only for the \fBnpx\fP
+for \fB\-\-package\fP in npx\. This is maintained, but only for the \fBnpx19\fP
executable\.
.IP \(bu 2
The \fB\-\-ignore\-existing\fP option is removed\. Locally installed bins are
always present in the executed process \fBPATH\fP\|\.
.IP \(bu 2
-The \fB\-\-npm\fP option is removed\. \fBnpx\fP will always use the \fBnpm\fP it ships
+The \fB\-\-npm19\fP option is removed\. \fBnpx19\fP will always use the \fBnpm19\fP it ships
with\.
.IP \(bu 2
The \fB\-\-node\-arg\fP and \fB\-n\fP options are removed\.
@@ -179,26 +179,26 @@ The \fB\-\-node\-arg\fP and \fB\-n\fP op
The \fB\-\-always\-spawn\fP option is redundant, and thus removed\.
.IP \(bu 2
The \fB\-\-shell\fP option is replaced with \fB\-\-script\-shell\fP, but maintained
-in the \fBnpx\fP executable for backwards compatibility\.
+in the \fBnpx19\fP executable for backwards compatibility\.
.RE
.SS See Also
.RS 0
.IP \(bu 2
-npm help run\-script
+npm19 help run\-script
.IP \(bu 2
-npm help scripts
+npm19 help scripts
.IP \(bu 2
-npm help test
+npm19 help test
.IP \(bu 2
-npm help start
+npm19 help start
.IP \(bu 2
-npm help restart
+npm19 help restart
.IP \(bu 2
-npm help stop
+npm19 help stop
.IP \(bu 2
-npm help config
+npm19 help config
.IP \(bu 2
-npm help exec
+npm19 help exec
.RE