Skip to content

Commit

Permalink
deps: upgrade npm to 9.6.7
Browse files Browse the repository at this point in the history
PR-URL: #48062
Reviewed-By: Luke Karrys <luke@lukekarrys.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
npm-cli-bot authored and pull[bot] committed Oct 6, 2023
1 parent f942a9d commit bd299ff
Show file tree
Hide file tree
Showing 103 changed files with 1,702 additions and 623 deletions.
2 changes: 1 addition & 1 deletion deps/npm/docs/content/commands/npm-ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For
example, running `npm ls promzard` in npm's source tree will show:

```bash
npm@9.6.6 /path/to/npm
npm@9.6.7 /path/to/npm
└─┬ init-package-json@0.0.4
└── promzard@0.1.5
```
Expand Down
2 changes: 1 addition & 1 deletion deps/npm/docs/content/commands/npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Note: This command is unaware of workspaces.

### Version

9.6.6
9.6.7

### Description

Expand Down
2 changes: 1 addition & 1 deletion deps/npm/docs/content/configuring-npm/package-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ This should be a module relative to the root of your package folder.
For most modules, it makes the most sense to have a main script and often
not much else.

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

### browser

Expand Down
22 changes: 12 additions & 10 deletions deps/npm/docs/content/using-npm/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,16 +289,6 @@ npm exec --package yo --package generator-node --call "yo node"
```


#### `ci-name`

* Default: The name of the current CI system, or `null` when not on a known CI
platform.
* Type: null or String

The name of a continuous integration system. If not set explicitly, npm will
detect the current CI environment using the
[`ci-info`](http://npm.im/ci-info) module.

#### `cidr`

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

#### `ci-name`

* Default: The name of the current CI system, or `null` when not on a known CI
platform.
* Type: null or String
* DEPRECATED: This config is deprecated and will not be changeable in future
version of npm.

The name of a continuous integration system. If not set explicitly, npm will
detect the current CI environment using the
[`ci-info`](http://npm.im/ci-info) module.

#### `dev`

* Default: false
Expand Down
2 changes: 1 addition & 1 deletion deps/npm/docs/output/commands/npm-ls.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ <h3 id="description">Description</h3>
the results to only the paths to the packages named. Note that nested
packages will <em>also</em> show the paths to the specified packages. For
example, running <code>npm ls promzard</code> in npm's source tree will show:</p>
<pre><code class="language-bash">npm@9.6.6 /path/to/npm
<pre><code class="language-bash">npm@9.6.7 /path/to/npm
└─┬ init-package-json@0.0.4
└── promzard@0.1.5
</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion deps/npm/docs/output/commands/npm.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ <h2 id="table-of-contents">Table of contents</h2>
</code></pre>
<p>Note: This command is unaware of workspaces.</p>
<h3 id="version">Version</h3>
<p>9.6.6</p>
<p>9.6.7</p>
<h3 id="description">Description</h3>
<p>npm is the package manager for the Node JavaScript platform. It puts
modules in place so that node can find them, and manages dependency
Expand Down
2 changes: 1 addition & 1 deletion deps/npm/docs/output/configuring-npm/package-json.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ <h3 id="main">main</h3>
<p>This should be a module relative to the root of your package folder.</p>
<p>For most modules, it makes the most sense to have a main script and often
not much else.</p>
<p>If <code>main</code> is not set it defaults to <code>index.js</code> in the package's root folder.</p>
<p>If <code>main</code> is not set, it defaults to <code>index.js</code> in the package's root folder.</p>
<h3 id="browser">browser</h3>
<p>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
Expand Down
22 changes: 12 additions & 10 deletions deps/npm/docs/output/using-npm/config.html

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions deps/npm/lib/commands/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Cache extends BaseCommand {
async completion (opts) {
const argv = opts.conf.argv.remain
if (argv.length === 2) {
return ['add', 'clean', 'verify', 'ls', 'delete']
return ['add', 'clean', 'verify', 'ls']
}

// TODO - eventually...
Expand All @@ -85,7 +85,6 @@ class Cache extends BaseCommand {
case 'clean':
case 'add':
case 'ls':
case 'delete':
return []
}
}
Expand Down
3 changes: 3 additions & 0 deletions deps/npm/lib/utils/config/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ define('ci-name', {
platform.
`,
type: [null, String],
deprecated: `
This config is deprecated and will not be changeable in future version of npm.
`,
description: `
The name of a continuous integration system. If not set explicitly, npm
will detect the current CI environment using the
Expand Down
4 changes: 2 additions & 2 deletions deps/npm/lib/utils/exit-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ const exitHandler = err => {
log.level = level
}

let exitCode
let noLogMessage
let exitCode = process.exitCode || 0
let noLogMessage = exitCode !== 0
let jsonError

if (err) {
Expand Down
2 changes: 1 addition & 1 deletion deps/npm/man/man1/npm-ls.1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Positional arguments are \fBname@version-range\fR identifiers, which will limit
.P
.RS 2
.nf
npm@9.6.6 /path/to/npm
npm@9.6.7 /path/to/npm
└─┬ init-package-json@0.0.4
└── promzard@0.1.5
.fi
Expand Down
2 changes: 1 addition & 1 deletion deps/npm/man/man1/npm.1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ npm
Note: This command is unaware of workspaces.
.SS "Version"
.P
9.6.6
9.6.7
.SS "Description"
.P
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.
Expand Down
2 changes: 1 addition & 1 deletion deps/npm/man/man5/npm-json.5
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ This should be a module relative to the root of your package folder.
.P
For most modules, it makes the most sense to have a main script and often not much else.
.P
If \fBmain\fR is not set it defaults to \fBindex.js\fR in the package's root folder.
If \fBmain\fR is not set, it defaults to \fBindex.js\fR in the package's root folder.
.SS "browser"
.P
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)
Expand Down
2 changes: 1 addition & 1 deletion deps/npm/man/man5/package-json.5
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ This should be a module relative to the root of your package folder.
.P
For most modules, it makes the most sense to have a main script and often not much else.
.P
If \fBmain\fR is not set it defaults to \fBindex.js\fR in the package's root folder.
If \fBmain\fR is not set, it defaults to \fBindex.js\fR in the package's root folder.
.SS "browser"
.P
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)
Expand Down
22 changes: 12 additions & 10 deletions deps/npm/man/man7/config.7
Original file line number Diff line number Diff line change
Expand Up @@ -320,16 +320,6 @@ Optional companion option for \fBnpm exec\fR, \fBnpx\fR that allows for specifyi
npm exec --package yo --package generator-node --call "yo node"
.fi
.RE
.SS "\fBci-name\fR"
.RS 0
.IP \(bu 4
Default: The name of the current CI system, or \fBnull\fR when not on a known CI platform.
.IP \(bu 4
Type: null or String
.RE 0

.P
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.
.SS "\fBcidr\fR"
.RS 0
.IP \(bu 4
Expand Down Expand Up @@ -1757,6 +1747,18 @@ cert="-----BEGIN CERTIFICATE-----\[rs]nXXXX\[rs]nXXXX\[rs]n-----END CERTIFICATE-
.RE
.P
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".
.SS "\fBci-name\fR"
.RS 0
.IP \(bu 4
Default: The name of the current CI system, or \fBnull\fR when not on a known CI platform.
.IP \(bu 4
Type: null or String
.IP \(bu 4
DEPRECATED: This config is deprecated and will not be changeable in future version of npm.
.RE 0

.P
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.
.SS "\fBdev\fR"
.RS 0
.IP \(bu 4
Expand Down
25 changes: 16 additions & 9 deletions deps/npm/node_modules/@npmcli/config/lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deps/npm/node_modules/@npmcli/config/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bd299ff

Please sign in to comment.