Files
nodejs10/node-gyp-addon-gypi.patch

79 lines
3.0 KiB
Diff
Raw Permalink Normal View History

Index: node-v12.8.0/addon-rpm.gypi
- New upstream release 10.1.0: * console: make console.table() use colored inspect * fs: move fs/promises to fs.promises * http: added aborted property to request * n-api: initialize a module via a special symbol * src: add public API to expose the main V8 Platform - Changes in version 10.0.0: * Assert: + Calling assert.fail() with more than one argument is deprecated. + Calling assert.ok() with no arguments will now throw. + Calling assert.ifError() will now throw with any argument other than undefined or null. Previously the method would throw with any truthy value. * Async_hooks: + Older experimental async_hooks APIs have been removed. * Buffer: + Uses of new Buffer() and Buffer() outside of the node_modules directory will now emit a runtime deprecation warning. + Buffer.isEncoding() now returns undefined for falsy values, including an empty string. + Buffer.fill() will throw if an attempt is made to fill with an empty Buffer. * Child Process: Undefined properties of env are ignored. * console: console.table() method has been added. * crypto: + The crypto.createCipher() and crypto.createDecipher() methods have been deprecated. Please use crypto.createCipheriv() and crypto.createDecipheriv() instead. + The decipher.finaltol() method has been deprecated. + The crypto.DEFAULT_ENCODING property has been deprecated. + The ECDH.convertKey() method has been added. + The crypto.fips property has been deprecated. * deps: + V8 has been updated to 6.6 + npm upgraded to 5.8.0 * EventEmitter: + The EventEmitter.prototype.off() method has been added as an alias for EventEmitter.prototype.removeListener(). * File System: + The fs/promises API provides experimental promisified versions of the fs functions. + Invalid path errors are now thrown synchronously. + fs.readFile() method now partitions reads to avoid thread pool exhaustion. * http: + Processing of HTTP Status codes 100, 102-199 has been improved. + Multi-byte characters in URL paths are now forbidden. * N-API: The n-api is no longer experimental. * net: The 'close' event will be emitted after 'end'. * perf_hooks: + The PerformanceObserver class is now an AsyncResource and can be monitored using async_hooks. + Trace events are now emitted for performance events. + The performance API has been simplified. + Performance milestone marks will be emitted as trace events. * process: + Using non-string values for process.env is deprecated. + The process.assert() method is deprecated. * repl: + REPL now experimentally supports top-level await when using the --experimental-repl-await flag. + The previously deprecated "magic mode" has been removed. + The previously deprecated NODE_REPL_HISTORY_FILE environment variable has been removed. + Proxy objects are shown as Proxy objects when inspected. * streams: + The 'readable' event is now always deferred with nextTick. + A new pipeline() method has been provided for building end-to-data stream pipelines. + support for async for-await has been added to stream.Readable * timers: The enroll() and unenroll() methods have been deprecated * tls: + The tls.convertNPNProtocols() method has been deprecated. + Support for NPN (next protocol negotiation) has been dropped. + The ecdhCurve default is now 'auto'. * Trace Events: + A new trace_events top-level module allows trace event categories to be enabled/disabled at runtime. * URL: The WHATWG URL API is now a global. * Util: + util.types.is[…] type checks have been added. + Support for bigint formatting has been added to util.inspect(). OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs10?expand=0&rev=1
2018-05-11 14:21:06 +00:00
===================================================================
--- /dev/null
+++ node-v12.8.0/addon-rpm.gypi
- New upstream release 10.1.0: * console: make console.table() use colored inspect * fs: move fs/promises to fs.promises * http: added aborted property to request * n-api: initialize a module via a special symbol * src: add public API to expose the main V8 Platform - Changes in version 10.0.0: * Assert: + Calling assert.fail() with more than one argument is deprecated. + Calling assert.ok() with no arguments will now throw. + Calling assert.ifError() will now throw with any argument other than undefined or null. Previously the method would throw with any truthy value. * Async_hooks: + Older experimental async_hooks APIs have been removed. * Buffer: + Uses of new Buffer() and Buffer() outside of the node_modules directory will now emit a runtime deprecation warning. + Buffer.isEncoding() now returns undefined for falsy values, including an empty string. + Buffer.fill() will throw if an attempt is made to fill with an empty Buffer. * Child Process: Undefined properties of env are ignored. * console: console.table() method has been added. * crypto: + The crypto.createCipher() and crypto.createDecipher() methods have been deprecated. Please use crypto.createCipheriv() and crypto.createDecipheriv() instead. + The decipher.finaltol() method has been deprecated. + The crypto.DEFAULT_ENCODING property has been deprecated. + The ECDH.convertKey() method has been added. + The crypto.fips property has been deprecated. * deps: + V8 has been updated to 6.6 + npm upgraded to 5.8.0 * EventEmitter: + The EventEmitter.prototype.off() method has been added as an alias for EventEmitter.prototype.removeListener(). * File System: + The fs/promises API provides experimental promisified versions of the fs functions. + Invalid path errors are now thrown synchronously. + fs.readFile() method now partitions reads to avoid thread pool exhaustion. * http: + Processing of HTTP Status codes 100, 102-199 has been improved. + Multi-byte characters in URL paths are now forbidden. * N-API: The n-api is no longer experimental. * net: The 'close' event will be emitted after 'end'. * perf_hooks: + The PerformanceObserver class is now an AsyncResource and can be monitored using async_hooks. + Trace events are now emitted for performance events. + The performance API has been simplified. + Performance milestone marks will be emitted as trace events. * process: + Using non-string values for process.env is deprecated. + The process.assert() method is deprecated. * repl: + REPL now experimentally supports top-level await when using the --experimental-repl-await flag. + The previously deprecated "magic mode" has been removed. + The previously deprecated NODE_REPL_HISTORY_FILE environment variable has been removed. + Proxy objects are shown as Proxy objects when inspected. * streams: + The 'readable' event is now always deferred with nextTick. + A new pipeline() method has been provided for building end-to-data stream pipelines. + support for async for-await has been added to stream.Readable * timers: The enroll() and unenroll() methods have been deprecated * tls: + The tls.convertNPNProtocols() method has been deprecated. + Support for NPN (next protocol negotiation) has been dropped. + The ecdhCurve default is now 'auto'. * Trace Events: + A new trace_events top-level module allows trace event categories to be enabled/disabled at runtime. * URL: The WHATWG URL API is now a global. * Util: + util.types.is[…] type checks have been added. + Support for bigint formatting has been added to util.inspect(). OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs10?expand=0&rev=1
2018-05-11 14:21:06 +00:00
@@ -0,0 +1,35 @@
+{
+ 'target_defaults': {
+ 'type': 'loadable_module',
+ 'product_prefix': '',
+ 'include_dirs': [
+ '/usr/include/node10/',
- New upstream release 10.1.0: * console: make console.table() use colored inspect * fs: move fs/promises to fs.promises * http: added aborted property to request * n-api: initialize a module via a special symbol * src: add public API to expose the main V8 Platform - Changes in version 10.0.0: * Assert: + Calling assert.fail() with more than one argument is deprecated. + Calling assert.ok() with no arguments will now throw. + Calling assert.ifError() will now throw with any argument other than undefined or null. Previously the method would throw with any truthy value. * Async_hooks: + Older experimental async_hooks APIs have been removed. * Buffer: + Uses of new Buffer() and Buffer() outside of the node_modules directory will now emit a runtime deprecation warning. + Buffer.isEncoding() now returns undefined for falsy values, including an empty string. + Buffer.fill() will throw if an attempt is made to fill with an empty Buffer. * Child Process: Undefined properties of env are ignored. * console: console.table() method has been added. * crypto: + The crypto.createCipher() and crypto.createDecipher() methods have been deprecated. Please use crypto.createCipheriv() and crypto.createDecipheriv() instead. + The decipher.finaltol() method has been deprecated. + The crypto.DEFAULT_ENCODING property has been deprecated. + The ECDH.convertKey() method has been added. + The crypto.fips property has been deprecated. * deps: + V8 has been updated to 6.6 + npm upgraded to 5.8.0 * EventEmitter: + The EventEmitter.prototype.off() method has been added as an alias for EventEmitter.prototype.removeListener(). * File System: + The fs/promises API provides experimental promisified versions of the fs functions. + Invalid path errors are now thrown synchronously. + fs.readFile() method now partitions reads to avoid thread pool exhaustion. * http: + Processing of HTTP Status codes 100, 102-199 has been improved. + Multi-byte characters in URL paths are now forbidden. * N-API: The n-api is no longer experimental. * net: The 'close' event will be emitted after 'end'. * perf_hooks: + The PerformanceObserver class is now an AsyncResource and can be monitored using async_hooks. + Trace events are now emitted for performance events. + The performance API has been simplified. + Performance milestone marks will be emitted as trace events. * process: + Using non-string values for process.env is deprecated. + The process.assert() method is deprecated. * repl: + REPL now experimentally supports top-level await when using the --experimental-repl-await flag. + The previously deprecated "magic mode" has been removed. + The previously deprecated NODE_REPL_HISTORY_FILE environment variable has been removed. + Proxy objects are shown as Proxy objects when inspected. * streams: + The 'readable' event is now always deferred with nextTick. + A new pipeline() method has been provided for building end-to-data stream pipelines. + support for async for-await has been added to stream.Readable * timers: The enroll() and unenroll() methods have been deprecated * tls: + The tls.convertNPNProtocols() method has been deprecated. + Support for NPN (next protocol negotiation) has been dropped. + The ecdhCurve default is now 'auto'. * Trace Events: + A new trace_events top-level module allows trace event categories to be enabled/disabled at runtime. * URL: The WHATWG URL API is now a global. * Util: + util.types.is[…] type checks have been added. + Support for bigint formatting has been added to util.inspect(). OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs10?expand=0&rev=1
2018-05-11 14:21:06 +00:00
+ '/usr/include/'
+ ],
+
+ 'target_conditions': [
+ ['_type=="loadable_module"', {
+ 'product_extension': 'node',
+ 'defines': [ 'BUILDING_NODE_EXTENSION' ],
+ }]
+ ],
+
+ 'conditions': [
+ [ 'OS=="mac"', {
+ 'libraries': [ '-undefined dynamic_lookup' ],
+ 'xcode_settings': {
+ 'DYLIB_INSTALL_NAME_BASE': '@rpath'
+ },
+ }],
+ [ 'OS=="win"', {
+ 'libraries': [ '-l<(node_root_dir)/$(Configuration)/node.lib' ],
+ # warning C4251: 'node::ObjectWrap::handle_' : class 'v8::Persistent<T>'
+ # needs to have dll-interface to be used by clients of class 'node::ObjectWrap'
+ 'msvs_disabled_warnings': [ 4251 ],
+ }],
+ [ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
+ 'cflags': [ '-fPIC' ],
+ }]
+ ]
+ }
+}
Index: node-v12.8.0/deps/npm/node_modules/node-gyp/lib/configure.js
- New upstream release 10.1.0: * console: make console.table() use colored inspect * fs: move fs/promises to fs.promises * http: added aborted property to request * n-api: initialize a module via a special symbol * src: add public API to expose the main V8 Platform - Changes in version 10.0.0: * Assert: + Calling assert.fail() with more than one argument is deprecated. + Calling assert.ok() with no arguments will now throw. + Calling assert.ifError() will now throw with any argument other than undefined or null. Previously the method would throw with any truthy value. * Async_hooks: + Older experimental async_hooks APIs have been removed. * Buffer: + Uses of new Buffer() and Buffer() outside of the node_modules directory will now emit a runtime deprecation warning. + Buffer.isEncoding() now returns undefined for falsy values, including an empty string. + Buffer.fill() will throw if an attempt is made to fill with an empty Buffer. * Child Process: Undefined properties of env are ignored. * console: console.table() method has been added. * crypto: + The crypto.createCipher() and crypto.createDecipher() methods have been deprecated. Please use crypto.createCipheriv() and crypto.createDecipheriv() instead. + The decipher.finaltol() method has been deprecated. + The crypto.DEFAULT_ENCODING property has been deprecated. + The ECDH.convertKey() method has been added. + The crypto.fips property has been deprecated. * deps: + V8 has been updated to 6.6 + npm upgraded to 5.8.0 * EventEmitter: + The EventEmitter.prototype.off() method has been added as an alias for EventEmitter.prototype.removeListener(). * File System: + The fs/promises API provides experimental promisified versions of the fs functions. + Invalid path errors are now thrown synchronously. + fs.readFile() method now partitions reads to avoid thread pool exhaustion. * http: + Processing of HTTP Status codes 100, 102-199 has been improved. + Multi-byte characters in URL paths are now forbidden. * N-API: The n-api is no longer experimental. * net: The 'close' event will be emitted after 'end'. * perf_hooks: + The PerformanceObserver class is now an AsyncResource and can be monitored using async_hooks. + Trace events are now emitted for performance events. + The performance API has been simplified. + Performance milestone marks will be emitted as trace events. * process: + Using non-string values for process.env is deprecated. + The process.assert() method is deprecated. * repl: + REPL now experimentally supports top-level await when using the --experimental-repl-await flag. + The previously deprecated "magic mode" has been removed. + The previously deprecated NODE_REPL_HISTORY_FILE environment variable has been removed. + Proxy objects are shown as Proxy objects when inspected. * streams: + The 'readable' event is now always deferred with nextTick. + A new pipeline() method has been provided for building end-to-data stream pipelines. + support for async for-await has been added to stream.Readable * timers: The enroll() and unenroll() methods have been deprecated * tls: + The tls.convertNPNProtocols() method has been deprecated. + Support for NPN (next protocol negotiation) has been dropped. + The ecdhCurve default is now 'auto'. * Trace Events: + A new trace_events top-level module allows trace event categories to be enabled/disabled at runtime. * URL: The WHATWG URL API is now a global. * Util: + util.types.is[…] type checks have been added. + Support for bigint formatting has been added to util.inspect(). OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs10?expand=0&rev=1
2018-05-11 14:21:06 +00:00
===================================================================
--- node-v12.8.0.orig/deps/npm/node_modules/node-gyp/lib/configure.js
+++ node-v12.8.0/deps/npm/node_modules/node-gyp/lib/configure.js
@@ -46,10 +46,6 @@ function configure (gyp, argv, callback)
- New upstream release 10.1.0: * console: make console.table() use colored inspect * fs: move fs/promises to fs.promises * http: added aborted property to request * n-api: initialize a module via a special symbol * src: add public API to expose the main V8 Platform - Changes in version 10.0.0: * Assert: + Calling assert.fail() with more than one argument is deprecated. + Calling assert.ok() with no arguments will now throw. + Calling assert.ifError() will now throw with any argument other than undefined or null. Previously the method would throw with any truthy value. * Async_hooks: + Older experimental async_hooks APIs have been removed. * Buffer: + Uses of new Buffer() and Buffer() outside of the node_modules directory will now emit a runtime deprecation warning. + Buffer.isEncoding() now returns undefined for falsy values, including an empty string. + Buffer.fill() will throw if an attempt is made to fill with an empty Buffer. * Child Process: Undefined properties of env are ignored. * console: console.table() method has been added. * crypto: + The crypto.createCipher() and crypto.createDecipher() methods have been deprecated. Please use crypto.createCipheriv() and crypto.createDecipheriv() instead. + The decipher.finaltol() method has been deprecated. + The crypto.DEFAULT_ENCODING property has been deprecated. + The ECDH.convertKey() method has been added. + The crypto.fips property has been deprecated. * deps: + V8 has been updated to 6.6 + npm upgraded to 5.8.0 * EventEmitter: + The EventEmitter.prototype.off() method has been added as an alias for EventEmitter.prototype.removeListener(). * File System: + The fs/promises API provides experimental promisified versions of the fs functions. + Invalid path errors are now thrown synchronously. + fs.readFile() method now partitions reads to avoid thread pool exhaustion. * http: + Processing of HTTP Status codes 100, 102-199 has been improved. + Multi-byte characters in URL paths are now forbidden. * N-API: The n-api is no longer experimental. * net: The 'close' event will be emitted after 'end'. * perf_hooks: + The PerformanceObserver class is now an AsyncResource and can be monitored using async_hooks. + Trace events are now emitted for performance events. + The performance API has been simplified. + Performance milestone marks will be emitted as trace events. * process: + Using non-string values for process.env is deprecated. + The process.assert() method is deprecated. * repl: + REPL now experimentally supports top-level await when using the --experimental-repl-await flag. + The previously deprecated "magic mode" has been removed. + The previously deprecated NODE_REPL_HISTORY_FILE environment variable has been removed. + Proxy objects are shown as Proxy objects when inspected. * streams: + The 'readable' event is now always deferred with nextTick. + A new pipeline() method has been provided for building end-to-data stream pipelines. + support for async for-await has been added to stream.Readable * timers: The enroll() and unenroll() methods have been deprecated * tls: + The tls.convertNPNProtocols() method has been deprecated. + Support for NPN (next protocol negotiation) has been dropped. + The ecdhCurve default is now 'auto'. * Trace Events: + A new trace_events top-level module allows trace event categories to be enabled/disabled at runtime. * URL: The WHATWG URL API is now a global. * Util: + util.types.is[…] type checks have been added. + Support for bigint formatting has been added to util.inspect(). OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs10?expand=0&rev=1
2018-05-11 14:21:06 +00:00
if ('v' + release.version !== process.version) {
// if --target was given, then determine a target version to compile for
log.verbose('get node dir', 'compiling against --target node version: %s', release.version)
- } else {
- // if no --target was specified then use the current host node version
- log.verbose('get node dir', 'no --target version specified, falling back to host node version: %s', release.version)
- }
if (!release.semver) {
// could not parse the version string with semver
@@ -68,6 +64,12 @@ function configure (gyp, argv, callback)
- New upstream release 10.1.0: * console: make console.table() use colored inspect * fs: move fs/promises to fs.promises * http: added aborted property to request * n-api: initialize a module via a special symbol * src: add public API to expose the main V8 Platform - Changes in version 10.0.0: * Assert: + Calling assert.fail() with more than one argument is deprecated. + Calling assert.ok() with no arguments will now throw. + Calling assert.ifError() will now throw with any argument other than undefined or null. Previously the method would throw with any truthy value. * Async_hooks: + Older experimental async_hooks APIs have been removed. * Buffer: + Uses of new Buffer() and Buffer() outside of the node_modules directory will now emit a runtime deprecation warning. + Buffer.isEncoding() now returns undefined for falsy values, including an empty string. + Buffer.fill() will throw if an attempt is made to fill with an empty Buffer. * Child Process: Undefined properties of env are ignored. * console: console.table() method has been added. * crypto: + The crypto.createCipher() and crypto.createDecipher() methods have been deprecated. Please use crypto.createCipheriv() and crypto.createDecipheriv() instead. + The decipher.finaltol() method has been deprecated. + The crypto.DEFAULT_ENCODING property has been deprecated. + The ECDH.convertKey() method has been added. + The crypto.fips property has been deprecated. * deps: + V8 has been updated to 6.6 + npm upgraded to 5.8.0 * EventEmitter: + The EventEmitter.prototype.off() method has been added as an alias for EventEmitter.prototype.removeListener(). * File System: + The fs/promises API provides experimental promisified versions of the fs functions. + Invalid path errors are now thrown synchronously. + fs.readFile() method now partitions reads to avoid thread pool exhaustion. * http: + Processing of HTTP Status codes 100, 102-199 has been improved. + Multi-byte characters in URL paths are now forbidden. * N-API: The n-api is no longer experimental. * net: The 'close' event will be emitted after 'end'. * perf_hooks: + The PerformanceObserver class is now an AsyncResource and can be monitored using async_hooks. + Trace events are now emitted for performance events. + The performance API has been simplified. + Performance milestone marks will be emitted as trace events. * process: + Using non-string values for process.env is deprecated. + The process.assert() method is deprecated. * repl: + REPL now experimentally supports top-level await when using the --experimental-repl-await flag. + The previously deprecated "magic mode" has been removed. + The previously deprecated NODE_REPL_HISTORY_FILE environment variable has been removed. + Proxy objects are shown as Proxy objects when inspected. * streams: + The 'readable' event is now always deferred with nextTick. + A new pipeline() method has been provided for building end-to-data stream pipelines. + support for async for-await has been added to stream.Readable * timers: The enroll() and unenroll() methods have been deprecated * tls: + The tls.convertNPNProtocols() method has been deprecated. + Support for NPN (next protocol negotiation) has been dropped. + The ecdhCurve default is now 'auto'. * Trace Events: + A new trace_events top-level module allows trace event categories to be enabled/disabled at runtime. * URL: The WHATWG URL API is now a global. * Util: + util.types.is[…] type checks have been added. + Support for bigint formatting has been added to util.inspect(). OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs10?expand=0&rev=1
2018-05-11 14:21:06 +00:00
nodeDir = path.resolve(gyp.devDir, release.versionDir)
createBuildDir()
})
+ } else {
+ // if no --target was specified then use RPM-installed headers
+ log.verbose('get node dir', 'no --target version specified, falling back to RPM installed headers')
+ nodeDir = '/usr/include/node10'
- New upstream release 10.1.0: * console: make console.table() use colored inspect * fs: move fs/promises to fs.promises * http: added aborted property to request * n-api: initialize a module via a special symbol * src: add public API to expose the main V8 Platform - Changes in version 10.0.0: * Assert: + Calling assert.fail() with more than one argument is deprecated. + Calling assert.ok() with no arguments will now throw. + Calling assert.ifError() will now throw with any argument other than undefined or null. Previously the method would throw with any truthy value. * Async_hooks: + Older experimental async_hooks APIs have been removed. * Buffer: + Uses of new Buffer() and Buffer() outside of the node_modules directory will now emit a runtime deprecation warning. + Buffer.isEncoding() now returns undefined for falsy values, including an empty string. + Buffer.fill() will throw if an attempt is made to fill with an empty Buffer. * Child Process: Undefined properties of env are ignored. * console: console.table() method has been added. * crypto: + The crypto.createCipher() and crypto.createDecipher() methods have been deprecated. Please use crypto.createCipheriv() and crypto.createDecipheriv() instead. + The decipher.finaltol() method has been deprecated. + The crypto.DEFAULT_ENCODING property has been deprecated. + The ECDH.convertKey() method has been added. + The crypto.fips property has been deprecated. * deps: + V8 has been updated to 6.6 + npm upgraded to 5.8.0 * EventEmitter: + The EventEmitter.prototype.off() method has been added as an alias for EventEmitter.prototype.removeListener(). * File System: + The fs/promises API provides experimental promisified versions of the fs functions. + Invalid path errors are now thrown synchronously. + fs.readFile() method now partitions reads to avoid thread pool exhaustion. * http: + Processing of HTTP Status codes 100, 102-199 has been improved. + Multi-byte characters in URL paths are now forbidden. * N-API: The n-api is no longer experimental. * net: The 'close' event will be emitted after 'end'. * perf_hooks: + The PerformanceObserver class is now an AsyncResource and can be monitored using async_hooks. + Trace events are now emitted for performance events. + The performance API has been simplified. + Performance milestone marks will be emitted as trace events. * process: + Using non-string values for process.env is deprecated. + The process.assert() method is deprecated. * repl: + REPL now experimentally supports top-level await when using the --experimental-repl-await flag. + The previously deprecated "magic mode" has been removed. + The previously deprecated NODE_REPL_HISTORY_FILE environment variable has been removed. + Proxy objects are shown as Proxy objects when inspected. * streams: + The 'readable' event is now always deferred with nextTick. + A new pipeline() method has been provided for building end-to-data stream pipelines. + support for async for-await has been added to stream.Readable * timers: The enroll() and unenroll() methods have been deprecated * tls: + The tls.convertNPNProtocols() method has been deprecated. + Support for NPN (next protocol negotiation) has been dropped. + The ecdhCurve default is now 'auto'. * Trace Events: + A new trace_events top-level module allows trace event categories to be enabled/disabled at runtime. * URL: The WHATWG URL API is now a global. * Util: + util.types.is[…] type checks have been added. + Support for bigint formatting has been added to util.inspect(). OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs10?expand=0&rev=1
2018-05-11 14:21:06 +00:00
+ createBuildDir()
+ }
}
}
@@ -282,7 +284,8 @@ function configure (gyp, argv, callback)
- New upstream release 10.1.0: * console: make console.table() use colored inspect * fs: move fs/promises to fs.promises * http: added aborted property to request * n-api: initialize a module via a special symbol * src: add public API to expose the main V8 Platform - Changes in version 10.0.0: * Assert: + Calling assert.fail() with more than one argument is deprecated. + Calling assert.ok() with no arguments will now throw. + Calling assert.ifError() will now throw with any argument other than undefined or null. Previously the method would throw with any truthy value. * Async_hooks: + Older experimental async_hooks APIs have been removed. * Buffer: + Uses of new Buffer() and Buffer() outside of the node_modules directory will now emit a runtime deprecation warning. + Buffer.isEncoding() now returns undefined for falsy values, including an empty string. + Buffer.fill() will throw if an attempt is made to fill with an empty Buffer. * Child Process: Undefined properties of env are ignored. * console: console.table() method has been added. * crypto: + The crypto.createCipher() and crypto.createDecipher() methods have been deprecated. Please use crypto.createCipheriv() and crypto.createDecipheriv() instead. + The decipher.finaltol() method has been deprecated. + The crypto.DEFAULT_ENCODING property has been deprecated. + The ECDH.convertKey() method has been added. + The crypto.fips property has been deprecated. * deps: + V8 has been updated to 6.6 + npm upgraded to 5.8.0 * EventEmitter: + The EventEmitter.prototype.off() method has been added as an alias for EventEmitter.prototype.removeListener(). * File System: + The fs/promises API provides experimental promisified versions of the fs functions. + Invalid path errors are now thrown synchronously. + fs.readFile() method now partitions reads to avoid thread pool exhaustion. * http: + Processing of HTTP Status codes 100, 102-199 has been improved. + Multi-byte characters in URL paths are now forbidden. * N-API: The n-api is no longer experimental. * net: The 'close' event will be emitted after 'end'. * perf_hooks: + The PerformanceObserver class is now an AsyncResource and can be monitored using async_hooks. + Trace events are now emitted for performance events. + The performance API has been simplified. + Performance milestone marks will be emitted as trace events. * process: + Using non-string values for process.env is deprecated. + The process.assert() method is deprecated. * repl: + REPL now experimentally supports top-level await when using the --experimental-repl-await flag. + The previously deprecated "magic mode" has been removed. + The previously deprecated NODE_REPL_HISTORY_FILE environment variable has been removed. + Proxy objects are shown as Proxy objects when inspected. * streams: + The 'readable' event is now always deferred with nextTick. + A new pipeline() method has been provided for building end-to-data stream pipelines. + support for async for-await has been added to stream.Readable * timers: The enroll() and unenroll() methods have been deprecated * tls: + The tls.convertNPNProtocols() method has been deprecated. + Support for NPN (next protocol negotiation) has been dropped. + The ecdhCurve default is now 'auto'. * Trace Events: + A new trace_events top-level module allows trace event categories to be enabled/disabled at runtime. * URL: The WHATWG URL API is now a global. * Util: + util.types.is[…] type checks have been added. + Support for bigint formatting has been added to util.inspect(). OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs10?expand=0&rev=1
2018-05-11 14:21:06 +00:00
// this logic ported from the old `gyp_addon` python file
var gypScript = path.resolve(__dirname, '..', 'gyp', 'gyp_main.py')
- var addonGypi = path.resolve(__dirname, '..', 'addon.gypi')
- New upstream release 10.1.0: * console: make console.table() use colored inspect * fs: move fs/promises to fs.promises * http: added aborted property to request * n-api: initialize a module via a special symbol * src: add public API to expose the main V8 Platform - Changes in version 10.0.0: * Assert: + Calling assert.fail() with more than one argument is deprecated. + Calling assert.ok() with no arguments will now throw. + Calling assert.ifError() will now throw with any argument other than undefined or null. Previously the method would throw with any truthy value. * Async_hooks: + Older experimental async_hooks APIs have been removed. * Buffer: + Uses of new Buffer() and Buffer() outside of the node_modules directory will now emit a runtime deprecation warning. + Buffer.isEncoding() now returns undefined for falsy values, including an empty string. + Buffer.fill() will throw if an attempt is made to fill with an empty Buffer. * Child Process: Undefined properties of env are ignored. * console: console.table() method has been added. * crypto: + The crypto.createCipher() and crypto.createDecipher() methods have been deprecated. Please use crypto.createCipheriv() and crypto.createDecipheriv() instead. + The decipher.finaltol() method has been deprecated. + The crypto.DEFAULT_ENCODING property has been deprecated. + The ECDH.convertKey() method has been added. + The crypto.fips property has been deprecated. * deps: + V8 has been updated to 6.6 + npm upgraded to 5.8.0 * EventEmitter: + The EventEmitter.prototype.off() method has been added as an alias for EventEmitter.prototype.removeListener(). * File System: + The fs/promises API provides experimental promisified versions of the fs functions. + Invalid path errors are now thrown synchronously. + fs.readFile() method now partitions reads to avoid thread pool exhaustion. * http: + Processing of HTTP Status codes 100, 102-199 has been improved. + Multi-byte characters in URL paths are now forbidden. * N-API: The n-api is no longer experimental. * net: The 'close' event will be emitted after 'end'. * perf_hooks: + The PerformanceObserver class is now an AsyncResource and can be monitored using async_hooks. + Trace events are now emitted for performance events. + The performance API has been simplified. + Performance milestone marks will be emitted as trace events. * process: + Using non-string values for process.env is deprecated. + The process.assert() method is deprecated. * repl: + REPL now experimentally supports top-level await when using the --experimental-repl-await flag. + The previously deprecated "magic mode" has been removed. + The previously deprecated NODE_REPL_HISTORY_FILE environment variable has been removed. + Proxy objects are shown as Proxy objects when inspected. * streams: + The 'readable' event is now always deferred with nextTick. + A new pipeline() method has been provided for building end-to-data stream pipelines. + support for async for-await has been added to stream.Readable * timers: The enroll() and unenroll() methods have been deprecated * tls: + The tls.convertNPNProtocols() method has been deprecated. + Support for NPN (next protocol negotiation) has been dropped. + The ecdhCurve default is now 'auto'. * Trace Events: + A new trace_events top-level module allows trace event categories to be enabled/disabled at runtime. * URL: The WHATWG URL API is now a global. * Util: + util.types.is[…] type checks have been added. + Support for bigint formatting has been added to util.inspect(). OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs10?expand=0&rev=1
2018-05-11 14:21:06 +00:00
+ var addon_gypi_file = gyp.opts.target || gyp.opts.nodedir ? 'addon.gypi' : 'addon-rpm.gypi'
+ var addonGypi = path.resolve(__dirname, '..', addon_gypi_file)
var commonGypi = path.resolve(nodeDir, 'include/node/common.gypi')
fs.stat(commonGypi, function (err) {
if (err) {