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 fd9933e

Browse filesBrowse files
npm-cli-botaduh95
authored andcommitted
deps: upgrade npm to 10.8.0
PR-URL: #53014 Reviewed-By: Luke Karrys <luke@lukekarrys.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 0385249 commit fd9933e
Copy full SHA for fd9933e

361 files changed

+5,870-3,940Lines changed: 5870 additions & 3940 deletions

File tree

Expand file treeCollapse file tree
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
Open diff view settings
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.7.0 /path/to/npm
30+
npm@10.8.0 /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.7.0
17+
10.8.0
1818

1919
### Description
2020

Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/configuring-npm/package-json.md
+9-13Lines changed: 9 additions & 13 deletions
  • Display the source diff
  • Display the rich diff
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
Collapse file

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

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

Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/using-npm/removal.md
+1-5Lines changed: 1 addition & 5 deletions
  • Display the source diff
  • Display the rich diff
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

Collapse file

‎deps/npm/docs/lib/index.js‎

Copy file name to clipboardExpand all lines: deps/npm/docs/lib/index.js
+1-1Lines changed: 1 addition & 1 deletion
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

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
+9-1Lines changed: 9 additions & 1 deletion
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

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
+9-1Lines changed: 9 additions & 1 deletion
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

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
+9-1Lines changed: 9 additions & 1 deletion
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

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
+9-1Lines changed: 9 additions & 1 deletion
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

0 commit comments

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