Adam Majer
15b4fc8fc9
- Add nodejs20-zlib-1.3.patch: Support zlib version with only major.minor versions, like zlib 1.3. ------------------------------------------------------------------ OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs20?expand=0&rev=45
14 lines
681 B
Diff
14 lines
681 B
Diff
Index: node-v20.8.1/test/parallel/test-process-versions.js
|
|
===================================================================
|
|
--- node-v20.8.1.orig/test/parallel/test-process-versions.js
|
|
+++ node-v20.8.1/test/parallel/test-process-versions.js
|
|
@@ -61,7 +61,7 @@ assert.match(process.versions.brotli, co
|
|
assert.match(process.versions.llhttp, commonTemplate);
|
|
assert.match(process.versions.node, commonTemplate);
|
|
assert.match(process.versions.uv, commonTemplate);
|
|
-assert.match(process.versions.zlib, /^\d+(?:\.\d+){2,3}(?:-.*)?$/);
|
|
+assert.match(process.versions.zlib, /^\d+(?:\.\d+){1,3}(?:-.*)?$/);
|
|
|
|
if (hasUndici) {
|
|
assert.match(process.versions.undici, commonTemplate);
|