Commit Graph

37 Commits

Author SHA1 Message Date
b6349c1613 - Update to NodeJS 18.14.2 LTS:
* deps: upgrade npm to 9.5.0
  * deps: update undici to 5.20.0
- Changes in version 18.14.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)

- Update to NodeJS 18.14.0 LTS:
  * deps:
    + update npm to 9.2.0
  * http:
    + join authorization headers
    + improved timeout defaults handling
  * stream:
    + implement finished() for ReadableStream and WritableStream
- refreshed patches: linker_lto_jobs.patch, npm_search_paths.patch,
  versioned.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=47
2023-02-22 14:23:30 +00:00
020700894b OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=45 2023-02-01 10:50:49 +00:00
c320abbbe6 - 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/nodejs18?expand=0&rev=44
2023-02-01 10:04:37 +00:00
516c9e8303 Added patch list
Patches carried over from nodejs17:
  legacy_python.patch node-gyp-addon-gypi.patch openssl_binary_detection.patch
test-skip-y2038-on-32bit-time_t.patch cares_public_headers.patch
rsa-pss-revert.patch linker_lto_jobs.patch versioned.patch fix_ci_tests.patch
manual_configure.patch npm_search_paths.patch  skip_no_console.patch
flaky_test_rerun.patch nodejs-libpath.patch  sle12_python3_compat.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=42
2023-01-31 13:07:44 +00:00
86eb1da432 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=40 2023-01-26 13:00:15 +00:00
65a950dd73 - s390.patch: fix unit test on s390 with patched zlib
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=39
2023-01-26 12:59:22 +00:00
d2fd477a39 - _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/nodejs18?expand=0&rev=38
2023-01-25 12:41:48 +00:00
27ec2a16cf - Again use openssl-3, if available.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=37
2023-01-25 12:03:50 +00:00
79a8fb6293 - 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/nodejs18?expand=0&rev=35
2023-01-16 15:43:36 +00:00
31b7110501 - Update to NodejJS 18.13.0 LTS:
* build: disable v8 snapshot compression by default
  * crypto: update root certificates
  * deps: update ICU to 72.1
  * doc:
    + add doc-only deprecation for headers/trailers setters
    + add Rafael to the tsc
    + deprecate use of invalid ports in url.parse
    + deprecate url.parse()
  * lib: drop fetch experimental warning
  * net: add autoSelectFamily and autoSelectFamilyAttemptTimeout options
  * src:
    + add uvwasi version
    + add initial shadow realm support
  * test_runner:
    + add t.after() hook
    + don't use a symbol for runHook()
  * tls:
    + add "ca" property to certificate object
  * util:
    + add fast path for utf8 encoding
    + improve textdecoder decode performance
    + add MIME utilities
- new_python3.patch, icu721_fixes.patch: upstreamed, removed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=34
2023-01-16 15:07:36 +00:00
e380bea868 - icu721_fixes.patch: fixes compatibility with ICU 72.1 (bsc#1205236)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=32
2022-11-10 09:15:16 +00:00
4ae80be344 - Fix migration to openssl-3 (bsc#1205042)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=30
2022-11-07 14:17:05 +00:00
a5d6117a43 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=29 2022-11-07 10:38:20 +00:00
2b680c36bd - Update to NodeJS 18.12.1 LTS:
* 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/nodejs18?expand=0&rev=28
2022-11-07 10:03:11 +00:00
4c7fe05151 - Update to NodeJS 18.12.0 LTS:
* Running in 'watch' mode using node --watch restarts the process
    when an imported file is changed.
  * fs: add FileHandle.prototype.readLines
  * http: add writeEarlyHints function to ServerResponse
  * http2: make early hints generic
  * util: add default value option to parsearg

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=26
2022-10-28 10:36:54 +00:00
7ff339d952 - Update to NodeJS 18.11.0:
* added experimental watch mode -- running in 'watch' mode using
    node --watch restarts the process when an imported file is changed
  * fs: add FileHandle.prototype.readLines
  * http: add writeEarlyHints function to ServerResponse
  * http2: make early hints generic
  * lib: refactor transferable AbortSignal
  * src: add detailed embedder process initialization API
  * util: add default value option to parsearg
- legacy_python.patch, versioned.patch: updated

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=24
2022-10-17 13:14:57 +00:00
079486e0c9 - qemu_timeouts_arches.patch: set timeouts on riscv5 to 7x normal
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=22
2022-10-12 08:16:07 +00:00
005c5ce4d5 - skip more tests for riscv64/qemu emulation
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=21
2022-10-12 07:44:02 +00:00
b09be45862 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=19 2022-09-29 14:55:28 +00:00
f1ec3c07b3 - Update to NodeJS 18.10.0:
* deps: upgrade npm to 8.19.2
  * http: throw error on content-length mismatch
  * stream: add ReadableByteStream.tee()
- openssl3_fixups.patch: upstreamed and removed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=18
2022-09-29 14:02:32 +00:00
c900d3b684 + CVE-2022-32213 bypass via obs-fold mechanic (bsc#1201325)
(CVE-2022-32215, bsc#1201327)
    + Incorrect Parsing of Header Fields (CVE-2022-35256, bsc#1203832)
    (CVE-2022-35255, bsc#1203831)

- Skip test-fs-utimes-y2K38.js on armv6hl as well as armv7hl.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=17
2022-09-28 12:09:30 +00:00
0ef259aa25 - Update to Nodejs 18.9.1:
* deps: llhttp updated to 6.0.10
    + CVE-2022-32213 bypass via obs-fold mechanic
    + Incorrect Parsing of Multi-line Transfer-Encoding
      (CVE-2022-32215)
    + Incorrect Parsing of Header Fields (CVE-35256)
  * crypto: fix weak randomness in WebCrypto keygen
    (CVE-2022-35255)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=16
2022-09-26 14:46:24 +00:00
Dominique Leuenberger
30cc83a745 Accepting request 1004998 from devel:languages:nodejs
To Factory :-)

OBS-URL: https://build.opensuse.org/request/show/1004998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs18?expand=0&rev=1
2022-09-20 17:29:06 +00:00
4ff671f976 Update keyring
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=14
2022-09-20 15:14:58 +00:00
62af93cb0b OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=13 2022-09-20 14:33:47 +00:00
7c94e21629 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=12 2022-09-20 14:28:42 +00:00
b7cfa990c7 Workaround unit tests in staging
Really remove unused patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=11
2022-09-20 14:19:40 +00:00
d969f5eb93 - new_python3.patch: enable python 3.11 as valid interpreter
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=10
2022-09-19 15:01:15 +00:00
7955725487 more fixes for Fedora in spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=9
2022-09-19 13:12:44 +00:00
ca1e44bd4c Enable compilation for Fedora
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=8
2022-09-19 13:08:25 +00:00
0bd0db45d1 - Update to Nodejs 18.9.0:
* lib - add diagnostics channel for process and worker
  * os - add machine method
  * report - expose report public native apis
  * src - expose environment RequestInterrupt api
  * vm - include vm context in the embedded snapshot
- Changes in 18.8.0:
  * bootstrap: implement run-time user-land snapshots via
    --build-snapshot and --snapshot-blob. See
  * crypto:
    + allow zero-length IKM in HKDF and in webcrypto PBKDF2
    + allow zero-length secret KeyObject
  * deps: upgrade npm to 8.18.0
  * http: make idle http parser count configurable
  * net: add local family
  * src: print source map error source on demand
  * tls: pass a valid socket on tlsClientError
- dns.patch: upstreamed, removed
- nodejs-libpath.patch, versioned.patch: refreshed
- fix_ci_tests.patch: partially upstreamed
- openssl3_fixups.patch: fix unit tests with openssl 1.1.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=7
2022-09-19 12:47:08 +00:00
fae5556a41 - Update to Nodejs 18.7.0:
* events: add CustomEvent
  * http: add drop request event for http server
  * lib: improved diagnostics_channel subscribe/unsubscribe
  * util: add tokens to parseArgs
- enable crypto policy ciphers for TW and SLE15 SP4+ (bsc#1200303)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=6
2022-08-18 10:54:04 +00:00
138d07f543 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=5 2022-08-01 10:17:34 +00:00
78a89a2272 - dns.patch: fix regression
https://github.com/nodejs/node/issues/44003

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=4
2022-07-31 15:40:20 +00:00
ff0784f287 - Update to Nodejs 18.6.0:
* Experimental ESM Loader Hooks API. For details see,
    https://nodejs.org/api/esm.html
  * dns: export error code constants from dns/promises
  * esm: add chaining to loaders
  * http: add diagnostics channel for http client
  * http: add perf_hooks detail for http request and client
  * module: add isBuiltIn method
  * net: add drop event for net server
  * test_runner: expose describe and it
  * v8: add v8.startupSnapshot utils
  For details, see
  https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.6.0

- Update to Nodejs 18.5.0:
  * http: stricter Transfer-Encoding and header separator parsing
    (bsc#1201325, bsc#1201326, bsc#1201327,
     CVE-2022-32213, CVE-2022-32214, CVE-2022-32215)
  * src: fix IPv4 validation in inspector_socket
    (bsc#1201328, CVE-2022-32212)
  For details, see
  https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.5.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=3
2022-07-26 21:38:39 +00:00
8ab8cd0016 - Update to Nodejs 18.4.0. For detailed changes see,
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.4.0
- refreshed: versioned.patch, linker_lto_jobs.patch, nodejs-libpath.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=2
2022-06-28 14:02:30 +00:00
38fc9b6db2 - Initial packaging of Nodejs 18.2.0. For detailed changes
since previous versions, see
  https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V18.md#18.2.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=1
2022-05-19 15:11:22 +00:00