Nodejs 10.x

Edit Package nodejs10

The Node.js 10.x release branch is scheduled to become the next actively maintained Long Term Support (LTS) release line in October, 2018 under the LTS codename 'Dubnium'. Note that the LTS lifespan for 10.x will end in April, 2021.

Refresh
Refresh
Source Files
Filename Size Changed
SHASUMS256.txt 0000003319 3.24 KB
SHASUMS256.txt.sig 0000000310 310 Bytes
fix_ci_tests.patch 0000001919 1.87 KB
node-gyp-addon-gypi.patch 0000003100 3.03 KB
node-v10.1.0.tar.xz 0019363748 18.5 MB
nodejs-libpath.patch 0000002024 1.98 KB
nodejs-sle11-python26-check_output.patch 0000001375 1.34 KB
nodejs.keyring 0000024737 24.2 KB
nodejs10.changes 0000013945 13.6 KB
nodejs10.spec 0000017709 17.3 KB
npm_search_paths.patch 0000001994 1.95 KB
versioned.patch 0000020327 19.9 KB
Revision 1 (latest revision is 187)
Adam Majer's avatar Adam Majer (adamm) committed (revision 1)
- 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().
Comments 4

Wolfgang Rosenauer's avatar

This package fails to build in my project: https://build.opensuse.org/package/live_build_log/mozilla/nodejs10/openSUSE_Leap_15.1/x86_64 Any idea/hints why that is the case? Problem is that Firefox 83 now requires a more recent version of nodejs to build so I have to link it into my project but it regularly fails for 15.1


Adam Majer's avatar

The problem is caused by OpenSSL regression that was fixed later but seems not included in Leap 15.1:Update. It's related to bnc#1157775

It seems it affects SLE-15-SP1:Update. I didn't notice this earlier since this was built against :GA and not the :Update codestream


Adam Majer's avatar

Also, you can remove nodejs10 from your build project. There is one shipped in Leap:15.1 and 15.2, etc. It will continue to be shipped for a few years to come.


Wolfgang Rosenauer's avatar

@adamm, Firefox since recently requires a version >= 10.23 Therefore I needed to link to this version, which is now also not building anymore for SLE15 because pkgconfig(libcares) is unresolved.

openSUSE Build Service is sponsored by