Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: upgrade npm to 10.0.0-pre.0 #48934

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.8.1 /path/to/npm
npm@10.0.0-pre.0 /path/to/npm
└─┬ init-package-json@0.0.4
└── promzard@0.1.5
```
Expand Down
1 change: 0 additions & 1 deletion deps/npm/docs/content/commands/npm-pkg.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,5 +269,4 @@ This value is not exported to the environment for child processes.
* [npm install](/commands/npm-install)
* [npm init](/commands/npm-init)
* [npm config](/commands/npm-config)
* [npm set-script](/commands/npm-set-script)
* [workspaces](/using-npm/workspaces)
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.8.1
10.0.0-pre.0

### Description

Expand Down
28 changes: 0 additions & 28 deletions deps/npm/docs/content/using-npm/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1775,20 +1775,6 @@ registry-scoped "certfile" path like



#### `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 Expand Up @@ -1949,20 +1935,6 @@ Alias for --package-lock



#### `tmp`

* Default: The value returned by the Node.js `os.tmpdir()` method
<https://nodejs.org/api/os.html#os_os_tmpdir>
* Type: Path
* DEPRECATED: This setting is no longer used. npm stores temporary files in a
special location in the cache, and they are managed by
[`cacache`](http://npm.im/cacache).

Historically, the location where temporary files were stored. No longer
relevant.



### See also

* [npm config](/commands/npm-config)
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.8.1 /path/to/npm
<pre><code class="language-bash">npm@10.0.0-pre.0 /path/to/npm
└─┬ init-package-json@0.0.4
└── promzard@0.1.5
</code></pre>
Expand Down
1 change: 0 additions & 1 deletion deps/npm/docs/output/commands/npm-pkg.html
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ <h2 id="see-also">See Also</h2>
<li><a href="../commands/npm-install.html">npm install</a></li>
<li><a href="../commands/npm-init.html">npm init</a></li>
<li><a href="../commands/npm-config.html">npm config</a></li>
<li><a href="../commands/npm-set-script.html">npm set-script</a></li>
<li><a href="../using-npm/workspaces.html">workspaces</a></li>
</ul></div>

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.8.1</p>
<p>10.0.0-pre.0</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
24 changes: 1 addition & 23 deletions deps/npm/docs/output/using-npm/config.html

Large diffs are not rendered by default.

16 changes: 1 addition & 15 deletions deps/npm/lib/commands/run-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,24 +207,10 @@ class RunScript extends BaseCommand {
log.error(err)
log.error(` in workspace: ${pkg._id || pkg.name}`)
log.error(` at location: ${workspacePath}`)

const scriptMissing = err.message.startsWith('Missing script')

// avoids exiting with error code in case there's scripts missing
// in some workspaces since other scripts might have succeeded
if (!scriptMissing) {
process.exitCode = 1
}

return scriptMissing
process.exitCode = 1
})
res.push(runResult)
}

// in case **all** tests are missing, then it should exit with error code
if (res.every(Boolean)) {
throw new Error(`Missing script: ${args[0]}`)
}
}

async listWorkspaces (args, filters) {
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.8.1 /path/to/npm
npm@10.0.0-pre.0 /path/to/npm
└─┬ init-package-json@0.0.4
└── promzard@0.1.5
.fi
Expand Down
2 changes: 0 additions & 2 deletions deps/npm/man/man1/npm-pkg.1
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,5 @@ npm help init
.IP \(bu 4
npm help config
.IP \(bu 4
npm help set-script
.IP \(bu 4
npm help workspaces
.RE 0
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.8.1
10.0.0-pre.0
.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
24 changes: 0 additions & 24 deletions deps/npm/man/man7/config.7
Original file line number Diff line number Diff line change
Expand Up @@ -1769,18 +1769,6 @@ 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 Expand Up @@ -1959,18 +1947,6 @@ DEPRECATED: Use the --package-lock setting instead.

.P
Alias for --package-lock
.SS "\fBtmp\fR"
.RS 0
.IP \(bu 4
Default: The value returned by the Node.js \fBos.tmpdir()\fR method \fI\(lahttps://nodejs.org/api/os.html#os_os_tmpdir\(ra\fR
.IP \(bu 4
Type: Path
.IP \(bu 4
DEPRECATED: This setting is no longer used. npm stores temporary files in a special location in the cache, and they are managed by \fB\fBcacache\fR\fR \fI\(lahttp://npm.im/cacache\(ra\fR.
.RE 0

.P
Historically, the location where temporary files were stored. No longer relevant.
.SS "See also"
.RS 0
.IP \(bu 4
Expand Down

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

3 changes: 0 additions & 3 deletions deps/npm/node_modules/@npmcli/config/lib/definitions/index.js

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

4 changes: 0 additions & 4 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.

89 changes: 9 additions & 80 deletions deps/npm/node_modules/libnpmpublish/lib/publish.js

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

3 changes: 1 addition & 2 deletions deps/npm/node_modules/libnpmpublish/package.json

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

Loading