git: 440fbe7ad9af - main - www/npm: Update to 8.3.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Jan 2022 19:53:17 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=440fbe7ad9af28fb14dc5ca2d73c8c6528bfdb81 commit 440fbe7ad9af28fb14dc5ca2d73c8c6528bfdb81 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-01-25 19:20:20 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-01-25 19:50:05 +0000 www/npm: Update to 8.3.2 Changes: https://github.com/npm/cli/releases --- www/npm/Makefile | 11 ++------ www/npm/distinfo | 6 ++--- www/npm/files/extra-patch-bug-178881 | 23 ---------------- www/npm/pkg-plist | 51 ++++++++++++++++++++++-------------- 4 files changed, 36 insertions(+), 55 deletions(-) diff --git a/www/npm/Makefile b/www/npm/Makefile index 64de23454398..fded09ac98d2 100644 --- a/www/npm/Makefile +++ b/www/npm/Makefile @@ -1,7 +1,7 @@ # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> PORTNAME= npm -PORTVERSION= 8.2.0 +PORTVERSION= 8.3.2 CATEGORIES= www MASTER_SITES= LOCAL/sunpoet @@ -26,13 +26,6 @@ CPE_VENDOR= npmjs SHEBANG_GLOB= *.py -.include <bsd.port.pre.mk> - -.if ${ARCH} == i386 -# Workaround for kernel bug 178881 -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-bug-178881 -.endif - post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/etc/man.d/npm.conf @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp @@ -44,4 +37,4 @@ do-install: ${ECHO_CMD} 'python=${PYTHON_CMD}' > ${STAGEDIR}${PREFIX}/etc/npmrc ${PYTHON_CMD} -O -m compileall -d ${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp -f ${STAGEDIR}${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/www/npm/distinfo b/www/npm/distinfo index 373b30ec0d55..3c08f649d5c8 100644 --- a/www/npm/distinfo +++ b/www/npm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1642102157 -SHA256 (npm-8.2.0.tar.xz) = ca4b04eabb333722de5d069da9440e3359c9c87f4e6d1eeb554269ee48679c32 -SIZE (npm-8.2.0.tar.xz) = 1576868 +TIMESTAMP = 1643133691 +SHA256 (npm-8.3.2.tar.xz) = 462ade98045e780321df359e1ccfee33558a9cfcc2b4ffcd848443dcf7cbc124 +SIZE (npm-8.3.2.tar.xz) = 1590844 diff --git a/www/npm/files/extra-patch-bug-178881 b/www/npm/files/extra-patch-bug-178881 deleted file mode 100644 index f0e0d5c8f6e8..000000000000 --- a/www/npm/files/extra-patch-bug-178881 +++ /dev/null @@ -1,23 +0,0 @@ ---- lib/node_modules/npm/lib/config/defaults.js.orig 1985-10-26 08:15:00 UTC -+++ lib/node_modules/npm/lib/config/defaults.js -@@ -378,19 +378,7 @@ exports.types = { - } - - function getLocalAddresses () { -- var interfaces -- // #8094: some environments require elevated permissions to enumerate -- // interfaces, and synchronously throw EPERM when run without -- // elevated privileges -- try { -- interfaces = os.networkInterfaces() -- } catch (e) { -- interfaces = {} -- } -- -- return Object.keys(interfaces).map( -- nic => interfaces[nic].map(({address}) => address) -- ).reduce((curr, next) => curr.concat(next), []).concat(undefined) -+ return [ '127.0.0.1', undefined ] - } - - exports.shorthands = { diff --git a/www/npm/pkg-plist b/www/npm/pkg-plist index 4be5377ae03b..3826a09cd4d9 100644 --- a/www/npm/pkg-plist +++ b/www/npm/pkg-plist @@ -442,6 +442,7 @@ lib/node_modules/npm/node_modules/@npmcli/arborist/lib/inventory.js lib/node_modules/npm/node_modules/@npmcli/arborist/lib/link.js lib/node_modules/npm/node_modules/@npmcli/arborist/lib/node.js lib/node_modules/npm/node_modules/@npmcli/arborist/lib/optional-set.js +lib/node_modules/npm/node_modules/@npmcli/arborist/lib/override-set.js lib/node_modules/npm/node_modules/@npmcli/arborist/lib/peer-entry-sets.js lib/node_modules/npm/node_modules/@npmcli/arborist/lib/place-dep.js lib/node_modules/npm/node_modules/@npmcli/arborist/lib/printable.js @@ -628,7 +629,6 @@ lib/node_modules/npm/node_modules/balanced-match/LICENSE.md lib/node_modules/npm/node_modules/balanced-match/index.js lib/node_modules/npm/node_modules/balanced-match/package.json lib/node_modules/npm/node_modules/bin-links/LICENSE -lib/node_modules/npm/node_modules/bin-links/index.js lib/node_modules/npm/node_modules/bin-links/lib/bin-target.js lib/node_modules/npm/node_modules/bin-links/lib/check-bin.js lib/node_modules/npm/node_modules/bin-links/lib/check-bins.js @@ -636,6 +636,7 @@ lib/node_modules/npm/node_modules/bin-links/lib/fix-bin.js lib/node_modules/npm/node_modules/bin-links/lib/get-node-modules.js lib/node_modules/npm/node_modules/bin-links/lib/get-paths.js lib/node_modules/npm/node_modules/bin-links/lib/get-prefix.js +lib/node_modules/npm/node_modules/bin-links/lib/index.js lib/node_modules/npm/node_modules/bin-links/lib/is-windows.js lib/node_modules/npm/node_modules/bin-links/lib/link-bin.js lib/node_modules/npm/node_modules/bin-links/lib/link-bins.js @@ -1107,25 +1108,29 @@ lib/node_modules/npm/node_modules/jsonparse/test/utf8.js lib/node_modules/npm/node_modules/just-diff/LICENSE lib/node_modules/npm/node_modules/just-diff/index.d.ts lib/node_modules/npm/node_modules/just-diff/index.js +lib/node_modules/npm/node_modules/just-diff/index.mjs lib/node_modules/npm/node_modules/just-diff/index.tests.ts lib/node_modules/npm/node_modules/just-diff/package.json +lib/node_modules/npm/node_modules/just-diff/rollup.config.js lib/node_modules/npm/node_modules/just-diff-apply/LICENSE lib/node_modules/npm/node_modules/just-diff-apply/index.js +lib/node_modules/npm/node_modules/just-diff-apply/index.mjs lib/node_modules/npm/node_modules/just-diff-apply/package.json +lib/node_modules/npm/node_modules/just-diff-apply/rollup.config.js lib/node_modules/npm/node_modules/libnpmaccess/LICENSE -lib/node_modules/npm/node_modules/libnpmaccess/index.js +lib/node_modules/npm/node_modules/libnpmaccess/README.md +lib/node_modules/npm/node_modules/libnpmaccess/lib/index.js lib/node_modules/npm/node_modules/libnpmaccess/package.json -lib/node_modules/npm/node_modules/libnpmaccess/test/fixtures/tnock.js -lib/node_modules/npm/node_modules/libnpmaccess/test/index.js lib/node_modules/npm/node_modules/libnpmdiff/LICENSE lib/node_modules/npm/node_modules/libnpmdiff/README.md -lib/node_modules/npm/node_modules/libnpmdiff/index.js lib/node_modules/npm/node_modules/libnpmdiff/lib/format-diff.js +lib/node_modules/npm/node_modules/libnpmdiff/lib/index.js lib/node_modules/npm/node_modules/libnpmdiff/lib/should-print-patch.js lib/node_modules/npm/node_modules/libnpmdiff/lib/tarball.js lib/node_modules/npm/node_modules/libnpmdiff/lib/untar.js lib/node_modules/npm/node_modules/libnpmdiff/package.json lib/node_modules/npm/node_modules/libnpmexec/LICENSE +lib/node_modules/npm/node_modules/libnpmexec/README.md lib/node_modules/npm/node_modules/libnpmexec/lib/cache-install-dir.js lib/node_modules/npm/node_modules/libnpmexec/lib/file-exists.js lib/node_modules/npm/node_modules/libnpmexec/lib/get-bin-from-manifest.js @@ -1136,29 +1141,37 @@ lib/node_modules/npm/node_modules/libnpmexec/lib/no-tty.js lib/node_modules/npm/node_modules/libnpmexec/lib/run-script.js lib/node_modules/npm/node_modules/libnpmexec/package.json lib/node_modules/npm/node_modules/libnpmfund/LICENSE -lib/node_modules/npm/node_modules/libnpmfund/index.js +lib/node_modules/npm/node_modules/libnpmfund/README.md +lib/node_modules/npm/node_modules/libnpmfund/lib/index.js lib/node_modules/npm/node_modules/libnpmfund/package.json lib/node_modules/npm/node_modules/libnpmhook/LICENSE.md -lib/node_modules/npm/node_modules/libnpmhook/index.js +lib/node_modules/npm/node_modules/libnpmhook/README.md +lib/node_modules/npm/node_modules/libnpmhook/lib/index.js lib/node_modules/npm/node_modules/libnpmhook/package.json lib/node_modules/npm/node_modules/libnpmorg/LICENSE -lib/node_modules/npm/node_modules/libnpmorg/index.js +lib/node_modules/npm/node_modules/libnpmorg/README.md +lib/node_modules/npm/node_modules/libnpmorg/lib/index.js lib/node_modules/npm/node_modules/libnpmorg/package.json lib/node_modules/npm/node_modules/libnpmpack/LICENSE -lib/node_modules/npm/node_modules/libnpmpack/index.js +lib/node_modules/npm/node_modules/libnpmpack/README.md +lib/node_modules/npm/node_modules/libnpmpack/lib/index.js lib/node_modules/npm/node_modules/libnpmpack/package.json lib/node_modules/npm/node_modules/libnpmpublish/LICENSE -lib/node_modules/npm/node_modules/libnpmpublish/index.js +lib/node_modules/npm/node_modules/libnpmpublish/README.md +lib/node_modules/npm/node_modules/libnpmpublish/lib/index.js +lib/node_modules/npm/node_modules/libnpmpublish/lib/publish.js +lib/node_modules/npm/node_modules/libnpmpublish/lib/unpublish.js lib/node_modules/npm/node_modules/libnpmpublish/package.json -lib/node_modules/npm/node_modules/libnpmpublish/publish.js -lib/node_modules/npm/node_modules/libnpmpublish/unpublish.js lib/node_modules/npm/node_modules/libnpmsearch/LICENSE -lib/node_modules/npm/node_modules/libnpmsearch/index.js +lib/node_modules/npm/node_modules/libnpmsearch/README.md +lib/node_modules/npm/node_modules/libnpmsearch/lib/index.js lib/node_modules/npm/node_modules/libnpmsearch/package.json lib/node_modules/npm/node_modules/libnpmteam/LICENSE -lib/node_modules/npm/node_modules/libnpmteam/index.js +lib/node_modules/npm/node_modules/libnpmteam/README.md +lib/node_modules/npm/node_modules/libnpmteam/lib/index.js lib/node_modules/npm/node_modules/libnpmteam/package.json lib/node_modules/npm/node_modules/libnpmversion/LICENSE +lib/node_modules/npm/node_modules/libnpmversion/README.md lib/node_modules/npm/node_modules/libnpmversion/lib/commit.js lib/node_modules/npm/node_modules/libnpmversion/lib/enforce-clean.js lib/node_modules/npm/node_modules/libnpmversion/lib/index.js @@ -1531,8 +1544,8 @@ lib/node_modules/npm/node_modules/pacote/lib/util/npm.js lib/node_modules/npm/node_modules/pacote/lib/util/proc-log.js lib/node_modules/npm/node_modules/pacote/lib/util/tar-create-options.js lib/node_modules/npm/node_modules/pacote/package.json -lib/node_modules/npm/node_modules/parse-conflict-json/LICENSE -lib/node_modules/npm/node_modules/parse-conflict-json/index.js +lib/node_modules/npm/node_modules/parse-conflict-json/LICENSE.md +lib/node_modules/npm/node_modules/parse-conflict-json/lib/index.js lib/node_modules/npm/node_modules/parse-conflict-json/package.json lib/node_modules/npm/node_modules/path-is-absolute/index.js lib/node_modules/npm/node_modules/path-is-absolute/license @@ -1874,11 +1887,9 @@ lib/node_modules/npm/node_modules/treeverse/lib/breadth.js lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js lib/node_modules/npm/node_modules/treeverse/lib/depth.js lib/node_modules/npm/node_modules/treeverse/package.json -lib/node_modules/npm/node_modules/typedarray-to-buffer/.airtap.yml lib/node_modules/npm/node_modules/typedarray-to-buffer/LICENSE lib/node_modules/npm/node_modules/typedarray-to-buffer/index.js lib/node_modules/npm/node_modules/typedarray-to-buffer/package.json -lib/node_modules/npm/node_modules/typedarray-to-buffer/test/basic.js lib/node_modules/npm/node_modules/unique-filename/LICENSE lib/node_modules/npm/node_modules/unique-filename/coverage/__root__/index.html lib/node_modules/npm/node_modules/unique-filename/coverage/__root__/index.js.html @@ -1929,8 +1940,8 @@ lib/node_modules/npm/node_modules/wide-align/package.json lib/node_modules/npm/node_modules/wrappy/LICENSE lib/node_modules/npm/node_modules/wrappy/package.json lib/node_modules/npm/node_modules/wrappy/wrappy.js -lib/node_modules/npm/node_modules/write-file-atomic/LICENSE -lib/node_modules/npm/node_modules/write-file-atomic/index.js +lib/node_modules/npm/node_modules/write-file-atomic/LICENSE.md +lib/node_modules/npm/node_modules/write-file-atomic/lib/index.js lib/node_modules/npm/node_modules/write-file-atomic/package.json lib/node_modules/npm/node_modules/yallist/LICENSE lib/node_modules/npm/node_modules/yallist/iterator.js