Skip to content

Commit 70c0758

Browse files
npm-robotbengl
authored andcommitted
deps: upgrade npm to 8.5.3
PR-URL: #42205 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent f3c6c00 commit 70c0758

File tree

243 files changed

+2363
-2447
lines changed

Some content is hidden

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

243 files changed

+2363
-2447
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ <h3 id="description">Description</h3>
166166
the results to only the paths to the packages named. Note that nested
167167
packages will <em>also</em> show the paths to the specified packages. For
168168
example, running <code>npm ls promzard</code> in npm's source tree will show:</p>
169-
<pre lang="bash"><code>[email protected].2 /path/to/npm
169+
<pre lang="bash"><code>[email protected].3 /path/to/npm
170170
171171
172172
</code></pre>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ <h2 id="table-of-contents">Table of contents</h2>
149149
<!-- raw HTML omitted -->
150150
<!-- raw HTML omitted -->
151151
<h3 id="version">Version</h3>
152-
<p>8.5.2</p>
152+
<p>8.5.3</p>
153153
<h3 id="description">Description</h3>
154154
<p>npm is the package manager for the Node JavaScript platform. It puts
155155
modules in place so that node can find them, and manages dependency

deps/npm/lib/arborist-cmd.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ class ArboristCmd extends BaseCommand {
1414
'include-workspace-root',
1515
]
1616

17+
static ignoreImplicitWorkspace = false
18+
1719
async execWorkspaces (args, filters) {
1820
await this.setWorkspaces(filters)
1921
return this.exec(args)

deps/npm/lib/base-command.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ class BaseCommand {
2020
return this.constructor.description
2121
}
2222

23+
get ignoreImplicitWorkspace () {
24+
return this.constructor.ignoreImplicitWorkspace
25+
}
26+
2327
get usage () {
2428
let usage = `npm ${this.constructor.name}\n\n`
2529
if (this.constructor.description) {

deps/npm/lib/commands/access.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ class Access extends BaseCommand {
2727
'otp',
2828
]
2929

30+
static ignoreImplicitWorkspace = true
31+
3032
static usage = [
3133
'public [<package>]',
3234
'restricted [<package>]',

deps/npm/lib/commands/adduser.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ class AddUser extends BaseCommand {
1616
'scope',
1717
]
1818

19+
static ignoreImplicitWorkspace = true
20+
1921
async exec (args) {
2022
const { scope } = this.npm.flatOptions
2123
const registry = this.getRegistry(this.npm.flatOptions)

deps/npm/lib/commands/bin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class Bin extends BaseCommand {
55
static description = 'Display npm bin folder'
66
static name = 'bin'
77
static params = ['global']
8+
static ignoreImplicitWorkspace = true
89

910
async exec (args) {
1011
const b = this.npm.bin

deps/npm/lib/commands/birthday.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ const BaseCommand = require('../base-command.js')
22

33
class Birthday extends BaseCommand {
44
static name = 'birthday'
5+
static ignoreImplicitWorkspace = true
6+
57
async exec () {
68
this.npm.config.set('yes', true)
79
return this.npm.exec('exec', ['@npmcli/npm-birthday'])

deps/npm/lib/commands/bugs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class Bugs extends BaseCommand {
99
static name = 'bugs'
1010
static usage = ['[<pkgname>]']
1111
static params = ['browser', 'registry']
12+
static ignoreImplicitWorkspace = true
1213

1314
async exec (args) {
1415
if (!args || !args.length) {

deps/npm/lib/commands/cache.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ class Cache extends BaseCommand {
8181
'verify',
8282
]
8383

84+
static ignoreImplicitWorkspace = true
85+
8486
async completion (opts) {
8587
const argv = opts.conf.argv.remain
8688
if (argv.length === 2) {

0 commit comments

Comments
 (0)