!127 Update CVE-2023-23918.patch for fix nodejs-raw-body,nodejs-istanbul build error

From: @wk333 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2023-10-26 08:30:05 +00:00 committed by Gitee
commit 1c642cdc48
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 2 deletions

View File

@ -320,7 +320,7 @@ Index: node-v12.22.12/lib/internal/modules/cjs/loader.js
+ObjectDefineProperty(Module.prototype, 'constructor', {
+ __proto__: null,
+ get: function() {
+ return policy ? undefined : Module;
+ return manifest ? undefined : Module;
+ },
+ configurable: false,
+ enumerable: false,

View File

@ -1,5 +1,5 @@
%bcond_with bootstrap
%global baserelease 5
%global baserelease 6
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
%global nodejs_epoch 1
%global nodejs_major 12
@ -501,6 +501,9 @@ end
%{_pkgdocdir}/npm/docs
%changelog
* Thu Oct 26 2023 wangkai <13474090681@163.com> - 1:12.22.11-6
- Update CVE-2023-23918.patch for fix nodejs-raw-body,nodejs-istanbul build error
* Tue Aug 29 2023 wangkai <13474090681@163.com> - 1:12.22.11-5
- Fix CVE-2022-32212,CVE-2022-32213,CVE-2022-32214,CVE-2022-32215,
- CVE-2022-25881,CVE-2023-23918,CVE-2023-23920,CVE-2023-30589,