Skip to content

Commit 6acbb23

Browse files
npm-cli-botMoLow
authored andcommitted
deps: upgrade npm to 9.6.7
PR-URL: #48062 Reviewed-By: Luke Karrys <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent c22f739 commit 6acbb23

File tree

103 files changed

+1702
-623
lines changed

Some content is hidden

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

103 files changed

+1702
-623
lines changed

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-
[email protected].6 /path/to/npm
30+
[email protected].7 /path/to/npm
3131
3232
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-
9.6.6
17+
9.6.7
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
@@ -323,7 +323,7 @@ This should be a module relative to the root of your package folder.
323323
For most modules, it makes the most sense to have a main script and often
324324
not much else.
325325

326-
If `main` is not set it defaults to `index.js` in the package's root folder.
326+
If `main` is not set, it defaults to `index.js` in the package's root folder.
327327

328328
### browser
329329

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

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -289,16 +289,6 @@ npm exec --package yo --package generator-node --call "yo node"
289289
```
290290

291291

292-
#### `ci-name`
293-
294-
* Default: The name of the current CI system, or `null` when not on a known CI
295-
platform.
296-
* Type: null or String
297-
298-
The name of a continuous integration system. If not set explicitly, npm will
299-
detect the current CI environment using the
300-
[`ci-info`](http://npm.im/ci-info) module.
301-
302292
#### `cidr`
303293

304294
* Default: null
@@ -1514,6 +1504,18 @@ It is _not_ the path to a certificate file, though you can set a
15141504
registry-scoped "certfile" path like
15151505
"//other-registry.tld/:certfile=/path/to/cert.pem".
15161506

1507+
#### `ci-name`
1508+
1509+
* Default: The name of the current CI system, or `null` when not on a known CI
1510+
platform.
1511+
* Type: null or String
1512+
* DEPRECATED: This config is deprecated and will not be changeable in future
1513+
version of npm.
1514+
1515+
The name of a continuous integration system. If not set explicitly, npm will
1516+
detect the current CI environment using the
1517+
[`ci-info`](http://npm.im/ci-info) module.
1518+
15171519
#### `dev`
15181520

15191521
* Default: false

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ <h3 id="description">Description</h3>
160160
the results to only the paths to the packages named. Note that nested
161161
packages will <em>also</em> show the paths to the specified packages. For
162162
example, running <code>npm ls promzard</code> in npm's source tree will show:</p>
163-
<pre><code class="language-bash">[email protected].6 /path/to/npm
163+
<pre><code class="language-bash">[email protected].7 /path/to/npm
164164
165165
166166
</code></pre>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ <h2 id="table-of-contents">Table of contents</h2>
150150
</code></pre>
151151
<p>Note: This command is unaware of workspaces.</p>
152152
<h3 id="version">Version</h3>
153-
<p>9.6.6</p>
153+
<p>9.6.7</p>
154154
<h3 id="description">Description</h3>
155155
<p>npm is the package manager for the Node JavaScript platform. It puts
156156
modules in place so that node can find them, and manages dependency

deps/npm/docs/output/configuring-npm/package-json.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ <h3 id="main">main</h3>
391391
<p>This should be a module relative to the root of your package folder.</p>
392392
<p>For most modules, it makes the most sense to have a main script and often
393393
not much else.</p>
394-
<p>If <code>main</code> is not set it defaults to <code>index.js</code> in the package's root folder.</p>
394+
<p>If <code>main</code> is not set, it defaults to <code>index.js</code> in the package's root folder.</p>
395395
<h3 id="browser">browser</h3>
396396
<p>If your module is meant to be used client-side the browser field should be
397397
used instead of the main field. This is helpful to hint users that it might

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

Lines changed: 12 additions & 10 deletions
Large diffs are not rendered by default.

deps/npm/lib/commands/cache.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Cache extends BaseCommand {
7676
async completion (opts) {
7777
const argv = opts.conf.argv.remain
7878
if (argv.length === 2) {
79-
return ['add', 'clean', 'verify', 'ls', 'delete']
79+
return ['add', 'clean', 'verify', 'ls']
8080
}
8181

8282
// TODO - eventually...
@@ -85,7 +85,6 @@ class Cache extends BaseCommand {
8585
case 'clean':
8686
case 'add':
8787
case 'ls':
88-
case 'delete':
8988
return []
9089
}
9190
}

deps/npm/lib/utils/config/definitions.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,9 @@ define('ci-name', {
439439
platform.
440440
`,
441441
type: [null, String],
442+
deprecated: `
443+
This config is deprecated and will not be changeable in future version of npm.
444+
`,
442445
description: `
443446
The name of a continuous integration system. If not set explicitly, npm
444447
will detect the current CI environment using the

deps/npm/lib/utils/exit-handler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ const exitHandler = err => {
131131
log.level = level
132132
}
133133

134-
let exitCode
135-
let noLogMessage
134+
let exitCode = process.exitCode || 0
135+
let noLogMessage = exitCode !== 0
136136
let jsonError
137137

138138
if (err) {

deps/npm/man/man1/npm-ls.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Positional arguments are \fBname@version-range\fR identifiers, which will limit
2020
.P
2121
.RS 2
2222
.nf
23-
[email protected].6 /path/to/npm
23+
[email protected].7 /path/to/npm
2424
2525
2626
.fi

deps/npm/man/man1/npm.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ npm
1212
Note: This command is unaware of workspaces.
1313
.SS "Version"
1414
.P
15-
9.6.6
15+
9.6.7
1616
.SS "Description"
1717
.P
1818
npm is the package manager for the Node JavaScript platform. It puts modules in place so that node can find them, and manages dependency conflicts intelligently.

deps/npm/man/man5/npm-json.5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ This should be a module relative to the root of your package folder.
303303
.P
304304
For most modules, it makes the most sense to have a main script and often not much else.
305305
.P
306-
If \fBmain\fR is not set it defaults to \fBindex.js\fR in the package's root folder.
306+
If \fBmain\fR is not set, it defaults to \fBindex.js\fR in the package's root folder.
307307
.SS "browser"
308308
.P
309309
If your module is meant to be used client-side the browser field should be used instead of the main field. This is helpful to hint users that it might rely on primitives that aren't available in Node.js modules. (e.g. \fBwindow\fR)

deps/npm/man/man5/package-json.5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ This should be a module relative to the root of your package folder.
303303
.P
304304
For most modules, it makes the most sense to have a main script and often not much else.
305305
.P
306-
If \fBmain\fR is not set it defaults to \fBindex.js\fR in the package's root folder.
306+
If \fBmain\fR is not set, it defaults to \fBindex.js\fR in the package's root folder.
307307
.SS "browser"
308308
.P
309309
If your module is meant to be used client-side the browser field should be used instead of the main field. This is helpful to hint users that it might rely on primitives that aren't available in Node.js modules. (e.g. \fBwindow\fR)

deps/npm/man/man7/config.7

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -320,16 +320,6 @@ Optional companion option for \fBnpm exec\fR, \fBnpx\fR that allows for specifyi
320320
npm exec --package yo --package generator-node --call "yo node"
321321
.fi
322322
.RE
323-
.SS "\fBci-name\fR"
324-
.RS 0
325-
.IP \(bu 4
326-
Default: The name of the current CI system, or \fBnull\fR when not on a known CI platform.
327-
.IP \(bu 4
328-
Type: null or String
329-
.RE 0
330-
331-
.P
332-
The name of a continuous integration system. If not set explicitly, npm will detect the current CI environment using the \fB\fBci-info\fR\fR \fI\(lahttp://npm.im/ci-info\(ra\fR module.
333323
.SS "\fBcidr\fR"
334324
.RS 0
335325
.IP \(bu 4
@@ -1757,6 +1747,18 @@ cert="-----BEGIN CERTIFICATE-----\[rs]nXXXX\[rs]nXXXX\[rs]n-----END CERTIFICATE-
17571747
.RE
17581748
.P
17591749
It is \fInot\fR the path to a certificate file, though you can set a registry-scoped "certfile" path like "//other-registry.tld/:certfile=/path/to/cert.pem".
1750+
.SS "\fBci-name\fR"
1751+
.RS 0
1752+
.IP \(bu 4
1753+
Default: The name of the current CI system, or \fBnull\fR when not on a known CI platform.
1754+
.IP \(bu 4
1755+
Type: null or String
1756+
.IP \(bu 4
1757+
DEPRECATED: This config is deprecated and will not be changeable in future version of npm.
1758+
.RE 0
1759+
1760+
.P
1761+
The name of a continuous integration system. If not set explicitly, npm will detect the current CI environment using the \fB\fBci-info\fR\fR \fI\(lahttp://npm.im/ci-info\(ra\fR module.
17601762
.SS "\fBdev\fR"
17611763
.RS 0
17621764
.IP \(bu 4

deps/npm/node_modules/@npmcli/config/lib/index.js

Lines changed: 16 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/npm/node_modules/@npmcli/config/package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)