Files
nodejs14/update_npm_tarball.sh
Adam Majer 7445d9ec01 - Initial version 14.0.0
Deprecations
 * crypto: move pbkdf2 without digest to EOL
 * fs: deprecate closing FileHandle on garbage collection
 * http: move OutboundMessage.prototype.flush to EOL
 * lib: move GLOBAL and root aliases to EOL
 * os: move tmpDir() to EOL
 * src: remove deprecated wasm type check
 * stream: move _writableState.buffer to EOL
 * doc: deprecate process.mainModule
 * doc: deprecate process.umask() with no arguments
For a detailed list of changes, see
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#14.0.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs14?expand=0&rev=1
2020-04-27 13:51:48 +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