pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/npm npm: updated to 6.10.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/5d0666e2d410
branches: trunk
changeset: 399118:5d0666e2d410
user: adam <adam%pkgsrc.org@localhost>
date: Sat Aug 03 07:32:55 2019 +0000
description:
npm: updated to 6.10.2
v6.10.2:
tl;dr - Fixes several issues with the cache when npm is run as sudo on Unix systems.
TESTING
check test cache for root-owned files
run sudo tests on Travis-CI
set --no-esm tap flag
add script to run tests and leave fixtures for inspection and debugging
BUGFIXES
add a util for writing arbitrary files to cache This prevents metrics timing and debug logs from becoming root-owned.
infer cache owner from parent dir in correct-mkdir util
ensure correct owner on cached all-packages metadata
report server error on failure
Fix npm ci with file: dependencies.
diffstat:
lang/npm/Makefile | 6 +-
lang/npm/PLIST | 364 ++++++---
lang/npm/distinfo | 20 +-
lang/npm/patches/patch-node__modules_node-gyp_lib_configure.js | 24 +-
4 files changed, 254 insertions(+), 160 deletions(-)
diffs (truncated from 791 to 300 lines):
diff -r 807c2c348523 -r 5d0666e2d410 lang/npm/Makefile
--- a/lang/npm/Makefile Sat Aug 03 07:31:15 2019 +0000
+++ b/lang/npm/Makefile Sat Aug 03 07:32:55 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2019/07/09 14:10:54 nia Exp $
+# $NetBSD: Makefile,v 1.25 2019/08/03 07:32:55 adam Exp $
-DISTNAME= cli-6.9.2
+DISTNAME= cli-6.10.2
PKGNAME= ${DISTNAME:S/cli/npm/}
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GITHUB:=npm/}
@@ -13,7 +13,7 @@
LICENSE= artistic-2.0
# Pre-fetch marked so that man pages can be built offline
-MARKED= marked-0.6.3
+MARKED= marked-0.7.0
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} ${MARKED}.tar.gz
SITES.${MARKED}.tar.gz= -https://github.com/markedjs/marked/archive/v${MARKED:S/marked-//}.tar.gz
diff -r 807c2c348523 -r 5d0666e2d410 lang/npm/PLIST
--- a/lang/npm/PLIST Sat Aug 03 07:31:15 2019 +0000
+++ b/lang/npm/PLIST Sat Aug 03 07:32:55 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2019/07/01 10:50:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2019/08/03 07:32:55 adam Exp $
bin/npm
bin/npx
lib/node_modules/npm/.licensee.json
@@ -328,6 +328,7 @@
lib/node_modules/npm/lib/unpublish.js
lib/node_modules/npm/lib/update.js
lib/node_modules/npm/lib/utils/ansi-trim.js
+lib/node_modules/npm/lib/utils/cache-file.js
lib/node_modules/npm/lib/utils/child-path.js
lib/node_modules/npm/lib/utils/completion.sh
lib/node_modules/npm/lib/utils/completion/file-completion.js
@@ -519,6 +520,7 @@
lib/node_modules/npm/node_modules/agent-base/.travis.yml
lib/node_modules/npm/node_modules/agent-base/History.md
lib/node_modules/npm/node_modules/agent-base/README.md
+lib/node_modules/npm/node_modules/agent-base/index.d.ts
lib/node_modules/npm/node_modules/agent-base/index.js
lib/node_modules/npm/node_modules/agent-base/package.json
lib/node_modules/npm/node_modules/agent-base/patch-core.js
@@ -528,6 +530,7 @@
lib/node_modules/npm/node_modules/agentkeepalive/History.md
lib/node_modules/npm/node_modules/agentkeepalive/README.md
lib/node_modules/npm/node_modules/agentkeepalive/browser.js
+lib/node_modules/npm/node_modules/agentkeepalive/index.d.ts
lib/node_modules/npm/node_modules/agentkeepalive/index.js
lib/node_modules/npm/node_modules/agentkeepalive/lib/_http_agent.js
lib/node_modules/npm/node_modules/agentkeepalive/lib/agent.js
@@ -764,11 +767,6 @@
lib/node_modules/npm/node_modules/bin-links/README.md
lib/node_modules/npm/node_modules/bin-links/index.js
lib/node_modules/npm/node_modules/bin-links/package.json
-lib/node_modules/npm/node_modules/block-stream/LICENCE
-lib/node_modules/npm/node_modules/block-stream/LICENSE
-lib/node_modules/npm/node_modules/block-stream/README.md
-lib/node_modules/npm/node_modules/block-stream/block-stream.js
-lib/node_modules/npm/node_modules/block-stream/package.json
lib/node_modules/npm/node_modules/bluebird/LICENSE
lib/node_modules/npm/node_modules/bluebird/README.md
lib/node_modules/npm/node_modules/bluebird/changelog.md
@@ -868,36 +866,12 @@
lib/node_modules/npm/node_modules/cacache/locales/es.js
lib/node_modules/npm/node_modules/cacache/locales/es.json
lib/node_modules/npm/node_modules/cacache/ls.js
-lib/node_modules/npm/node_modules/cacache/node_modules/chownr/LICENSE
-lib/node_modules/npm/node_modules/cacache/node_modules/chownr/README.md
-lib/node_modules/npm/node_modules/cacache/node_modules/chownr/chownr.js
-lib/node_modules/npm/node_modules/cacache/node_modules/chownr/package.json
-lib/node_modules/npm/node_modules/cacache/node_modules/lru-cache/LICENSE
-lib/node_modules/npm/node_modules/cacache/node_modules/lru-cache/README.md
-lib/node_modules/npm/node_modules/cacache/node_modules/lru-cache/index.js
-lib/node_modules/npm/node_modules/cacache/node_modules/lru-cache/package.json
-lib/node_modules/npm/node_modules/cacache/node_modules/unique-filename/LICENSE
-lib/node_modules/npm/node_modules/cacache/node_modules/unique-filename/README.md
-lib/node_modules/npm/node_modules/cacache/node_modules/unique-filename/coverage/__root__/index.html
-lib/node_modules/npm/node_modules/cacache/node_modules/unique-filename/coverage/__root__/index.js.html
-lib/node_modules/npm/node_modules/cacache/node_modules/unique-filename/coverage/base.css
-lib/node_modules/npm/node_modules/cacache/node_modules/unique-filename/coverage/index.html
-lib/node_modules/npm/node_modules/cacache/node_modules/unique-filename/coverage/prettify.css
-lib/node_modules/npm/node_modules/cacache/node_modules/unique-filename/coverage/prettify.js
-lib/node_modules/npm/node_modules/cacache/node_modules/unique-filename/coverage/sort-arrow-sprite.png
-lib/node_modules/npm/node_modules/cacache/node_modules/unique-filename/coverage/sorter.js
-lib/node_modules/npm/node_modules/cacache/node_modules/unique-filename/index.js
-lib/node_modules/npm/node_modules/cacache/node_modules/unique-filename/package.json
-lib/node_modules/npm/node_modules/cacache/node_modules/unique-filename/test/index.js
-lib/node_modules/npm/node_modules/cacache/node_modules/yallist/LICENSE
-lib/node_modules/npm/node_modules/cacache/node_modules/yallist/README.md
-lib/node_modules/npm/node_modules/cacache/node_modules/yallist/iterator.js
-lib/node_modules/npm/node_modules/cacache/node_modules/yallist/package.json
-lib/node_modules/npm/node_modules/cacache/node_modules/yallist/yallist.js
lib/node_modules/npm/node_modules/cacache/package.json
lib/node_modules/npm/node_modules/cacache/put.js
lib/node_modules/npm/node_modules/cacache/rm.js
lib/node_modules/npm/node_modules/cacache/verify.js
+lib/node_modules/npm/node_modules/call-limit/CHANGELOG.md
+lib/node_modules/npm/node_modules/call-limit/LICENSE
lib/node_modules/npm/node_modules/call-limit/README.md
lib/node_modules/npm/node_modules/call-limit/call-limit.js
lib/node_modules/npm/node_modules/call-limit/package.json
@@ -1130,6 +1104,15 @@
lib/node_modules/npm/node_modules/cross-spawn/lib/util/hasEmptyArgumentBug.js
lib/node_modules/npm/node_modules/cross-spawn/lib/util/readShebang.js
lib/node_modules/npm/node_modules/cross-spawn/lib/util/resolveCommand.js
+lib/node_modules/npm/node_modules/cross-spawn/node_modules/lru-cache/LICENSE
+lib/node_modules/npm/node_modules/cross-spawn/node_modules/lru-cache/README.md
+lib/node_modules/npm/node_modules/cross-spawn/node_modules/lru-cache/index.js
+lib/node_modules/npm/node_modules/cross-spawn/node_modules/lru-cache/package.json
+lib/node_modules/npm/node_modules/cross-spawn/node_modules/yallist/LICENSE
+lib/node_modules/npm/node_modules/cross-spawn/node_modules/yallist/README.md
+lib/node_modules/npm/node_modules/cross-spawn/node_modules/yallist/iterator.js
+lib/node_modules/npm/node_modules/cross-spawn/node_modules/yallist/package.json
+lib/node_modules/npm/node_modules/cross-spawn/node_modules/yallist/yallist.js
lib/node_modules/npm/node_modules/cross-spawn/package.json
lib/node_modules/npm/node_modules/crypto-random-string/index.js
lib/node_modules/npm/node_modules/crypto-random-string/license
@@ -1187,6 +1170,15 @@
lib/node_modules/npm/node_modules/defaults/index.js
lib/node_modules/npm/node_modules/defaults/package.json
lib/node_modules/npm/node_modules/defaults/test.js
+lib/node_modules/npm/node_modules/define-properties/.editorconfig
+lib/node_modules/npm/node_modules/define-properties/.jscs.json
+lib/node_modules/npm/node_modules/define-properties/.travis.yml
+lib/node_modules/npm/node_modules/define-properties/CHANGELOG.md
+lib/node_modules/npm/node_modules/define-properties/LICENSE
+lib/node_modules/npm/node_modules/define-properties/README.md
+lib/node_modules/npm/node_modules/define-properties/index.js
+lib/node_modules/npm/node_modules/define-properties/package.json
+lib/node_modules/npm/node_modules/define-properties/test/index.js
lib/node_modules/npm/node_modules/delayed-stream/.npmignore
lib/node_modules/npm/node_modules/delayed-stream/License
lib/node_modules/npm/node_modules/delayed-stream/Makefile
@@ -1292,6 +1284,10 @@
lib/node_modules/npm/node_modules/end-of-stream/README.md
lib/node_modules/npm/node_modules/end-of-stream/index.js
lib/node_modules/npm/node_modules/end-of-stream/package.json
+lib/node_modules/npm/node_modules/env-paths/index.js
+lib/node_modules/npm/node_modules/env-paths/license
+lib/node_modules/npm/node_modules/env-paths/package.json
+lib/node_modules/npm/node_modules/env-paths/readme.md
lib/node_modules/npm/node_modules/err-code/.editorconfig
lib/node_modules/npm/node_modules/err-code/.eslintrc.json
lib/node_modules/npm/node_modules/err-code/.npmignore
@@ -1311,6 +1307,61 @@
lib/node_modules/npm/node_modules/errno/errno.js
lib/node_modules/npm/node_modules/errno/package.json
lib/node_modules/npm/node_modules/errno/test.js
+lib/node_modules/npm/node_modules/es-abstract/.editorconfig
+lib/node_modules/npm/node_modules/es-abstract/.jscs.json
+lib/node_modules/npm/node_modules/es-abstract/.nycrc
+lib/node_modules/npm/node_modules/es-abstract/.travis.yml
+lib/node_modules/npm/node_modules/es-abstract/CHANGELOG.md
+lib/node_modules/npm/node_modules/es-abstract/GetIntrinsic.js
+lib/node_modules/npm/node_modules/es-abstract/LICENSE
+lib/node_modules/npm/node_modules/es-abstract/Makefile
+lib/node_modules/npm/node_modules/es-abstract/README.md
+lib/node_modules/npm/node_modules/es-abstract/es2015.js
+lib/node_modules/npm/node_modules/es-abstract/es2016.js
+lib/node_modules/npm/node_modules/es-abstract/es2017.js
+lib/node_modules/npm/node_modules/es-abstract/es5.js
+lib/node_modules/npm/node_modules/es-abstract/es6.js
+lib/node_modules/npm/node_modules/es-abstract/es7.js
+lib/node_modules/npm/node_modules/es-abstract/helpers/assign.js
+lib/node_modules/npm/node_modules/es-abstract/helpers/isFinite.js
+lib/node_modules/npm/node_modules/es-abstract/helpers/isNaN.js
+lib/node_modules/npm/node_modules/es-abstract/helpers/isPrimitive.js
+lib/node_modules/npm/node_modules/es-abstract/helpers/mod.js
+lib/node_modules/npm/node_modules/es-abstract/helpers/sign.js
+lib/node_modules/npm/node_modules/es-abstract/index.js
+lib/node_modules/npm/node_modules/es-abstract/operations/2015.js
+lib/node_modules/npm/node_modules/es-abstract/operations/2016.js
+lib/node_modules/npm/node_modules/es-abstract/operations/2017.js
+lib/node_modules/npm/node_modules/es-abstract/operations/es5.js
+lib/node_modules/npm/node_modules/es-abstract/package.json
+lib/node_modules/npm/node_modules/es-abstract/test/GetIntrinsic.js
+lib/node_modules/npm/node_modules/es-abstract/test/diffOps.js
+lib/node_modules/npm/node_modules/es-abstract/test/es2015.js
+lib/node_modules/npm/node_modules/es-abstract/test/es2016.js
+lib/node_modules/npm/node_modules/es-abstract/test/es2017.js
+lib/node_modules/npm/node_modules/es-abstract/test/es5.js
+lib/node_modules/npm/node_modules/es-abstract/test/es6.js
+lib/node_modules/npm/node_modules/es-abstract/test/es7.js
+lib/node_modules/npm/node_modules/es-abstract/test/helpers/values.js
+lib/node_modules/npm/node_modules/es-abstract/test/index.js
+lib/node_modules/npm/node_modules/es-abstract/test/tests.js
+lib/node_modules/npm/node_modules/es-to-primitive/.editorconfig
+lib/node_modules/npm/node_modules/es-to-primitive/.jscs.json
+lib/node_modules/npm/node_modules/es-to-primitive/.travis.yml
+lib/node_modules/npm/node_modules/es-to-primitive/CHANGELOG.md
+lib/node_modules/npm/node_modules/es-to-primitive/LICENSE
+lib/node_modules/npm/node_modules/es-to-primitive/Makefile
+lib/node_modules/npm/node_modules/es-to-primitive/README.md
+lib/node_modules/npm/node_modules/es-to-primitive/es2015.js
+lib/node_modules/npm/node_modules/es-to-primitive/es5.js
+lib/node_modules/npm/node_modules/es-to-primitive/es6.js
+lib/node_modules/npm/node_modules/es-to-primitive/helpers/isPrimitive.js
+lib/node_modules/npm/node_modules/es-to-primitive/index.js
+lib/node_modules/npm/node_modules/es-to-primitive/package.json
+lib/node_modules/npm/node_modules/es-to-primitive/test/es2015.js
+lib/node_modules/npm/node_modules/es-to-primitive/test/es5.js
+lib/node_modules/npm/node_modules/es-to-primitive/test/es6.js
+lib/node_modules/npm/node_modules/es-to-primitive/test/index.js
lib/node_modules/npm/node_modules/es6-promise/CHANGELOG.md
lib/node_modules/npm/node_modules/es6-promise/LICENSE
lib/node_modules/npm/node_modules/es6-promise/README.md
@@ -1570,30 +1621,16 @@
lib/node_modules/npm/node_modules/fs.realpath/index.js
lib/node_modules/npm/node_modules/fs.realpath/old.js
lib/node_modules/npm/node_modules/fs.realpath/package.json
-lib/node_modules/npm/node_modules/fstream/.npmignore
-lib/node_modules/npm/node_modules/fstream/.travis.yml
-lib/node_modules/npm/node_modules/fstream/LICENSE
-lib/node_modules/npm/node_modules/fstream/README.md
-lib/node_modules/npm/node_modules/fstream/examples/filter-pipe.js
-lib/node_modules/npm/node_modules/fstream/examples/pipe.js
-lib/node_modules/npm/node_modules/fstream/examples/reader.js
-lib/node_modules/npm/node_modules/fstream/examples/symlink-write.js
-lib/node_modules/npm/node_modules/fstream/fstream.js
-lib/node_modules/npm/node_modules/fstream/lib/abstract.js
-lib/node_modules/npm/node_modules/fstream/lib/collect.js
-lib/node_modules/npm/node_modules/fstream/lib/dir-reader.js
-lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js
-lib/node_modules/npm/node_modules/fstream/lib/file-reader.js
-lib/node_modules/npm/node_modules/fstream/lib/file-writer.js
-lib/node_modules/npm/node_modules/fstream/lib/get-type.js
-lib/node_modules/npm/node_modules/fstream/lib/link-reader.js
-lib/node_modules/npm/node_modules/fstream/lib/link-writer.js
-lib/node_modules/npm/node_modules/fstream/lib/proxy-reader.js
-lib/node_modules/npm/node_modules/fstream/lib/proxy-writer.js
-lib/node_modules/npm/node_modules/fstream/lib/reader.js
-lib/node_modules/npm/node_modules/fstream/lib/socket-reader.js
-lib/node_modules/npm/node_modules/fstream/lib/writer.js
-lib/node_modules/npm/node_modules/fstream/package.json
+lib/node_modules/npm/node_modules/function-bind/.editorconfig
+lib/node_modules/npm/node_modules/function-bind/.jscs.json
+lib/node_modules/npm/node_modules/function-bind/.npmignore
+lib/node_modules/npm/node_modules/function-bind/.travis.yml
+lib/node_modules/npm/node_modules/function-bind/LICENSE
+lib/node_modules/npm/node_modules/function-bind/README.md
+lib/node_modules/npm/node_modules/function-bind/implementation.js
+lib/node_modules/npm/node_modules/function-bind/index.js
+lib/node_modules/npm/node_modules/function-bind/package.json
+lib/node_modules/npm/node_modules/function-bind/test/index.js
lib/node_modules/npm/node_modules/gauge/CHANGELOG.md
lib/node_modules/npm/node_modules/gauge/LICENSE
lib/node_modules/npm/node_modules/gauge/README.md
@@ -1721,10 +1758,27 @@
lib/node_modules/npm/node_modules/has-flag/license
lib/node_modules/npm/node_modules/has-flag/package.json
lib/node_modules/npm/node_modules/has-flag/readme.md
+lib/node_modules/npm/node_modules/has-symbols/.npmignore
+lib/node_modules/npm/node_modules/has-symbols/.travis.yml
+lib/node_modules/npm/node_modules/has-symbols/CHANGELOG.md
+lib/node_modules/npm/node_modules/has-symbols/LICENSE
+lib/node_modules/npm/node_modules/has-symbols/README.md
+lib/node_modules/npm/node_modules/has-symbols/index.js
+lib/node_modules/npm/node_modules/has-symbols/package.json
+lib/node_modules/npm/node_modules/has-symbols/shams.js
+lib/node_modules/npm/node_modules/has-symbols/test/index.js
+lib/node_modules/npm/node_modules/has-symbols/test/shams/core-js.js
+lib/node_modules/npm/node_modules/has-symbols/test/shams/get-own-property-symbols.js
+lib/node_modules/npm/node_modules/has-symbols/test/tests.js
lib/node_modules/npm/node_modules/has-unicode/LICENSE
lib/node_modules/npm/node_modules/has-unicode/README.md
lib/node_modules/npm/node_modules/has-unicode/index.js
lib/node_modules/npm/node_modules/has-unicode/package.json
+lib/node_modules/npm/node_modules/has/LICENSE-MIT
+lib/node_modules/npm/node_modules/has/README.md
+lib/node_modules/npm/node_modules/has/package.json
+lib/node_modules/npm/node_modules/has/src/index.js
+lib/node_modules/npm/node_modules/has/test/index.js
lib/node_modules/npm/node_modules/hosted-git-info/CHANGELOG.md
lib/node_modules/npm/node_modules/hosted-git-info/LICENSE
lib/node_modules/npm/node_modules/hosted-git-info/README.md
@@ -1755,14 +1809,11 @@
lib/node_modules/npm/node_modules/http-signature/lib/utils.js
lib/node_modules/npm/node_modules/http-signature/lib/verify.js
lib/node_modules/npm/node_modules/http-signature/package.json
-lib/node_modules/npm/node_modules/https-proxy-agent/.travis.yml
lib/node_modules/npm/node_modules/https-proxy-agent/History.md
lib/node_modules/npm/node_modules/https-proxy-agent/README.md
+lib/node_modules/npm/node_modules/https-proxy-agent/index.d.ts
lib/node_modules/npm/node_modules/https-proxy-agent/index.js
lib/node_modules/npm/node_modules/https-proxy-agent/package.json
-lib/node_modules/npm/node_modules/https-proxy-agent/test/ssl-cert-snakeoil.key
-lib/node_modules/npm/node_modules/https-proxy-agent/test/ssl-cert-snakeoil.pem
-lib/node_modules/npm/node_modules/https-proxy-agent/test/test.js
lib/node_modules/npm/node_modules/humanize-ms/History.md
lib/node_modules/npm/node_modules/humanize-ms/LICENSE
lib/node_modules/npm/node_modules/humanize-ms/README.md
@@ -1811,6 +1862,10 @@
lib/node_modules/npm/node_modules/imurmurhash/imurmurhash.js
lib/node_modules/npm/node_modules/imurmurhash/imurmurhash.min.js
lib/node_modules/npm/node_modules/imurmurhash/package.json
+lib/node_modules/npm/node_modules/infer-owner/LICENSE
Home |
Main Index |
Thread Index |
Old Index