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

v18.2.0 proposal #43036

Merged
merged 81 commits into from
May 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
72b90fd
test: reduce impact of flaky HTTP server tests
tniessen May 2, 2022
924670f
doc: clarify some default values in `fs.md`
LiviaMedeiros May 2, 2022
183bcc0
crypto: clean up parameter validation in HKDF
tniessen May 2, 2022
88692d8
doc: add section regarding property definition in `primordials.md`
aduh95 May 2, 2022
e74a8da
assert: make `assert.fail` less affected by prototype tampering
aduh95 May 2, 2022
9ee7d9e
bootstrap: fix wasm_web_api external reference registration
joyeecheung May 2, 2022
bfbf965
http2: compat support for array headers
y1d7ng May 2, 2022
68ed3c8
test: add test for position validation in fs.read() and fs.readSync()
LiviaMedeiros May 2, 2022
784d84c
fs: add `read(buffer[, options])` versions
LiviaMedeiros May 2, 2022
1237c74
doc: add additional step to security release process
mhdawson Apr 29, 2022
cacff07
src: fix memory leak for v8.serialize
liuxingbaoyu May 2, 2022
1fbfee2
doc: fix examples in cluster.md
y1d7ng May 2, 2022
3ab3086
doc: fix errors in Web Streams doc
y1d7ng May 3, 2022
2f192c4
http: added connection closing methods
ShogunPanda Apr 28, 2022
56c47b5
test: use consistent timeouts
ShogunPanda Apr 28, 2022
d746207
test: fix test-crypto-fips.js under shared OpenSSL
May 2, 2022
19c060f
crypto: adjust minimum length in generateKey('hmac', ...)
LiviaMedeiros May 4, 2022
8cfc18e
src,crypto: remove uses of AllocatedBuffer from crypto_rsa.cc
RaisinTen May 4, 2022
2df1624
deps: upgrade npm to 8.9.0
npm-robot May 5, 2022
a20310d
bootstrap: use a context snapshotted with primordials in workers
joyeecheung May 5, 2022
2dc7956
test: improve `lib/internal/webstreams/readablestream.js` coverage
fossamagna May 5, 2022
b1c18ed
test: use`mustSucceed` instead of `mustCall` with `assert.ifError`
fossamagna May 5, 2022
d23debb
test: validate webstream encoder/decoder inspector
kuriyosh May 5, 2022
e058f47
test: improve observable ICU behaviour coverage
LiviaMedeiros May 5, 2022
1146806
bootstrap: stop delaying instantiation of maps in per-context scripts
RaisinTen May 5, 2022
41d2f6e
test: rename handlewrap.hasref tests
daeyeon May 5, 2022
c64b8d3
lib,test: enable wasm/webapi/empty-body WPT
tniessen May 5, 2022
0ec32d0
meta: move one or more collaborators to emeritus
nodejs-github-bot May 2, 2022
48f4a71
build: fix indeterminacy of icu_locales value
3ap May 6, 2022
ba3ad7c
doc: use serial comma in cluster docs
tniessen May 6, 2022
840e61e
doc: improve commit message example for releases
juanarbol May 6, 2022
0eb32ed
build: fix various shared library build issues
lux01 Feb 4, 2022
7cac7bb
assert: fix CallTracker wraps the function causes the length to be lost
y1d7ng May 6, 2022
5470578
worker: fix stream racing with terminate
airtable-keyhanvakil May 6, 2022
38e4c15
src: always signal V8 for intercepted properties
targos May 6, 2022
5dc7929
src: remove unnecessary comment
cola119 May 6, 2022
65d6455
doc: use serial comma in tls docs
tniessen May 8, 2022
16df8ad
meta: update AUTHORS
nodejs-github-bot May 8, 2022
265ecdf
tools: update lint-md-dependencies
nodejs-github-bot May 8, 2022
7987238
tools: refactor lint-sh.js to esm module
F3n67u May 8, 2022
64daaca
tools: update eslint to 8.15.0
nodejs-github-bot May 8, 2022
946f57c
debugger: fix inconsistent inspector output of exec new Map()
cola119 May 8, 2022
46a44b3
lib: move WebAssembly Web API into separate file
tniessen May 8, 2022
13c333e
Revert "deps: add template for generated headers"
danbev May 5, 2022
e8121ae
deps: regenerate OpenSSL archs files
danbev May 5, 2022
64e0aa1
doc: rename N-API to Node-API in test/README.md
daeyeon May 9, 2022
686c4c1
doc: add release key for Juan Arboleda
juanarbol May 9, 2022
4de918b
doc: add the preferred name for @himself65
himself65 May 9, 2022
c988a0e
doc: use serial comma in http docs
tniessen May 9, 2022
55ef6e8
wasm: add missing init reported by coverity
mhdawson Apr 28, 2022
4a3f678
doc: add LiviaMedeiros to collaborators
LiviaMedeiros May 10, 2022
ef177da
doc: mark some node-api functions as experimental
NickNaso May 6, 2022
e2462a2
node-api: fix napi_get_all_property_names
vmoroz Apr 13, 2022
22cb710
doc: add Rafael to the security steward for NearForm
mcollina May 4, 2022
174ff97
meta: update .mailmap for recent README name change
Trott May 9, 2022
e9e1f1e
typings: fix `os.cpus` invalid return type
himself65 May 10, 2022
0957212
doc: use consistent method symbol
ShogunPanda May 10, 2022
330e267
doc: use serial comma in buffer docs
tniessen May 11, 2022
6365bf8
deps: upgrade openssl sources to quictls/openssl-3.0.3
RafaelGSS May 9, 2022
8e54c19
deps: update archs files for quictls/openssl-3.0.3+quic
RafaelGSS May 9, 2022
3816a97
doc: add detail for how to update llhttp
mhdawson May 9, 2022
a4a4f71
deps: fix llhttp version number
mhdawson May 9, 2022
eb630d7
doc: add maintaining info for shared libary option
mhdawson Mar 29, 2022
1e9de0d
doc: remove git:// protocol, adjust nits in onboarding.md
LiviaMedeiros May 10, 2022
76096c2
doc: use serial comma in util docs
tniessen May 12, 2022
c92e291
perf_hooks: add PerformanceResourceTiming
RafaelGSS Apr 10, 2022
c535db1
src: delete AllocatedBuffer
RaisinTen May 13, 2022
037ff3d
node-api: explicitly set __cdecl for API functions
vmoroz Apr 18, 2022
a9703a5
deps: remove opensslconf template headers
danbev May 10, 2022
7c4df42
build: disable windows-2022 temporarily
gengjiawen May 14, 2022
9629c74
doc: use serial comma in modules docs
tniessen May 14, 2022
ddd271e
meta: add mailmap entry for ShogunPanda
ShogunPanda May 15, 2022
becca06
fs: remove unnecessary ?? operator
mroderick May 15, 2022
cec678a
build: set ASAN workaround
richardlau May 13, 2022
d128356
deps: update undici to 5.2.0
nodejs-github-bot May 15, 2022
531a0a9
tools: update lint-md-dependencies to rollup@2.73.0
nodejs-github-bot May 15, 2022
9eb8bf1
test: reduce flakiness of `test-fs-read-position-validation.mjs`
LiviaMedeiros May 15, 2022
839824a
doc: use serial comma in events docs
tniessen May 15, 2022
f53ed9d
doc: use serial comma in fs docs
tniessen May 15, 2022
0670843
test: fix dangerous .map in `test/parallel/test-http-set-trailers.js`
LiviaMedeiros May 13, 2022
1531ef1
2022-05-17, Version 18.2.0 (Current)
RafaelGSS May 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
if: github.event.pull_request.draft == false
strategy:
matrix:
windows: [windows-2019, windows-2022]
windows: [windows-2019]
fail-fast: false
runs-on: ${{ matrix.windows }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ env:
jobs:
coverage-windows:
if: github.event.pull_request.draft == false
runs-on: windows-latest
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
persist-credentials: false
- run: shellcheck -V
- name: Lint Shell scripts
run: tools/lint-sh.js .
run: tools/lint-sh.mjs .
lint-codeowners:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ concurrency:
cancel-in-progress: true

env:
ASAN_OPTIONS: intercept_tls_get_addr=0
PYTHON_VERSION: '3.10'
FLAKY_TESTS: dontcare

Expand Down
7 changes: 5 additions & 2 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@ Hassaan Pasha <pasha.hassaan@gmail.com> <hassaan.pasha@teamo.io>
Hendrik Schwalm <mail@hendrikschwalm.de>
Henry Chin <hheennrryy@gmail.com>
Herbert Vojčík <herby@mailbox.sk>
himself65 <himself65@outlook.com> <himself65@mask.io>
himself65 <himself65@outlook.com> <himself6565@gmail.com>
Hitesh Kanwathirtha <hiteshk@microsoft.com> <digitalinfinity@gmail.com>
Icer Liang <liangshuangde@163.com> <wizicer@users.noreply.github.com>
Igor Savin <iselwin@gmail.com>
Expand Down Expand Up @@ -300,6 +298,7 @@ Lakshmi Swetha Gopireddy <lakshmiswethagopireddy@gmail.com> <lgopired@in.ibm.com
Lars-Magnus Skog <ralphtheninja@riseup.net> <lars.magnus.skog@gmail.com>
Lasse R.H. Nielsen <lrn@chromium.org>
Leeseean Chiu <leeseean@qq.com>
LiviaMedeiros <livia@cirno.name> <74449973+LiviaMedeiros@users.noreply.github.com>
Lucas Pardue <lucaspardue.24.7@gmail.com> <lucas.pardue@bbc.co.uk>
Luke Bayes <lbayes@patternpark.com>
Lydia Kats <llkats@gmail.com>
Expand Down Expand Up @@ -378,8 +377,10 @@ npm team <ops+robot@npmjs.com>
npm team <ops+robot@npmjs.com> <npm team>
Oliver Chang <ochang@chromium.org>
Oluwaseun Omoyajowo <omoyajowo2015@gmail.com>
OneNail <OneNail@yeah.net> <onenail@yeah.net>
Onne Gorter <onne@onnlucky.com>
Oscar Martinez <oscar@mtnz-web.com> <oscar.martinez@hautelook.com>
Paolo Insogna <paolo@cowtech.it>
Paul Graham <homosaur@gmail.com> <paul@bytefair.com>
Paul Querna <pquerna@apache.org> <paul@querna.org>
Pedro Lima <pvsousalima@gmail.com>
Expand Down Expand Up @@ -562,6 +563,8 @@ Yuta Hiroto <git@about-hiroppy.com>
Zach Bjornson <bjornson@stanford.edu> <zbbjornson@gmail.com>
Zachary Scott <zachary@zacharyscott.net> <zachary.s.scott@gmail.com>
Zachary Vacura <admin@hackzzila.com>
Zeyu "Alex" Yang <himself65@outlook.com> <himself65@mask.io>
Zeyu "Alex" Yang <himself65@outlook.com> <himself6565@gmail.com>
Zoran Tomicic <ztomicic@gmail.com>
Сковорода Никита Андреевич <chalkerx@gmail.com>
隋鑫磊 <joshuasui@163.com>
10 changes: 8 additions & 2 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -2686,7 +2686,7 @@ Alexander Sattelmaier <alexander.sattelmaier@gmail.com>
Avi ד <avi.the.coder@gmail.com>
Thomas <hakerh403@gmail.com>
Aymen Naghmouchi <aymen.aymen@live.it>
himself65 <himself65@outlook.com>
Zeyu "Alex" Yang <himself65@outlook.com>
Patrick Gansterer <paroga@paroga.com>
Nicolas Moteau <nicolas.moteau@orange.com>
Anthony Tuininga <anthony.tuininga@oracle.com>
Expand Down Expand Up @@ -3432,7 +3432,6 @@ Alexandru Comanescu <comanescu.robert93@gmail.com>
madflow <madflow@web.de>
Austin Kelleher <austinlkelleher@gmail.com>
apeltop <sunshine@ptokos.com>
Livia Medeiros <74449973+LiviaMedeiros@users.noreply.github.com>
Nikolaos Papaspyrou <nikolaos@chromium.org>
Matt Probert <1196252+mattpr@users.noreply.github.com>
Roch Devost <roch.devost@gmail.com>
Expand All @@ -3454,5 +3453,12 @@ Niyas Sait <niyas.sait@linaro.org>
K.C.Ashish Kumar <703559+kcak11@users.noreply.github.com>
Niklas Mischkulnig <4586894+mischnic@users.noreply.github.com>
Liviu Ionescu <ilg@livius.net>
HE Shi-Jun <hax@heshijun.net>
Yagiz Nizipli <yagiz@nizipli.com>
liuxingbaoyu <30521560+liuxingbaoyu@users.noreply.github.com>
Sergey Nazaryev <sergey@nazaryev.com>
William Marlow <william.marlow@ibm.com>
Keyhan Vakil <60900335+airtable-keyhanvakil@users.noreply.github.com>
Feng Yu <F3n67u@outlook.com>

# Generated by tools/update-authors.js
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.1.0">18.1.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.2.0">18.2.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.1.0">18.1.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.0.0">18.0.0</a><br/>
</td>
<td valign="top">
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ For information about the governance of the Node.js project, see
* [HarshithaKP](https://github.com/HarshithaKP) -
**Harshitha K P** <<harshitha014@gmail.com>> (she/her)
* [himself65](https://github.com/himself65) -
**Zeyu Yang** <<himself65@outlook.com>> (he/him)
**Zeyu "Alex" Yang** <<himself65@outlook.com>> (he/him)
* [hiroppy](https://github.com/hiroppy) -
**Yuta Hiroto** <<hello@hiroppy.me>> (he/him)
* [iansu](https://github.com/iansu) -
Expand Down Expand Up @@ -360,6 +360,8 @@ For information about the governance of the Node.js project, see
**Shingo Inoue** <<leko.noor@gmail.com>> (he/him)
* [linkgoron](https://github.com/linkgoron) -
**Nitzan Uziely** <<linkgoron@gmail.com>>
* [LiviaMedeiros](https://github.com/LiviaMedeiros) -
**LiviaMedeiros** <<livia@cirno.name>>
* [lpinca](https://github.com/lpinca) -
**Luigi Pinca** <<luigipinca@gmail.com>> (he/him)
* [lundibundi](https://github.com/lundibundi) -
Expand Down Expand Up @@ -444,8 +446,6 @@ For information about the governance of the Node.js project, see
**Khaidi Chu** <<i@2333.moe>> (he/him)
* [yashLadha](https://github.com/yashLadha) -
**Yash Ladha** <<yash@yashladha.in>> (he/him)
* [yosuke-furukawa](https://github.com/yosuke-furukawa) -
**Yosuke Furukawa** <<yosuke.furukawa@gmail.com>>
* [ZYSzys](https://github.com/ZYSzys) -
**Yongsheng Zhang** <<zyszys98@gmail.com>> (he/him)

Expand Down Expand Up @@ -632,6 +632,8 @@ For information about the governance of the Node.js project, see
**Yihong Wang** <<yh.wang@ibm.com>>
* [yorkie](https://github.com/yorkie) -
**Yorkie Liu** <<yorkiefixer@gmail.com>>
* [yosuke-furukawa](https://github.com/yosuke-furukawa) -
**Yosuke Furukawa** <<yosuke.furukawa@gmail.com>>

</details>

Expand Down Expand Up @@ -675,6 +677,8 @@ Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys):
`74F12602B6F1C4E913FAA37AD3A89613643B6201`
* **James M Snell** <<jasnell@keybase.io>>
`71DCFD284A79C3B38668286BC97EC7A07EDE3FC1`
* **Juan José Arboleda** <<soyjuanarbol@gmail.com>>
`61FC681DFB92A079F1685E77973F295594EC4689`
* **Michaël Zasso** <<targos@protonmail.com>>
`8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600`
* **Myles Borins** <<myles.borins@gmail.com>>
Expand All @@ -699,6 +703,7 @@ gpg --keyserver hkps://keys.openpgp.org --recv-keys 141F07595B7B3FFE74309A937405
gpg --keyserver hkps://keys.openpgp.org --recv-keys 94AE36675C464D64BAFA68DD7434390BDBE9B9C5
gpg --keyserver hkps://keys.openpgp.org --recv-keys 74F12602B6F1C4E913FAA37AD3A89613643B6201
gpg --keyserver hkps://keys.openpgp.org --recv-keys 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1
gpg --keyserver hkps://keys.openpgp.org --recv-keys 61FC681DFB92A079F1685E77973F295594EC4689
gpg --keyserver hkps://keys.openpgp.org --recv-keys 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600
gpg --keyserver hkps://keys.openpgp.org --recv-keys C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8
gpg --keyserver hkps://keys.openpgp.org --recv-keys C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C
Expand Down
77 changes: 77 additions & 0 deletions benchmark/perf_hooks/resourcetiming.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
'use strict';

const common = require('../common.js');

const {
PerformanceObserver,
performance,
} = require('perf_hooks');

function createTimingInfo({
startTime = 0,
redirectStartTime = 0,
redirectEndTime = 0,
postRedirectStartTime = 0,
finalServiceWorkerStartTime = 0,
finalNetworkRequestStartTime = 0,
finalNetworkResponseStartTime = 0,
endTime = 0,
encodedBodySize = 0,
decodedBodySize = 0,
finalConnectionTimingInfo = null
}) {
if (finalConnectionTimingInfo !== null) {
finalConnectionTimingInfo.domainLookupStartTime =
finalConnectionTimingInfo.domainLookupStartTime || 0;
finalConnectionTimingInfo.domainLookupEndTime =
finalConnectionTimingInfo.domainLookupEndTime || 0;
finalConnectionTimingInfo.connectionStartTime =
finalConnectionTimingInfo.connectionStartTime || 0;
finalConnectionTimingInfo.connectionEndTime =
finalConnectionTimingInfo.connectionEndTime || 0;
finalConnectionTimingInfo.secureConnectionStartTime =
finalConnectionTimingInfo.secureConnectionStartTime || 0;
finalConnectionTimingInfo.ALPNNegotiatedProtocol =
finalConnectionTimingInfo.ALPNNegotiatedProtocol || [];
}
return {
startTime,
redirectStartTime,
redirectEndTime,
postRedirectStartTime,
finalServiceWorkerStartTime,
finalNetworkRequestStartTime,
finalNetworkResponseStartTime,
endTime,
encodedBodySize,
decodedBodySize,
finalConnectionTimingInfo,
};
}

const bench = common.createBenchmark(main, {
n: [1e5],
observe: ['resource'],
});

function test() {
const timingInfo = createTimingInfo({ finalConnectionTimingInfo: {} });
performance.markResourceTiming(
timingInfo,
'http://localhost:8080',
'fetch',
{},
''
);
}

function main({ n, observe }) {
const obs = new PerformanceObserver(() => {
bench.end(n);
});
obs.observe({ entryTypes: [observe], buffered: true });

bench.start();
for (let i = 0; i < 1e5; i++)
test();
}
6 changes: 4 additions & 2 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1536,8 +1536,10 @@ def without_ssl_error(option):
if options.openssl_no_asm and options.shared_openssl:
error('--openssl-no-asm is incompatible with --shared-openssl')

if options.openssl_is_fips and not options.shared_openssl:
if options.openssl_is_fips:
o['defines'] += ['OPENSSL_FIPS']

if options.openssl_is_fips and not options.shared_openssl:
variables['node_fipsinstall'] = b(True)

if options.shared_openssl:
Expand Down Expand Up @@ -1662,7 +1664,7 @@ def icu_download(path):
o['variables']['icu_small'] = b(True)
locs = set(options.with_icu_locales.split(','))
locs.add('root') # must have root
o['variables']['icu_locales'] = ','.join(str(loc) for loc in locs)
o['variables']['icu_locales'] = ','.join(str(loc) for loc in sorted(locs))
# We will check a bit later if we can use the canned deps/icu-small
o['variables']['icu_default_data'] = options.with_icu_default_data_dir or ''
elif with_intl == 'full-icu':
Expand Down
2 changes: 1 addition & 1 deletion deps/llhttp/include/llhttp.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#define LLHTTP_VERSION_MAJOR 6
#define LLHTTP_VERSION_MINOR 0
#define LLHTTP_VERSION_PATCH 4
#define LLHTTP_VERSION_PATCH 6

#ifndef LLHTTP_STRICT_MODE
# define LLHTTP_STRICT_MODE 0
Expand Down
4 changes: 0 additions & 4 deletions deps/npm/docs/content/commands/npm-dedupe.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,6 @@ this warning is treated as a failure.
If set to false, then ignore `package-lock.json` files when installing. This
will also prevent _writing_ `package-lock.json` if `save` is true.

When package package-locks are disabled, automatic pruning of extraneous
modules will also be disabled. To remove extraneous modules with
package-locks disabled use `npm prune`.

This configuration does not affect `npm ci`.

<!-- automatically generated, do not edit manually -->
Expand Down
4 changes: 0 additions & 4 deletions deps/npm/docs/content/commands/npm-find-dupes.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ this warning is treated as a failure.
If set to false, then ignore `package-lock.json` files when installing. This
will also prevent _writing_ `package-lock.json` if `save` is true.

When package package-locks are disabled, automatic pruning of extraneous
modules will also be disabled. To remove extraneous modules with
package-locks disabled use `npm prune`.

This configuration does not affect `npm ci`.

<!-- automatically generated, do not edit manually -->
Expand Down
4 changes: 0 additions & 4 deletions deps/npm/docs/content/commands/npm-install-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ this warning is treated as a failure.
If set to false, then ignore `package-lock.json` files when installing. This
will also prevent _writing_ `package-lock.json` if `save` is true.

When package package-locks are disabled, automatic pruning of extraneous
modules will also be disabled. To remove extraneous modules with
package-locks disabled use `npm prune`.

This configuration does not affect `npm ci`.

<!-- automatically generated, do not edit manually -->
Expand Down
4 changes: 0 additions & 4 deletions deps/npm/docs/content/commands/npm-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -552,10 +552,6 @@ this warning is treated as a failure.
If set to false, then ignore `package-lock.json` files when installing. This
will also prevent _writing_ `package-lock.json` if `save` is true.

When package package-locks are disabled, automatic pruning of extraneous
modules will also be disabled. To remove extraneous modules with
package-locks disabled use `npm prune`.

This configuration does not affect `npm ci`.

<!-- automatically generated, do not edit manually -->
Expand Down
4 changes: 0 additions & 4 deletions deps/npm/docs/content/commands/npm-link.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,6 @@ this warning is treated as a failure.
If set to false, then ignore `package-lock.json` files when installing. This
will also prevent _writing_ `package-lock.json` if `save` is true.

When package package-locks are disabled, automatic pruning of extraneous
modules will also be disabled. To remove extraneous modules with
package-locks disabled use `npm prune`.

This configuration does not affect `npm ci`.

<!-- automatically generated, do not edit manually -->
Expand Down
46 changes: 46 additions & 0 deletions deps/npm/docs/content/commands/npm-owner.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,52 @@ password, npm will prompt on the command line for one.
<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->

#### `workspace`

* Default:
* Type: String (can be set multiple times)

Enable running a command in the context of the configured workspaces of the
current project while filtering by running only the workspaces defined by
this configuration option.

Valid values for the `workspace` config are either:

* Workspace names
* Path to a workspace directory
* Path to a parent workspace directory (will result in selecting all
workspaces within that folder)

When set for the `npm init` command, this may be set to the folder of a
workspace which does not yet exist, to create the folder and set it up as a
brand new workspace within the project.

This value is not exported to the environment for child processes.

<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->

#### `workspaces`

* Default: null
* Type: null or Boolean

Set to true to run the command in the context of **all** configured
workspaces.

Explicitly setting this to false will cause commands like `install` to
ignore workspaces altogether. When not set explicitly:

- Commands that operate on the `node_modules` tree (install, update, etc.)
will link workspaces into the `node_modules` folder. - Commands that do
other things (test, exec, publish, etc.) will operate on the root project,
_unless_ one or more workspaces are specified in the `workspace` config.

This value is not exported to the environment for child processes.

<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->

<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->

### See Also
Expand Down
8 changes: 8 additions & 0 deletions deps/npm/docs/content/commands/npm-pkg.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ Returned values are always in **json** format.
npm pkg get contributors[0].email
```

For complex fields you can also name a property in square brackets
to specifically select a child field. This is especially helpful
with the exports object:

```bash
npm pkg get "exports[.].require"
```

* `npm pkg set <field>=<value>`

Sets a `value` in your `package.json` based on the `field` value. When
Expand Down
Loading