Skip to content

Commit 843cbae

Browse files
npm-cli-botbmeck
authored andcommitted
deps: upgrade npm to 10.8.0
PR-URL: nodejs#53014 Reviewed-By: Luke Karrys <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 8470d48 commit 843cbae

File tree

361 files changed

+5870
-3940
lines changed

Some content is hidden

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

361 files changed

+5870
-3940
lines changed

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

+1-1
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.7.0 /path/to/npm
30+
npm@10.8.0 /path/to/npm
3131
3232
3333
```

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

+1-1
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.7.0
17+
10.8.0
1818

1919
### Description
2020

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

+9-13
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ For example, myapp could have this:
368368
```json
369369
{
370370
"bin": {
371-
"myapp": "./cli.js"
371+
"myapp": "bin/cli.js"
372372
}
373373
}
374374
```
@@ -385,7 +385,7 @@ package, then you can just supply it as a string. For example:
385385
{
386386
"name": "my-program",
387387
"version": "1.2.5",
388-
"bin": "./path/to/program"
388+
"bin": "path/to/program"
389389
}
390390
```
391391

@@ -396,7 +396,7 @@ would be the same as this:
396396
"name": "my-program",
397397
"version": "1.2.5",
398398
"bin": {
399-
"my-program": "./path/to/program"
399+
"my-program": "path/to/program"
400400
}
401401
}
402402
```
@@ -497,7 +497,7 @@ walking the folder.
497497
### repository
498498

499499
Specify the place where your code lives. This is helpful for people who
500-
want to contribute. If the git repo is on GitHub, then the `npm docs`
500+
want to contribute. If the git repo is on GitHub, then the `npm repo`
501501
command will be able to find you.
502502

503503
Do it like this:
@@ -818,11 +818,12 @@ to express this. If you depend on features introduced in 1.5.2, use
818818

819819
### peerDependenciesMeta
820820

821-
When a user installs your package, npm will emit warnings if packages
822-
specified in `peerDependencies` are not already installed. The
823-
`peerDependenciesMeta` field serves to provide npm more information on how
821+
The `peerDependenciesMeta` field serves to provide npm more information on how
824822
your peer dependencies are to be used. Specifically, it allows peer
825-
dependencies to be marked as optional.
823+
dependencies to be marked as optional. Npm will not automatically install
824+
optional peer dependencies. This allows you to
825+
integrate and interact with a variety of host packages without requiring
826+
all of them to be installed.
826827

827828
For example:
828829

@@ -842,11 +843,6 @@ For example:
842843
}
843844
```
844845

845-
Marking a peer dependency as optional ensures npm will not emit a warning
846-
if the `soy-milk` package is not installed on the host. This allows you to
847-
integrate and interact with a variety of host packages without requiring
848-
all of them to be installed.
849-
850846
### bundleDependencies
851847

852848
This defines an array of package names that will be bundled when publishing

deps/npm/docs/content/using-npm/config.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ a semver. Like the `rc` in `1.2.0-rc.8`.
12171217
* Type: Boolean
12181218

12191219
When set to `true`, npm will display a progress bar during time intensive
1220-
operations, if `process.stderr` is a TTY.
1220+
operations, if `process.stderr` and `process.stdout` are a TTY.
12211221

12221222
Set to `false` to suppress the progress bar.
12231223

deps/npm/docs/content/using-npm/removal.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ So sad to see you go.
1212
sudo npm uninstall npm -g
1313
```
1414

15-
Or, if that fails, get the npm source code, and do:
16-
17-
```bash
18-
sudo make uninstall
19-
```
15+
Or, if that fails, please proceed to more severe uninstalling methods.
2016

2117
### More Severe Uninstalling
2218

deps/npm/docs/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ const replaceHelpLinks = (src) => {
157157

158158
const transformMan = (src, { data, unified, remarkParse, remarkMan }) => unified()
159159
.use(remarkParse)
160-
.use(remarkMan)
160+
.use(remarkMan, { version: `NPM@${version}` })
161161
.processSync(`# ${data.title}(${data.section}) - ${data.description}\n\n${src}`)
162162
.toString()
163163

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
line-height: 1;
114114
}
115115

116+
header.title .version {
117+
font-size: 0.8em;
118+
color: #666666;
119+
}
120+
116121
footer#edit {
117122
border-top: solid 1px #e1e4e8;
118123
margin: 3em 0 4em 0;
@@ -136,7 +141,10 @@
136141

137142
<section id="content">
138143
<header class="title">
139-
<h1 id="npm-access">npm-access</h1>
144+
<h1 id="----npm-access----1080">
145+
<span>npm-access</span>
146+
<span class="version">@10.8.0</span>
147+
</h1>
140148
<span class="description">Set access level on published packages</span>
141149
</header>
142150

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
line-height: 1;
114114
}
115115

116+
header.title .version {
117+
font-size: 0.8em;
118+
color: #666666;
119+
}
120+
116121
footer#edit {
117122
border-top: solid 1px #e1e4e8;
118123
margin: 3em 0 4em 0;
@@ -136,7 +141,10 @@
136141

137142
<section id="content">
138143
<header class="title">
139-
<h1 id="npm-adduser">npm-adduser</h1>
144+
<h1 id="----npm-adduser----1080">
145+
<span>npm-adduser</span>
146+
<span class="version">@10.8.0</span>
147+
</h1>
140148
<span class="description">Add a registry user account</span>
141149
</header>
142150

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
line-height: 1;
114114
}
115115

116+
header.title .version {
117+
font-size: 0.8em;
118+
color: #666666;
119+
}
120+
116121
footer#edit {
117122
border-top: solid 1px #e1e4e8;
118123
margin: 3em 0 4em 0;
@@ -136,7 +141,10 @@
136141

137142
<section id="content">
138143
<header class="title">
139-
<h1 id="npm-audit">npm-audit</h1>
144+
<h1 id="----npm-audit----1080">
145+
<span>npm-audit</span>
146+
<span class="version">@10.8.0</span>
147+
</h1>
140148
<span class="description">Run a security audit</span>
141149
</header>
142150

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
line-height: 1;
114114
}
115115

116+
header.title .version {
117+
font-size: 0.8em;
118+
color: #666666;
119+
}
120+
116121
footer#edit {
117122
border-top: solid 1px #e1e4e8;
118123
margin: 3em 0 4em 0;
@@ -136,7 +141,10 @@
136141

137142
<section id="content">
138143
<header class="title">
139-
<h1 id="npm-bugs">npm-bugs</h1>
144+
<h1 id="----npm-bugs----1080">
145+
<span>npm-bugs</span>
146+
<span class="version">@10.8.0</span>
147+
</h1>
140148
<span class="description">Report bugs for a package in a web browser</span>
141149
</header>
142150

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
line-height: 1;
114114
}
115115

116+
header.title .version {
117+
font-size: 0.8em;
118+
color: #666666;
119+
}
120+
116121
footer#edit {
117122
border-top: solid 1px #e1e4e8;
118123
margin: 3em 0 4em 0;
@@ -136,7 +141,10 @@
136141

137142
<section id="content">
138143
<header class="title">
139-
<h1 id="npm-cache">npm-cache</h1>
144+
<h1 id="----npm-cache----1080">
145+
<span>npm-cache</span>
146+
<span class="version">@10.8.0</span>
147+
</h1>
140148
<span class="description">Manipulates packages cache</span>
141149
</header>
142150

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
line-height: 1;
114114
}
115115

116+
header.title .version {
117+
font-size: 0.8em;
118+
color: #666666;
119+
}
120+
116121
footer#edit {
117122
border-top: solid 1px #e1e4e8;
118123
margin: 3em 0 4em 0;
@@ -136,7 +141,10 @@
136141

137142
<section id="content">
138143
<header class="title">
139-
<h1 id="npm-ci">npm-ci</h1>
144+
<h1 id="----npm-ci----1080">
145+
<span>npm-ci</span>
146+
<span class="version">@10.8.0</span>
147+
</h1>
140148
<span class="description">Clean install a project</span>
141149
</header>
142150

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
line-height: 1;
114114
}
115115

116+
header.title .version {
117+
font-size: 0.8em;
118+
color: #666666;
119+
}
120+
116121
footer#edit {
117122
border-top: solid 1px #e1e4e8;
118123
margin: 3em 0 4em 0;
@@ -136,7 +141,10 @@
136141

137142
<section id="content">
138143
<header class="title">
139-
<h1 id="npm-completion">npm-completion</h1>
144+
<h1 id="----npm-completion----1080">
145+
<span>npm-completion</span>
146+
<span class="version">@10.8.0</span>
147+
</h1>
140148
<span class="description">Tab Completion for npm</span>
141149
</header>
142150

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
line-height: 1;
114114
}
115115

116+
header.title .version {
117+
font-size: 0.8em;
118+
color: #666666;
119+
}
120+
116121
footer#edit {
117122
border-top: solid 1px #e1e4e8;
118123
margin: 3em 0 4em 0;
@@ -136,7 +141,10 @@
136141

137142
<section id="content">
138143
<header class="title">
139-
<h1 id="npm-config">npm-config</h1>
144+
<h1 id="----npm-config----1080">
145+
<span>npm-config</span>
146+
<span class="version">@10.8.0</span>
147+
</h1>
140148
<span class="description">Manage the npm configuration files</span>
141149
</header>
142150

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
line-height: 1;
114114
}
115115

116+
header.title .version {
117+
font-size: 0.8em;
118+
color: #666666;
119+
}
120+
116121
footer#edit {
117122
border-top: solid 1px #e1e4e8;
118123
margin: 3em 0 4em 0;
@@ -136,7 +141,10 @@
136141

137142
<section id="content">
138143
<header class="title">
139-
<h1 id="npm-dedupe">npm-dedupe</h1>
144+
<h1 id="----npm-dedupe----1080">
145+
<span>npm-dedupe</span>
146+
<span class="version">@10.8.0</span>
147+
</h1>
140148
<span class="description">Reduce duplication in the package tree</span>
141149
</header>
142150

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
line-height: 1;
114114
}
115115

116+
header.title .version {
117+
font-size: 0.8em;
118+
color: #666666;
119+
}
120+
116121
footer#edit {
117122
border-top: solid 1px #e1e4e8;
118123
margin: 3em 0 4em 0;
@@ -136,7 +141,10 @@
136141

137142
<section id="content">
138143
<header class="title">
139-
<h1 id="npm-deprecate">npm-deprecate</h1>
144+
<h1 id="----npm-deprecate----1080">
145+
<span>npm-deprecate</span>
146+
<span class="version">@10.8.0</span>
147+
</h1>
140148
<span class="description">Deprecate a version of a package</span>
141149
</header>
142150

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
line-height: 1;
114114
}
115115

116+
header.title .version {
117+
font-size: 0.8em;
118+
color: #666666;
119+
}
120+
116121
footer#edit {
117122
border-top: solid 1px #e1e4e8;
118123
margin: 3em 0 4em 0;
@@ -136,7 +141,10 @@
136141

137142
<section id="content">
138143
<header class="title">
139-
<h1 id="npm-diff">npm-diff</h1>
144+
<h1 id="----npm-diff----1080">
145+
<span>npm-diff</span>
146+
<span class="version">@10.8.0</span>
147+
</h1>
140148
<span class="description">The registry diff command</span>
141149
</header>
142150

0 commit comments

Comments
 (0)