From c6e8f311155c12c158bb2562686bf278ea3eefd1 Mon Sep 17 00:00:00 2001 From: Sergey Chernyshev Date: Wed, 24 Apr 2024 23:38:47 +0200 Subject: [PATCH] deps: upgrade npm to 10.1.0 PR-URL: https://github.com/nodejs/node/pull/49570 Reviewed-By: Luigi Pinca Reviewed-By: Moshe Atlow --- graal-nodejs/deps/npm/README.md | 5 ++- .../docs/content/commands/npm-install-test.md | 20 +++++++++++ .../npm/docs/content/commands/npm-install.md | 20 +++++++++++ .../deps/npm/docs/content/commands/npm-ls.md | 2 +- .../deps/npm/docs/content/commands/npm.md | 2 +- .../deps/npm/docs/content/using-npm/config.md | 20 +++++++++++ .../output/commands/npm-install-test.html | 16 ++++++++- .../npm/docs/output/commands/npm-install.html | 16 ++++++++- .../deps/npm/docs/output/commands/npm-ls.html | 2 +- .../deps/npm/docs/output/commands/npm.html | 2 +- .../npm/docs/output/using-npm/config.html | 16 ++++++++- graal-nodejs/deps/npm/lib/commands/install.js | 2 ++ graal-nodejs/deps/npm/man/man1/npm-access.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-adduser.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-audit.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-bugs.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-cache.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-ci.1 | 2 +- .../deps/npm/man/man1/npm-completion.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-config.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-dedupe.1 | 2 +- .../deps/npm/man/man1/npm-deprecate.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-diff.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-dist-tag.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-docs.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-doctor.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-edit.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-exec.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-explain.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-explore.1 | 2 +- .../deps/npm/man/man1/npm-find-dupes.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-fund.1 | 2 +- .../deps/npm/man/man1/npm-help-search.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-help.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-hook.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-init.1 | 2 +- .../deps/npm/man/man1/npm-install-ci-test.1 | 2 +- .../deps/npm/man/man1/npm-install-test.1 | 22 +++++++++++- graal-nodejs/deps/npm/man/man1/npm-install.1 | 22 +++++++++++- graal-nodejs/deps/npm/man/man1/npm-link.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-login.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-logout.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-ls.1 | 4 +-- graal-nodejs/deps/npm/man/man1/npm-org.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-outdated.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-owner.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-pack.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-ping.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-pkg.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-prefix.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-profile.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-prune.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-publish.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-query.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-rebuild.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-repo.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-restart.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-root.1 | 2 +- .../deps/npm/man/man1/npm-run-script.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-search.1 | 2 +- .../deps/npm/man/man1/npm-shrinkwrap.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-star.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-stars.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-start.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-stop.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-team.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-test.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-token.1 | 2 +- .../deps/npm/man/man1/npm-uninstall.1 | 2 +- .../deps/npm/man/man1/npm-unpublish.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-unstar.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-update.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-version.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-view.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm-whoami.1 | 2 +- graal-nodejs/deps/npm/man/man1/npm.1 | 4 +-- graal-nodejs/deps/npm/man/man1/npx.1 | 2 +- graal-nodejs/deps/npm/man/man5/folders.5 | 2 +- graal-nodejs/deps/npm/man/man5/install.5 | 2 +- graal-nodejs/deps/npm/man/man5/npm-global.5 | 2 +- graal-nodejs/deps/npm/man/man5/npm-json.5 | 2 +- .../deps/npm/man/man5/npm-shrinkwrap-json.5 | 2 +- graal-nodejs/deps/npm/man/man5/npmrc.5 | 2 +- graal-nodejs/deps/npm/man/man5/package-json.5 | 2 +- .../deps/npm/man/man5/package-lock-json.5 | 2 +- graal-nodejs/deps/npm/man/man7/config.7 | 22 +++++++++++- .../deps/npm/man/man7/dependency-selectors.7 | 2 +- graal-nodejs/deps/npm/man/man7/developers.7 | 2 +- graal-nodejs/deps/npm/man/man7/logging.7 | 2 +- graal-nodejs/deps/npm/man/man7/orgs.7 | 2 +- graal-nodejs/deps/npm/man/man7/package-spec.7 | 2 +- graal-nodejs/deps/npm/man/man7/registry.7 | 2 +- graal-nodejs/deps/npm/man/man7/removal.7 | 2 +- graal-nodejs/deps/npm/man/man7/scope.7 | 2 +- graal-nodejs/deps/npm/man/man7/scripts.7 | 2 +- graal-nodejs/deps/npm/man/man7/workspaces.7 | 2 +- .../node_modules/@npmcli/agent/lib/agents.js | 8 ++--- .../node_modules/@npmcli/agent/lib/proxy.js | 8 ----- .../node_modules/@npmcli/agent/package.json | 5 +-- .../@npmcli/arborist/lib/arborist/reify.js | 4 +-- .../@npmcli/arborist/package.json | 2 +- .../config/lib/definitions/definitions.js | 22 ++++++++++++ .../@npmcli/config/lib/definitions/index.js | 7 ---- .../node_modules/@npmcli/config/lib/index.js | 3 ++ .../@npmcli/config/lib/set-envs.js | 5 +-- .../node_modules/@npmcli/config/package.json | 2 +- .../npm/node_modules/libnpmdiff/package.json | 4 +-- .../npm/node_modules/libnpmexec/package.json | 4 +-- .../npm/node_modules/libnpmfund/package.json | 4 +-- .../npm/node_modules/libnpmpack/package.json | 4 +-- graal-nodejs/deps/npm/package.json | 14 ++++---- .../test/lib/commands/config.js.test.cjs | 4 +++ .../tap-snapshots/test/lib/docs.js.test.cjs | 36 +++++++++++++++++-- 113 files changed, 347 insertions(+), 144 deletions(-) diff --git a/graal-nodejs/deps/npm/README.md b/graal-nodejs/deps/npm/README.md index da46ce7f380..cffee2429dd 100644 --- a/graal-nodejs/deps/npm/README.md +++ b/graal-nodejs/deps/npm/README.md @@ -9,9 +9,8 @@ One of the following versions of [Node.js](https://nodejs.org/en/download/) must be installed to run **`npm`**: -* `14.x.x` >= `14.17.0` -* `16.x.x` >= `16.13.0` -* `18.0.0` or higher +* `18.x.x` >= `18.17.0` +* `20.5.0` or higher ### Installation diff --git a/graal-nodejs/deps/npm/docs/content/commands/npm-install-test.md b/graal-nodejs/deps/npm/docs/content/commands/npm-install-test.md index 587a0a15ec6..443ccd670da 100644 --- a/graal-nodejs/deps/npm/docs/content/commands/npm-install-test.md +++ b/graal-nodejs/deps/npm/docs/content/commands/npm-install-test.md @@ -256,6 +256,26 @@ Note: This is NOT honored by other network related commands, eg `dist-tags`, +#### `cpu` + +* Default: null +* Type: null or String + +Override CPU architecture of native modules to install. Acceptable values +are same as `cpu` field of package.json, which comes from `process.arch`. + + + +#### `os` + +* Default: null +* Type: null or String + +Override OS of native modules to install. Acceptable values are same as `os` +field of package.json, which comes from `process.platform`. + + + #### `workspace` * Default: diff --git a/graal-nodejs/deps/npm/docs/content/commands/npm-install.md b/graal-nodejs/deps/npm/docs/content/commands/npm-install.md index 31f8261132d..6be022c8f23 100644 --- a/graal-nodejs/deps/npm/docs/content/commands/npm-install.md +++ b/graal-nodejs/deps/npm/docs/content/commands/npm-install.md @@ -646,6 +646,26 @@ Note: This is NOT honored by other network related commands, eg `dist-tags`, +#### `cpu` + +* Default: null +* Type: null or String + +Override CPU architecture of native modules to install. Acceptable values +are same as `cpu` field of package.json, which comes from `process.arch`. + + + +#### `os` + +* Default: null +* Type: null or String + +Override OS of native modules to install. Acceptable values are same as `os` +field of package.json, which comes from `process.platform`. + + + #### `workspace` * Default: diff --git a/graal-nodejs/deps/npm/docs/content/commands/npm-ls.md b/graal-nodejs/deps/npm/docs/content/commands/npm-ls.md index 3fd67ec372f..c7b8f674862 100644 --- a/graal-nodejs/deps/npm/docs/content/commands/npm-ls.md +++ b/graal-nodejs/deps/npm/docs/content/commands/npm-ls.md @@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For example, running `npm ls promzard` in npm's source tree will show: ```bash -npm@10.0.0 /path/to/npm +npm@10.1.0 /path/to/npm └─┬ init-package-json@0.0.4 └── promzard@0.1.5 ``` diff --git a/graal-nodejs/deps/npm/docs/content/commands/npm.md b/graal-nodejs/deps/npm/docs/content/commands/npm.md index 5923d67d481..e7ad76c74cf 100644 --- a/graal-nodejs/deps/npm/docs/content/commands/npm.md +++ b/graal-nodejs/deps/npm/docs/content/commands/npm.md @@ -14,7 +14,7 @@ Note: This command is unaware of workspaces. ### Version -10.0.0 +10.1.0 ### Description diff --git a/graal-nodejs/deps/npm/docs/content/using-npm/config.md b/graal-nodejs/deps/npm/docs/content/using-npm/config.md index 96b35edced7..253cd3dffd1 100644 --- a/graal-nodejs/deps/npm/docs/content/using-npm/config.md +++ b/graal-nodejs/deps/npm/docs/content/using-npm/config.md @@ -345,6 +345,16 @@ Run git commit hooks when using the `npm version` command. +#### `cpu` + +* Default: null +* Type: null or String + +Override CPU architecture of native modules to install. Acceptable values +are same as `cpu` field of package.json, which comes from `process.arch`. + + + #### `depth` * Default: `Infinity` if `--all` is set, otherwise `1` @@ -1038,6 +1048,16 @@ time. +#### `os` + +* Default: null +* Type: null or String + +Override OS of native modules to install. Acceptable values are same as `os` +field of package.json, which comes from `process.platform`. + + + #### `otp` * Default: null diff --git a/graal-nodejs/deps/npm/docs/output/commands/npm-install-test.html b/graal-nodejs/deps/npm/docs/output/commands/npm-install-test.html index d707d68d220..1afefac3e93 100644 --- a/graal-nodejs/deps/npm/docs/output/commands/npm-install-test.html +++ b/graal-nodejs/deps/npm/docs/output/commands/npm-install-test.html @@ -142,7 +142,7 @@

npm-install-test

Table of contents

- +

Synopsis

@@ -327,6 +327,20 @@

dry-run

dedupe, uninstall, as well as pack and publish.

Note: This is NOT honored by other network related commands, eg dist-tags, owner, etc.

+

cpu

+
    +
  • Default: null
  • +
  • Type: null or String
  • +
+

Override CPU architecture of native modules to install. Acceptable values +are same as cpu field of package.json, which comes from process.arch.

+

os

+
    +
  • Default: null
  • +
  • Type: null or String
  • +
+

Override OS of native modules to install. Acceptable values are same as os +field of package.json, which comes from process.platform.

workspace

  • Default:
  • diff --git a/graal-nodejs/deps/npm/docs/output/commands/npm-install.html b/graal-nodejs/deps/npm/docs/output/commands/npm-install.html index 3a18e9e8809..54d8b5e31a2 100644 --- a/graal-nodejs/deps/npm/docs/output/commands/npm-install.html +++ b/graal-nodejs/deps/npm/docs/output/commands/npm-install.html @@ -142,7 +142,7 @@

    npm-install

    Table of contents

    - +

    Synopsis

    @@ -653,6 +653,20 @@

    dry-run

    dedupe, uninstall, as well as pack and publish.

    Note: This is NOT honored by other network related commands, eg dist-tags, owner, etc.

    +

    cpu

    +
      +
    • Default: null
    • +
    • Type: null or String
    • +
    +

    Override CPU architecture of native modules to install. Acceptable values +are same as cpu field of package.json, which comes from process.arch.

    +

    os

    +
      +
    • Default: null
    • +
    • Type: null or String
    • +
    +

    Override OS of native modules to install. Acceptable values are same as os +field of package.json, which comes from process.platform.

    workspace

    Run git commit hooks when using the npm version command.

    +

    cpu

    +
      +
    • Default: null
    • +
    • Type: null or String
    • +
    +

    Override CPU architecture of native modules to install. Acceptable values +are same as cpu field of package.json, which comes from process.arch.

    depth

    • Default: Infinity if --all is set, otherwise 1
    • @@ -894,6 +901,13 @@

      omit-lockfile-registry-resolved +

      os

      +
        +
      • Default: null
      • +
      • Type: null or String
      • +
      +

      Override OS of native modules to install. Acceptable values are same as os +field of package.json, which comes from process.platform.

      otp

      • Default: null
      • diff --git a/graal-nodejs/deps/npm/lib/commands/install.js b/graal-nodejs/deps/npm/lib/commands/install.js index 75f0e2f175b..3983c8d26c8 100644 --- a/graal-nodejs/deps/npm/lib/commands/install.js +++ b/graal-nodejs/deps/npm/lib/commands/install.js @@ -34,6 +34,8 @@ class Install extends ArboristWorkspaceCmd { 'bin-links', 'fund', 'dry-run', + 'cpu', + 'os', ...super.params, ] diff --git a/graal-nodejs/deps/npm/man/man1/npm-access.1 b/graal-nodejs/deps/npm/man/man1/npm-access.1 index 2593dd51e38..dc455d4a5f2 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-access.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-access.1 @@ -1,4 +1,4 @@ -.TH "NPM-ACCESS" "1" "August 2023" "" "" +.TH "NPM-ACCESS" "1" "September 2023" "" "" .SH "NAME" \fBnpm-access\fR - Set access level on published packages .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-adduser.1 b/graal-nodejs/deps/npm/man/man1/npm-adduser.1 index 7de144d726a..81807af54a8 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-adduser.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-adduser.1 @@ -1,4 +1,4 @@ -.TH "NPM-ADDUSER" "1" "August 2023" "" "" +.TH "NPM-ADDUSER" "1" "September 2023" "" "" .SH "NAME" \fBnpm-adduser\fR - Add a registry user account .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-audit.1 b/graal-nodejs/deps/npm/man/man1/npm-audit.1 index d17652e280d..84e580c7e5b 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-audit.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-audit.1 @@ -1,4 +1,4 @@ -.TH "NPM-AUDIT" "1" "August 2023" "" "" +.TH "NPM-AUDIT" "1" "September 2023" "" "" .SH "NAME" \fBnpm-audit\fR - Run a security audit .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-bugs.1 b/graal-nodejs/deps/npm/man/man1/npm-bugs.1 index b09652e73bb..bbf9f8d979f 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-bugs.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-bugs.1 @@ -1,4 +1,4 @@ -.TH "NPM-BUGS" "1" "August 2023" "" "" +.TH "NPM-BUGS" "1" "September 2023" "" "" .SH "NAME" \fBnpm-bugs\fR - Report bugs for a package in a web browser .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-cache.1 b/graal-nodejs/deps/npm/man/man1/npm-cache.1 index 3aa23197273..a58256bf8d4 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-cache.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-cache.1 @@ -1,4 +1,4 @@ -.TH "NPM-CACHE" "1" "August 2023" "" "" +.TH "NPM-CACHE" "1" "September 2023" "" "" .SH "NAME" \fBnpm-cache\fR - Manipulates packages cache .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-ci.1 b/graal-nodejs/deps/npm/man/man1/npm-ci.1 index 2764435bbee..59b0de021df 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-ci.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-ci.1 @@ -1,4 +1,4 @@ -.TH "NPM-CI" "1" "August 2023" "" "" +.TH "NPM-CI" "1" "September 2023" "" "" .SH "NAME" \fBnpm-ci\fR - Clean install a project .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-completion.1 b/graal-nodejs/deps/npm/man/man1/npm-completion.1 index 044de420ba8..e420854773c 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-completion.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-completion.1 @@ -1,4 +1,4 @@ -.TH "NPM-COMPLETION" "1" "August 2023" "" "" +.TH "NPM-COMPLETION" "1" "September 2023" "" "" .SH "NAME" \fBnpm-completion\fR - Tab Completion for npm .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-config.1 b/graal-nodejs/deps/npm/man/man1/npm-config.1 index cd1138c20d7..dba3356299a 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-config.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-config.1 @@ -1,4 +1,4 @@ -.TH "NPM-CONFIG" "1" "August 2023" "" "" +.TH "NPM-CONFIG" "1" "September 2023" "" "" .SH "NAME" \fBnpm-config\fR - Manage the npm configuration files .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-dedupe.1 b/graal-nodejs/deps/npm/man/man1/npm-dedupe.1 index 4705eb5140a..8dba928a3d7 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-dedupe.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-dedupe.1 @@ -1,4 +1,4 @@ -.TH "NPM-DEDUPE" "1" "August 2023" "" "" +.TH "NPM-DEDUPE" "1" "September 2023" "" "" .SH "NAME" \fBnpm-dedupe\fR - Reduce duplication in the package tree .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-deprecate.1 b/graal-nodejs/deps/npm/man/man1/npm-deprecate.1 index c6831d93ecd..85447f708de 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-deprecate.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-deprecate.1 @@ -1,4 +1,4 @@ -.TH "NPM-DEPRECATE" "1" "August 2023" "" "" +.TH "NPM-DEPRECATE" "1" "September 2023" "" "" .SH "NAME" \fBnpm-deprecate\fR - Deprecate a version of a package .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-diff.1 b/graal-nodejs/deps/npm/man/man1/npm-diff.1 index 7ded467b119..cb21d2b1bfd 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-diff.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-diff.1 @@ -1,4 +1,4 @@ -.TH "NPM-DIFF" "1" "August 2023" "" "" +.TH "NPM-DIFF" "1" "September 2023" "" "" .SH "NAME" \fBnpm-diff\fR - The registry diff command .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-dist-tag.1 b/graal-nodejs/deps/npm/man/man1/npm-dist-tag.1 index d592e6508f5..ab3c4bec4b6 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-dist-tag.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-dist-tag.1 @@ -1,4 +1,4 @@ -.TH "NPM-DIST-TAG" "1" "August 2023" "" "" +.TH "NPM-DIST-TAG" "1" "September 2023" "" "" .SH "NAME" \fBnpm-dist-tag\fR - Modify package distribution tags .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-docs.1 b/graal-nodejs/deps/npm/man/man1/npm-docs.1 index 23524867cee..32492edbf9d 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-docs.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-docs.1 @@ -1,4 +1,4 @@ -.TH "NPM-DOCS" "1" "August 2023" "" "" +.TH "NPM-DOCS" "1" "September 2023" "" "" .SH "NAME" \fBnpm-docs\fR - Open documentation for a package in a web browser .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-doctor.1 b/graal-nodejs/deps/npm/man/man1/npm-doctor.1 index 11aa1eb02da..7bbae531147 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-doctor.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-doctor.1 @@ -1,4 +1,4 @@ -.TH "NPM-DOCTOR" "1" "August 2023" "" "" +.TH "NPM-DOCTOR" "1" "September 2023" "" "" .SH "NAME" \fBnpm-doctor\fR - Check your npm environment .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-edit.1 b/graal-nodejs/deps/npm/man/man1/npm-edit.1 index 98c660d624f..97274222f7b 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-edit.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-edit.1 @@ -1,4 +1,4 @@ -.TH "NPM-EDIT" "1" "August 2023" "" "" +.TH "NPM-EDIT" "1" "September 2023" "" "" .SH "NAME" \fBnpm-edit\fR - Edit an installed package .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-exec.1 b/graal-nodejs/deps/npm/man/man1/npm-exec.1 index fd6bc243de5..a48b29fd1ab 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-exec.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-exec.1 @@ -1,4 +1,4 @@ -.TH "NPM-EXEC" "1" "August 2023" "" "" +.TH "NPM-EXEC" "1" "September 2023" "" "" .SH "NAME" \fBnpm-exec\fR - Run a command from a local or remote npm package .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-explain.1 b/graal-nodejs/deps/npm/man/man1/npm-explain.1 index e9860435037..08aa51b4748 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-explain.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-explain.1 @@ -1,4 +1,4 @@ -.TH "NPM-EXPLAIN" "1" "August 2023" "" "" +.TH "NPM-EXPLAIN" "1" "September 2023" "" "" .SH "NAME" \fBnpm-explain\fR - Explain installed packages .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-explore.1 b/graal-nodejs/deps/npm/man/man1/npm-explore.1 index ea45239d095..bf87dc4c66d 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-explore.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-explore.1 @@ -1,4 +1,4 @@ -.TH "NPM-EXPLORE" "1" "August 2023" "" "" +.TH "NPM-EXPLORE" "1" "September 2023" "" "" .SH "NAME" \fBnpm-explore\fR - Browse an installed package .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-find-dupes.1 b/graal-nodejs/deps/npm/man/man1/npm-find-dupes.1 index 4f0e08327d6..3310201661f 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-find-dupes.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-find-dupes.1 @@ -1,4 +1,4 @@ -.TH "NPM-FIND-DUPES" "1" "August 2023" "" "" +.TH "NPM-FIND-DUPES" "1" "September 2023" "" "" .SH "NAME" \fBnpm-find-dupes\fR - Find duplication in the package tree .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-fund.1 b/graal-nodejs/deps/npm/man/man1/npm-fund.1 index 5d574502589..7f70ab3c45c 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-fund.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-fund.1 @@ -1,4 +1,4 @@ -.TH "NPM-FUND" "1" "August 2023" "" "" +.TH "NPM-FUND" "1" "September 2023" "" "" .SH "NAME" \fBnpm-fund\fR - Retrieve funding information .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-help-search.1 b/graal-nodejs/deps/npm/man/man1/npm-help-search.1 index f848af56068..e1bd049796d 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-help-search.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-help-search.1 @@ -1,4 +1,4 @@ -.TH "NPM-HELP-SEARCH" "1" "August 2023" "" "" +.TH "NPM-HELP-SEARCH" "1" "September 2023" "" "" .SH "NAME" \fBnpm-help-search\fR - Search npm help documentation .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-help.1 b/graal-nodejs/deps/npm/man/man1/npm-help.1 index 4e8c5490d87..c7b63df80ca 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-help.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-help.1 @@ -1,4 +1,4 @@ -.TH "NPM-HELP" "1" "August 2023" "" "" +.TH "NPM-HELP" "1" "September 2023" "" "" .SH "NAME" \fBnpm-help\fR - Get help on npm .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-hook.1 b/graal-nodejs/deps/npm/man/man1/npm-hook.1 index 5209a9949ea..345fa4bf0fa 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-hook.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-hook.1 @@ -1,4 +1,4 @@ -.TH "NPM-HOOK" "1" "August 2023" "" "" +.TH "NPM-HOOK" "1" "September 2023" "" "" .SH "NAME" \fBnpm-hook\fR - Manage registry hooks .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-init.1 b/graal-nodejs/deps/npm/man/man1/npm-init.1 index 33f66faa9b0..733d132e56f 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-init.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-init.1 @@ -1,4 +1,4 @@ -.TH "NPM-INIT" "1" "August 2023" "" "" +.TH "NPM-INIT" "1" "September 2023" "" "" .SH "NAME" \fBnpm-init\fR - Create a package.json file .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-install-ci-test.1 b/graal-nodejs/deps/npm/man/man1/npm-install-ci-test.1 index c94907639d0..291242bcc55 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-install-ci-test.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-install-ci-test.1 @@ -1,4 +1,4 @@ -.TH "NPM-INSTALL-CI-TEST" "1" "August 2023" "" "" +.TH "NPM-INSTALL-CI-TEST" "1" "September 2023" "" "" .SH "NAME" \fBnpm-install-ci-test\fR - Install a project with a clean slate and run tests .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-install-test.1 b/graal-nodejs/deps/npm/man/man1/npm-install-test.1 index 40ba63ef57f..7a7db04ce9a 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-install-test.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-install-test.1 @@ -1,4 +1,4 @@ -.TH "NPM-INSTALL-TEST" "1" "August 2023" "" "" +.TH "NPM-INSTALL-TEST" "1" "September 2023" "" "" .SH "NAME" \fBnpm-install-test\fR - Install package(s) and run tests .SS "Synopsis" @@ -223,6 +223,26 @@ Type: Boolean Indicates that you don't want npm to make any changes and that it should only report what it would have done. This can be passed into any of the commands that modify your local installation, eg, \fBinstall\fR, \fBupdate\fR, \fBdedupe\fR, \fBuninstall\fR, as well as \fBpack\fR and \fBpublish\fR. .P Note: This is NOT honored by other network related commands, eg \fBdist-tags\fR, \fBowner\fR, etc. +.SS "\fBcpu\fR" +.RS 0 +.IP \(bu 4 +Default: null +.IP \(bu 4 +Type: null or String +.RE 0 + +.P +Override CPU architecture of native modules to install. Acceptable values are same as \fBcpu\fR field of package.json, which comes from \fBprocess.arch\fR. +.SS "\fBos\fR" +.RS 0 +.IP \(bu 4 +Default: null +.IP \(bu 4 +Type: null or String +.RE 0 + +.P +Override OS of native modules to install. Acceptable values are same as \fBos\fR field of package.json, which comes from \fBprocess.platform\fR. .SS "\fBworkspace\fR" .RS 0 .IP \(bu 4 diff --git a/graal-nodejs/deps/npm/man/man1/npm-install.1 b/graal-nodejs/deps/npm/man/man1/npm-install.1 index 84dc7ba204e..2e55418c2cb 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-install.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-install.1 @@ -1,4 +1,4 @@ -.TH "NPM-INSTALL" "1" "August 2023" "" "" +.TH "NPM-INSTALL" "1" "September 2023" "" "" .SH "NAME" \fBnpm-install\fR - Install a package .SS "Synopsis" @@ -585,6 +585,26 @@ Type: Boolean Indicates that you don't want npm to make any changes and that it should only report what it would have done. This can be passed into any of the commands that modify your local installation, eg, \fBinstall\fR, \fBupdate\fR, \fBdedupe\fR, \fBuninstall\fR, as well as \fBpack\fR and \fBpublish\fR. .P Note: This is NOT honored by other network related commands, eg \fBdist-tags\fR, \fBowner\fR, etc. +.SS "\fBcpu\fR" +.RS 0 +.IP \(bu 4 +Default: null +.IP \(bu 4 +Type: null or String +.RE 0 + +.P +Override CPU architecture of native modules to install. Acceptable values are same as \fBcpu\fR field of package.json, which comes from \fBprocess.arch\fR. +.SS "\fBos\fR" +.RS 0 +.IP \(bu 4 +Default: null +.IP \(bu 4 +Type: null or String +.RE 0 + +.P +Override OS of native modules to install. Acceptable values are same as \fBos\fR field of package.json, which comes from \fBprocess.platform\fR. .SS "\fBworkspace\fR" .RS 0 .IP \(bu 4 diff --git a/graal-nodejs/deps/npm/man/man1/npm-link.1 b/graal-nodejs/deps/npm/man/man1/npm-link.1 index 6a4214c1cc2..d07195da001 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-link.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-link.1 @@ -1,4 +1,4 @@ -.TH "NPM-LINK" "1" "August 2023" "" "" +.TH "NPM-LINK" "1" "September 2023" "" "" .SH "NAME" \fBnpm-link\fR - Symlink a package folder .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-login.1 b/graal-nodejs/deps/npm/man/man1/npm-login.1 index 11e6707e2d3..54c612b86dd 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-login.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-login.1 @@ -1,4 +1,4 @@ -.TH "NPM-LOGIN" "1" "August 2023" "" "" +.TH "NPM-LOGIN" "1" "September 2023" "" "" .SH "NAME" \fBnpm-login\fR - Login to a registry user account .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-logout.1 b/graal-nodejs/deps/npm/man/man1/npm-logout.1 index 803dedd52a9..3bab9b35c78 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-logout.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-logout.1 @@ -1,4 +1,4 @@ -.TH "NPM-LOGOUT" "1" "August 2023" "" "" +.TH "NPM-LOGOUT" "1" "September 2023" "" "" .SH "NAME" \fBnpm-logout\fR - Log out of the registry .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-ls.1 b/graal-nodejs/deps/npm/man/man1/npm-ls.1 index 2561137d909..7254629646d 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-ls.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-ls.1 @@ -1,4 +1,4 @@ -.TH "NPM-LS" "1" "August 2023" "" "" +.TH "NPM-LS" "1" "September 2023" "" "" .SH "NAME" \fBnpm-ls\fR - List installed packages .SS "Synopsis" @@ -20,7 +20,7 @@ Positional arguments are \fBname@version-range\fR identifiers, which will limit .P .RS 2 .nf -npm@10.0.0 /path/to/npm +npm@10.1.0 /path/to/npm └─┬ init-package-json@0.0.4 └── promzard@0.1.5 .fi diff --git a/graal-nodejs/deps/npm/man/man1/npm-org.1 b/graal-nodejs/deps/npm/man/man1/npm-org.1 index 56b7c5b6f83..e1b45b50b67 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-org.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-org.1 @@ -1,4 +1,4 @@ -.TH "NPM-ORG" "1" "August 2023" "" "" +.TH "NPM-ORG" "1" "September 2023" "" "" .SH "NAME" \fBnpm-org\fR - Manage orgs .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-outdated.1 b/graal-nodejs/deps/npm/man/man1/npm-outdated.1 index e95ebea296a..887c252ff38 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-outdated.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-outdated.1 @@ -1,4 +1,4 @@ -.TH "NPM-OUTDATED" "1" "August 2023" "" "" +.TH "NPM-OUTDATED" "1" "September 2023" "" "" .SH "NAME" \fBnpm-outdated\fR - Check for outdated packages .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-owner.1 b/graal-nodejs/deps/npm/man/man1/npm-owner.1 index 4e5c11e4667..01c2050f000 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-owner.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-owner.1 @@ -1,4 +1,4 @@ -.TH "NPM-OWNER" "1" "August 2023" "" "" +.TH "NPM-OWNER" "1" "September 2023" "" "" .SH "NAME" \fBnpm-owner\fR - Manage package owners .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-pack.1 b/graal-nodejs/deps/npm/man/man1/npm-pack.1 index a4c9c43c0bc..a5fc8234152 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-pack.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-pack.1 @@ -1,4 +1,4 @@ -.TH "NPM-PACK" "1" "August 2023" "" "" +.TH "NPM-PACK" "1" "September 2023" "" "" .SH "NAME" \fBnpm-pack\fR - Create a tarball from a package .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-ping.1 b/graal-nodejs/deps/npm/man/man1/npm-ping.1 index 5508a054767..92f76c66dc5 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-ping.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-ping.1 @@ -1,4 +1,4 @@ -.TH "NPM-PING" "1" "August 2023" "" "" +.TH "NPM-PING" "1" "September 2023" "" "" .SH "NAME" \fBnpm-ping\fR - Ping npm registry .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-pkg.1 b/graal-nodejs/deps/npm/man/man1/npm-pkg.1 index 0ab2b402a0c..d13bcd64cef 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-pkg.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-pkg.1 @@ -1,4 +1,4 @@ -.TH "NPM-PKG" "1" "August 2023" "" "" +.TH "NPM-PKG" "1" "September 2023" "" "" .SH "NAME" \fBnpm-pkg\fR - Manages your package.json .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-prefix.1 b/graal-nodejs/deps/npm/man/man1/npm-prefix.1 index e7b4a7ebe16..909e5b70978 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-prefix.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-prefix.1 @@ -1,4 +1,4 @@ -.TH "NPM-PREFIX" "1" "August 2023" "" "" +.TH "NPM-PREFIX" "1" "September 2023" "" "" .SH "NAME" \fBnpm-prefix\fR - Display prefix .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-profile.1 b/graal-nodejs/deps/npm/man/man1/npm-profile.1 index cb061712872..4941380ad2e 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-profile.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-profile.1 @@ -1,4 +1,4 @@ -.TH "NPM-PROFILE" "1" "August 2023" "" "" +.TH "NPM-PROFILE" "1" "September 2023" "" "" .SH "NAME" \fBnpm-profile\fR - Change settings on your registry profile .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-prune.1 b/graal-nodejs/deps/npm/man/man1/npm-prune.1 index 8936f1801cb..eea4ee41da6 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-prune.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-prune.1 @@ -1,4 +1,4 @@ -.TH "NPM-PRUNE" "1" "August 2023" "" "" +.TH "NPM-PRUNE" "1" "September 2023" "" "" .SH "NAME" \fBnpm-prune\fR - Remove extraneous packages .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-publish.1 b/graal-nodejs/deps/npm/man/man1/npm-publish.1 index 1437b97676d..b167ed8a606 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-publish.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-publish.1 @@ -1,4 +1,4 @@ -.TH "NPM-PUBLISH" "1" "August 2023" "" "" +.TH "NPM-PUBLISH" "1" "September 2023" "" "" .SH "NAME" \fBnpm-publish\fR - Publish a package .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-query.1 b/graal-nodejs/deps/npm/man/man1/npm-query.1 index 6bd12878bcf..c5ff8ec3bff 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-query.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-query.1 @@ -1,4 +1,4 @@ -.TH "NPM-QUERY" "1" "August 2023" "" "" +.TH "NPM-QUERY" "1" "September 2023" "" "" .SH "NAME" \fBnpm-query\fR - Dependency selector query .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-rebuild.1 b/graal-nodejs/deps/npm/man/man1/npm-rebuild.1 index 5ce8aa959e5..d22edac3427 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-rebuild.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-rebuild.1 @@ -1,4 +1,4 @@ -.TH "NPM-REBUILD" "1" "August 2023" "" "" +.TH "NPM-REBUILD" "1" "September 2023" "" "" .SH "NAME" \fBnpm-rebuild\fR - Rebuild a package .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-repo.1 b/graal-nodejs/deps/npm/man/man1/npm-repo.1 index 3a838540039..8562592255a 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-repo.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-repo.1 @@ -1,4 +1,4 @@ -.TH "NPM-REPO" "1" "August 2023" "" "" +.TH "NPM-REPO" "1" "September 2023" "" "" .SH "NAME" \fBnpm-repo\fR - Open package repository page in the browser .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-restart.1 b/graal-nodejs/deps/npm/man/man1/npm-restart.1 index 2500c91e698..50f86f5aedc 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-restart.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-restart.1 @@ -1,4 +1,4 @@ -.TH "NPM-RESTART" "1" "August 2023" "" "" +.TH "NPM-RESTART" "1" "September 2023" "" "" .SH "NAME" \fBnpm-restart\fR - Restart a package .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-root.1 b/graal-nodejs/deps/npm/man/man1/npm-root.1 index 520835c1820..6d661685237 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-root.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-root.1 @@ -1,4 +1,4 @@ -.TH "NPM-ROOT" "1" "August 2023" "" "" +.TH "NPM-ROOT" "1" "September 2023" "" "" .SH "NAME" \fBnpm-root\fR - Display npm root .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-run-script.1 b/graal-nodejs/deps/npm/man/man1/npm-run-script.1 index 93031cfe89d..4a3cf441d72 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-run-script.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-run-script.1 @@ -1,4 +1,4 @@ -.TH "NPM-RUN-SCRIPT" "1" "August 2023" "" "" +.TH "NPM-RUN-SCRIPT" "1" "September 2023" "" "" .SH "NAME" \fBnpm-run-script\fR - Run arbitrary package scripts .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-search.1 b/graal-nodejs/deps/npm/man/man1/npm-search.1 index 7c43d3bd115..b21ea554562 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-search.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-search.1 @@ -1,4 +1,4 @@ -.TH "NPM-SEARCH" "1" "August 2023" "" "" +.TH "NPM-SEARCH" "1" "September 2023" "" "" .SH "NAME" \fBnpm-search\fR - Search for packages .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-shrinkwrap.1 b/graal-nodejs/deps/npm/man/man1/npm-shrinkwrap.1 index 99a04c82b0b..7ed46091e5f 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-shrinkwrap.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-shrinkwrap.1 @@ -1,4 +1,4 @@ -.TH "NPM-SHRINKWRAP" "1" "August 2023" "" "" +.TH "NPM-SHRINKWRAP" "1" "September 2023" "" "" .SH "NAME" \fBnpm-shrinkwrap\fR - Lock down dependency versions for publication .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-star.1 b/graal-nodejs/deps/npm/man/man1/npm-star.1 index f6a3784a70c..4a890b37a86 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-star.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-star.1 @@ -1,4 +1,4 @@ -.TH "NPM-STAR" "1" "August 2023" "" "" +.TH "NPM-STAR" "1" "September 2023" "" "" .SH "NAME" \fBnpm-star\fR - Mark your favorite packages .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-stars.1 b/graal-nodejs/deps/npm/man/man1/npm-stars.1 index 1d22e099bc3..de27ac08664 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-stars.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-stars.1 @@ -1,4 +1,4 @@ -.TH "NPM-STARS" "1" "August 2023" "" "" +.TH "NPM-STARS" "1" "September 2023" "" "" .SH "NAME" \fBnpm-stars\fR - View packages marked as favorites .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-start.1 b/graal-nodejs/deps/npm/man/man1/npm-start.1 index 0bee36d08e2..ac0a839b353 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-start.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-start.1 @@ -1,4 +1,4 @@ -.TH "NPM-START" "1" "August 2023" "" "" +.TH "NPM-START" "1" "September 2023" "" "" .SH "NAME" \fBnpm-start\fR - Start a package .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-stop.1 b/graal-nodejs/deps/npm/man/man1/npm-stop.1 index ffee802a0ad..98f444f0863 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-stop.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-stop.1 @@ -1,4 +1,4 @@ -.TH "NPM-STOP" "1" "August 2023" "" "" +.TH "NPM-STOP" "1" "September 2023" "" "" .SH "NAME" \fBnpm-stop\fR - Stop a package .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-team.1 b/graal-nodejs/deps/npm/man/man1/npm-team.1 index cd46af5e7cc..355b25afeb6 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-team.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-team.1 @@ -1,4 +1,4 @@ -.TH "NPM-TEAM" "1" "August 2023" "" "" +.TH "NPM-TEAM" "1" "September 2023" "" "" .SH "NAME" \fBnpm-team\fR - Manage organization teams and team memberships .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-test.1 b/graal-nodejs/deps/npm/man/man1/npm-test.1 index df03feb04c8..e9c3734c919 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-test.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-test.1 @@ -1,4 +1,4 @@ -.TH "NPM-TEST" "1" "August 2023" "" "" +.TH "NPM-TEST" "1" "September 2023" "" "" .SH "NAME" \fBnpm-test\fR - Test a package .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-token.1 b/graal-nodejs/deps/npm/man/man1/npm-token.1 index 5a845534a1a..be7912f43ca 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-token.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-token.1 @@ -1,4 +1,4 @@ -.TH "NPM-TOKEN" "1" "August 2023" "" "" +.TH "NPM-TOKEN" "1" "September 2023" "" "" .SH "NAME" \fBnpm-token\fR - Manage your authentication tokens .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-uninstall.1 b/graal-nodejs/deps/npm/man/man1/npm-uninstall.1 index c4de8421fec..a8a3ec892d8 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-uninstall.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-uninstall.1 @@ -1,4 +1,4 @@ -.TH "NPM-UNINSTALL" "1" "August 2023" "" "" +.TH "NPM-UNINSTALL" "1" "September 2023" "" "" .SH "NAME" \fBnpm-uninstall\fR - Remove a package .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-unpublish.1 b/graal-nodejs/deps/npm/man/man1/npm-unpublish.1 index 68d841c8f55..96d28182b1d 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-unpublish.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-unpublish.1 @@ -1,4 +1,4 @@ -.TH "NPM-UNPUBLISH" "1" "August 2023" "" "" +.TH "NPM-UNPUBLISH" "1" "September 2023" "" "" .SH "NAME" \fBnpm-unpublish\fR - Remove a package from the registry .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-unstar.1 b/graal-nodejs/deps/npm/man/man1/npm-unstar.1 index a129bc500c9..7e9a57782a8 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-unstar.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-unstar.1 @@ -1,4 +1,4 @@ -.TH "NPM-UNSTAR" "1" "August 2023" "" "" +.TH "NPM-UNSTAR" "1" "September 2023" "" "" .SH "NAME" \fBnpm-unstar\fR - Remove an item from your favorite packages .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-update.1 b/graal-nodejs/deps/npm/man/man1/npm-update.1 index e300b680de6..73608d675a6 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-update.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-update.1 @@ -1,4 +1,4 @@ -.TH "NPM-UPDATE" "1" "August 2023" "" "" +.TH "NPM-UPDATE" "1" "September 2023" "" "" .SH "NAME" \fBnpm-update\fR - Update packages .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-version.1 b/graal-nodejs/deps/npm/man/man1/npm-version.1 index c2f002aa203..3c05ff3809d 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-version.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-version.1 @@ -1,4 +1,4 @@ -.TH "NPM-VERSION" "1" "August 2023" "" "" +.TH "NPM-VERSION" "1" "September 2023" "" "" .SH "NAME" \fBnpm-version\fR - Bump a package version .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-view.1 b/graal-nodejs/deps/npm/man/man1/npm-view.1 index 3293e6a288d..c1c4d6f199e 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-view.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-view.1 @@ -1,4 +1,4 @@ -.TH "NPM-VIEW" "1" "August 2023" "" "" +.TH "NPM-VIEW" "1" "September 2023" "" "" .SH "NAME" \fBnpm-view\fR - View registry info .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm-whoami.1 b/graal-nodejs/deps/npm/man/man1/npm-whoami.1 index 0c105ee38f9..296ee8d5cff 100644 --- a/graal-nodejs/deps/npm/man/man1/npm-whoami.1 +++ b/graal-nodejs/deps/npm/man/man1/npm-whoami.1 @@ -1,4 +1,4 @@ -.TH "NPM-WHOAMI" "1" "August 2023" "" "" +.TH "NPM-WHOAMI" "1" "September 2023" "" "" .SH "NAME" \fBnpm-whoami\fR - Display npm username .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man1/npm.1 b/graal-nodejs/deps/npm/man/man1/npm.1 index af425bdf4b9..824d4b8719f 100644 --- a/graal-nodejs/deps/npm/man/man1/npm.1 +++ b/graal-nodejs/deps/npm/man/man1/npm.1 @@ -1,4 +1,4 @@ -.TH "NPM" "1" "August 2023" "" "" +.TH "NPM" "1" "September 2023" "" "" .SH "NAME" \fBnpm\fR - javascript package manager .SS "Synopsis" @@ -12,7 +12,7 @@ npm Note: This command is unaware of workspaces. .SS "Version" .P -10.0.0 +10.1.0 .SS "Description" .P npm is the package manager for the Node JavaScript platform. It puts modules in place so that node can find them, and manages dependency conflicts intelligently. diff --git a/graal-nodejs/deps/npm/man/man1/npx.1 b/graal-nodejs/deps/npm/man/man1/npx.1 index 61b9737c330..d6d0e0d88e0 100644 --- a/graal-nodejs/deps/npm/man/man1/npx.1 +++ b/graal-nodejs/deps/npm/man/man1/npx.1 @@ -1,4 +1,4 @@ -.TH "NPX" "1" "August 2023" "" "" +.TH "NPX" "1" "September 2023" "" "" .SH "NAME" \fBnpx\fR - Run a command from a local or remote npm package .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man5/folders.5 b/graal-nodejs/deps/npm/man/man5/folders.5 index 2acf702d608..023a0ec693a 100644 --- a/graal-nodejs/deps/npm/man/man5/folders.5 +++ b/graal-nodejs/deps/npm/man/man5/folders.5 @@ -1,4 +1,4 @@ -.TH "FOLDERS" "5" "August 2023" "" "" +.TH "FOLDERS" "5" "September 2023" "" "" .SH "NAME" \fBfolders\fR - Folder Structures Used by npm .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man5/install.5 b/graal-nodejs/deps/npm/man/man5/install.5 index 100b4755a12..8343669c716 100644 --- a/graal-nodejs/deps/npm/man/man5/install.5 +++ b/graal-nodejs/deps/npm/man/man5/install.5 @@ -1,4 +1,4 @@ -.TH "INSTALL" "5" "August 2023" "" "" +.TH "INSTALL" "5" "September 2023" "" "" .SH "NAME" \fBinstall\fR - Download and install node and npm .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man5/npm-global.5 b/graal-nodejs/deps/npm/man/man5/npm-global.5 index 2acf702d608..023a0ec693a 100644 --- a/graal-nodejs/deps/npm/man/man5/npm-global.5 +++ b/graal-nodejs/deps/npm/man/man5/npm-global.5 @@ -1,4 +1,4 @@ -.TH "FOLDERS" "5" "August 2023" "" "" +.TH "FOLDERS" "5" "September 2023" "" "" .SH "NAME" \fBfolders\fR - Folder Structures Used by npm .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man5/npm-json.5 b/graal-nodejs/deps/npm/man/man5/npm-json.5 index 033a8810e7c..2e6402de50d 100644 --- a/graal-nodejs/deps/npm/man/man5/npm-json.5 +++ b/graal-nodejs/deps/npm/man/man5/npm-json.5 @@ -1,4 +1,4 @@ -.TH "PACKAGE.JSON" "5" "August 2023" "" "" +.TH "PACKAGE.JSON" "5" "September 2023" "" "" .SH "NAME" \fBpackage.json\fR - Specifics of npm's package.json handling .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man5/npm-shrinkwrap-json.5 b/graal-nodejs/deps/npm/man/man5/npm-shrinkwrap-json.5 index edea5989cb7..3f0af1837be 100644 --- a/graal-nodejs/deps/npm/man/man5/npm-shrinkwrap-json.5 +++ b/graal-nodejs/deps/npm/man/man5/npm-shrinkwrap-json.5 @@ -1,4 +1,4 @@ -.TH "NPM-SHRINKWRAP.JSON" "5" "August 2023" "" "" +.TH "NPM-SHRINKWRAP.JSON" "5" "September 2023" "" "" .SH "NAME" \fBnpm-shrinkwrap.json\fR - A publishable lockfile .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man5/npmrc.5 b/graal-nodejs/deps/npm/man/man5/npmrc.5 index 5f16942e165..60b1794712d 100644 --- a/graal-nodejs/deps/npm/man/man5/npmrc.5 +++ b/graal-nodejs/deps/npm/man/man5/npmrc.5 @@ -1,4 +1,4 @@ -.TH "NPMRC" "5" "August 2023" "" "" +.TH "NPMRC" "5" "September 2023" "" "" .SH "NAME" \fBnpmrc\fR - The npm config files .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man5/package-json.5 b/graal-nodejs/deps/npm/man/man5/package-json.5 index 033a8810e7c..2e6402de50d 100644 --- a/graal-nodejs/deps/npm/man/man5/package-json.5 +++ b/graal-nodejs/deps/npm/man/man5/package-json.5 @@ -1,4 +1,4 @@ -.TH "PACKAGE.JSON" "5" "August 2023" "" "" +.TH "PACKAGE.JSON" "5" "September 2023" "" "" .SH "NAME" \fBpackage.json\fR - Specifics of npm's package.json handling .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man5/package-lock-json.5 b/graal-nodejs/deps/npm/man/man5/package-lock-json.5 index 85f42563387..bbff439d118 100644 --- a/graal-nodejs/deps/npm/man/man5/package-lock-json.5 +++ b/graal-nodejs/deps/npm/man/man5/package-lock-json.5 @@ -1,4 +1,4 @@ -.TH "PACKAGE-LOCK.JSON" "5" "August 2023" "" "" +.TH "PACKAGE-LOCK.JSON" "5" "September 2023" "" "" .SH "NAME" \fBpackage-lock.json\fR - A manifestation of the manifest .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man7/config.7 b/graal-nodejs/deps/npm/man/man7/config.7 index 43d874f9710..13acb13c238 100644 --- a/graal-nodejs/deps/npm/man/man7/config.7 +++ b/graal-nodejs/deps/npm/man/man7/config.7 @@ -1,4 +1,4 @@ -.TH "CONFIG" "7" "August 2023" "" "" +.TH "CONFIG" "7" "September 2023" "" "" .SH "NAME" \fBconfig\fR - More than you probably want to know about npm configuration .SS "Description" @@ -350,6 +350,16 @@ Type: Boolean .P Run git commit hooks when using the \fBnpm version\fR command. +.SS "\fBcpu\fR" +.RS 0 +.IP \(bu 4 +Default: null +.IP \(bu 4 +Type: null or String +.RE 0 + +.P +Override CPU architecture of native modules to install. Acceptable values are same as \fBcpu\fR field of package.json, which comes from \fBprocess.arch\fR. .SS "\fBdepth\fR" .RS 0 .IP \(bu 4 @@ -1038,6 +1048,16 @@ Type: Boolean .P This option causes npm to create lock files without a \fBresolved\fR key for registry dependencies. Subsequent installs will need to resolve tarball endpoints with the configured registry, likely resulting in a longer install time. +.SS "\fBos\fR" +.RS 0 +.IP \(bu 4 +Default: null +.IP \(bu 4 +Type: null or String +.RE 0 + +.P +Override OS of native modules to install. Acceptable values are same as \fBos\fR field of package.json, which comes from \fBprocess.platform\fR. .SS "\fBotp\fR" .RS 0 .IP \(bu 4 diff --git a/graal-nodejs/deps/npm/man/man7/dependency-selectors.7 b/graal-nodejs/deps/npm/man/man7/dependency-selectors.7 index c64631e02b2..51b2052587f 100644 --- a/graal-nodejs/deps/npm/man/man7/dependency-selectors.7 +++ b/graal-nodejs/deps/npm/man/man7/dependency-selectors.7 @@ -1,4 +1,4 @@ -.TH "QUERYING" "7" "August 2023" "" "" +.TH "QUERYING" "7" "September 2023" "" "" .SH "NAME" \fBQuerying\fR - Dependency Selector Syntax & Querying .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man7/developers.7 b/graal-nodejs/deps/npm/man/man7/developers.7 index c447a49da07..7902f7258f5 100644 --- a/graal-nodejs/deps/npm/man/man7/developers.7 +++ b/graal-nodejs/deps/npm/man/man7/developers.7 @@ -1,4 +1,4 @@ -.TH "DEVELOPERS" "7" "August 2023" "" "" +.TH "DEVELOPERS" "7" "September 2023" "" "" .SH "NAME" \fBdevelopers\fR - Developer Guide .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man7/logging.7 b/graal-nodejs/deps/npm/man/man7/logging.7 index e06928a0411..81a09df41eb 100644 --- a/graal-nodejs/deps/npm/man/man7/logging.7 +++ b/graal-nodejs/deps/npm/man/man7/logging.7 @@ -1,4 +1,4 @@ -.TH "LOGGING" "7" "August 2023" "" "" +.TH "LOGGING" "7" "September 2023" "" "" .SH "NAME" \fBLogging\fR - Why, What & How We Log .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man7/orgs.7 b/graal-nodejs/deps/npm/man/man7/orgs.7 index 46fa4efe9b5..02fa92a4519 100644 --- a/graal-nodejs/deps/npm/man/man7/orgs.7 +++ b/graal-nodejs/deps/npm/man/man7/orgs.7 @@ -1,4 +1,4 @@ -.TH "ORGS" "7" "August 2023" "" "" +.TH "ORGS" "7" "September 2023" "" "" .SH "NAME" \fBorgs\fR - Working with Teams & Orgs .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man7/package-spec.7 b/graal-nodejs/deps/npm/man/man7/package-spec.7 index 8651c7aec26..67846da9dbe 100644 --- a/graal-nodejs/deps/npm/man/man7/package-spec.7 +++ b/graal-nodejs/deps/npm/man/man7/package-spec.7 @@ -1,4 +1,4 @@ -.TH "PACKAGE-SPEC" "7" "August 2023" "" "" +.TH "PACKAGE-SPEC" "7" "September 2023" "" "" .SH "NAME" \fBpackage-spec\fR - Package name specifier .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man7/registry.7 b/graal-nodejs/deps/npm/man/man7/registry.7 index 6811ccee1ff..f0a8460b654 100644 --- a/graal-nodejs/deps/npm/man/man7/registry.7 +++ b/graal-nodejs/deps/npm/man/man7/registry.7 @@ -1,4 +1,4 @@ -.TH "REGISTRY" "7" "August 2023" "" "" +.TH "REGISTRY" "7" "September 2023" "" "" .SH "NAME" \fBregistry\fR - The JavaScript Package Registry .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man7/removal.7 b/graal-nodejs/deps/npm/man/man7/removal.7 index ea31865f6b5..d1e3149c6be 100644 --- a/graal-nodejs/deps/npm/man/man7/removal.7 +++ b/graal-nodejs/deps/npm/man/man7/removal.7 @@ -1,4 +1,4 @@ -.TH "REMOVAL" "7" "August 2023" "" "" +.TH "REMOVAL" "7" "September 2023" "" "" .SH "NAME" \fBremoval\fR - Cleaning the Slate .SS "Synopsis" diff --git a/graal-nodejs/deps/npm/man/man7/scope.7 b/graal-nodejs/deps/npm/man/man7/scope.7 index 57b2d8edbdd..1f2a9565a79 100644 --- a/graal-nodejs/deps/npm/man/man7/scope.7 +++ b/graal-nodejs/deps/npm/man/man7/scope.7 @@ -1,4 +1,4 @@ -.TH "SCOPE" "7" "August 2023" "" "" +.TH "SCOPE" "7" "September 2023" "" "" .SH "NAME" \fBscope\fR - Scoped packages .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man7/scripts.7 b/graal-nodejs/deps/npm/man/man7/scripts.7 index bd119571b8f..6fdf8c7a903 100644 --- a/graal-nodejs/deps/npm/man/man7/scripts.7 +++ b/graal-nodejs/deps/npm/man/man7/scripts.7 @@ -1,4 +1,4 @@ -.TH "SCRIPTS" "7" "August 2023" "" "" +.TH "SCRIPTS" "7" "September 2023" "" "" .SH "NAME" \fBscripts\fR - How npm handles the "scripts" field .SS "Description" diff --git a/graal-nodejs/deps/npm/man/man7/workspaces.7 b/graal-nodejs/deps/npm/man/man7/workspaces.7 index ec1700b0496..cac34f55ad0 100644 --- a/graal-nodejs/deps/npm/man/man7/workspaces.7 +++ b/graal-nodejs/deps/npm/man/man7/workspaces.7 @@ -1,4 +1,4 @@ -.TH "WORKSPACES" "7" "August 2023" "" "" +.TH "WORKSPACES" "7" "September 2023" "" "" .SH "NAME" \fBworkspaces\fR - Working with workspaces .SS "Description" diff --git a/graal-nodejs/deps/npm/node_modules/@npmcli/agent/lib/agents.js b/graal-nodejs/deps/npm/node_modules/@npmcli/agent/lib/agents.js index db997403f75..7d32768817c 100644 --- a/graal-nodejs/deps/npm/node_modules/@npmcli/agent/lib/agents.js +++ b/graal-nodejs/deps/npm/node_modules/@npmcli/agent/lib/agents.js @@ -7,7 +7,7 @@ const tls = require('tls') const { once } = require('events') const { createTimeout, abortRace, urlify, appendPort, cacheAgent } = require('./util') const { normalizeOptions, cacheOptions } = require('./options') -const { getProxy, getProxyType, isSecureProxy, proxyCache } = require('./proxy.js') +const { getProxy, getProxyType, proxyCache } = require('./proxy.js') const Errors = require('./errors.js') const createAgent = (base, name) => { @@ -43,18 +43,16 @@ const createAgent = (base, name) => { return } - const secure = isSecureProxy(proxy) - return cacheAgent({ key: cacheOptions({ ...options, ...this.#options, - secure, + secure: SECURE, timeouts: this.#timeouts, proxy, }), cache: proxyCache, - secure, + secure: SECURE, proxies: this.#proxy.proxies, }, proxy, this.#options) } diff --git a/graal-nodejs/deps/npm/node_modules/@npmcli/agent/lib/proxy.js b/graal-nodejs/deps/npm/node_modules/@npmcli/agent/lib/proxy.js index 81afdad74c1..babedad45ff 100644 --- a/graal-nodejs/deps/npm/node_modules/@npmcli/agent/lib/proxy.js +++ b/graal-nodejs/deps/npm/node_modules/@npmcli/agent/lib/proxy.js @@ -22,13 +22,6 @@ const PROXY_ENV = (() => { })() const SOCKS_PROTOCOLS = new Set(SocksProxyAgent.protocols) -const SECURE_PROTOCOLS = new Set([...SocksProxyAgent.protocols, 'https']) - -const isSecureProxy = (url) => { - url = urlify(url) - const protocol = url.protocol.slice(0, -1) - return SECURE_PROTOCOLS.has(protocol) -} const getProxyType = (url) => { url = urlify(url) @@ -91,6 +84,5 @@ const getProxy = (url, { module.exports = { getProxyType, getProxy, - isSecureProxy, proxyCache: PROXY_CACHE, } diff --git a/graal-nodejs/deps/npm/node_modules/@npmcli/agent/package.json b/graal-nodejs/deps/npm/node_modules/@npmcli/agent/package.json index c0bf65719db..32379b39b5b 100644 --- a/graal-nodejs/deps/npm/node_modules/@npmcli/agent/package.json +++ b/graal-nodejs/deps/npm/node_modules/@npmcli/agent/package.json @@ -1,6 +1,6 @@ { "name": "@npmcli/agent", - "version": "2.1.0", + "version": "2.1.1", "description": "the http/https agent used by the npm cli", "main": "lib/index.js", "scripts": { @@ -35,7 +35,8 @@ "16.x", "18.0.0", "18.x" - ] + ], + "npmSpec": "next-9" }, "dependencies": { "http-proxy-agent": "^7.0.0", diff --git a/graal-nodejs/deps/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js b/graal-nodejs/deps/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js index 020038b409b..0981afdae6e 100644 --- a/graal-nodejs/deps/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js +++ b/graal-nodejs/deps/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js @@ -628,7 +628,7 @@ module.exports = cls => class Reifier extends cls { process.emit('time', timer) this.addTracker('reify', node.name, node.location) - const { npmVersion, nodeVersion } = this.options + const { npmVersion, nodeVersion, cpu, os } = this.options const p = Promise.resolve().then(async () => { // when we reify an optional node, check the engine and platform // first. be sure to ignore the --force and --engine-strict flags, @@ -638,7 +638,7 @@ module.exports = cls => class Reifier extends cls { // eslint-disable-next-line promise/always-return if (node.optional) { checkEngine(node.package, npmVersion, nodeVersion, false) - checkPlatform(node.package, false) + checkPlatform(node.package, false, { cpu, os }) } await this[_checkBins](node) await this[_extractOrLink](node) diff --git a/graal-nodejs/deps/npm/node_modules/@npmcli/arborist/package.json b/graal-nodejs/deps/npm/node_modules/@npmcli/arborist/package.json index 3b286e78214..24a442a7d88 100644 --- a/graal-nodejs/deps/npm/node_modules/@npmcli/arborist/package.json +++ b/graal-nodejs/deps/npm/node_modules/@npmcli/arborist/package.json @@ -1,6 +1,6 @@ { "name": "@npmcli/arborist", - "version": "7.0.0", + "version": "7.1.0", "description": "Manage node_modules trees", "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", diff --git a/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/definitions/definitions.js b/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/definitions/definitions.js index 7f0edc7167a..e6b9859dc1d 100644 --- a/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/definitions/definitions.js +++ b/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/definitions/definitions.js @@ -472,6 +472,28 @@ define('commit-hooks', { flatten, }) +define('cpu', { + default: null, + type: [null, String], + description: ` + Override CPU architecture of native modules to install. + Acceptable values are same as \`cpu\` field of package.json, + which comes from \`process.arch\`. + `, + flatten, +}) + +define('os', { + default: null, + type: [null, String], + description: ` + Override OS of native modules to install. + Acceptable values are same as \`os\` field of package.json, + which comes from \`process.platform\`. + `, + flatten, +}) + define('depth', { default: null, defaultDescription: ` diff --git a/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/definitions/index.js b/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/definitions/index.js index 51c7aa7c352..8255a904423 100644 --- a/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/definitions/index.js +++ b/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/definitions/index.js @@ -18,13 +18,6 @@ const flatten = (obj, flat = {}) => { flat[key] = val } } - - // XXX make this the bin/npm-cli.js file explicitly instead - // otherwise using npm programmatically is a bit of a pain. - flat.npmBin = require.main ? require.main.filename - : /* istanbul ignore next - not configurable property */ undefined - flat.nodeBin = process.env.NODE || process.execPath - return flat } diff --git a/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/index.js b/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/index.js index e46fe3d2aa2..ad07fcdf518 100644 --- a/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/index.js +++ b/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/index.js @@ -115,6 +115,7 @@ class Config { this.defaults = defaults this.npmPath = npmPath + this.npmBin = join(this.npmPath, 'bin/npm-cli.js') this.argv = argv this.env = env this.execPath = execPath @@ -231,6 +232,8 @@ class Config { for (const { data } of this.data.values()) { this.#flatten(data, this.#flatOptions) } + this.#flatOptions.nodeBin = this.execPath + this.#flatOptions.npmBin = this.npmBin process.emit('timeEnd', 'config:load:flatten') return this.#flatOptions diff --git a/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/set-envs.js b/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/set-envs.js index 0f5781aaf33..b6f5a30562a 100644 --- a/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/set-envs.js +++ b/graal-nodejs/deps/npm/node_modules/@npmcli/config/lib/set-envs.js @@ -101,10 +101,7 @@ const setEnvs = (config) => { if (cliConf['node-options']) { env.NODE_OPTIONS = cliConf['node-options'] } - - if (require.main && require.main.filename) { - env.npm_execpath = require.main.filename - } + env.npm_execpath = config.npmBin env.NODE = env.npm_node_execpath = config.execPath } diff --git a/graal-nodejs/deps/npm/node_modules/@npmcli/config/package.json b/graal-nodejs/deps/npm/node_modules/@npmcli/config/package.json index 93f2cd097d6..d2e7066b654 100644 --- a/graal-nodejs/deps/npm/node_modules/@npmcli/config/package.json +++ b/graal-nodejs/deps/npm/node_modules/@npmcli/config/package.json @@ -1,6 +1,6 @@ { "name": "@npmcli/config", - "version": "7.1.0", + "version": "7.2.0", "files": [ "bin/", "lib/" diff --git a/graal-nodejs/deps/npm/node_modules/libnpmdiff/package.json b/graal-nodejs/deps/npm/node_modules/libnpmdiff/package.json index 8fdf332e748..9e8a7b62949 100644 --- a/graal-nodejs/deps/npm/node_modules/libnpmdiff/package.json +++ b/graal-nodejs/deps/npm/node_modules/libnpmdiff/package.json @@ -1,6 +1,6 @@ { "name": "libnpmdiff", - "version": "6.0.0", + "version": "6.0.1", "description": "The registry diff", "repository": { "type": "git", @@ -46,7 +46,7 @@ "tap": "^16.3.8" }, "dependencies": { - "@npmcli/arborist": "^7.0.0", + "@npmcli/arborist": "^7.1.0", "@npmcli/disparity-colors": "^3.0.0", "@npmcli/installed-package-contents": "^2.0.2", "binary-extensions": "^2.2.0", diff --git a/graal-nodejs/deps/npm/node_modules/libnpmexec/package.json b/graal-nodejs/deps/npm/node_modules/libnpmexec/package.json index dd515abf654..5e49fe5264a 100644 --- a/graal-nodejs/deps/npm/node_modules/libnpmexec/package.json +++ b/graal-nodejs/deps/npm/node_modules/libnpmexec/package.json @@ -1,6 +1,6 @@ { "name": "libnpmexec", - "version": "7.0.0", + "version": "7.0.1", "files": [ "bin/", "lib/" @@ -59,7 +59,7 @@ "tap": "^16.3.8" }, "dependencies": { - "@npmcli/arborist": "^7.0.0", + "@npmcli/arborist": "^7.1.0", "@npmcli/run-script": "^7.0.1", "ci-info": "^3.7.1", "npm-package-arg": "^11.0.0", diff --git a/graal-nodejs/deps/npm/node_modules/libnpmfund/package.json b/graal-nodejs/deps/npm/node_modules/libnpmfund/package.json index 21bd395d63e..b20bfec9234 100644 --- a/graal-nodejs/deps/npm/node_modules/libnpmfund/package.json +++ b/graal-nodejs/deps/npm/node_modules/libnpmfund/package.json @@ -1,6 +1,6 @@ { "name": "libnpmfund", - "version": "4.1.0", + "version": "4.1.1", "main": "lib/index.js", "files": [ "bin/", @@ -45,7 +45,7 @@ "tap": "^16.3.8" }, "dependencies": { - "@npmcli/arborist": "^7.0.0" + "@npmcli/arborist": "^7.1.0" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" diff --git a/graal-nodejs/deps/npm/node_modules/libnpmpack/package.json b/graal-nodejs/deps/npm/node_modules/libnpmpack/package.json index 1f81dfa48b8..88a80e95226 100644 --- a/graal-nodejs/deps/npm/node_modules/libnpmpack/package.json +++ b/graal-nodejs/deps/npm/node_modules/libnpmpack/package.json @@ -1,6 +1,6 @@ { "name": "libnpmpack", - "version": "6.0.0", + "version": "6.0.1", "description": "Programmatic API for the bits behind npm pack", "author": "GitHub Inc.", "main": "lib/index.js", @@ -36,7 +36,7 @@ "bugs": "https://github.com/npm/libnpmpack/issues", "homepage": "https://npmjs.com/package/libnpmpack", "dependencies": { - "@npmcli/arborist": "^7.0.0", + "@npmcli/arborist": "^7.1.0", "@npmcli/run-script": "^7.0.1", "npm-package-arg": "^11.0.0", "pacote": "^17.0.4" diff --git a/graal-nodejs/deps/npm/package.json b/graal-nodejs/deps/npm/package.json index 8418f543b40..a95496f1a3e 100644 --- a/graal-nodejs/deps/npm/package.json +++ b/graal-nodejs/deps/npm/package.json @@ -1,5 +1,5 @@ { - "version": "10.0.0", + "version": "10.1.0", "name": "npm", "description": "a package manager for JavaScript", "workspaces": [ @@ -52,8 +52,8 @@ }, "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^7.0.0", - "@npmcli/config": "^7.1.0", + "@npmcli/arborist": "^7.1.0", + "@npmcli/config": "^7.2.0", "@npmcli/fs": "^3.1.0", "@npmcli/map-workspaces": "^3.0.4", "@npmcli/package-json": "^5.0.0", @@ -78,12 +78,12 @@ "is-cidr": "^4.0.2", "json-parse-even-better-errors": "^3.0.0", "libnpmaccess": "^8.0.0", - "libnpmdiff": "^6.0.0", - "libnpmexec": "^7.0.0", - "libnpmfund": "^4.1.0", + "libnpmdiff": "^6.0.1", + "libnpmexec": "^7.0.1", + "libnpmfund": "^4.1.1", "libnpmhook": "^10.0.0", "libnpmorg": "^6.0.0", - "libnpmpack": "^6.0.0", + "libnpmpack": "^6.0.1", "libnpmpublish": "^9.0.0", "libnpmsearch": "^7.0.0", "libnpmteam": "^6.0.0", diff --git a/graal-nodejs/deps/npm/tap-snapshots/test/lib/commands/config.js.test.cjs b/graal-nodejs/deps/npm/tap-snapshots/test/lib/commands/config.js.test.cjs index 8346e8d9131..3001c98b3e0 100644 --- a/graal-nodejs/deps/npm/tap-snapshots/test/lib/commands/config.js.test.cjs +++ b/graal-nodejs/deps/npm/tap-snapshots/test/lib/commands/config.js.test.cjs @@ -33,6 +33,8 @@ exports[`test/lib/commands/config.js TAP config list --json > output matches sna "cidr": null, "color": true, "commit-hooks": true, + "cpu": null, + "os": null, "depth": null, "description": true, "dev": false, @@ -187,6 +189,7 @@ cert = null cidr = null color = true commit-hooks = true +cpu = null depth = null description = true dev = false @@ -258,6 +261,7 @@ omit = [] omit-lockfile-registry-resolved = false only = null optional = null +os = null otp = null pack-destination = "." package = [] diff --git a/graal-nodejs/deps/npm/tap-snapshots/test/lib/docs.js.test.cjs b/graal-nodejs/deps/npm/tap-snapshots/test/lib/docs.js.test.cjs index 463b0862d2b..a7e3e6f665a 100644 --- a/graal-nodejs/deps/npm/tap-snapshots/test/lib/docs.js.test.cjs +++ b/graal-nodejs/deps/npm/tap-snapshots/test/lib/docs.js.test.cjs @@ -392,6 +392,16 @@ Run git commit hooks when using the \`npm version\` command. +#### \`cpu\` + +* Default: null +* Type: null or String + +Override CPU architecture of native modules to install. Acceptable values +are same as \`cpu\` field of package.json, which comes from \`process.arch\`. + + + #### \`depth\` * Default: \`Infinity\` if \`--all\` is set, otherwise \`1\` @@ -1085,6 +1095,16 @@ time. +#### \`os\` + +* Default: null +* Type: null or String + +Override OS of native modules to install. Acceptable values are same as \`os\` +field of package.json, which comes from \`process.platform\`. + + + #### \`otp\` * Default: null @@ -2006,6 +2026,8 @@ Array [ "cidr", "color", "commit-hooks", + "cpu", + "os", "depth", "description", "dev", @@ -2159,6 +2181,8 @@ Array [ "cidr", "color", "commit-hooks", + "cpu", + "os", "depth", "description", "dev", @@ -2313,6 +2337,7 @@ Object { "cidr": null, "color": false, "commitHooks": true, + "cpu": null, "defaultTag": "latest", "depth": null, "diff": Array [], @@ -2354,13 +2379,14 @@ Object { "nodeBin": "{NODE}", "nodeVersion": "2.2.2", "noProxy": "", - "npmBin": "{CWD}/{TESTDIR}/docs.js", + "npmBin": "{CWD}/other/bin/npm-cli.js", "npmCommand": "version", "npmVersion": "3.3.3", "npxCache": "{CWD}/cache/_npx", "offline": false, "omit": Array [], "omitLockfileRegistryResolved": false, + "os": null, "otp": null, "package": Array [], "packageLock": true, @@ -3170,7 +3196,7 @@ Options: [--global-style] [--omit [--omit ...]] [--strict-peer-deps] [--prefer-dedupe] [--no-package-lock] [--package-lock-only] [--foreground-scripts] [--ignore-scripts] [--no-audit] [--no-bin-links] -[--no-fund] [--dry-run] +[--no-fund] [--dry-run] [--cpu ] [--os ] [-w|--workspace [-w|--workspace ...]] [-ws|--workspaces] [--include-workspace-root] [--install-links] @@ -3201,6 +3227,8 @@ aliases: add, i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall #### \`bin-links\` #### \`fund\` #### \`dry-run\` +#### \`cpu\` +#### \`os\` #### \`workspace\` #### \`workspaces\` #### \`include-workspace-root\` @@ -3261,7 +3289,7 @@ Options: [--global-style] [--omit [--omit ...]] [--strict-peer-deps] [--prefer-dedupe] [--no-package-lock] [--package-lock-only] [--foreground-scripts] [--ignore-scripts] [--no-audit] [--no-bin-links] -[--no-fund] [--dry-run] +[--no-fund] [--dry-run] [--cpu ] [--os ] [-w|--workspace [-w|--workspace ...]] [-ws|--workspaces] [--include-workspace-root] [--install-links] @@ -3292,6 +3320,8 @@ alias: it #### \`bin-links\` #### \`fund\` #### \`dry-run\` +#### \`cpu\` +#### \`os\` #### \`workspace\` #### \`workspaces\` #### \`include-workspace-root\`