forked from pool/nodejs20
* buffer: improve base64 and base64url performance * crypto: deprecate implicitly shortened GCM tags * events,doc: mark CustomEvent as stable * fs: add stacktrace to fs/promises * report: add --report-exclude-network option * src: add uv_get_available_memory to report and process * stream: support typed arrays * util: support array of formats in util.styleText * v8: implement v8.queryObjects() for memory leak regression testing * watch: mark as stable - versioned.patch: refreshed - cares_sle12_capabilities.patch: SLES12 compatibility OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs20?expand=0&rev=80
14 lines
591 B
Diff
14 lines
591 B
Diff
Index: node-v19.1.0/deps/npm/node_modules/node-gyp/lib/configure.js
|
|
===================================================================
|
|
--- node-v19.1.0.orig/deps/npm/node_modules/node-gyp/lib/configure.js
|
|
+++ node-v19.1.0/deps/npm/node_modules/node-gyp/lib/configure.js
|
|
@@ -96,7 +96,7 @@ function configure (gyp, argv, callback)
|
|
|
|
log.verbose('build/' + configFilename, 'creating config file')
|
|
|
|
- var config = process.config || {}
|
|
+ var config = JSON.parse(JSON.stringify(process.config || {}))
|
|
var defaults = config.target_defaults
|
|
var variables = config.variables
|
|
|