Skip to content

Commit e36aa6a

Browse files
authored
Merge branch 'nodejs:master' into fix-events-require
2 parents 10918f4 + f26c2ce commit e36aa6a

File tree

3,636 files changed

+84998
-47822
lines changed

Some content is hidden

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

3,636 files changed

+84998
-47822
lines changed

β€Ž.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const hacks = [
1818
'eslint-plugin-markdown',
1919
'@babel/eslint-parser',
2020
'@babel/plugin-syntax-class-properties',
21+
'@babel/plugin-syntax-import-assertions',
2122
'@babel/plugin-syntax-top-level-await',
2223
];
2324
Module._findPath = (request, paths, isMain) => {
@@ -41,6 +42,7 @@ module.exports = {
4142
babelOptions: {
4243
plugins: [
4344
Module._findPath('@babel/plugin-syntax-class-properties'),
45+
Module._findPath('@babel/plugin-syntax-import-assertions'),
4446
Module._findPath('@babel/plugin-syntax-top-level-await'),
4547
],
4648
},
@@ -362,5 +364,6 @@ module.exports = {
362364
btoa: 'readable',
363365
atob: 'readable',
364366
performance: 'readable',
367+
structuredClone: 'readable',
365368
},
366369
};

β€Ž.github/workflows/authors.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
- run: "tools/update-authors.js" # run the AUTHORS tool
1313
- uses: gr2m/create-or-update-pull-request-action@v1 # create a PR or update the Action's existing PR
1414
env:
15-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
1616
with:
17-
title: "meta: update AUTHORS"
17+
author: Node.js GitHub Bot <[email protected]>
1818
body: "If this PR exists, there's presumably new additions to the AUTHORS file. This is an automatically generated PR by the `authors.yml` GitHub Action, which runs `tools/update-authors.js` and submits a new PR or updates an existing PR.\n\nPlease note that there might be duplicate entries. If there are, please remove them and add the duplicate emails to .mailmap directly to this PR."
1919
branch: "actions/authors-update" # custom branch *just* for this Action.
2020
commit-message: "meta: update AUTHORS"
21-
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2221
labels: meta
22+
title: "meta: update AUTHORS"

β€Ž.github/workflows/find-inactive-collaborators.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
- name: Open pull request
3333
uses: gr2m/create-or-update-pull-request-action@v1
3434
env:
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
3636
with:
37-
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
37+
author: Node.js GitHub Bot <github-bot@iojs.org>
3838
body: This PR was generated by tools/find-inactive-collaborators.yml.
3939
commit-message: "meta: move one or more collaborators to emeritus"
4040
labels: meta

β€Ž.mailmap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ Elliott Cable <[email protected]>
123123
Eric Phetteplace <[email protected]>
124124
Ernesto Salazar <[email protected]>
125125
Erwin W. Ramadhan <[email protected]>
126+
126127
Eugene Obrezkov <[email protected]>
127128
128129
@@ -300,6 +301,8 @@ Nebu Pookins <[email protected]>
300301
Netto Farah <[email protected]>
301302
Nicholas Kinsey <[email protected]>
302303
304+
305+
303306
Nikolai Vavilov <[email protected]>
304307
Nils Kuhnhenn <[email protected]>
305308

β€ŽAUTHORS

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,12 +1237,12 @@ Josh Mays <[email protected]>
12371237
Matt Crummey <[email protected]>
12381238
12391239
Raja Panidepu <[email protected]>
1240-
Ethan Arrowood <ethan[email protected]>
1240+
Ethan Arrowood <ethan@arrowood.dev>
12411241
Dan Villa <[email protected]>
12421242
CodeTheInternet <[email protected]>
12431243
Eric Gonzalez <[email protected]>
12441244
1245-
Nigel Kibodeaux <[email protected]>
1245+
Nigel Kibodeaux <[email protected]>
12461246
12471247
12481248
Paul Lucas <[email protected]>
@@ -1772,7 +1772,6 @@ Guilherme Akio Sakae <[email protected]>
17721772
Martin Michaelis <[email protected]>
17731773
Christopher Sidebottom <[email protected]>
17741774
Edward Andrew Robinson <[email protected]>
1775-
Nigel Kibodeaux <[email protected]>
17761775
Shakeel Mohamed <[email protected]>
17771776
Tobias Kieslich <[email protected]>
17781777
Ruy Adorno <[email protected]>
@@ -3088,7 +3087,7 @@ Anentropic <[email protected]>
30883087
30893088
Julien Poissonnier <[email protected]>
30903089
zombieleet <[email protected]>
3091-
Nikola Glavina <nikola.glavina@student.um.si>
3090+
Nikola Glavina <glavina[email protected]>
30923091
Johannes SchΓΆpp <[email protected]>
30933092
Francisco Ryan Tolmasky I <[email protected]>
30943093
Ye-hyoung Kang <[email protected]>
@@ -3167,7 +3166,6 @@ FeelyChau <[email protected]>
31673166
Darcy Clarke <[email protected]>
31683167
mayank agarwal <[email protected]>
31693168
woodfairy <[email protected]>
3170-
Nikola Glavina <[email protected]>
31713169
Rishabh Mehan <[email protected]>
31723170
Andrew Casey <[email protected]>
31733171
Anders Kaseorg <[email protected]>

β€ŽCHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ release.
4747
<a href="doc/changelogs/CHANGELOG_V16.md#16.0.0">16.0.0</a><br/>
4848
</td>
4949
<td valign="top">
50-
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.17.5">14.17.5</a></b><br/>
50+
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.17.6">14.17.6</a></b><br/>
51+
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.5">14.17.5</a><br/>
5152
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.4">14.17.4</a><br/>
5253
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.3">14.17.3</a><br/>
5354
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.2">14.17.2</a><br/>
@@ -80,7 +81,8 @@ release.
8081
<a href="doc/changelogs/CHANGELOG_V14.md#14.0.0">14.0.0</a><br/>
8182
</td>
8283
<td valign="top">
83-
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.22.5">12.22.5</a></b><br/>
84+
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.22.6">12.22.6</a></b><br/>
85+
<a href="doc/changelogs/CHANGELOG_V12.md#12.22.5">12.22.5</a><br/>
8486
<a href="doc/changelogs/CHANGELOG_V12.md#12.22.4">12.22.4</a><br/>
8587
<a href="doc/changelogs/CHANGELOG_V12.md#12.22.3">12.22.3</a><br/>
8688
<a href="doc/changelogs/CHANGELOG_V12.md#12.22.2">12.22.2</a><br/>

β€ŽREADME.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ For information about the governance of the Node.js project, see
171171
**Colin Ihrig** &lt;[email protected]&gt; (he/him)
172172
* [codebytere](https://github.com/codebytere) -
173173
**Shelley Vohr** &lt;[email protected]&gt; (she/her)
174-
* [danbev](https://github.com/danbev) -
175-
**Daniel Bevenius** &lt;[email protected]&gt; (he/him)
176174
* [danielleadams](https://github.com/danielleadams) -
177175
**Danielle Adams** &lt;[email protected]&gt; (she/her)
178176
* [fhinkel](https://github.com/fhinkel) -
@@ -214,6 +212,8 @@ For information about the governance of the Node.js project, see
214212
**Ben Noordhuis** &lt;[email protected]&gt;
215213
* [chrisdickinson](https://github.com/chrisdickinson) -
216214
**Chris Dickinson** &lt;[email protected]&gt;
215+
* [danbev](https://github.com/danbev) -
216+
**Daniel Bevenius** &lt;[email protected]&gt; (he/him)
217217
* [evanlucas](https://github.com/evanlucas) -
218218
**Evan Lucas** &lt;[email protected]&gt; (he/him)
219219
* [Fishrock123](https://github.com/Fishrock123) -
@@ -622,12 +622,18 @@ maintaining the Node.js project.
622622
**Qingyu Deng** &lt;[email protected]&gt;
623623
* [himadriganguly](https://github.com/himadriganguly) -
624624
**Himadri Ganguly** &lt;[email protected]&gt; (he/him)
625+
* [iam-frankqiu](https://github.com/iam-frankqiu) -
626+
**Frank Qiu** &lt;[email protected]&gt; (he/him)
625627
* [marsonya](https://github.com/marsonya) -
626628
**Akhil Marsonya** &lt;[email protected]&gt; (he/him)
629+
* [Mesteery](https://github.com/Mesteery) -
630+
**Mestery** &lt;[email protected]&gt;
627631
* [PoojaDurgad](https://github.com/PoojaDurgad) -
628632
**Pooja Durgad** &lt;[email protected]&gt;
629633
* [RaisinTen](https://github.com/RaisinTen) -
630634
**Darshan Sen** &lt;[email protected]&gt;
635+
* [VoltrexMaster](https://github.com/VoltrexMaster) -
636+
**Voltrex** &lt;[email protected]&gt; (he/him)
631637

632638
### Release keys
633639

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
'use strict';
2+
const common = require('../common.js');
3+
const { AsyncLocalStorage } = require('async_hooks');
4+
5+
const bench = common.createBenchmark(main, {
6+
n: [1e7]
7+
});
8+
9+
async function run(store, n) {
10+
for (let i = 0; i < n; i++) {
11+
await new Promise((resolve) => store.run(i, resolve));
12+
}
13+
}
14+
15+
function main({ n }) {
16+
const store = new AsyncLocalStorage();
17+
bench.start();
18+
run(store, n).then(() => {
19+
bench.end(n);
20+
});
21+
}

β€Žcommon.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
# Reset this number to 0 on major V8 upgrades.
3838
# Increment by one for each non-official patch applied to deps/v8.
39-
'v8_embedder_string': '-node.21',
39+
'v8_embedder_string': '-node.9',
4040

4141
##### V8 defaults for Node.js #####
4242

β€Ždeps/npm/docs/content/using-npm/scripts.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,19 @@ will default the `start` command to `node server.js`. `prestart` and
203203
* `test`
204204
* `posttest`
205205

206+
#### A Note on a lack of [`npm uninstall`](/commands/npm-uninstall) scripts
207+
208+
While npm v6 had `uninstall` lifecycle scripts, npm v7 does not. Removal of a package can happen for a wide variety of reasons, and there's no clear way to currently give the script enough context to be useful.
209+
210+
Reasons for a package removal include:
211+
212+
* a user directly uninstalled this package
213+
* a user uninstalled a dependant package and so this dependency is being uninstalled
214+
* a user uninstalled a dependant package but another package also depends on this version
215+
* this version has been merged as a duplicate with another version
216+
* etc.
217+
218+
Due to the lack of necessary context, `uninstall` lifecycle scripts are not implemented and will not function.
206219

207220
### User
208221

β€Ždeps/npm/docs/output/commands/npm-ls.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ <h3 id="description">Description</h3>
159159
the results to only the paths to the packages named. Note that nested
160160
packages will <em>also</em> show the paths to the specified packages. For
161161
example, running <code>npm ls promzard</code> in npm’s source tree will show:</p>
162-
<pre lang="bash"><code>[email protected].0 /path/to/npm
162+
<pre lang="bash"><code>[email protected].1 /path/to/npm
163163
└─┬ [email protected]
164164
└── [email protected]
165165
</code></pre>

β€Ždeps/npm/docs/output/commands/npm.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ <h2 id="table-of-contents">Table of contents</h2>
148148
<pre lang="bash"><code>npm &lt;command&gt; [args]
149149
</code></pre>
150150
<h3 id="version">Version</h3>
151-
<p>7.21.0</p>
151+
<p>7.21.1</p>
152152
<h3 id="description">Description</h3>
153153
<p>npm is the package manager for the Node JavaScript platform. It puts
154154
modules in place so that node can find them, and manages dependency

β€Ždeps/npm/docs/output/using-npm/scripts.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ <h1 id="scripts">scripts</h1>
141141

142142
<section id="table_of_contents">
143143
<h2 id="table-of-contents">Table of contents</h2>
144-
<div id="_table_of_contents"><ul><li><a href="#description">Description</a></li><li><a href="#pre--post-scripts">Pre &amp; Post Scripts</a></li><li><a href="#life-cycle-scripts">Life Cycle Scripts</a></li><ul><li><a href="#prepare-and-prepublish">Prepare and Prepublish</a></li></ul><li><a href="#life-cycle-operation-order">Life Cycle Operation Order</a></li><ul><li><a href="#npm-cache-add"><a href="../commands/npm-cache.html"><code>npm cache add</code></a></a></li><li><a href="#npm-ci"><a href="../commands/npm-ci.html"><code>npm ci</code></a></a></li><li><a href="#npm-diff"><a href="../commands/npm-diff.html"><code>npm diff</code></a></a></li><li><a href="#npm-install"><a href="../commands/npm-install.html"><code>npm install</code></a></a></li><li><a href="#npm-pack"><a href="../commands/npm-pack.html"><code>npm pack</code></a></a></li><li><a href="#npm-publish"><a href="../commands/npm-publish.html"><code>npm publish</code></a></a></li><li><a href="#npm-rebuild"><a href="../commands/npm-rebuild.html"><code>npm rebuild</code></a></a></li><li><a href="#npm-restart"><a href="../commands/npm-restart.html"><code>npm restart</code></a></a></li><li><a href="#npm-run-user-defined"><a href="../commands/npm-run-script.html"><code>npm run &lt;user defined&gt;</code></a></a></li><li><a href="#npm-start"><a href="../commands/npm-start.html"><code>npm start</code></a></a></li><li><a href="#npm-stop"><a href="../commands/npm-stop.html"><code>npm stop</code></a></a></li><li><a href="#npm-test"><a href="../commands/npm-test.html"><code>npm test</code></a></a></li></ul><li><a href="#user">User</a></li><li><a href="#environment">Environment</a></li><ul><li><a href="#path">path</a></li><li><a href="#packagejson-vars">package.json vars</a></li><li><a href="#current-lifecycle-event">current lifecycle event</a></li></ul><li><a href="#examples">Examples</a></li><li><a href="#exiting">Exiting</a></li><li><a href="#best-practices">Best Practices</a></li><li><a href="#see-also">See Also</a></li></ul></div>
144+
<div id="_table_of_contents"><ul><li><a href="#description">Description</a></li><li><a href="#pre--post-scripts">Pre &amp; Post Scripts</a></li><li><a href="#life-cycle-scripts">Life Cycle Scripts</a></li><ul><li><a href="#prepare-and-prepublish">Prepare and Prepublish</a></li></ul><li><a href="#life-cycle-operation-order">Life Cycle Operation Order</a></li><ul><li><a href="#npm-cache-add"><a href="../commands/npm-cache.html"><code>npm cache add</code></a></a></li><li><a href="#npm-ci"><a href="../commands/npm-ci.html"><code>npm ci</code></a></a></li><li><a href="#npm-diff"><a href="../commands/npm-diff.html"><code>npm diff</code></a></a></li><li><a href="#npm-install"><a href="../commands/npm-install.html"><code>npm install</code></a></a></li><li><a href="#npm-pack"><a href="../commands/npm-pack.html"><code>npm pack</code></a></a></li><li><a href="#npm-publish"><a href="../commands/npm-publish.html"><code>npm publish</code></a></a></li><li><a href="#npm-rebuild"><a href="../commands/npm-rebuild.html"><code>npm rebuild</code></a></a></li><li><a href="#npm-restart"><a href="../commands/npm-restart.html"><code>npm restart</code></a></a></li><li><a href="#npm-run-user-defined"><a href="../commands/npm-run-script.html"><code>npm run &lt;user defined&gt;</code></a></a></li><li><a href="#npm-start"><a href="../commands/npm-start.html"><code>npm start</code></a></a></li><li><a href="#npm-stop"><a href="../commands/npm-stop.html"><code>npm stop</code></a></a></li><li><a href="#npm-test"><a href="../commands/npm-test.html"><code>npm test</code></a></a></li><li><a href="#a-note-on-a-lack-of-npm-uninstall-scripts">A Note on a lack of <a href="../commands/npm-uninstall.html"><code>npm uninstall</code></a> scripts</a></li></ul><li><a href="#user">User</a></li><li><a href="#environment">Environment</a></li><ul><li><a href="#path">path</a></li><li><a href="#packagejson-vars">package.json vars</a></li><li><a href="#current-lifecycle-event">current lifecycle event</a></li></ul><li><a href="#examples">Examples</a></li><li><a href="#exiting">Exiting</a></li><li><a href="#best-practices">Best Practices</a></li><li><a href="#see-also">See Also</a></li></ul></div>
145145
</section>
146146

147147
<div id="_content"><h3 id="description">Description</h3>
@@ -337,6 +337,17 @@ <h4 id="npm-test"><a href="../commands/npm-test.html"><code>npm test</code></a><
337337
<li><code>test</code></li>
338338
<li><code>posttest</code></li>
339339
</ul>
340+
<h4 id="a-note-on-a-lack-of-npm-uninstall-scripts">A Note on a lack of <a href="../commands/npm-uninstall.html"><code>npm uninstall</code></a> scripts</h4>
341+
<p>While npm v6 had <code>uninstall</code> lifecycle scripts, npm v7 does not. Removal of a package can happen for a wide variety of reasons, and there’s no clear way to currently give the script enough context to be useful.</p>
342+
<p>Reasons for a package removal include:</p>
343+
<ul>
344+
<li>a user directly uninstalled this package</li>
345+
<li>a user uninstalled a dependant package and so this dependency is being uninstalled</li>
346+
<li>a user uninstalled a dependant package but another package also depends on this version</li>
347+
<li>this version has been merged as a duplicate with another version</li>
348+
<li>etc.</li>
349+
</ul>
350+
<p>Due to the lack of necessary context, <code>uninstall</code> lifecycle scripts are not implemented and will not function.</p>
340351
<h3 id="user">User</h3>
341352
<p>When npm is run as root, scripts are always run with the effective uid
342353
and gid of the working directory owner.</p>

β€Ždeps/npm/lib/config.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class Config extends BaseCommand {
121121
break
122122
case 'list':
123123
case 'ls':
124-
await (this.npm.config.get('json') ? this.listJson() : this.list())
124+
await (this.npm.flatOptions.json ? this.listJson() : this.list())
125125
break
126126
case 'edit':
127127
await this.edit()
@@ -138,7 +138,7 @@ class Config extends BaseCommand {
138138
if (!args.length)
139139
throw this.usageError()
140140

141-
const where = this.npm.config.get('location')
141+
const where = this.npm.flatOptions.location
142142
for (const [key, val] of Object.entries(keyValues(args))) {
143143
this.npm.log.info('config', 'set %j %j', key, val)
144144
this.npm.config.set(key, val || '', where)
@@ -168,15 +168,15 @@ class Config extends BaseCommand {
168168
if (!keys.length)
169169
throw this.usageError()
170170

171-
const where = this.npm.config.get('location')
171+
const where = this.npm.flatOptions.location
172172
for (const key of keys)
173173
this.npm.config.delete(key, where)
174174
await this.npm.config.save(where)
175175
}
176176

177177
async edit () {
178-
const e = this.npm.config.get('editor')
179-
const where = this.npm.config.get('location')
178+
const e = this.npm.flatOptions.editor
179+
const where = this.npm.flatOptions.location
180180
const file = this.npm.config.data.get(where).source
181181

182182
// save first, just to make sure it's synced up
@@ -232,6 +232,7 @@ ${defData}
232232

233233
async list () {
234234
const msg = []
235+
// long does not have a flattener
235236
const long = this.npm.config.get('long')
236237
for (const [where, { data, source }] of this.npm.config.data.entries()) {
237238
if (where === 'default' && !long)

β€Ždeps/npm/lib/utils/config/definitions.js

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,11 @@ define('global', {
804804
* bin files are linked to \`{prefix}/bin\`
805805
* man pages are linked to \`{prefix}/share/man\`
806806
`,
807-
flatten,
807+
flatten: (key, obj, flatOptions) => {
808+
flatten(key, obj, flatOptions)
809+
if (flatOptions.global)
810+
flatOptions.location = 'global'
811+
},
808812
})
809813

810814
define('global-style', {
@@ -1131,14 +1135,10 @@ define('location', {
11311135
description: `
11321136
When passed to \`npm config\` this refers to which config file to use.
11331137
`,
1134-
// NOTE: the flattener here deliberately does not alter the value of global
1135-
// for now, this is to avoid inadvertently causing any breakage. the value of
1136-
// global, however, does modify this flag.
1137-
flatten (key, obj, flatOptions) {
1138-
// if global is set, we override ourselves
1139-
if (obj.global)
1140-
obj.location = 'global'
1141-
flatOptions.location = obj.location
1138+
flatten: (key, obj, flatOptions) => {
1139+
flatten(key, obj, flatOptions)
1140+
if (flatOptions.global)
1141+
flatOptions.location = 'global'
11421142
},
11431143
})
11441144

@@ -1359,7 +1359,11 @@ define('package-lock', {
13591359
modules will also be disabled. To remove extraneous modules with
13601360
package-locks disabled use \`npm prune\`.
13611361
`,
1362-
flatten,
1362+
flatten: (key, obj, flatOptions) => {
1363+
flatten(key, obj, flatOptions)
1364+
if (flatOptions.packageLockOnly)
1365+
flatOptions.packageLock = true
1366+
},
13631367
})
13641368

13651369
define('package-lock-only', {
@@ -1375,7 +1379,11 @@ define('package-lock-only', {
13751379
For \`list\` this means the output will be based on the tree described by the
13761380
\`package-lock.json\`, rather than the contents of \`node_modules\`.
13771381
`,
1378-
flatten,
1382+
flatten: (key, obj, flatOptions) => {
1383+
flatten(key, obj, flatOptions)
1384+
if (flatOptions.packageLockOnly)
1385+
flatOptions.packageLock = true
1386+
},
13791387
})
13801388

13811389
define('pack-destination', {

β€Ždeps/npm/man/man1/npm-ls.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ example, running \fBnpm ls promzard\fP in npm's source tree will show:
2626
.P
2727
.RS 2
2828
.nf
29-
npm@7\.21\.0 /path/to/npm
29+
npm@7\.21\.1 /path/to/npm
3030
└─┬ init\-package\-json@0\.0\.4
3131
└── promzard@0\.1\.5
3232
.fi

β€Ždeps/npm/man/man1/npm.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ npm <command> [args]
1010
.RE
1111
.SS Version
1212
.P
13-
7\.21\.0
13+
7\.21\.1
1414
.SS Description
1515
.P
1616
npm is the package manager for the Node JavaScript platform\. It puts

0 commit comments

Comments
Β (0)