Files
nodejs13/update_npm_tarball.sh
Adam Majer 5a3b5a7abb - Update to upstream 13.0.1:
* deps: Fixed a bug in npm 6.12.0 where warnings are emitted on
    Node.js 13.x
  * esm: Changed file extension resolution order of
    --es-module-specifier-resolution=node to match that
    of the CommonJS loader
- Changes in version 13.0.0:
  * assert:
    + If the validation function passed to assert.throws() or
      assert.rejects() returns a value other than true,
      an assertion error will be thrown instead of the original
      error to highlight the programming mistake
    + If a constructor function is passed to validate the instance
      of errors thrown in assert.throws() or assert.reject(),
      an assertion error will be thrown instead of the original error
  * child_process: ChildProcess._channel (DEP0129) is now
    a Runtime deprecation
  * console: The output console.timeEnd() and console.timeLog()
    will now automatically select a suitable time unit instead
    of always using milliseconds
  * deps: The V8 engine was updated to version 7.8.
  * domain: The domain's error handler is now executed with
    the active domain set to the domain's parent to prevent
    inner recursion
  * fs:
    + The undocumented method FSWatcher.prototype.start() was removed
    + Calling the open() method on a ReadStream or WriteStream
      now emits a runtime deprecation warning. This is an internal
      method that should not be used by user code.
    + fs.read/write, fs.readSync/writeSync and fd.read/write now

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs13?expand=0&rev=1
2019-10-23 15:00:12 +00:00

16 lines
293 B
Bash

#!/bin/bash
#
# Fetch npm module tarball that is required to run unit tests
# which are not provided by upstream tarball
#
# This is only needed for NodeJS 10.x+
#
set -e
tar Jxf node-v1*.tar.xz
cd node-v1*/tools/doc
npm i
cd ../..
exec tar Jcf ../node_modules.tar.xz tools/doc/node_modules