8000 deps: upgrade npm to 10.2.0 · nodejs/node@ca25d56 · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit ca25d56

Browse files
authored
deps: upgrade npm to 10.2.0
PR-URL: #50027 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 766198b commit ca25d56

File tree

303 files changed

+13184
-1093
lines changed
  • esm
  • mjs
  • hosted-git-info
  • jackspeak
  • libnpmaccess
  • libnpmdiff
  • libnpmexec
  • libnpmfund
  • libnpmhook
  • libnpmorg
  • libnpmpack
  • libnpmpublish
  • libnpmsearch
  • libnpmteam
  • libnpmversion
  • minipass
  • npm-package-arg
  • tar
  • tap-snapshots/test/lib
  • test
  • Some content is hidden

    Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

    303 files changed

    +13184
    -1093
    lines changed

    deps/npm/docs/content/commands/npm-audit.md

    Lines changed: 31 additions & 0 deletions
    < 191F tr class="diff-line-row">
    Original file line numberDiff line numberDiff line change
    @@ -32,6 +32,13 @@ vulnerability is found. It may be useful in CI environments to include the
    3232
    will cause the command to fail. This option does not filter the report
    3333
    output, it simply changes the command's failure threshold.
    3434

    35+
    ### Package lock
    36+
    37+
    By default npm requires a package-lock or shrinkwrap in order to run the
    38+
    audit. You can bypass the package lock with `--no-package-lock` but be
    39+
    aware the results may be different with every run, since npm will
    40+
    re-build the dependency tree each time.
    41+
    3542
    ### Audit Signatures
    3643

    3744
    To ensure the integrity of packages you download from the public npm registry, or any registry that supports signatures, you can verify the registry signatures of downloaded packages using the npm CLI.
    @@ -321,6 +328,16 @@ For `list` this means the output will be based on the tree described by the
    321328

    322329

    323330

    331+
    #### `package-lock`
    332+
    333+
    * Default: true
    334+
    * Type: Boolean
    335+
    336+
    If set to false, then ignore `package-lock.json` files when installing. This
    337+
    will also prevent _writing_ `package-lock.json` if `save` is true.
    338+
    339+
    340+
    324341
    #### `omit`
    325342

    326343
    * Default: 'dev' if the `NODE_ENV` environment variable is set to
    @@ -341,6 +358,20 @@ variable will be set to `'production'` for all lifecycle scripts.
    341358

    342359

    343360

    361+
    #### `include`
    362+
    363+
    * Default:
    364+
    * Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
    365+
    366+
    Option that allows for defining which types of dependencies to install.
    367+
    368+
    This is the inverse of `--omit=<type>`.
    369+
    370+
    Dependency types specified in `--include` will not be omitted, regardless of
    371+
    the order in which omit/include are specified on the command-line.
    372+
    373+
    374+
    344375
    #### `foreground-scripts`
    345376

    346377
    * Default: false

    deps/npm/docs/content/commands/npm-ci.md

    Lines changed: 14 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -132,6 +132,20 @@ variable will be set to `'production'` for all lifecycle scripts.
    132132

    133133

    134134

    135+
    #### `include`
    136+
    137+
    * Default:
    138+
    * Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
    139+
    140+
    Option that allows for defining which types of dependencies to install.
    141+
    142+
    This is the inverse of `--omit=<type>`.
    143+
    144+
    Dependency types specified in `--include` will not be omitted, regardless of
    145+
    the order in which omit/include are specified on the command-line.
    146+
    147+
    148+
    135149
    #### `strict-peer-deps`
    136150

    137151
    * Default: false

    deps/npm/docs/content/commands/npm-dedupe.md

    Lines changed: 14 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -168,6 +168,20 @@ variable will be set to `'production'` for all lifecycle scripts.
    168168
    169169
    170170
    171+
    #### `include`
    172+
    173+
    * Default:
    174+
    * Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
    175+
    176+
    Option that allows for defining which types of dependencies to install.
    177+
    178+
    This is the inverse of `--omit=<type>`.
    179+
    180+
    Dependency types specified in `--include` will not be omitted, regardless of
    181+
    the order in which omit/include are specified on the command-line.
    182+
    183+
    184+
    171185
    #### `ignore-scripts`
    172186
    173187
    * Default: false

    deps/npm/docs/content/commands/npm-doctor.md

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -1,7 +1,7 @@
    11
    ---
    22
    title: npm-doctor
    33
    section: 1
    4-
    description: Check your npm environment
    4+
    description: Check the health of your npm environment
    55
    ---
    66

    77
    ### Synopsis

    deps/npm/docs/content/commands/npm-find-dupes.md

    Lines changed: 14 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -108,6 +108,20 @@ variable will be set to `'production'` for all lifecycle scripts.
    108108

    109109

    110110

    111+
    #### `include`
    112+
    113+
    * Default:
    114+
    * Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
    F2A1 115+
    116+
    Option that allows for defining which types of dependencies to install.
    117+
    118+
    This is the inverse of `--omit=<type>`.
    119+
    120+
    Dependency types specified in `--include` will not be omitted, regardless of
    121+
    the order in which omit/include are specified on the command-line.
    122+
    123+
    124+
    111125
    #### `ignore-scripts`
    112126

    113127
    * Default: false

    deps/npm/docs/content/commands/npm-init.md

    Lines changed: 50 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -156,6 +156,56 @@ dot to represent the current directory in that context, e.g: `react-app .`:
    156156

    157157
    ### Configuration
    158158

    159+
    #### `init-author-name`
    160+
    161+
    * Default: ""
    162+
    * Type: String
    163+
    164+
    The value `npm init` should use by default for the package author's name.
    165+
    166+
    167+
    168+
    #### `init-author-url`
    169+
    170+
    * Default: ""
    171+
    * Type: "" or URL
    172+
    173+
    The value `npm init` should use by default for the package author's
    174+
    homepage.
    175+
    176+
    177+
    178+
    #### `init-license`
    179+
    180+
    * Default: "ISC"
    181+
    * Type: String
    182+
    183+
    The value `npm init` should use by default for the package license.
    184+
    185+
    186+
    187+
    #### `init-module`
    188+
    189+
    * Default: "~/.npm-init.js"
    190+
    * Type: Path
    191+
    192+
    A module that will be loaded by the `npm init` command. See the
    193+
    documentation for the
    194+
    [init-package-json](https://github.com/npm/init-package-json) module for
    195+
    more information, or [npm init](/commands/npm-init).
    196+
    197+
    198+
    199+
    #### `init-version`
    200+
    201+
    * Default: "1.0.0"
    202+
    * Type: SemVer string
    203+
    204+
    The value that `npm init` should use by default for the package version
    205+
    number, if not already set in package.json.
    206+
    207+
    208+
    159209
    #### `yes`
    160210

    161211
    * Default: null

    deps/npm/docs/content/commands/npm-install-ci-test.md

    Lines changed: 14 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -78,6 +78,20 @@ variable will be set to `'production'` for all lifecycle scripts.
    7878

    7979

    8080

    81+
    #### `include`
    82+
    83+
    * Default:
    84+
    * Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
    85+
    86+
    Option that allows for defining which types of dependencies to install.
    87+
    88+
    This is the inverse of `--omit=<type>`.
    89+
    90+
    Dependency types specified in `--include` will not be omitted, regardless of
    91+
    the order in which omit/include are specified on the command-line.
    92+
    93+
    94+
    8195
    #### `strict-peer-deps`
    8296

    8397
    * Default: false

    deps/npm/docs/content/commands/npm-install-test.md

    Lines changed: 14 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -119,6 +119,20 @@ variable will be set to `'production'` for all lifecycle scripts.
    119119

    120120

    121121

    122+
    #### `include`
    123+
    124+
    * Default:
    125+
    * Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
    126+
    127+
    Option that allows for defining which types of dependencies to install.
    128+
    129+
    This is the inverse of `--omit=<type>`.
    130+
    131+
    Dependency types specified in `--include` will not be omitted, regardless of
    132+
    the order in which omit/include are specified on the command-line.
    133+
    134+
    135+
    122136
    #### `strict-peer-deps`
    123137

    124138
    * Default: false

    deps/npm/docs/content/commands/npm-install.md

    Lines changed: 14 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -509,6 +509,20 @@ variable will be set to `'production'` for all lifecycle scripts.
    509509
    510510
    511511
    512+
    #### `include`
    513+
    514+
    * Default:
    515+
    * Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
    516+
    517+
    Option that allows for defining which types of dependencies to install.
    518+
    519+
    This is the inverse of `--omit=<type>`.
    520+
    521+
    Dependency types specified in `--include` will not be omitted, regardless of
    522+
    the order in which omit/include are specified on the command-line.
    523+
    524+
    525+
    512526
    #### `strict-peer-deps`
    513527
    514528
    * Default: false

    deps/npm/docs/content/commands/npm-link.md

    Lines changed: 14 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -241,6 +241,20 @@ variable will be set to `'production'` for all lifecycle scripts.
    241241

    242242

    243243

    244+
    #### `include`
    245+
    246+
    * Default:
    247+
    * Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
    248+
    249+
    Option that allows for defining which types of dependencies to install.
    250+
    251+
    This is the inverse of `--omit=<type>`.
    252+
    253+
    Dependency types specified in `--include` will not be omitted, regardless of
    254+
    the order in which omit/include are specified on the command-line.
    255+
    256+
    257+
    244258
    #### `ignore-scripts`
    245259

    246260
    * Default: false

    0 commit comments

    Comments
     (0)
    0