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.1.0 release proposal #42943

Merged
merged 91 commits into from
May 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
18ae2c3
tools: lint osx shell scripts
LiviaMedeiros Apr 14, 2022
ef5ab81
doc: fix `added:` info for `outgoingMessage.{,un}cork()`
lpinca Apr 14, 2022
2a07a9f
doc: document the 'close' and 'finish' events
lpinca Apr 14, 2022
be44b1f
test: improve test coverage of internal/blob
kuriyosh Apr 14, 2022
deb3cf4
test: remove the legacy url parser function
cola119 Apr 14, 2022
78a860a
test_runner: add initial CLI runner
cjihrig Apr 15, 2022
2f38b48
meta: move mmarchini to emeritus
mmarchini Apr 16, 2022
6b7c35e
doc: delete mdb_v8 from diagnostic tooling support tiers
tony-go Apr 16, 2022
1a7af63
src: large page attributing an id on Linux
devnexen Apr 17, 2022
294664e
deps: upgrade npm to 8.7.0
Apr 14, 2022
c50309c
doc: fix `added:` info for `outgoingMessage.writable*`
lpinca Apr 17, 2022
14893c5
meta: update AUTHORS
nodejs-github-bot Apr 17, 2022
47c0481
tools: update lint-md-dependencies
nodejs-github-bot Apr 17, 2022
93fd77a
tools: update doc to highlight.js@11.5.1
nodejs-github-bot Apr 17, 2022
4694f5b
async_hooks: avoid decrementing iterator after erase
dygabo Apr 17, 2022
459546b
benchmark: fix misc/startup failure
aduh95 Apr 17, 2022
d77c59d
doc: improve fragment (`:target`) anchors behavior on HTML version
aduh95 Apr 17, 2022
4c30936
doc: copyedit http.OutgoingMessage documentation
lpinca Apr 17, 2022
222b3e6
doc: close tag in n-api.md
LiviaMedeiros Apr 18, 2022
962d80b
doc: add documentation for inherited methods
lpinca Apr 18, 2022
29c8411
bootstrap: move embedded snapshot to SnapshotBuilder
joyeecheung Apr 11, 2022
6bd2420
bootstrap: use the isolate snapshot in workers
joyeecheung Apr 11, 2022
d311916
test: fix calculations in test-worker-resource-limits
joyeecheung Apr 11, 2022
025b3e7
doc: consolidate use of multiple-byte units
aduh95 Apr 19, 2022
7c97347
build: improve the format-cpp error message
RaisinTen Apr 19, 2022
c3922af
worker: add hasRef() to the handle object
RaisinTen Apr 19, 2022
46c880b
doc: clarify core modules that can be loaded without a prefix
aduh95 Apr 19, 2022
3d65a3b
doc: add `node:` prefix for all core modules
aduh95 Apr 20, 2022
b7e9dd0
src: use `node:` prefix in example
aduh95 Apr 20, 2022
5d15eb1
build: fix format-cpp
RaisinTen Apr 20, 2022
1976284
src: define fs.constants.S_IWUSR & S_IRUSR for Win
ilg-ul Apr 21, 2022
33ac027
meta: move one or more collaborators to emeritus
nodejs-github-bot Apr 18, 2022
6225370
doc: fix version history for Loaders API
aduh95 Apr 21, 2022
c32f76d
doc: fix example in assert.md
LiviaMedeiros Apr 21, 2022
8476ffb
test: use `assert.match()` instead of `assert(regex.test())`
aduh95 Apr 21, 2022
6fa080c
doc: delete heapdump from diagnostic tooling support tiers
tony-go Apr 21, 2022
d9f3f05
doc: fix outdated documentation for `family` property
aduh95 Apr 21, 2022
59da133
doc: add maintaining-webassembly.md
mhdawson Apr 8, 2022
c46e7bb
doc: add @kuriyosh to collaborators
kuriyosh Apr 22, 2022
c6c1dc5
doc: order `vm.Module` linker arguments correctly
SimenB Apr 22, 2022
b0f7c4c
lib,src: implement WebAssembly Web API
tniessen Apr 23, 2022
a19fb60
v8: export more fields in getHeapStatistics
theanarkh Apr 23, 2022
7681e60
crypto: validate `this` in all webcrypto methods and getters
panva Apr 23, 2022
f9994e2
build: improve reliability of find_python.cmd script
lpinca Apr 23, 2022
d33cbab
lib: remove experimental warning from FormData
meixg Apr 24, 2022
4050b0d
build: enable V8's shared read-only heap
targos Apr 24, 2022
494650c
src,crypto: remove uses of AllocatedBuffer from crypto_ec.cc
RaisinTen Apr 24, 2022
0e16120
errors,vm: update error and use cause
devsnek Apr 22, 2022
37364ab
test: fix flaky HTTP server tests
tniessen Apr 24, 2022
fdc6503
meta: update AUTHORS
nodejs-github-bot Apr 24, 2022
97fc00a
tools: update eslint to 8.14.0
nodejs-github-bot Apr 24, 2022
1b5856a
wasi: remove unecessary null check
mhdawson Apr 24, 2022
9b61ac2
doc: update WebAssembly strategy with Wasm Web API
tniessen Apr 25, 2022
c3c5fe7
tools: bump jsdoccomment from 0.22.1 to 0.29.0
Trott Apr 25, 2022
7b70144
test: skip test that cannot pass under --node-builtin-modules-path
GeoffreyBooth Apr 25, 2022
ad82694
lib,src: use Response URL as WebAssembly location
tniessen Apr 25, 2022
2d76f72
doc: elevate node-clinic diagnostic tier
RafaelGSS Apr 20, 2022
cd2f5a4
doc: add primordials guidelines
aduh95 May 11, 2021
48bbb73
fs: fix mkdirSync so ENOSPC is correctly reported
santigimeno Apr 26, 2022
0725064
test: fix port in net-perf_hooks
LiviaMedeiros Apr 26, 2022
2f849a4
doc: fix markdown formatting in primordials.md
tniessen Apr 27, 2022
59c07a9
test: check ecdsa psychic signature
panva Apr 27, 2022
b85a11c
test: improve lib/internal/test_runner/test.js coverage
fossamagna Apr 27, 2022
fe65996
doc: clarify guide on testing internal errors
LiviaMedeiros Apr 27, 2022
a6e1e7a
doc,test: add tests and docs for duplex.fromWeb and duplex.toWeb
ErickWendel Apr 28, 2022
336242a
errors,console: refactor to use ES2021 syntax
xtx1130 Apr 28, 2022
7fae2c9
deps: add template for generated headers
danbev Apr 5, 2022
e8734a4
deps: add note about removing asm archs
danbev Apr 14, 2022
6dc1f82
deps: remove archs/aix64-gcc
danbev Apr 9, 2022
8dc71f2
deps: remove aix-gcc architecture
danbev Apr 14, 2022
4abe987
deps: remove linux-ppc architecture
danbev Apr 14, 2022
2798929
deps: remove linux-ppc64 architecture
danbev Apr 14, 2022
1102922
deps: upgrade npm to 8.8.0
npm-robot Apr 28, 2022
37ca110
src: make --no-node-snapshot a per-process option
joyeecheung Apr 28, 2022
e15d22c
doc: initial version of security-model-strategy.md
mhdawson Apr 12, 2022
dab15f6
esm: graduate top-level-await to stable
aduh95 Apr 28, 2022
8f2b228
doc: record March 2022 security release steward
richardlau Apr 28, 2022
e313dc6
doc: http2.createServer `options` as optional
daeyeon Apr 28, 2022
227a45b
doc: remove legacy `-J` test.py option from BUILDING.md
LiviaMedeiros Apr 21, 2022
60e461c
doc: reword "test directory"
LiviaMedeiros Apr 21, 2022
e808366
src: turn SSL_CTX_new CHECK/segfault into JS exception
addaleax Apr 28, 2022
3c796f8
test: fix `parallel/test-dgram-udp6-link-local-address`
aduh95 Apr 28, 2022
a0638a2
esm: fix imports from non-file module
aduh95 Apr 29, 2022
4af0fbd
v8: export cpu_profiler_metadata_size in getHeapCodeStatistics
theanarkh Apr 29, 2022
fbda87d
test: simplify test-gc-{http-client,net}-*
lpinca Apr 19, 2022
8e0e576
test: add tests for extracting function name
cola119 May 1, 2022
718d11f
perf_hooks: return different functions in timerify
himself65 Apr 24, 2022
1e7479d
tools: update lint-md-dependencies
nodejs-github-bot May 1, 2022
bf9240a
worker: add hasRef() to MessagePort
RaisinTen May 2, 2022
2a4c826
deps: update undici to 5.1.1
targos May 2, 2022
f35f8a6
2022-05-03, Version 18.1.0 (Current)
targos May 2, 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
  •  
  •  
  •  
8 changes: 6 additions & 2 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,19 @@ jobs:
- name: Format C/C++ files
run: |
make format-cpp-build
# The `make format-cpp` error code is intentionally ignored here
# because it is irrelevant. We already check if the formatter produced
# a diff in the next line.
# Refs: https://github.com/nodejs/node/pull/42764
CLANG_FORMAT_START="$(git merge-base HEAD refs/remotes/origin/$GITHUB_BASE_REF)" \
make format-cpp
make format-cpp || true
git --no-pager diff --exit-code && EXIT_CODE="$?" || EXIT_CODE="$?"
if [ "$EXIT_CODE" != "0" ]
then
echo
echo 'ERROR: Please run:'
echo
echo ' CLANG_FORMAT_START="$(git merge-base HEAD <target-branch-name>)" make format-cpp'
echo " CLANG_FORMAT_START="$\(git merge-base HEAD ${GITHUB_BASE_REF}\)" make format-cpp"
echo
echo 'to format the commits in your branch.'
exit "$EXIT_CODE"
Expand Down
4 changes: 4 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Ashley Maceli <ashley.maceli@gmail.com>
Ashok Suthar <coderatlabs@gmail.com>
Ashutosh Kumar Singh <singhjug1994@gmail.com>
Atsuo Fukaya <fukayatsu@gmail.com>
Austin Kelleher <austinlkelleher@gmail.com> <austin.kell47@gmail.com>
Azard <azardf4yy@gmail.com> <330815461@qq.com>
Ben Lugavere <b.lugavere@gmail.com>
Ben Noordhuis <info@bnoordhuis.nl> <ben@strongloop.com>
Expand Down Expand Up @@ -82,6 +83,7 @@ Brian White <mscdex@mscdex.net> <mscdex@users.noreply.github.com>
Caleb Boyd <caleb.boyd@gmail.com>
Calvin Metcalf <calvin.metcalf@gmail.com> <calvin.metcalf@state.ma.us>
Calvin Metcalf <calvin.metcalf@gmail.com> <cmetcalf@appgeo.com>
Camillo Bruni <camillobruni@users.noreply.github.com> <cbruni@chromium.org>
Caralyn Reisle <caralynreisle@gmail.com>
Charles <ineedpracticing@gmail.com> <cydjudge@users.noreply.github.com>
Charles Rudolph <charles.rudolph@originate.com>
Expand Down Expand Up @@ -372,6 +374,8 @@ Nils Kuhnhenn <lain@volafile.io>
Nitzan Uziely <linkgoron@gmail.com> <Linkgoron@users.noreply.github.com>
Nitzan Uziely <linkgoron@gmail.com> <nitzan@testim.io>
Noah Rose Ledesma <noahroseledesma@seattleacademy.org>
npm team <ops+robot@npmjs.com>
npm team <ops+robot@npmjs.com> <npm team>
Oliver Chang <ochang@chromium.org>
Oluwaseun Omoyajowo <omoyajowo2015@gmail.com>
Onne Gorter <onne@onnlucky.com>
Expand Down
8 changes: 5 additions & 3 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -2310,7 +2310,7 @@ Dzmitry_Prudnikau <dzmitriyprudnikov@gmail.com>
Ian McKellar <ianloic@google.com>
Jennifer Bland <ratracegrad@gmail.com>
Kyle Fuller <kyle@fuller.li>
Camillo Bruni <cbruni@chromium.org>
Camillo Bruni <camillobruni@users.noreply.github.com>
Yongsheng Zhang <zyszys98@gmail.com>
Neeraj Laad <neeraj.laad@uk.ibm.com>
Scott Van Gilder <svangilder@gmail.com>
Expand Down Expand Up @@ -3288,7 +3288,7 @@ pengjie <37610029@qq.com>
Philip <phershbe@gmail.com>
julianjany <54538266+julianjany@users.noreply.github.com>
bl-ue <bl-ue@users.noreply.github.com>
npm-robot <ops+robot@npmjs.com>
npm team <ops+robot@npmjs.com>
Shaun Keys <mariobuddy@gmail.com>
Simone Busoli <simone.busoli@nearform.com>
Derevianchenko Maksym <32910350+maks-white@users.noreply.github.com>
Expand Down Expand Up @@ -3430,7 +3430,7 @@ Derek Wolpert <48101033+derekwolpert@users.noreply.github.com>
wbt <wbt@users.noreply.github.com>
Alexandru Comanescu <comanescu.robert93@gmail.com>
madflow <madflow@web.de>
Austin Kelleher <austin.kell47@gmail.com>
Austin Kelleher <austinlkelleher@gmail.com>
apeltop <sunshine@ptokos.com>
Livia Medeiros <74449973+LiviaMedeiros@users.noreply.github.com>
Nikolaos Papaspyrou <nikolaos@chromium.org>
Expand All @@ -3452,5 +3452,7 @@ Daeyeon Jeong <daeyeon.dev@gmail.com>
Daniel Roe <daniel@roe.dev>
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>

# Generated by tools/update-authors.js
7 changes: 4 additions & 3 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,13 +323,14 @@ You can execute the entire suite of tests for a given subsystem
by providing the name of a subsystem:

```text
$ tools/test.py -J child-process
$ tools/test.py child-process
```

You can also execute the tests in a tests directory (such as `test/message`):
You can also execute the tests in a test suite directory
(such as `test/message`):

```text
$ tools/test.py -J test/message
$ tools/test.py test/message
```

If you want to check the other options, please refer to the help by using
Expand Down
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.0.0">18.0.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.1.0">18.1.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.0.0">18.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V17.md#17.8.0">17.8.0</a></b><br/>
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ For information about the governance of the Node.js project, see
**Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
* [mhdawson](https://github.com/mhdawson) -
**Michael Dawson** <<midawson@redhat.com>> (he/him)
* [mmarchini](https://github.com/mmarchini) -
**Mary Marchini** <<oss@mmarchini.me>> (she/her)
* [MylesBorins](https://github.com/MylesBorins) -
**Myles Borins** <<myles.borins@gmail.com>> (he/him)
* [RaisinTen](https://github.com/RaisinTen) -
Expand Down Expand Up @@ -227,6 +225,8 @@ For information about the governance of the Node.js project, see
**Isaac Z. Schlueter** <<i@izs.me>>
* [joshgav](https://github.com/joshgav) -
**Josh Gavant** <<josh.gavant@outlook.com>>
* [mmarchini](https://github.com/mmarchini) -
**Mary Marchini** <<oss@mmarchini.me>> (she/her)
* [mscdex](https://github.com/mscdex) -
**Brian White** <<mscdex@mscdex.net>>
* [nebrius](https://github.com/nebrius) -
Expand Down Expand Up @@ -262,8 +262,6 @@ For information about the governance of the Node.js project, see
**Anna Henningsen** <<anna@addaleax.net>> (she/her)
* [aduh95](https://github.com/aduh95) -
**Antoine du Hamel** <<duhamelantoine1995@gmail.com>> (he/him)
* [ak239](https://github.com/ak239) -
**Aleksei Koziatinskii** <<ak239spb@gmail.com>>
* [antsmartian](https://github.com/antsmartian) -
**Anto Aravinth** <<anto.aravinth.cse@gmail.com>> (he/him)
* [apapirovski](https://github.com/apapirovski) -
Expand Down Expand Up @@ -354,6 +352,8 @@ For information about the governance of the Node.js project, see
**Juan José Arboleda** <<soyjuanarbol@gmail.com>> (he/him)
* [JungMinu](https://github.com/JungMinu) -
**Minwoo Jung** <<nodecorelab@gmail.com>> (he/him)
* [kuriyosh](https://github.com/kuriyosh) -
**Yoshiki Kurihara** <<yosyos0306@gmail.com>> (he/him)
* [legendecas](https://github.com/legendecas) -
**Chengzhong Wu** <<legendecas@gmail.com>> (he/him)
* [Leko](https://github.com/Leko) -
Expand All @@ -380,8 +380,6 @@ For information about the governance of the Node.js project, see
**Milad Fa** <<mfarazma@redhat.com>> (he/him)
* [mildsunrise](https://github.com/mildsunrise) -
**Alba Mendez** <<me@alba.sh>> (she/her)
* [mmarchini](https://github.com/mmarchini) -
**Mary Marchini** <<oss@mmarchini.me>> (she/her)
* [mscdex](https://github.com/mscdex) -
**Brian White** <<mscdex@mscdex.net>>
* [MylesBorins](https://github.com/MylesBorins) -
Expand Down Expand Up @@ -460,6 +458,8 @@ For information about the governance of the Node.js project, see

### Collaborator emeriti

* [ak239](https://github.com/ak239) -
**Aleksei Koziatinskii** <<ak239spb@gmail.com>>
* [andrasq](https://github.com/andrasq) -
**Andras** <<andras@kinvey.com>>
* [AnnaMag](https://github.com/AnnaMag) -
Expand Down Expand Up @@ -552,6 +552,8 @@ For information about the governance of the Node.js project, see
**Mikeal Rogers** <<mikeal.rogers@gmail.com>>
* [misterdjules](https://github.com/misterdjules) -
**Julien Gilli** <<jgilli@netflix.com>>
* [mmarchini](https://github.com/mmarchini) -
**Mary Marchini** <<oss@mmarchini.me>> (she/her)
* [monsanto](https://github.com/monsanto) -
**Christopher Monsanto** <<chris@monsan.to>>
* [MoonBall](https://github.com/MoonBall) -
Expand Down
2 changes: 1 addition & 1 deletion benchmark/fixtures/require-cachable.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ const {
} = internalBinding('native_module');

for (const key of canBeRequired) {
require(key);
require(`node:${key}`);
}
1 change: 1 addition & 0 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1458,6 +1458,7 @@ def configure_v8(o):
o['variables']['v8_use_siphash'] = 0 if options.without_siphash else 1
o['variables']['v8_enable_pointer_compression'] = 1 if options.enable_pointer_compression else 0
o['variables']['v8_enable_31bit_smis_on_64bit_arch'] = 1 if options.enable_pointer_compression else 0
o['variables']['v8_enable_shared_ro_heap'] = 0 if options.enable_pointer_compression else 1
o['variables']['v8_trace_maps'] = 1 if options.trace_maps else 0
o['variables']['node_use_v8_platform'] = b(not options.without_v8_platform)
o['variables']['node_use_bundled_v8'] = b(not options.without_bundled_v8)
Expand Down
7 changes: 5 additions & 2 deletions deps/npm/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/npm/cli/Node%20CI/latest)](https://github.com/npm/cli/actions?query=workflow%3A%22Node+CI%22+branch%3Alatest) [![Coveralls github branch](https://img.shields.io/coveralls/github/npm/cli/latest)](https://coveralls.io/github/npm/cli?branch=latest)

# npm - a JavaScript package manager

[![npm version](https://img.shields.io/npm/v/npm.svg)](https://npm.im/npm)
[![license](https://img.shields.io/npm/l/npm.svg)](https://npm.im/npm)
[![CI - cli](https://github.com/npm/cli/actions/workflows/ci.yml/badge.svg)](https://github.com/npm/cli/actions/workflows/ci.yml)
[![Benchmark Suite](https://github.com/npm/cli/actions/workflows/benchmark.yml/badge.svg)](https://github.com/npm/cli/actions/workflows/benchmark.yml)

### Requirements

One of the following versions of [Node.js](https://nodejs.org/en/download/) must be installed to run **`npm`**:
Expand Down
3 changes: 3 additions & 0 deletions deps/npm/bin/npx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ case `uname` in
esac

NODE_EXE="$basedir/node.exe"
if ! [ -x "$NODE_EXE" ]; then
NODE_EXE="$basedir/node"
fi
if ! [ -x "$NODE_EXE" ]; then
NODE_EXE=node
fi
Expand Down
14 changes: 14 additions & 0 deletions deps/npm/docs/content/commands/npm-audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,20 @@ When false, specifying individual workspaces via the `workspace` config, or
all workspaces via the `workspaces` flag, will cause npm to operate only on
the specified workspaces, and not on the root project.

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

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

#### `install-links`

* Default: false
* Type: Boolean

When set file: protocol dependencies that exist outside of the project root
will be packed and installed as regular dependencies instead of creating a
symlink. This option has no effect on workspaces.

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

Expand Down
8 changes: 8 additions & 0 deletions deps/npm/docs/content/commands/npm-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ In short, the main differences between using `npm install` and `npm ci` are:
* It will never write to `package.json` or any of the package-locks:
installs are essentially frozen.

NOTE: If you create your `package-lock.json` file by running `npm install`
with flags that can affect the shape of your dependency tree, such as
`--legacy-peer-deps` or `--install-links`, you _must_ provide the same
flags to `npm ci` or you are likely to encounter errors. An easy way to do
this is to run, for example,
`npm config set legacy-peer-deps=true --location=project` and commit the
`.npmrc` file to your repo.

### Example

Make sure you have a package-lock and an up-to-date install:
Expand Down
38 changes: 17 additions & 21 deletions deps/npm/docs/content/commands/npm-dedupe.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,9 @@ result in new modules being installed.

Using `npm find-dupes` will run the command in `--dry-run` mode.

Note that by default `npm dedupe` will not update the semver values of direct
dependencies in your project `package.json`, if you want to also update
values in `package.json` you can run: `npm dedupe --save` (or add the
`save=true` option to a [configuration file](/configuring-npm/npmrc)
to make that the default behavior).
Note: `npm dedupe` will never update the semver values of direct
dependencies in your project `package.json`, if you want to update
values in `package.json` you can run: `npm update --save` instead.

### Configuration

Expand Down Expand Up @@ -158,22 +156,6 @@ This configuration does not affect `npm ci`.
<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->

#### `save`

* Default: `true` unless when using `npm update` or `npm dedupe` where it
defaults to `false`
* Type: Boolean

Save installed packages to a `package.json` file as dependencies.

When used with the `npm rm` command, removes the dependency from
`package.json`.

Will also prevent writing to `package-lock.json` if set to `false`.

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

#### `omit`

* Default: 'dev' if the `NODE_ENV` environment variable is set to
Expand Down Expand Up @@ -323,6 +305,20 @@ When false, specifying individual workspaces via the `workspace` config, or
all workspaces via the `workspaces` flag, will cause npm to operate only on
the specified workspaces, and not on the root project.

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

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

#### `install-links`

* Default: false
* Type: Boolean

When set file: protocol dependencies that exist outside of the project root
will be packed and installed as regular dependencies instead of creating a
symlink. This option has no effect on workspaces.

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

Expand Down
2 changes: 2 additions & 0 deletions deps/npm/docs/content/commands/npm-diff.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ When false, specifying individual workspaces via the `workspace` config, or
all workspaces via the `workspaces` flag, will cause npm to operate only on
the specified workspaces, and not on the root project.

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

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

Expand Down
2 changes: 2 additions & 0 deletions deps/npm/docs/content/commands/npm-dist-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ When false, specifying individual workspaces via the `workspace` config, or
all workspaces via the `workspaces` flag, will cause npm to operate only on
the specified workspaces, and not on the root project.

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

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

Expand Down
2 changes: 2 additions & 0 deletions deps/npm/docs/content/commands/npm-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ When false, specifying individual workspaces via the `workspace` config, or
all workspaces via the `workspaces` flag, will cause npm to operate only on
the specified workspaces, and not on the root project.

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

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

Expand Down
2 changes: 2 additions & 0 deletions deps/npm/docs/content/commands/npm-exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ When false, specifying individual workspaces via the `workspace` config, or
all workspaces via the `workspaces` flag, will cause npm to operate only on
the specified workspaces, and not on the root project.

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

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

Expand Down
14 changes: 14 additions & 0 deletions deps/npm/docs/content/commands/npm-find-dupes.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,20 @@ When false, specifying individual workspaces via the `workspace` config, or
all workspaces via the `workspaces` flag, will cause npm to operate only on
the specified workspaces, and not on the root project.

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

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

#### `install-links`

* Default: false
* Type: Boolean

When set file: protocol dependencies that exist outside of the project root
will be packed and installed as regular dependencies instead of creating a
symlink. This option has no effect on workspaces.

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

Expand Down
2 changes: 2 additions & 0 deletions deps/npm/docs/content/commands/npm-init.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ When false, specifying individual workspaces via the `workspace` config, or
all workspaces via the `workspaces` flag, will cause npm to operate only on
the specified workspaces, and not on the root project.

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

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

Expand Down
Loading