Skip to content

Commit 03f67d6

Browse files
npm-cli-bottargos
authored andcommitted
deps: upgrade npm to 9.6.7
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>
1 parent 0e4a3b7 commit 03f67d6

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-
npm@9.6.6 /path/to/npm
30+
npm@9.6.7 /path/to/npm
3131
└─┬ init-package-json@0.0.4
3232
└── promzard@0.1.5
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">npm@9.6.6 /path/to/npm
163+
<pre><code class="language-bash">npm@9.6.7 /path/to/npm
164164
└─┬ init-package-json@0.0.4
165165
└── promzard@0.1.5
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

0 commit comments

Comments
 (0)