From 98139dfef1858b3879570d7edbd5afd3259c7de3 Mon Sep 17 00:00:00 2001 From: npm-robot Date: Thu, 17 Jun 2021 18:59:38 +0000 Subject: deps: upgrade npm to 7.18.1 PR-URL: https://github.com/nodejs/node/pull/39065 Reviewed-By: Luigi Pinca Reviewed-By: Ruy Adorno Reviewed-By: Colin Ihrig Reviewed-By: Myles Borins --- deps/npm/docs/content/commands/npm-audit.md | 10 ++++++++-- deps/npm/docs/content/commands/npm-ls.md | 21 ++++++++++--------- deps/npm/docs/content/commands/npm-pack.md | 7 +++++++ deps/npm/docs/content/using-npm/config.md | 30 +++++++++++++++------------- deps/npm/docs/output/commands/npm-audit.html | 8 ++++++-- deps/npm/docs/output/commands/npm-ls.html | 23 +++++++++++---------- deps/npm/docs/output/commands/npm-pack.html | 8 +++++++- deps/npm/docs/output/commands/npm.html | 2 +- deps/npm/docs/output/using-npm/config.html | 28 +++++++++++++------------- 9 files changed, 83 insertions(+), 54 deletions(-) (limited to 'deps/npm/docs') diff --git a/deps/npm/docs/content/commands/npm-audit.md b/deps/npm/docs/content/commands/npm-audit.md index 0771d897df9..704d7a15fb8 100644 --- a/deps/npm/docs/content/commands/npm-audit.md +++ b/deps/npm/docs/content/commands/npm-audit.md @@ -250,8 +250,14 @@ Not supported by all npm commands. * Default: false * Type: Boolean -If set to true, it will update only the `package-lock.json`, instead of -checking `node_modules` and downloading dependencies. +If set to true, the current operation will only use the `package-lock.json`, +ignoring `node_modules`. + +For `update` this means only the `package-lock.json` will be updated, +instead of checking `node_modules` and downloading dependencies. + +For `list` this means the output will be based on the tree described by the +`package-lock.json`, rather than the contents of `node_modules`. #### `omit` diff --git a/deps/npm/docs/content/commands/npm-ls.md b/deps/npm/docs/content/commands/npm-ls.md index 3c662176327..1f401fa956f 100644 --- a/deps/npm/docs/content/commands/npm-ls.md +++ b/deps/npm/docs/content/commands/npm-ls.md @@ -155,18 +155,21 @@ variable will be set to `'production'` for all lifecycle scripts. * Default: false * Type: Boolean -If true, then local installs will link if there is a suitable globally -installed package. +Used with `npm ls`, limiting output to only those packages that are linked. -Note that this means that local installs can cause things to be installed -into the global space at the same time. The link is only done if one of the -two conditions are met: +#### `package-lock-only` -* The package is not already installed globally, or -* the globally installed version is identical to the version that is being - installed locally. +* Default: false +* Type: Boolean + +If set to true, the current operation will only use the `package-lock.json`, +ignoring `node_modules`. + +For `update` this means only the `package-lock.json` will be updated, +instead of checking `node_modules` and downloading dependencies. -When used with `npm ls`, only show packages that are linked. +For `list` this means the output will be based on the tree described by the +`package-lock.json`, rather than the contents of `node_modules`. #### `unicode` diff --git a/deps/npm/docs/content/commands/npm-pack.md b/deps/npm/docs/content/commands/npm-pack.md index 04a22a5d854..95070262784 100644 --- a/deps/npm/docs/content/commands/npm-pack.md +++ b/deps/npm/docs/content/commands/npm-pack.md @@ -36,6 +36,13 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. +#### `pack-destination` + +* Default: "." +* Type: String + +Directory in which `npm pack` will save tarballs. + #### `workspace` * Default: diff --git a/deps/npm/docs/content/using-npm/config.md b/deps/npm/docs/content/using-npm/config.md index 44b79a801f1..1036895101f 100644 --- a/deps/npm/docs/content/using-npm/config.md +++ b/deps/npm/docs/content/using-npm/config.md @@ -743,18 +743,7 @@ Use of `legacy-peer-deps` is not recommended, as it will not enforce the * Default: false * Type: Boolean -If true, then local installs will link if there is a suitable globally -installed package. - -Note that this means that local installs can cause things to be installed -into the global space at the same time. The link is only done if one of the -two conditions are met: - -* The package is not already installed globally, or -* the globally installed version is identical to the version that is being - installed locally. - -When used with `npm ls`, only show packages that are linked. +Used with `npm ls`, limiting output to only those packages that are linked. #### `local-address` @@ -878,6 +867,13 @@ when publishing or changing package permissions with `npm access`. If not set, and a registry response fails with a challenge for a one-time password, npm will prompt on the command line for one. +#### `pack-destination` + +* Default: "." +* Type: String + +Directory in which `npm pack` will save tarballs. + #### `package` * Default: @@ -902,8 +898,14 @@ package-locks disabled use `npm prune`. * Default: false * Type: Boolean -If set to true, it will update only the `package-lock.json`, instead of -checking `node_modules` and downloading dependencies. +If set to true, the current operation will only use the `package-lock.json`, +ignoring `node_modules`. + +For `update` this means only the `package-lock.json` will be updated, +instead of checking `node_modules` and downloading dependencies. + +For `list` this means the output will be based on the tree described by the +`package-lock.json`, rather than the contents of `node_modules`. #### `parseable` diff --git a/deps/npm/docs/output/commands/npm-audit.html b/deps/npm/docs/output/commands/npm-audit.html index 64c62658cdd..a1c58d89633 100644 --- a/deps/npm/docs/output/commands/npm-audit.html +++ b/deps/npm/docs/output/commands/npm-audit.html @@ -324,8 +324,12 @@ recommended that you do not use this option!

  • Default: false
  • Type: Boolean
  • -

    If set to true, it will update only the package-lock.json, instead of -checking node_modules and downloading dependencies.

    +

    If set to true, the current operation will only use the package-lock.json, +ignoring node_modules.

    +

    For update this means only the package-lock.json will be updated, +instead of checking node_modules and downloading dependencies.

    +

    For list this means the output will be based on the tree described by the +package-lock.json, rather than the contents of node_modules.

    omit

    -

    If true, then local installs will link if there is a suitable globally -installed package.

    -

    Note that this means that local installs can cause things to be installed -into the global space at the same time. The link is only done if one of the -two conditions are met:

    +

    Used with npm ls, limiting output to only those packages that are linked.

    +

    package-lock-only

      -
    • The package is not already installed globally, or
    • -
    • the globally installed version is identical to the version that is being -installed locally.
    • +
    • Default: false
    • +
    • Type: Boolean
    -

    When used with npm ls, only show packages that are linked.

    +

    If set to true, the current operation will only use the package-lock.json, +ignoring node_modules.

    +

    For update this means only the package-lock.json will be updated, +instead of checking node_modules and downloading dependencies.

    +

    For list this means the output will be based on the tree described by the +package-lock.json, rather than the contents of node_modules.

    unicode

    Whether or not to output JSON data, rather than the normal output.

    Not supported by all npm commands.

    +

    pack-destination

    +
      +
    • Default: “.”
    • +
    • Type: String
    • +
    +

    Directory in which npm pack will save tarballs.

    workspace

    -

    If true, then local installs will link if there is a suitable globally -installed package.

    -

    Note that this means that local installs can cause things to be installed -into the global space at the same time. The link is only done if one of the -two conditions are met:

    -
      -
    • The package is not already installed globally, or
    • -
    • the globally installed version is identical to the version that is being -installed locally.
    • -
    -

    When used with npm ls, only show packages that are linked.

    +

    Used with npm ls, limiting output to only those packages that are linked.

    local-address

    • Default: null
    • @@ -877,6 +867,12 @@ variable will be set to 'production' for all lifecycle scripts.

      when publishing or changing package permissions with npm access.

      If not set, and a registry response fails with a challenge for a one-time password, npm will prompt on the command line for one.

      +

      pack-destination

      +
        +
      • Default: “.”
      • +
      • Type: String
      • +
      +

      Directory in which npm pack will save tarballs.

      package

      • Default:
      • @@ -898,8 +894,12 @@ package-locks disabled use npm prune.

      • Default: false
      • Type: Boolean
      -

      If set to true, it will update only the package-lock.json, instead of -checking node_modules and downloading dependencies.

      +

      If set to true, the current operation will only use the package-lock.json, +ignoring node_modules.

      +

      For update this means only the package-lock.json will be updated, +instead of checking node_modules and downloading dependencies.

      +

      For list this means the output will be based on the tree described by the +package-lock.json, rather than the contents of node_modules.

      parseable

      • Default: false
      • -- cgit v1.2.3