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 8.6.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1bad2b2a7577
branches:  trunk
changeset: 376679:1bad2b2a7577
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Apr 11 18:50:31 2022 +0000

description:
npm: updated to 8.6.0

v8.6.0 (2022-03-31)

Features

* feat(version): reify on workspace version change (@ruyadorno)
* feat: add logs-dir config to set custom logging location (@lukekarrys)

Bug Fixes

fix: remove always true condition (@XhmikosR)
* fix(unpublish): properly apply publishConfig (@wraithgar)
* fix: 100% coverage in tests (@wraithgar)
* fix(arborist): handle link nodes in old lockfiles correctly (@nlf)
* fix(arborist): make sure resolveParent exists before checking props (@nlf)
* fix(arborist): identify and repair invalid nodes in the virtual tree (@nlf)
* fix: make sure we loadOverrides on the root node in loadVirtual() (@nlf)
* fix: move shellout logic into commands (@wraithgar)
* fix: really load all commands in tests, add description to birthday (@wraithgar)
* fix: consolidate command alias code (@wraithgar)
* fix: consolidate is-windows code (@wraithgar)
* fix: consolidate node version support logic (@wraithgar)
* fix: consolidate path delimiter logic (@wraithgar)
* fix: bump knownBroken to <12.5.0 (@wraithgar)
* fix: return otplease fn results (@wraithgar)
* fix: consolidate split-package-names (@wraithgar)
* fix: work better with system manpages (@d0sboots)
* fix: only call npmlog progress methods if explicitly requested (@lukekarrys)

Documentation

* docs: recommend prepare over prepublish (@verhovsky)

Dependencies

* deps: npm-registry-fetch@13.1.0
* deps: cacache@16.0.3
* deps: make-fetch-happen@10.1.0
* deps: minipass-fetch@2.1.0
* deps: npm-audit-report@3.0.0
* deps: debug@4.3.4
* deps: proc-log@2.0.1
* deps: parse-conflict-json@2.0.2
* deps: gauge@4.0.4
* deps: @npmcli/template-oss@3.2.1
* deps: make-fetch-happen@10.1.1
* deps: init-package-json@3.0.2
* deps: npm-package-arg@9.0.2
* deps: validate-npm-package-name@4.0.0
* deps: @npmcli/template-oss@3.2.2
* deps: @npmcli/arborist@5.0.4

diffstat:

 lang/npm/Makefile                                                               |    12 +-
 lang/npm/PLIST                                                                  |  4088 ++-------
 lang/npm/distinfo                                                               |    17 +-
 lang/npm/patches/patch-Makefile                                                 |    16 +-
 lang/npm/patches/patch-lib_config_defaults.js                                   |    16 -
 lang/npm/patches/patch-node__modules_@npmcli_config_lib_index.js                |    16 +
 lang/npm/patches/patch-node__modules_bin-links_index.js                         |    15 -
 lang/npm/patches/patch-node__modules_bin-links_lib_man-target.js                |    12 +
 lang/npm/patches/patch-node__modules_node-gyp_gyp_pylib_gyp_xcode__emulation.py |    27 +-
 lang/npm/patches/patch-scripts_resetdeps.sh                                     |    17 +
 10 files changed, 919 insertions(+), 3317 deletions(-)

diffs (truncated from 5070 to 300 lines):

diff -r 78c511ca9c6a -r 1bad2b2a7577 lang/npm/Makefile
--- a/lang/npm/Makefile Mon Apr 11 16:36:05 2022 +0000
+++ b/lang/npm/Makefile Mon Apr 11 18:50:31 2022 +0000
@@ -1,8 +1,6 @@
-# $NetBSD: Makefile,v 1.46 2021/05/24 19:52:34 wiz Exp $
+# $NetBSD: Makefile,v 1.47 2022/04/11 18:50:31 adam Exp $
 
-DISTNAME=      cli-6.14.13
-PKGNAME=       ${DISTNAME:S/cli/npm/}
-PKGREVISION=   1
+DISTNAME=      npm-8.6.0
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=npm/}
 GITHUB_PROJECT=        cli
@@ -33,12 +31,14 @@
 
 SUBST_CLASSES+=                        man-directory
 SUBST_STAGE.man-directory=     pre-configure
-SUBST_FILES.man-directory=     node_modules/bin-links/index.js
+SUBST_FILES.man-directory=     node_modules/bin-links/lib/man-target.js
 SUBST_MESSAGE.man-directory=   Changing installation to PREFIX/man
-SUBST_VARS.man-directory=      PKGMANDIR
+SUBST_VARS.man-directory=      DESTDIR PREFIX PKGMANDIR
 
 CHECK_INTERPRETER_SKIP+=       lib/node_modules/npm/*
 
+INSTALLATION_DIRS+=    lib/node_modules
+
 .include "../../mk/bsd.prefs.mk"
 
 do-install:
diff -r 78c511ca9c6a -r 1bad2b2a7577 lang/npm/PLIST
--- a/lang/npm/PLIST    Mon Apr 11 16:36:05 2022 +0000
+++ b/lang/npm/PLIST    Mon Apr 11 18:50:31 2022 +0000
@@ -1,15 +1,7 @@
-@comment $NetBSD: PLIST,v 1.25 2020/11/30 12:24:30 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.26 2022/04/11 18:50:31 adam Exp $
 bin/npm
 bin/npx
-lib/node_modules/npm/.licensee.json
-lib/node_modules/npm/.mailmap
-lib/node_modules/npm/.npmignore
-lib/node_modules/npm/.travis.yml
-lib/node_modules/npm/AUTHORS
-lib/node_modules/npm/CHANGELOG.md
-lib/node_modules/npm/CONTRIBUTING.md
 lib/node_modules/npm/LICENSE
-lib/node_modules/npm/Makefile
 lib/node_modules/npm/README.md
 lib/node_modules/npm/bin/node-gyp-bin/node-gyp
 lib/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd
@@ -19,355 +11,226 @@
 lib/node_modules/npm/bin/npx
 lib/node_modules/npm/bin/npx-cli.js
 lib/node_modules/npm/bin/npx.cmd
-lib/node_modules/npm/changelogs/CHANGELOG-1.md
-lib/node_modules/npm/changelogs/CHANGELOG-2.md
-lib/node_modules/npm/changelogs/CHANGELOG-3.md
-lib/node_modules/npm/changelogs/CHANGELOG-4.md
-lib/node_modules/npm/changelogs/CHANGELOG-5.md
-lib/node_modules/npm/configure
-lib/node_modules/npm/docs/LICENSE
-lib/node_modules/npm/docs/content/cli-commands/npm-access.md
-lib/node_modules/npm/docs/content/cli-commands/npm-adduser.md
-lib/node_modules/npm/docs/content/cli-commands/npm-audit.md
-lib/node_modules/npm/docs/content/cli-commands/npm-bin.md
-lib/node_modules/npm/docs/content/cli-commands/npm-bugs.md
-lib/node_modules/npm/docs/content/cli-commands/npm-build.md
-lib/node_modules/npm/docs/content/cli-commands/npm-bundle.md
-lib/node_modules/npm/docs/content/cli-commands/npm-cache.md
-lib/node_modules/npm/docs/content/cli-commands/npm-ci.md
-lib/node_modules/npm/docs/content/cli-commands/npm-completion.md
-lib/node_modules/npm/docs/content/cli-commands/npm-config.md
-lib/node_modules/npm/docs/content/cli-commands/npm-dedupe.md
-lib/node_modules/npm/docs/content/cli-commands/npm-deprecate.md
-lib/node_modules/npm/docs/content/cli-commands/npm-dist-tag.md
-lib/node_modules/npm/docs/content/cli-commands/npm-docs.md
-lib/node_modules/npm/docs/content/cli-commands/npm-doctor.md
-lib/node_modules/npm/docs/content/cli-commands/npm-edit.md
-lib/node_modules/npm/docs/content/cli-commands/npm-explore.md
-lib/node_modules/npm/docs/content/cli-commands/npm-fund.md
-lib/node_modules/npm/docs/content/cli-commands/npm-help-search.md
-lib/node_modules/npm/docs/content/cli-commands/npm-help.md
-lib/node_modules/npm/docs/content/cli-commands/npm-hook.md
-lib/node_modules/npm/docs/content/cli-commands/npm-init.md
-lib/node_modules/npm/docs/content/cli-commands/npm-install-ci-test.md
-lib/node_modules/npm/docs/content/cli-commands/npm-install-test.md
-lib/node_modules/npm/docs/content/cli-commands/npm-install.md
-lib/node_modules/npm/docs/content/cli-commands/npm-link.md
-lib/node_modules/npm/docs/content/cli-commands/npm-logout.md
-lib/node_modules/npm/docs/content/cli-commands/npm-ls.md
-lib/node_modules/npm/docs/content/cli-commands/npm-org.md
-lib/node_modules/npm/docs/content/cli-commands/npm-outdated.md
-lib/node_modules/npm/docs/content/cli-commands/npm-owner.md
-lib/node_modules/npm/docs/content/cli-commands/npm-pack.md
-lib/node_modules/npm/docs/content/cli-commands/npm-ping.md
-lib/node_modules/npm/docs/content/cli-commands/npm-prefix.md
-lib/node_modules/npm/docs/content/cli-commands/npm-profile.md
-lib/node_modules/npm/docs/content/cli-commands/npm-prune.md
-lib/node_modules/npm/docs/content/cli-commands/npm-publish.md
-lib/node_modules/npm/docs/content/cli-commands/npm-rebuild.md
-lib/node_modules/npm/docs/content/cli-commands/npm-repo.md
-lib/node_modules/npm/docs/content/cli-commands/npm-restart.md
-lib/node_modules/npm/docs/content/cli-commands/npm-root.md
-lib/node_modules/npm/docs/content/cli-commands/npm-run-script.md
-lib/node_modules/npm/docs/content/cli-commands/npm-search.md
-lib/node_modules/npm/docs/content/cli-commands/npm-shrinkwrap.md
-lib/node_modules/npm/docs/content/cli-commands/npm-star.md
-lib/node_modules/npm/docs/content/cli-commands/npm-stars.md
-lib/node_modules/npm/docs/content/cli-commands/npm-start.md
-lib/node_modules/npm/docs/content/cli-commands/npm-stop.md
-lib/node_modules/npm/docs/content/cli-commands/npm-team.md
-lib/node_modules/npm/docs/content/cli-commands/npm-test.md
-lib/node_modules/npm/docs/content/cli-commands/npm-token.md
-lib/node_modules/npm/docs/content/cli-commands/npm-uninstall.md
-lib/node_modules/npm/docs/content/cli-commands/npm-unpublish.md
-lib/node_modules/npm/docs/content/cli-commands/npm-update.md
-lib/node_modules/npm/docs/content/cli-commands/npm-version.md
-lib/node_modules/npm/docs/content/cli-commands/npm-view.md
-lib/node_modules/npm/docs/content/cli-commands/npm-whoami.md
-lib/node_modules/npm/docs/content/cli-commands/npm.md
+lib/node_modules/npm/docs/content/commands/npm-access.md
+lib/node_modules/npm/docs/content/commands/npm-adduser.md
+lib/node_modules/npm/docs/content/commands/npm-audit.md
+lib/node_modules/npm/docs/content/commands/npm-bin.md
+lib/node_modules/npm/docs/content/commands/npm-bugs.md
+lib/node_modules/npm/docs/content/commands/npm-cache.md
+lib/node_modules/npm/docs/content/commands/npm-ci.md
+lib/node_modules/npm/docs/content/commands/npm-completion.md
+lib/node_modules/npm/docs/content/commands/npm-config.md
+lib/node_modules/npm/docs/content/commands/npm-dedupe.md
+lib/node_modules/npm/docs/content/commands/npm-deprecate.md
+lib/node_modules/npm/docs/content/commands/npm-diff.md
+lib/node_modules/npm/docs/content/commands/npm-dist-tag.md
+lib/node_modules/npm/docs/content/commands/npm-docs.md
+lib/node_modules/npm/docs/content/commands/npm-doctor.md
+lib/node_modules/npm/docs/content/commands/npm-edit.md
+lib/node_modules/npm/docs/content/commands/npm-exec.md
+lib/node_modules/npm/docs/content/commands/npm-explain.md
+lib/node_modules/npm/docs/content/commands/npm-explore.md
+lib/node_modules/npm/docs/content/commands/npm-find-dupes.md
+lib/node_modules/npm/docs/content/commands/npm-fund.md
+lib/node_modules/npm/docs/content/commands/npm-help-search.md
+lib/node_modules/npm/docs/content/commands/npm-help.md
+lib/node_modules/npm/docs/content/commands/npm-hook.md
+lib/node_modules/npm/docs/content/commands/npm-init.md
+lib/node_modules/npm/docs/content/commands/npm-install-ci-test.md
+lib/node_modules/npm/docs/content/commands/npm-install-test.md
+lib/node_modules/npm/docs/content/commands/npm-install.md
+lib/node_modules/npm/docs/content/commands/npm-link.md
+lib/node_modules/npm/docs/content/commands/npm-logout.md
+lib/node_modules/npm/docs/content/commands/npm-ls.md
+lib/node_modules/npm/docs/content/commands/npm-org.md
+lib/node_modules/npm/docs/content/commands/npm-outdated.md
+lib/node_modules/npm/docs/content/commands/npm-owner.md
+lib/node_modules/npm/docs/content/commands/npm-pack.md
+lib/node_modules/npm/docs/content/commands/npm-ping.md
+lib/node_modules/npm/docs/content/commands/npm-pkg.md
+lib/node_modules/npm/docs/content/commands/npm-prefix.md
+lib/node_modules/npm/docs/content/commands/npm-profile.md
+lib/node_modules/npm/docs/content/commands/npm-prune.md
+lib/node_modules/npm/docs/content/commands/npm-publish.md
+lib/node_modules/npm/docs/content/commands/npm-rebuild.md
+lib/node_modules/npm/docs/content/commands/npm-repo.md
+lib/node_modules/npm/docs/content/commands/npm-restart.md
+lib/node_modules/npm/docs/content/commands/npm-root.md
+lib/node_modules/npm/docs/content/commands/npm-run-script.md
+lib/node_modules/npm/docs/content/commands/npm-search.md
+lib/node_modules/npm/docs/content/commands/npm-set-script.md
+lib/node_modules/npm/docs/content/commands/npm-shrinkwrap.md
+lib/node_modules/npm/docs/content/commands/npm-star.md
+lib/node_modules/npm/docs/content/commands/npm-stars.md
+lib/node_modules/npm/docs/content/commands/npm-start.md
+lib/node_modules/npm/docs/content/commands/npm-stop.md
+lib/node_modules/npm/docs/content/commands/npm-team.md
+lib/node_modules/npm/docs/content/commands/npm-test.md
+lib/node_modules/npm/docs/content/commands/npm-token.md
+lib/node_modules/npm/docs/content/commands/npm-uninstall.md
+lib/node_modules/npm/docs/content/commands/npm-unpublish.md
+lib/node_modules/npm/docs/content/commands/npm-unstar.md
+lib/node_modules/npm/docs/content/commands/npm-update.md
+lib/node_modules/npm/docs/content/commands/npm-version.md
+lib/node_modules/npm/docs/content/commands/npm-view.md
+lib/node_modules/npm/docs/content/commands/npm-whoami.md
+lib/node_modules/npm/docs/content/commands/npm.md
+lib/node_modules/npm/docs/content/commands/npx.md
 lib/node_modules/npm/docs/content/configuring-npm/folders.md
 lib/node_modules/npm/docs/content/configuring-npm/install.md
+lib/node_modules/npm/docs/content/configuring-npm/npm-shrinkwrap-json.md
 lib/node_modules/npm/docs/content/configuring-npm/npmrc.md
 lib/node_modules/npm/docs/content/configuring-npm/package-json.md
 lib/node_modules/npm/docs/content/configuring-npm/package-lock-json.md
-lib/node_modules/npm/docs/content/configuring-npm/package-locks.md
-lib/node_modules/npm/docs/content/configuring-npm/shrinkwrap-json.md
 lib/node_modules/npm/docs/content/using-npm/config.md
 lib/node_modules/npm/docs/content/using-npm/developers.md
-lib/node_modules/npm/docs/content/using-npm/disputes.md
+lib/node_modules/npm/docs/content/using-npm/logging.md
 lib/node_modules/npm/docs/content/using-npm/orgs.md
 lib/node_modules/npm/docs/content/using-npm/registry.md
 lib/node_modules/npm/docs/content/using-npm/removal.md
 lib/node_modules/npm/docs/content/using-npm/scope.md
 lib/node_modules/npm/docs/content/using-npm/scripts.md
-lib/node_modules/npm/docs/content/using-npm/semver.md
-lib/node_modules/npm/docs/gatsby-browser.js
-lib/node_modules/npm/docs/gatsby-config.js
-lib/node_modules/npm/docs/gatsby-node.js
-lib/node_modules/npm/docs/gatsby-ssr.js
-lib/node_modules/npm/docs/package-lock.json
-lib/node_modules/npm/docs/package.json
-lib/node_modules/npm/docs/src/components/Accordion.js
-lib/node_modules/npm/docs/src/components/Button.js
-lib/node_modules/npm/docs/src/components/DocLinks.js
-lib/node_modules/npm/docs/src/components/FoundTypo.js
-lib/node_modules/npm/docs/src/components/MobileSidebar.js
-lib/node_modules/npm/docs/src/components/Sidebar.js
-lib/node_modules/npm/docs/src/components/home/DarkBlock.js
-lib/node_modules/npm/docs/src/components/home/FeatureCard.js
-lib/node_modules/npm/docs/src/components/home/Features.js
-lib/node_modules/npm/docs/src/components/home/Footer.js
-lib/node_modules/npm/docs/src/components/home/Terminal.js
-lib/node_modules/npm/docs/src/components/home/Windows.js
-lib/node_modules/npm/docs/src/components/home/cubes.js
-lib/node_modules/npm/docs/src/components/home/hero.js
-lib/node_modules/npm/docs/src/components/layout.js
-lib/node_modules/npm/docs/src/components/links.js
-lib/node_modules/npm/docs/src/components/navbar.js
-lib/node_modules/npm/docs/src/components/scripts.js
-lib/node_modules/npm/docs/src/components/seo.js
-lib/node_modules/npm/docs/src/images/background-boxes.svg
-lib/node_modules/npm/docs/src/images/background-cubes.svg
-lib/node_modules/npm/docs/src/images/background-rectangles.svg
-lib/node_modules/npm/docs/src/images/bracket.svg
-lib/node_modules/npm/docs/src/images/cli-logo.svg
-lib/node_modules/npm/docs/src/images/down-carrot.svg
-lib/node_modules/npm/docs/src/images/hamburger-close.svg
-lib/node_modules/npm/docs/src/images/hamburger.svg
-lib/node_modules/npm/docs/src/images/manager-icon.svg
-lib/node_modules/npm/docs/src/images/network-icon.svg
-lib/node_modules/npm/docs/src/images/npm-icon.png
-lib/node_modules/npm/docs/src/images/orange-cube.svg
-lib/node_modules/npm/docs/src/images/pink-gradient-cube.svg
-lib/node_modules/npm/docs/src/images/purple-cube.svg
-lib/node_modules/npm/docs/src/images/purple-gradient-cube.svg
-lib/node_modules/npm/docs/src/images/red-cube.svg
-lib/node_modules/npm/docs/src/images/right-shadow-box.svg
-lib/node_modules/npm/docs/src/images/terminal-icon.svg
-lib/node_modules/npm/docs/src/images/test-icon.svg
-lib/node_modules/npm/docs/src/images/up-carrot.svg
-lib/node_modules/npm/docs/src/images/x.svg
-lib/node_modules/npm/docs/src/main.css
-lib/node_modules/npm/docs/src/pages/404.js
-lib/node_modules/npm/docs/src/pages/index.js
-lib/node_modules/npm/docs/src/templates/Page.js
-lib/node_modules/npm/docs/src/theme.js
-lib/node_modules/npm/lib/access.js
-lib/node_modules/npm/lib/adduser.js
-lib/node_modules/npm/lib/audit.js
+lib/node_modules/npm/docs/content/using-npm/workspaces.md
+lib/node_modules/npm/index.js
+lib/node_modules/npm/lib/arborist-cmd.js
 lib/node_modules/npm/lib/auth/legacy.js
 lib/node_modules/npm/lib/auth/oauth.js
 lib/node_modules/npm/lib/auth/saml.js
 lib/node_modules/npm/lib/auth/sso.js
-lib/node_modules/npm/lib/bin.js
-lib/node_modules/npm/lib/bugs.js
-lib/node_modules/npm/lib/build.js
-lib/node_modules/npm/lib/cache.js
-lib/node_modules/npm/lib/ci.js
-lib/node_modules/npm/lib/completion.js
-lib/node_modules/npm/lib/config.js
-lib/node_modules/npm/lib/config/bin-links.js
-lib/node_modules/npm/lib/config/clear-credentials-by-uri.js
-lib/node_modules/npm/lib/config/cmd-list.js
-lib/node_modules/npm/lib/config/core.js
-lib/node_modules/npm/lib/config/defaults.js
-lib/node_modules/npm/lib/config/figgy-config.js
-lib/node_modules/npm/lib/config/gentle-fs.js
-lib/node_modules/npm/lib/config/get-credentials-by-uri.js
-lib/node_modules/npm/lib/config/lifecycle.js
-lib/node_modules/npm/lib/config/load-cafile.js
-lib/node_modules/npm/lib/config/load-prefix.js
-lib/node_modules/npm/lib/config/nerf-dart.js
-lib/node_modules/npm/lib/config/set-credentials-by-uri.js
-lib/node_modules/npm/lib/config/set-user.js
-lib/node_modules/npm/lib/dedupe.js
-lib/node_modules/npm/lib/deprecate.js
-lib/node_modules/npm/lib/dist-tag.js
-lib/node_modules/npm/lib/docs.js
-lib/node_modules/npm/lib/doctor.js
-lib/node_modules/npm/lib/doctor/check-files-permission.js
-lib/node_modules/npm/lib/doctor/check-ping.js
-lib/node_modules/npm/lib/doctor/get-git-path.js
-lib/node_modules/npm/lib/doctor/get-latest-nodejs-version.js
-lib/node_modules/npm/lib/doctor/get-latest-npm-version.js
-lib/node_modules/npm/lib/doctor/verify-cached-files.js
-lib/node_modules/npm/lib/edit.js
-lib/node_modules/npm/lib/explore.js
-lib/node_modules/npm/lib/fetch-package-metadata.js



Home | Main Index | Thread Index | Old Index