diff options
author | Tim Biermann <tbier@posteo.de> | 2022-04-03 12:22:51 +0200 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2022-04-03 12:22:51 +0200 |
commit | e301b5748307bde2c3de6c6ab48e9be0fe33a0c4 (patch) | |
tree | fd727f8768f23e7caaa59569f4b6f6c4c4653abe /npm | |
parent | f195fe5675fea45f1186b383e3372b3978411074 (diff) | |
download | contrib-e301b5748307bde2c3de6c6ab48e9be0fe33a0c4.tar.gz contrib-e301b5748307bde2c3de6c6ab48e9be0fe33a0c4.tar.xz |
npm: 8.5.5 -> 8.6.0
Diffstat (limited to 'npm')
-rw-r--r-- | npm/.footprint | 25 | ||||
-rw-r--r-- | npm/.signature | 8 | ||||
-rw-r--r-- | npm/Pkgfile | 22 |
3 files changed, 29 insertions, 26 deletions
diff --git a/npm/.footprint b/npm/.footprint index 288689be6..27858ad91 100644 --- a/npm/.footprint +++ b/npm/.footprint @@ -114,7 +114,6 @@ drwxr-xr-x root/root usr/lib/node_modules/npm/lib/utils/config/ -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/config/describe-all.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/config/flatten.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/config/index.js --rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/deref-command.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/did-you-mean.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/display.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/error-message.js @@ -125,15 +124,12 @@ drwxr-xr-x root/root usr/lib/node_modules/npm/lib/utils/config/ -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/format-bytes.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/get-identity.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/hosted-git-info-from-manifest.js --rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/is-windows-bash.js --rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/is-windows-shell.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/is-windows.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/log-file.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/log-shim.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/npm-usage.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/open-url.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/otplease.js --rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/path.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/ping.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/pulse-till-done.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/queryable.js @@ -142,14 +138,10 @@ drwxr-xr-x root/root usr/lib/node_modules/npm/lib/utils/config/ -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/reify-finish.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/reify-output.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/replace-info.js --rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/split-package-names.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/tar.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/timers.js --rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/unsupported.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/update-notifier.js --rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/usage.js -rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/validate-lockfile.js --rw-r--r-- root/root usr/lib/node_modules/npm/lib/utils/with-chown-sync.js drwxr-xr-x root/root usr/lib/node_modules/npm/lib/workspaces/ -rw-r--r-- root/root usr/lib/node_modules/npm/lib/workspaces/get-workspaces.js drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/ @@ -272,6 +264,7 @@ drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/common -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/common/file-url-to-path/polyfill.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/common/get-options.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/common/node.js +-rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/common/owner-sync.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/common/owner.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/copy-file.js drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/cp/ @@ -287,6 +280,8 @@ drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/mkdir/ drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/rm/ -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/rm/index.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/rm/polyfill.js +-rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/with-owner-sync.js +-rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/with-owner.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/with-temp-dir.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/write-file.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/@npmcli/fs/package.json @@ -489,10 +484,8 @@ drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/brace-expansion/ -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/brace-expansion/index.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/brace-expansion/package.json drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/builtins/ --rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/builtins/History.md --rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/builtins/builtins.json +-rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/builtins/index.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/builtins/package.json --rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/builtins/test.js drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/cacache/ -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/cacache/LICENSE.md drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/cacache/lib/ @@ -930,8 +923,10 @@ drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/jsonparse/test/ -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/jsonparse/test/unvalid.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/jsonparse/test/utf8.js drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/just-diff-apply/ +-rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/just-diff-apply/index.d.ts -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/just-diff-apply/index.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/just-diff-apply/index.mjs +-rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/just-diff-apply/index.tests.ts -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/just-diff-apply/package.json -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/just-diff-apply/rollup.config.js drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/just-diff/ @@ -1018,6 +1013,7 @@ drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/cache/index.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/cache/key.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/cache/policy.js +-rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/dns.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/fetch.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/index.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/options.js @@ -1326,10 +1322,10 @@ drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/npm-registry-fetch/ drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/ -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/auth.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js +-rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/clean-url.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/default-opts.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/errors.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/index.js --rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/silentlog.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/npm-registry-fetch/package.json drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/npm-user-validate/ -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/npm-user-validate/npm-user-validate.js @@ -1788,10 +1784,9 @@ drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/validate-npm-package- -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/validate-npm-package-license/index.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/validate-npm-package-license/package.json drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/validate-npm-package-name/ --rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/validate-npm-package-name/index.js +drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/validate-npm-package-name/lib/ +-rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/validate-npm-package-name/lib/index.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/validate-npm-package-name/package.json -drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/validate-npm-package-name/test/ --rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/validate-npm-package-name/test/index.js drwxr-xr-x root/root usr/lib/node_modules/npm/node_modules/walk-up-path/ -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/walk-up-path/index.js -rw-r--r-- root/root usr/lib/node_modules/npm/node_modules/walk-up-path/package.json diff --git a/npm/.signature b/npm/.signature index 7b6af9e07..6d003ba1e 100644 --- a/npm/.signature +++ b/npm/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3yT1kF8WrKsfdsPWgxi17i9koVj2eB2quPZLZSJ/rNFnVr4NHH65s7Lhcn1pnWYFDBvLUqNhhO4raDUQgZnfAQA= -SHA256 (Pkgfile) = 71aaec884fc58ed4b91c42336594834ff85c28f428ba752219e603f6875b3f9c -SHA256 (.footprint) = 8f5b701294fb02f565fffd1c5c6bbe506b59863076ae421100c1552f0af4044f -SHA256 (npm-8.5.5.tar.gz) = eb06a2bfaa9a90f9762c936949e21f541c269d4d568d3c6173bdf5332d974c95 +RWSagIOpLGJF34Q7vgHMzJIvXHt75w02mmMPJflfM0ssA+Mr2UrWrJmF21wlwOej5k4j5Ep9PG2VxudXuJw4iSmzDwwiwzpwJQs= +SHA256 (Pkgfile) = bd46e95f09f6d3c9e9a0dda6498bdf641b6807b1fd7c42982c9288cea338554a +SHA256 (.footprint) = 86457caa0e3c3dd5e6cbc7c1bd4494410829d15e413f44ca0d45512736dd9bd2 +SHA256 (npm-8.6.0.tar.gz) = 693a8cc8fede57d4aa84b3d9d6938ab3b84aa42cb771e6d029e45371bfc3a1c8 SHA256 (destdir.patch) = b74ee19a9412025067c9d0b5aa5946a651a7bc0dedab4ae147b3e5d1fb569462 diff --git a/npm/Pkgfile b/npm/Pkgfile index f1c136389..c7cb74464 100644 --- a/npm/Pkgfile +++ b/npm/Pkgfile @@ -4,7 +4,7 @@ # Depends on: nodejs name=npm -version=8.5.5 +version=8.6.0 release=1 source=(https://github.com/npm/cli/archive/v$version/$name-$version.tar.gz destdir.patch) @@ -12,19 +12,26 @@ source=(https://github.com/npm/cli/archive/v$version/$name-$version.tar.gz build() { cd cli-$version - prt-get isinst ccache && PATH="$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')" + prt-get isinst ccache && \ + PATH="$(echo ${PATH} | \ + awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')" - export NPM_CONFIG_USERCONFIG=$SRC/.npm - export NPM_CONFIG_CACHE=$SRC/.npm/cache + export npm_config_cache="$SRC/.npm/cache" + export npm_config_userconfig="$SRC/.npm/cache" export GATSBY_TELEMETRY_DISABLED="1" # fix some build issues - node bin/npm-cli.js install cmark-gfm --no-global --no-timing --no-save + # starting with 8.6.0, `make mandocs` would remove the node_modules dir + awk -i inplace \ + '/node bin\/npm-cli.js run resetdeps/ gsub(/resetdeps/, "dumpconf")' \ + Makefile + node bin/npm-cli.js install marked-man --no-global --no-timing --no-save patch -Np1 -i $SRC/destdir.patch make mandocs NODE_PATH=/usr/lib/node_modules node bin/npm-cli.js pack - NODE_PATH=/usr/lib/node_modules DESTDIR=$PKG node bin/npm-cli.js install -g -f npm-$version.tgz + NODE_PATH=/usr/lib/node_modules DESTDIR=$PKG node bin/npm-cli.js \ + install -g -f npm-$version.tgz mkdir -p $PKG/usr/share mv $PKG/usr/lib/node_modules/npm/man $PKG/usr/share/ @@ -36,5 +43,6 @@ build() { -iname "CHANGELOG" -o \ -iname "AUTHORS*" \)\ -exec rm '{}' \+ - rm -r $PKG/usr/lib/node_modules/npm/docs #$PKG/usr/lib/node_modules/npm/changelogs + rm -r $PKG/usr/lib/node_modules/npm/docs + #$PKG/usr/lib/node_modules/npm/changelogs } |