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

Skip to content

Commit f99aa74

Browse files
authored
deps: upgrade npm to 10.9.3
PR-URL: #58847 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 1e373a0 commit f99aa74

File tree

634 files changed

+10251
-9659
lines changed
  • sigstore
  • socks-proxy-agent
  • socks
  • spdx-license-ids
  • tar/node_modules/minizlib
  • tinyglobby
  • validate-npm-package-name
  • test/bin
  • Some content is hidden

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

    634 files changed

    +10251
    -9659
    lines changed

    deps/npm/bin/npm.ps1

    Lines changed: 19 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -22,11 +22,27 @@ if (Test-Path $NPM_PREFIX_NPM_CLI_JS) {
    2222
    $NPM_CLI_JS=$NPM_PREFIX_NPM_CLI_JS
    2323
    }
    2424

    25-
    # Support pipeline input
    26-
    if ($MyInvocation.ExpectingInput) {
    25+
    if ($MyInvocation.ExpectingInput) { # takes pipeline input
    2726
    $input | & $NODE_EXE $NPM_CLI_JS $args
    28-
    } else {
    27+
    } elseif (-not $MyInvocation.Line) { # used "-File" argument
    2928
    & $NODE_EXE $NPM_CLI_JS $args
    29+
    } else { # used "-Command" argument
    30+
    if ($MyInvocation.Statement) {
    31+
    $NPM_ORIGINAL_COMMAND = $MyInvocation.Statement
    32+
    } else {
    33+
    $NPM_ORIGINAL_COMMAND = (
    34+
    [Management.Automation.InvocationInfo].GetProperty('ScriptPosition', [Reflection.BindingFlags] 'Instance, NonPublic')
    35+
    ).GetValue($MyInvocation).Text
    36+
    }
    37+
    38+
    $NODE_EXE = $NODE_EXE.Replace("``", "````")
    39+
    $NPM_CLI_JS = $NPM_CLI_JS.Replace("``", "````")
    40+
    41+
    $NPM_NO_REDIRECTS_COMMAND = [Management.Automation.Language.Parser]::ParseInput($NPM_ORIGINAL_COMMAND, [ref] $null, [ref] $null).
    42+
    EndBlock.Statements.PipelineElements.CommandElements.Extent.Text -join ' '
    43+
    $NPM_ARGS = $NPM_NO_REDIRECTS_COMMAND.Substring($MyInvocation.InvocationName.Length).Trim()
    44+
    45+
    Invoke-Expression "& `"$NODE_EXE`" `"$NPM_CLI_JS`" $NPM_ARGS"
    3046
    }
    3147

    3248
    exit $LASTEXITCODE

    deps/npm/bin/npx.ps1

    Lines changed: 19 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -22,11 +22,27 @@ if (Test-Path $NPM_PREFIX_NPX_CLI_JS) {
    2222
    $NPX_CLI_JS=$NPM_PREFIX_NPX_CLI_JS
    2323
    }
    2424

    25-
    # Support pipeline input
    26-
    if ($MyInvocation.ExpectingInput) {
    25+
    if ($MyInvocation.ExpectingInput) { # takes pipeline input
    2726
    $input | & $NODE_EXE $NPX_CLI_JS $args
    28-
    } else {
    27+
    } elseif (-not $MyInvocation.Line) { # used "-File" argument
    2928
    & $NODE_EXE $NPX_CLI_JS $args
    29+
    } else { # used "-Command" argument
    30+
    if ($MyInvocation.Statement) {
    31+
    $NPX_ORIGINAL_COMMAND = $MyInvocation.Statement
    32+
    } else {
    33+
    $NPX_ORIGINAL_COMMAND = (
    34+
    [Management.Automation.InvocationInfo].GetProperty('ScriptPosition', [Reflection.BindingFlags] 'Instance, NonPublic')
    35+
    ).GetValue($MyInvocation).Text
    36+
    }
    37+
    38+
    $NODE_EXE = $NODE_EXE.Replace("``", "````")
    39+
    $NPX_CLI_JS = $NPX_CLI_JS.Replace("``", "````")
    40+
    41+
    $NPX_NO_REDIRECTS_COMMAND = [Management.Automation.Language.Parser]::ParseInput($NPX_ORIGINAL_COMMAND, [ref] $null, [ref] $null).
    42+
    EndBlock.Statements.PipelineElements.CommandElements.Extent.Text -join ' '
    43+
    $NPX_ARGS = $NPX_NO_REDIRECTS_COMMAND.Substring($MyInvocation.InvocationName.Length).Trim()
    44+
    45+
    Invoke-Expression "& `"$NODE_EXE`" `"$NPX_CLI_JS`" $NPX_ARGS"
    3046
    }
    3147

    3248
    exit $LASTEXITCODE

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

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For
    2727
    example, running `npm ls promzard` in npm's source tree will show:
    2828

    2929
    ```bash
    30-
    npm@10.9.2 /path/to/npm
    30+
    npm@10.9.3 /path/to/npm
    3131
    └─┬ init-package-json@0.0.4
    3232
    └── promzard@0.1.5
    3333
    ```

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

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -14,7 +14,7 @@ Note: This command is unaware of workspaces.
    1414

    1515
    ### Version
    1616

    17-
    10.9.2
    17+
    10.9.3
    1818

    1919
    ### Description
    2020

    deps/npm/docs/content/configuring-npm/package-json.md

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -621,7 +621,7 @@ See [semver](https://github.com/npm/node-semver#versions) for more details about
    621621
    * `tag` A specific version tagged and published as `tag` See [`npm
    622622
    dist-tag`](/commands/npm-dist-tag)
    623623
    * `path/path/path` See [Local Paths](#local-paths) below
    624-
    * `npm:@scope/pkg@version` Custom alias for a pacakge See [`package-spec`](/using-npm/package-spec#aliases)
    624+
    * `npm:@scope/pkg@version` Custom alias for a package See [`package-spec`](/using-npm/package-spec#aliases)
    625625

    626626
    For example, these are all valid:
    627627

    deps/npm/docs/output/commands/npm-access.html

    Lines changed: 2 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -141,9 +141,9 @@
    141141

    142142
    <section id="content">
    143143
    <header class="title">
    144-
    <h1 id="----npm-access----1092">
    144+
    <h1 id="----npm-access----1093">
    145145
    <span>npm-access</span>
    146-
    <span class="version">@10.9.2</span>
    146+
    <span class="version">@10.9.3</span>
    147147
    </h1>
    148148
    <span class="description">Set access level on published packages</span>
    149149
    </header>

    deps/npm/docs/output/commands/npm-adduser.html

    Lines changed: 2 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -141,9 +141,9 @@
    141141

    142142
    <section id="content">
    143143
    <header class="title">
    144-
    <h1 id="----npm-adduser----1092">
    144+
    <h1 id="----npm-adduser----1093">
    145145
    <span>npm-adduser</span>
    146-
    <span class="version">@10.9.2</span>
    146+
    <span class="version">@10.9.3</span>
    147147
    </h1>
    148148
    <span class="description">Add a registry user account</span>
    149149< 4020 /td>
    </header>

    deps/npm/docs/output/commands/npm-audit.html

    Lines changed: 2 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -141,9 +141,9 @@
    141141

    142142
    <section id="content">
    143143
    <header class="title">
    144-
    <h1 id="----npm-audit----1092">
    < 490D /td>144+
    <h1 id="----npm-audit----1093">
    145145
    <span>npm-audit</span>
    146-
    <span class="version">@10.9.2</span>
    146+
    <span class="version">@10.9.3</span>
    147147
    </h1>
    148148
    <span class="description">Run a security audit</span>
    149149
    </header>

    deps/npm/docs/output/commands/npm-bugs.html

    Lines changed: 2 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -141,9 +141,9 @@
    141141

    142142
    <section id="content">
    143143
    <header class="title">
    144-
    <h1 id="----npm-bugs----1092">
    144+
    <h1 id="----npm-bugs----1093">
    145145
    <span>npm-bugs</span>
    146-
    <span class="version">@10.9.2</span>
    146+
    <span class="version">@10.9.3</span>
    147147
    </h1>
    148148
    <span class="description">Report bugs for a package in a web browser</span>
    149149
    </header>

    deps/npm/docs/output/commands/npm-cache.html

    Lines changed: 2 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -141,9 +141,9 @@
    141141

    142142
    <section id="content">
    143143
    <header class="title">
    144-
    <h1 id="----npm-cache----1092">
    144+
    <h1 id="----npm-cache----1093">
    145145
    <span>npm-cache</span>
    146-
    <span class="version">@10.9.2</span>
    146+
    <span class="version">@10.9.3</span>
    147147
    </h1>
    148148
    <span class="description">Manipulates packages cache</span>
    149149
    </header>

    0 commit comments

    Comments
     (0)
    0