- 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:
Adam Majer 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

@ -1,34 +1,34 @@
a403ee671a261d4e52694a81b55ec01aad70e955afae2680eab2e4095260e601 node-v18.4.0-aix-ppc64.tar.gz 692b81d30ee0e03397ec13a74e65012db5a31dc4513f6abb73d290dbf6f85f48 node-v18.6.0-aix-ppc64.tar.gz
90850d1ff13ef07e5ae2c8c2f29c29bd2654308def2776eb73be0f7aa6a4f9bd node-v18.4.0-darwin-arm64.tar.gz b68009204398118dd2806a96a9a4cec35f19c2ba454a325519e0f74ffb9c855e node-v18.6.0-darwin-arm64.tar.gz
361bb9bb174574e87b2116e600f96e6afc5bdcda1fe1d7e191f5e497c23ae56b node-v18.4.0-darwin-arm64.tar.xz 19ae8111bf2e8ba914f722a04fa68bc1cb27eab07aaac8f92a6f78d96e9c3bde node-v18.6.0-darwin-arm64.tar.xz
9d97b2efc0b7f1d0877c319f6c1b3da24c8c4218d4c4eab7d6ebee0d95f69701 node-v18.4.0-darwin-x64.tar.gz 9a4ba2455fdb4f1fe8c07d0aa17ae8369dd4843855e4de8b9d6fc8bc50e473a9 node-v18.6.0-darwin-x64.tar.gz
1ef406671732c589d923fcb3fff51dfd9ed45a1429037d87147641b0b013ede6 node-v18.4.0-darwin-x64.tar.xz 7ab90206566873f30426a6c524b7b253f530acb568bfe6a59b4f929d8ca1c7fb node-v18.6.0-darwin-x64.tar.xz
e8ff60b73c9d68f02e1a5b1a008c82ae1522dd197880ff138d72b6e659595e3d node-v18.4.0-headers.tar.gz d57107b9160b2493fc7664bac868c5b83959c4f9f6fc3d6591ceb3b31febc210 node-v18.6.0-headers.tar.gz
4a7865a23ceb8ca74cd8f6c9c12481e66a046abb779d454ce7d1385a753c6138 node-v18.4.0-headers.tar.xz 3aa3442d436a4e00bcf24ca5510a2ca56c1bd01c2a60a86770b25280e2f80a03 node-v18.6.0-headers.tar.xz
6926ab0721aee65b6a00f4858a307d736de5f48a511d7e5c6182f87887f76188 node-v18.4.0-linux-arm64.tar.gz 6ac2d56cf22b525e2e1d701718e6bae5eeb512cc249d7071b6472b7e8df491ac node-v18.6.0-linux-arm64.tar.gz
86c82075e9b651b2185c3cede479255fc25d23dc4e28aae14f83ddf0287fb85e node-v18.4.0-linux-arm64.tar.xz 2f7d5b0e1bd9d52deecbf257cceafdf3c513bec667491c152d08f36317de5714 node-v18.6.0-linux-arm64.tar.xz
f5547aea83f451b94e70cb9d5f2042e055cc63c130feaf35e39e0ade85b372b6 node-v18.4.0-linux-armv7l.tar.gz 08d2c2f43268612d50bb6f173d57a50a2157ca125afe40ab13708be028e03765 node-v18.6.0-linux-armv7l.tar.gz
0571be25d3dd0271d88d7168dac5d93c423476d612a56f1c90adf8cdf0bfb5ab node-v18.4.0-linux-armv7l.tar.xz f564028b6ba00f7fb2864df8a85fbde53c463d6cebe9a23aa4e65a60bd257673 node-v18.6.0-linux-armv7l.tar.xz
8a7b20fed6286a8755bb49590aab592c86fdf244c494843d0cbbfe34912f01de node-v18.4.0-linux-ppc64le.tar.gz b45f15f8322869e45340ec0be99f00383ad6cc90e9f46df400ee5086abbf0fa5 node-v18.6.0-linux-ppc64le.tar.gz
f78ead16935712b360e1e3370773c2b84dfe11cbdc811ddf9dbe7b376097154c node-v18.4.0-linux-ppc64le.tar.xz cba65d1158141a0fed863adee39cdc5872c202ccaad5bd3c877eddcc9f5809ba node-v18.6.0-linux-ppc64le.tar.xz
fbe52695dc35aede252b94f455ca9dad172c627144c805d57340b7bf624c6b63 node-v18.4.0-linux-s390x.tar.gz 327b4850ef2d691f72fbada170126b1f9bbfb2c8e79fb88ed48f381eac165e4e node-v18.6.0-linux-s390x.tar.gz
558f807ccc156c52c75f556df80d1615811ad17d987c7da2dfce3719fecd5902 node-v18.4.0-linux-s390x.tar.xz f6e17f9a01e1669605b78ffca6b6ce95ee2319e1349fa3af3705db569fcafe8c node-v18.6.0-linux-s390x.tar.xz
4e3f5c72ec735aa23d52042be61e32e7279d26d7f05ebb5571c410e81d10c9a3 node-v18.4.0-linux-x64.tar.gz eff59cd54fdcd24dc09965b41dc8d347ab4ce367b6c395fd983cfb4c3a542e03 node-v18.6.0-linux-x64.tar.gz
68c3749b9b53bb07a21f91d26be5f231012c5364bbf0b3f14015ae38d02d5344 node-v18.4.0-linux-x64.tar.xz 6a33e0ad02c9a3ce0ab298bba95055d45df05dfe0810e871ab5087d9f7852017 node-v18.6.0-linux-x64.tar.xz
62800c6d694745da4c0f668f435f3e019cc3aa31efd152a5ab6f71f36d1e6938 node-v18.4.0.pkg 09c5a18ca4cfc84ce8e50f9ee9b81dbc140368172bc843092d30093cc2fb19e7 node-v18.6.0.pkg
c7c67252175b7f4e1521285bf1a1044dffce6103df9a54f80f0d8287f69e01d7 node-v18.4.0.tar.gz 11a2f77f69987068fe9d3f5fd8f6b4e79570656f97f6b576716b8250544d47cd node-v18.6.0.tar.gz
94d6f19a970361f8c8ad17450604095389f51ca6a00dcde59c21f373e95abbb5 node-v18.4.0.tar.xz 5f8b0c33a12fcaec9643b4367a5daa94314bf26f9b75b5f431c4f14b37bc054c node-v18.6.0.tar.xz
10a6f83ac36a20607d186c074951c8800525566ff79b97979ea0b4adaab836d5 node-v18.4.0-win-x64.7z 32319a7805edfd6c08361648cd37347c027dcd2d7a5182669c71a65b1f7124d9 node-v18.6.0-win-x64.7z
a610ab5416b637c7ef0a7923e9100c1c0bd617fa156ce2ca1d01cec49402d982 node-v18.4.0-win-x64.zip 0990d36064d4f5df3e35c62c3010a0b293ac7af9e9327207b8a534ffbef56822 node-v18.6.0-win-x64.zip
aefd03e0015c8954bd5c118e0b1fe0d2e0a4e0c93322816f05bbd4b196aae00f node-v18.4.0-win-x86.7z 8502453f0d13020d4c22569c8280fd3bd43de88a3a4c1491e5a98736a3e02b94 node-v18.6.0-win-x86.7z
cdfd078ab3f00a3ed906a339afce3201063c6fc899736022cfcbb9c668cd4661 node-v18.4.0-win-x86.zip dd253ea0fa4be72b45b8b721da4825432bcda24430216a0bc88ee9988c9f0b21 node-v18.6.0-win-x86.zip
b79cbf490d581245061d6462430450df16731901a022c83daafbf9a920bafc6e node-v18.4.0-x64.msi fe4e0d93369d6ea9325af7ec837b1af1ab07a42def9004e2616a5cd9725bf555 node-v18.6.0-x64.msi
6a13d5f7de06a3d00a6deb84bbbfa6c591ab45839609a375c12215a86ef9ae9c node-v18.4.0-x86.msi b3a4cc3e09f9e3e41677c3cde883fb03b9cd720d97682dfc07cea4bfcf80c9d5 node-v18.6.0-x86.msi
ac77cb6589f4bc7665e1d3efd3881e88952bac322f818121e7d2a23ce01452c3 win-x64/node.exe 7c5a0bc43bb93d16c8dd9823780495d775ebf8c64e7266d9d6055c88364c5d22 win-x64/node.exe
8dd17e07475a098640979532b8ad77896812605b13c4d715a8aa8804833494b4 win-x64/node.lib 79a4477a289e361dc72f266a3cb3e7a7c6b75680f801b162955254ebf327dab5 win-x64/node.lib
15c763c260901bb32d41068eda6da10a2183563f4b43354b6d6b1c1958865aa6 win-x64/node_pdb.7z ea53077d1d7476ea51df6b6a80c235fcdba41ea05e5019555567e77825f7e295 win-x64/node_pdb.7z
803a757a1b8a796a4ff4357ef895cd6b7308b36c859cb44af91119a92d7ea1d2 win-x64/node_pdb.zip ce9406c0addaad973e2970451516b1fb64935fb906356ef05bc0a827fc861868 win-x64/node_pdb.zip
8cc8f20a2668a8da6ed99ccc15e000ddc3a9cd4b2f28f3f9148be1c1ec4680f8 win-x86/node.exe dead29f2171f572984d038518194f9c8acebac379d1d9d6ec05832df03826e69 win-x86/node.exe
333bd4a83c23547ac8f5f250e6ff171e03919cfa3293b438de0e0baa5976767d win-x86/node.lib 1b1ded85cf23eda464bdfaff3980939ac0cbb720185c27ba9de602152f94d594 win-x86/node.lib
42c553dc26f0c72bd8de873f9ec1b8910afa46d3f45fd341eaa4d2c6eded2d3f win-x86/node_pdb.7z d813657e382fb66718efa28b7de051b23e0febd2d014e4fcf504b6a5f0b474cd win-x86/node_pdb.7z
cca573137e470606f8c82b3e5b11e8035703d9772f5319bcabf9a931a38ccaa9 win-x86/node_pdb.zip 8f9c45f6e0c5bd986bcf8bbdd60daa24414c75a8c4c8fe9e00013e365d7a7039 win-x86/node_pdb.zip

Binary file not shown.

View File

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

3
node-v18.6.0.tar.xz Normal file
View File

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

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Sun Jul 24 09:47:19 UTC 2022 - Adam Majer <adam.majer@suse.de>
- 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
-------------------------------------------------------------------
Mon Jul 11 12:00:48 UTC 2022 - Adam Majer <adam.majer@suse.de>
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 28 13:06:23 UTC 2022 - Adam Majer <adam.majer@suse.de> Tue Jun 28 13:06:23 UTC 2022 - Adam Majer <adam.majer@suse.de>

View File

@ -31,7 +31,7 @@
%endif %endif
Name: nodejs18 Name: nodejs18
Version: 18.4.0 Version: 18.6.0
Release: 0 Release: 0
# Double DWZ memory limits # Double DWZ memory limits
@ -290,7 +290,7 @@ BuildRequires: openssl >= %{openssl_req_ver}
%else %else
%if %node_version_number <= 12 && 0%{?suse_version} == 1315 && 0%{?sle_version} < 120400 %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 %else
BuildRequires: bundled_openssl_should_not_be_required BuildRequires: bundled_openssl_should_not_be_required
%endif %endif
@ -362,7 +362,7 @@ ExclusiveArch: not_buildable
Provides: bundled(uvwasi) = 0.0.12 Provides: bundled(uvwasi) = 0.0.12
Provides: bundled(libuv) = 1.43.0 Provides: bundled(libuv) = 1.43.0
Provides: bundled(v8) = 10.2.154.4 Provides: bundled(v8) = 10.2.154.13
%if %{with intree_brotli} %if %{with intree_brotli}
Provides: bundled(brotli) = 1.0.9 Provides: bundled(brotli) = 1.0.9
%else %else
@ -370,14 +370,14 @@ BuildRequires: pkgconfig(libbrotlidec)
%endif %endif
Provides: bundled(llhttp) = 6.0.6 Provides: bundled(llhttp) = 6.0.7
Provides: bundled(ngtcp2) = 0.1.0-DEV Provides: bundled(ngtcp2) = 0.1.0-DEV
Provides: bundled(node-acorn) = 8.7.0 Provides: bundled(node-acorn) = 8.7.0
Provides: bundled(node-acorn-walk) = 8.2.0 Provides: bundled(node-acorn-walk) = 8.2.0
Provides: bundled(node-cjs-module-lexer) = 1.2.2 Provides: bundled(node-cjs-module-lexer) = 1.2.2
Provides: bundled(node-corepack) = 0.11.2 Provides: bundled(node-corepack) = 0.12.0
Provides: bundled(node-undici) = 5.5.1 Provides: bundled(node-undici) = 5.7.0
%description %description
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js 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} Requires: nodejs18 = %{version}
Provides: nodejs-npm = %{version} Provides: nodejs-npm = %{version}
Obsoletes: nodejs-npm < 4.0.0 Obsoletes: nodejs-npm < 4.0.0
Provides: npm(npm) = 8.12.1 Provides: npm(npm) = 8.13.2
Provides: npm = %{version} Provides: npm = %{version}
%if 0%{?suse_version} >= 1500 %if 0%{?suse_version} >= 1500
%if %{node_version_number} >= 10 %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) = 1.1.11
Provides: bundled(node-brace-expansion) = 2.0.1 Provides: bundled(node-brace-expansion) = 2.0.1
Provides: bundled(node-builtins) = 5.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-chalk) = 4.1.2
Provides: bundled(node-chownr) = 2.0.0 Provides: bundled(node-chownr) = 2.0.0
Provides: bundled(node-cidr-regex) = 3.1.1 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) = 5.0.2
Provides: bundled(node-just-diff-apply) = 5.2.0 Provides: bundled(node-just-diff-apply) = 5.2.0
Provides: bundled(node-libnpmaccess) = 6.0.3 Provides: bundled(node-libnpmaccess) = 6.0.3
Provides: bundled(node-libnpmdiff) = 4.0.3 Provides: bundled(node-libnpmdiff) = 4.0.4
Provides: bundled(node-libnpmexec) = 4.0.6 Provides: bundled(node-libnpmexec) = 4.0.8
Provides: bundled(node-libnpmfund) = 3.0.2 Provides: bundled(node-libnpmfund) = 3.0.2
Provides: bundled(node-libnpmhook) = 8.0.3 Provides: bundled(node-libnpmhook) = 8.0.3
Provides: bundled(node-libnpmorg) = 4.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-libnpmpublish) = 6.0.4
Provides: bundled(node-libnpmsearch) = 5.0.3 Provides: bundled(node-libnpmsearch) = 5.0.3
Provides: bundled(node-libnpmteam) = 4.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) = 6.0.0
Provides: bundled(node-lru-cache) = 7.9.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) = 3.1.2
Provides: bundled(node-minimatch) = 5.1.0 Provides: bundled(node-minimatch) = 5.1.0
Provides: bundled(node-minipass) = 3.1.6 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-install-checks) = 5.0.0
Provides: bundled(node-npm-normalize-package-bin) = 1.0.1 Provides: bundled(node-npm-normalize-package-bin) = 1.0.1
Provides: bundled(node-npm-package-arg) = 9.0.2 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-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-registry-fetch) = 13.1.1
Provides: bundled(node-npm-user-validate) = 1.0.1 Provides: bundled(node-npm-user-validate) = 1.0.1
Provides: bundled(node-npmlog) = 6.0.2 Provides: bundled(node-npmlog) = 6.0.2
Provides: bundled(node-once) = 1.4.0 Provides: bundled(node-once) = 1.4.0
Provides: bundled(node-opener) = 1.5.2 Provides: bundled(node-opener) = 1.5.2
Provides: bundled(node-p-map) = 4.0.0 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-parse-conflict-json) = 2.0.2
Provides: bundled(node-path-is-absolute) = 1.0.1 Provides: bundled(node-path-is-absolute) = 1.0.1
Provides: bundled(node-proc-log) = 2.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-signal-exit) = 3.0.7
Provides: bundled(node-smart-buffer) = 4.2.0 Provides: bundled(node-smart-buffer) = 4.2.0
Provides: bundled(node-socks) = 2.6.2 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-correct) = 3.1.1
Provides: bundled(node-spdx-exceptions) = 2.3.0 Provides: bundled(node-spdx-exceptions) = 2.3.0
Provides: bundled(node-spdx-expression-parse) = 3.0.1 Provides: bundled(node-spdx-expression-parse) = 3.0.1
@ -658,7 +658,7 @@ tar Jxf %{SOURCE11}
%endif %endif
%patch200 -p1 %patch200 -p1
%if %{node_version_number} <= 14 %if %{node_version_number} <= 12
# minimist security update - patch50 # minimist security update - patch50
rm -r deps/npm/node_modules/mkdirp/node_modules/minimist rm -r deps/npm/node_modules/mkdirp/node_modules/minimist
rmdir ./deps/npm/node_modules/mkdirp/node_modules rmdir ./deps/npm/node_modules/mkdirp/node_modules