Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7e0e86c

Browse filesBrowse files
authored
deps: upgrade npm to 10.9.4
PR-URL: #60074 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent 91dda5f commit 7e0e86c
Copy full SHA for 7e0e86c

File tree

Expand file treeCollapse file tree

175 files changed

+274
-270
lines changed
Open diff view settings
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

175 files changed

+274
-270
lines changed
Open diff view settings
Collapse file

‎deps/npm/bin/npm.ps1‎

Copy file name to clipboardExpand all lines: deps/npm/bin/npm.ps1
+6-4Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env pwsh
22

3+
Set-StrictMode -Version 'Latest'
4+
35
$NODE_EXE="$PSScriptRoot/node.exe"
46
if (-not (Test-Path $NODE_EXE)) {
57
$NODE_EXE="$PSScriptRoot/node"
@@ -27,7 +29,7 @@ if ($MyInvocation.ExpectingInput) { # takes pipeline input
2729
} elseif (-not $MyInvocation.Line) { # used "-File" argument
2830
& $NODE_EXE $NPM_CLI_JS $args
2931
} else { # used "-Command" argument
30-
if ($MyInvocation.Statement) {
32+
if (($MyInvocation | Get-Member -Name 'Statement') -and $MyInvocation.Statement) {
3133
$NPM_ORIGINAL_COMMAND = $MyInvocation.Statement
3234
} else {
3335
$NPM_ORIGINAL_COMMAND = (
@@ -38,9 +40,9 @@ if ($MyInvocation.ExpectingInput) { # takes pipeline input
3840
$NODE_EXE = $NODE_EXE.Replace("``", "````")
3941
$NPM_CLI_JS = $NPM_CLI_JS.Replace("``", "````")
4042

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()
43+
$NPM_COMMAND_ARRAY = [Management.Automation.Language.Parser]::ParseInput($NPM_ORIGINAL_COMMAND, [ref] $null, [ref] $null).
44+
EndBlock.Statements.PipelineElements.CommandElements.Extent.Text
45+
$NPM_ARGS = ($NPM_COMMAND_ARRAY | Select-Object -Skip 1) -join ' '
4446

4547
Invoke-Expression "& `"$NODE_EXE`" `"$NPM_CLI_JS`" $NPM_ARGS"
4648
}
Collapse file

‎deps/npm/bin/npx.ps1‎

Copy file name to clipboardExpand all lines: deps/npm/bin/npx.ps1
+6-4Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env pwsh
22

3+
Set-StrictMode -Version 'Latest'
4+
35
$NODE_EXE="$PSScriptRoot/node.exe"
46
if (-not (Test-Path $NODE_EXE)) {
57
$NODE_EXE="$PSScriptRoot/node"
@@ -27,7 +29,7 @@ if ($MyInvocation.ExpectingInput) { # takes pipeline input
2729
} elseif (-not $MyInvocation.Line) { # used "-File" argument
2830
& $NODE_EXE $NPX_CLI_JS $args
2931
} else { # used "-Command" argument
30-
if ($MyInvocation.Statement) {
32+
if (($MyInvocation | Get-Member -Name 'Statement') -and $MyInvocation.Statement) {
3133
$NPX_ORIGINAL_COMMAND = $MyInvocation.Statement
3234
} else {
3335
$NPX_ORIGINAL_COMMAND = (
@@ -38,9 +40,9 @@ if ($MyInvocation.ExpectingInput) { # takes pipeline input
3840
$NODE_EXE = $NODE_EXE.Replace("``", "````")
3941
$NPX_CLI_JS = $NPX_CLI_JS.Replace("``", "````")
4042

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()
43+
$NPX_COMMAND_ARRAY = [Management.Automation.Language.Parser]::ParseInput($NPX_ORIGINAL_COMMAND, [ref] $null, [ref] $null).
44+
EndBlock.Statements.PipelineElements.CommandElements.Extent.Text
45+
$NPX_ARGS = ($NPX_COMMAND_ARRAY | Select-Object -Skip 1) -join ' '
4446

4547
Invoke-Expression "& `"$NODE_EXE`" `"$NPX_CLI_JS`" $NPX_ARGS"
4648
}
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-ls.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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.3 /path/to/npm
30+
npm@10.9.4 /path/to/npm
3131
└─┬ init-package-json@0.0.4
3232
└── promzard@0.1.5
3333
```
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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.3
17+
10.9.4
1818

1919
### Description
2020

Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-access.html
+2-2Lines 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----1093">
144+
<h1 id="----npm-access----1094">
145145
<span>npm-access</span>
146-
<span class="version">@10.9.3</span>
146+
<span class="version">@10.9.4</span>
147147
</h1>
148148
<span class="description">Set access level on published packages</span>
149149
</header>
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-adduser.html
+2-2Lines 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----1093">
144+
<h1 id="----npm-adduser----1094">
145145
<span>npm-adduser</span>
146-
<span class="version">@10.9.3</span>
146+
<span class="version">@10.9.4</span>
147147
</h1>
148148
<span class="description">Add a registry user account</span>
149149
</header>
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-audit.html
+2-2Lines 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----1093">
144+
<h1 id="----npm-audit----1094">
145145
<span>npm-audit</span>
146-
<span class="version">@10.9.3</span>
146+
<span class="version">@10.9.4</span>
147147
</h1>
148148
<span class="description">Run a security audit</span>
149149
</header>
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-bugs.html
+2-2Lines 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----1093">
144+
<h1 id="----npm-bugs----1094">
145145
<span>npm-bugs</span>
146-
<span class="version">@10.9.3</span>
146+
<span class="version">@10.9.4</span>
147147
</h1>
148148
<span class="description">Report bugs for a package in a web browser</span>
149149
</header>
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-cache.html
+2-2Lines 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----1093">
144+
<h1 id="----npm-cache----1094">
145145
<span>npm-cache</span>
146-
<span class="version">@10.9.3</span>
146+
<span class="version">@10.9.4</span>
147147
</h1>
148148
<span class="description">Manipulates packages cache</span>
149149
</header>
Collapse file

‎deps/npm/docs/output/commands/npm-ci.html‎

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-ci.html
+2-2Lines 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-ci----1093">
144+
<h1 id="----npm-ci----1094">
145145
<span>npm-ci</span>
146-
<span class="version">@10.9.3</span>
146+
<span class="version">@10.9.4</span>
147147
</h1>
148148
<span class="description">Clean install a project</span>
149149
</header>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.