- 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
This commit is contained in:
2022-07-26 21:38:39 +00:00
committed by Git OBS Bridge
parent 8ab8cd0016
commit ff0784f287
6 changed files with 85 additions and 55 deletions

View File

@@ -31,7 +31,7 @@
%endif
Name: nodejs18
Version: 18.4.0
Version: 18.6.0
Release: 0
# Double DWZ memory limits
@@ -290,7 +290,7 @@ BuildRequires: openssl >= %{openssl_req_ver}
%else
%if %node_version_number <= 12 && 0%{?suse_version} == 1315 && 0%{?sle_version} < 120400
Provides: bundled(openssl) = 3.0.3
Provides: bundled(openssl) = 3.0.5
%else
BuildRequires: bundled_openssl_should_not_be_required
%endif
@@ -362,7 +362,7 @@ ExclusiveArch: not_buildable
Provides: bundled(uvwasi) = 0.0.12
Provides: bundled(libuv) = 1.43.0
Provides: bundled(v8) = 10.2.154.4
Provides: bundled(v8) = 10.2.154.13
%if %{with intree_brotli}
Provides: bundled(brotli) = 1.0.9
%else
@@ -370,14 +370,14 @@ BuildRequires: pkgconfig(libbrotlidec)
%endif
Provides: bundled(llhttp) = 6.0.6
Provides: bundled(llhttp) = 6.0.7
Provides: bundled(ngtcp2) = 0.1.0-DEV
Provides: bundled(node-acorn) = 8.7.0
Provides: bundled(node-acorn-walk) = 8.2.0
Provides: bundled(node-cjs-module-lexer) = 1.2.2
Provides: bundled(node-corepack) = 0.11.2
Provides: bundled(node-undici) = 5.5.1
Provides: bundled(node-corepack) = 0.12.0
Provides: bundled(node-undici) = 5.7.0
%description
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js
@@ -406,7 +406,7 @@ Requires: nodejs-common
Requires: nodejs18 = %{version}
Provides: nodejs-npm = %{version}
Obsoletes: nodejs-npm < 4.0.0
Provides: npm(npm) = 8.12.1
Provides: npm(npm) = 8.13.2
Provides: npm = %{version}
%if 0%{?suse_version} >= 1500
%if %{node_version_number} >= 10
@@ -430,7 +430,7 @@ 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-builtins) = 5.0.1
Provides: bundled(node-cacache) = 16.1.0
Provides: bundled(node-cacache) = 16.1.1
Provides: bundled(node-chalk) = 4.1.2
Provides: bundled(node-chownr) = 2.0.0
Provides: bundled(node-cidr-regex) = 3.1.1
@@ -495,19 +495,19 @@ Provides: bundled(node-jsonparse) = 1.3.1
Provides: bundled(node-just-diff) = 5.0.2
Provides: bundled(node-just-diff-apply) = 5.2.0
Provides: bundled(node-libnpmaccess) = 6.0.3
Provides: bundled(node-libnpmdiff) = 4.0.3
Provides: bundled(node-libnpmexec) = 4.0.6
Provides: bundled(node-libnpmdiff) = 4.0.4
Provides: bundled(node-libnpmexec) = 4.0.8
Provides: bundled(node-libnpmfund) = 3.0.2
Provides: bundled(node-libnpmhook) = 8.0.3
Provides: bundled(node-libnpmorg) = 4.0.3
Provides: bundled(node-libnpmpack) = 4.1.0
Provides: bundled(node-libnpmpack) = 4.1.2
Provides: bundled(node-libnpmpublish) = 6.0.4
Provides: bundled(node-libnpmsearch) = 5.0.3
Provides: bundled(node-libnpmteam) = 4.0.3
Provides: bundled(node-libnpmversion) = 3.0.4
Provides: bundled(node-libnpmversion) = 3.0.6
Provides: bundled(node-lru-cache) = 6.0.0
Provides: bundled(node-lru-cache) = 7.9.0
Provides: bundled(node-make-fetch-happen) = 10.1.6
Provides: bundled(node-make-fetch-happen) = 10.1.8
Provides: bundled(node-minimatch) = 3.1.2
Provides: bundled(node-minimatch) = 5.1.0
Provides: bundled(node-minipass) = 3.1.6
@@ -532,16 +532,16 @@ Provides: bundled(node-npm-bundled) = 1.1.2
Provides: bundled(node-npm-install-checks) = 5.0.0
Provides: bundled(node-npm-normalize-package-bin) = 1.0.1
Provides: bundled(node-npm-package-arg) = 9.0.2
Provides: bundled(node-npm-packlist) = 5.1.0
Provides: bundled(node-npm-packlist) = 5.1.1
Provides: bundled(node-npm-pick-manifest) = 7.0.1
Provides: bundled(node-npm-profile) = 6.0.3
Provides: bundled(node-npm-profile) = 6.1.0
Provides: bundled(node-npm-registry-fetch) = 13.1.1
Provides: bundled(node-npm-user-validate) = 1.0.1
Provides: bundled(node-npmlog) = 6.0.2
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.0
Provides: bundled(node-pacote) = 13.6.1
Provides: bundled(node-parse-conflict-json) = 2.0.2
Provides: bundled(node-path-is-absolute) = 1.0.1
Provides: bundled(node-proc-log) = 2.0.1
@@ -566,7 +566,7 @@ Provides: bundled(node-set-blocking) = 2.0.0
Provides: bundled(node-signal-exit) = 3.0.7
Provides: bundled(node-smart-buffer) = 4.2.0
Provides: bundled(node-socks) = 2.6.2
Provides: bundled(node-socks-proxy-agent) = 6.2.0
Provides: bundled(node-socks-proxy-agent) = 7.0.0
Provides: bundled(node-spdx-correct) = 3.1.1
Provides: bundled(node-spdx-exceptions) = 2.3.0
Provides: bundled(node-spdx-expression-parse) = 3.0.1
@@ -658,7 +658,7 @@ tar Jxf %{SOURCE11}
%endif
%patch200 -p1
%if %{node_version_number} <= 14
%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