Michaël Zasso
813052119e
2020-04-14, Version 13.13.0 (Current)
...
Notable changes:
New file system APIs:
* Added a new function, `fs.readv` (with sync and promisified versions).
This function takes an array of `ArrayBufferView` elements and will
write the data it reads sequentially to the buffers
(Sk Sajidul Kadir). https://github.com/nodejs/node/pull/32356
* A new overload is available for `fs.readSync`, which allows to
optionally pass any of the `offset`, `length` and `position`
parameters. https://github.com/nodejs/node/pull/32460
Other changes:
* dns:
* Added the `dns.ALL` flag, that can be passed to `dns.lookup()` with
`dns.V4MAPPED` to return resolved IPv6 addresses as well as IPv4
mapped IPv6 addresses (murgatroid99).
https://github.com/nodejs/node/pull/32183
* http:
* The default maximum HTTP header size was changed from 8KB to 16KB
(rosaxny). https://github.com/nodejs/node/pull/32520
* n-api:
* Calls to `napi_call_threadsafe_function` from the main thread can
now return the `napi_would_deadlock` status in certain
circumstances (Gabriel Schulhof).
https://github.com/nodejs/node/pull/32689
* util:
* Added a new `maxStrLength` option to `util.inspect`, to control the
maximum length of printed strings. Its default value is `Infinity`
(rosaxny). https://github.com/nodejs/node/pull/32392
* worker:
* Added support for passing a `transferList` along with `workerData`
to the `Worker` constructor (Juan José Arboleda).
https://github.com/nodejs/node/pull/32278
New core collaborators:
With this release, we welcome three new Node.js core collaborators:
* himself65. https://github.com/nodejs/node/pull/32734
* flarna (Gerhard Stoebich). https://github.com/nodejs/node/pull/32620
* mildsunrise (Alba Mendez). https://github.com/nodejs/node/pull/32525
PR-URL: https://github.com/nodejs/node/pull/32813
2020-04-14 18:11:12 +02:00
Nimit
66aafcf298
doc: add useful v8 option section
...
This adds new section for v8 options and --max-old-space-size
Fixes: https://github.com/nodejs/node/issues/32252
PR-URL: https://github.com/nodejs/node/pull/32262
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2020-04-13 13:28:43 +02:00
himself65
1a01ac3425
perf_hooks: allow omitted parameters in 'performance.measure'
...
Make `startMark` and `endMark` parameters optional.
PR-URL: https://github.com/nodejs/node/pull/32651
Fixes: https://github.com/nodejs/node/issues/32647
Refs: https://www.w3.org/TR/user-timing-2/#measure-method
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-04-12 13:00:55 +02:00
Gabriel Schulhof
3907de7d24
n-api: detect deadlocks in thread-safe function
...
We introduce status `napi_would_deadlock` to be used as a return status
by `napi_call_threadsafe_function` if the call is made with
`napi_tsfn_blocking` on the main thread and the queue is full.
PR-URL: https://github.com/nodejs/node/pull/32689
Fixes: https://github.com/nodejs/node/issues/32615
Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2020-04-11 10:12:59 +02:00
Michael Dawson
19deaa5ddf
doc: clarify behavior of napi_get_typedarray_info
...
Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com >
Fixes: https://github.com/nodejs/node/issues/32089
PR-URL: https://github.com/nodejs/node/pull/32603
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-04-11 10:12:59 +02:00
unknown
0087eb1b98
util: add maxStrLength option to inspect function
...
Refs: https://github.com/nodejs/node/issues/25478
PR-URL: https://github.com/nodejs/node/pull/32392
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Matheus Marchini <mat@mmarchini.me >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-04-11 10:12:58 +02:00
Rich Trott
f41660a5c2
doc: remove optional parameter from markdown anchor link
...
Fix up a few instances so that lines don't xceed 80 characters.
PR-URL: https://github.com/nodejs/node/pull/32671
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-04-11 10:12:58 +02:00
Harshitha KP and Divyanshu
6b32877f82
doc: clarify listening event
...
Co-authored-by: Divyanshu <dsinecos@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/32581
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-04-11 10:12:57 +02:00
Andrey Pechkurov
b63223114b
async_hooks: move to lazy destroy hook registration in AsyncResource
...
PR-URL: https://github.com/nodejs/node/pull/32429
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com >
2020-04-11 10:12:56 +02:00
Dave Vandyke
ba0ea79c82
doc: correct version metadata for Readable.from
...
PR-URL: https://github.com/nodejs/node/pull/32639
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-04-11 10:06:05 +02:00
Juan José Arboleda
5c70db48bd
doc: clarify docs fs.watch exception may be emitted
...
Fixes: https://github.com/nodejs/node/issues/29894
PR-URL: https://github.com/nodejs/node/pull/32513
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-04-11 10:06:04 +02:00
himself65
b567a63cc0
doc: add unreachable code on events example
...
PR-URL: https://github.com/nodejs/node/pull/32364
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-04-11 10:06:03 +02:00
Harshitha KP
0f1f572d28
doc: clarify length param in buffer.write
...
`buffer.write` documentation has an incaccuracy w.r.t the `length`
parameter: It says default number of bytes written is
`buf.length - offset`. Change it to:
If the buffer has sufficient space from the offset, the string is
written upto `length`.
If the buffer is short in space, only `buf.length - offset` bytes are
written.
Refs: https://github.com/nodejs/node/pull/32104#discussion_r388524733
PR-URL: https://github.com/nodejs/node/pull/32119
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-04-11 10:06:03 +02:00
Thomas Watson
31b2cbb7e4
doc: document that server.address() can return null
...
PR-URL: https://github.com/nodejs/node/pull/32519
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-04-11 10:06:02 +02:00
Richard Lau
7f971b3fd9
doc: return type of crypto.getFips() may change
...
Document that the return type of `crypto.getFips()` may change in a
future semver-major release from a `number` to a `boolean`.
PR-URL: https://github.com/nodejs/node/pull/32580
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Signed-off-by: Richard Lau <riclau@uk.ibm.com >
2020-04-11 10:06:01 +02:00
Richard Lau
cf4f188fd6
doc: fix return type of crypto.getFips()
...
`crypto.getFips()` returns a number, not a boolean.
PR-URL: https://github.com/nodejs/node/pull/32580
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Signed-off-by: Richard Lau <riclau@uk.ibm.com >
2020-04-11 10:06:01 +02:00
Harshitha KP
34074aa095
doc: clarify requireManualDestroy option
...
Fixes: https://github.com/nodejs/node/issues/32409
PR-URL: https://github.com/nodejs/node/pull/32514
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com >
2020-04-11 10:05:46 +02:00
Jan Krems
537d2c1170
module: expose exports conditions to loaders
...
PR-URL: https://github.com/nodejs/node/pull/31303
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
2020-04-11 10:05:46 +02:00
Juan José Arboleda
8cb5e41807
worker: support MessagePort to workers data
...
PR-URL: https://github.com/nodejs/node/pull/32278
Fixes: https://github.com/nodejs/node/issues/32250
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-04-11 10:05:44 +02:00
Anna Henningsen
329635975b
doc: add missing changes: entry for dns.ALL
...
Refs: https://github.com/nodejs/node/pull/32183
PR-URL: https://github.com/nodejs/node/pull/32617
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-04-11 10:05:44 +02:00
Lucas Holmquist
991aca329d
fs: make parameters optional for readSync
...
This makes the offset, length and position parameters optional by
passing in an options object.
PR-URL: https://github.com/nodejs/node/pull/32460
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-04-11 10:05:42 +02:00
Hachimi Aa (Sfeir)
b6f71969a0
doc: improve fs.read documentation
...
PR-URL: https://github.com/nodejs/node/pull/29270
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2020-04-11 10:05:38 +02:00
Guy Bedford
bc7f819263
module: path-only CJS exports extension searching
...
PR-URL: https://github.com/nodejs/node/pull/32351
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2020-04-11 10:01:11 +02:00
Gabriel Schulhof
979fb155ff
doc: update context-aware section of addon doc
...
Replace the portion of the context-aware addon example that advocates
for managing the life cycle of the per-addon-instance data using a
weak reference with code that illustrates how to manage its life cycle
using an environment cleanup hook.
Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com >
PR-URL: https://github.com/nodejs/node/pull/28659
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2020-03-31 18:09:00 -04:00
murgatroid99
e14317a840
dns: add dns.ALL hints flag constant
...
PR-URL: https://github.com/nodejs/node/pull/32183
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-03-30 19:18:56 +02:00
Sk Sajidul Kadir
30d55a3517
fs: add fs.readv()
...
Fixes: https://github.com/nodejs/node/issues/2298
PR-URL: https://github.com/nodejs/node/pull/32356
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-03-30 19:18:41 +02:00
Nitin Kumar
002048ef9f
doc: fix typo in http2 docs
...
PR-URL: https://github.com/nodejs/node/pull/32292
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-03-30 19:18:27 +02:00
himself65
e7e3aeec34
doc: use uppercase on windows path
...
PR-URL: https://github.com/nodejs/node/pull/32294
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-03-30 19:18:20 +02:00
Filip Skokan
394f8ca333
doc,crypto: clarify oaepHash option's impact
...
PR-URL: https://github.com/nodejs/node/pull/32340
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-03-30 19:18:17 +02:00
unknown
bd9f4d2954
http: increase default header size from 8KB to 16KB
...
Fixes: https://github.com/nodejs/node/issues/27645
PR-URL: https://github.com/nodejs/node/pull/32520
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2020-03-30 19:18:16 +02:00
Anna Henningsen
1e27f66ce6
doc: add missing changes: entry for mkdir
...
Refs: https://github.com/nodejs/node/pull/31530
PR-URL: https://github.com/nodejs/node/pull/32490
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ben Coe <bencoe@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2020-03-30 19:18:10 +02:00
unknown
7f0ed89892
doc: add link to DNS definition
...
PR-URL: https://github.com/nodejs/node/pull/32228
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-03-30 19:17:51 +02:00
Myles Borins
f6a339ffaf
2020-03-26 Version 13.12.0 (Current)
...
macOS package notarization and a change in builder configuration:
The macOS binaries for this release, and future 13.x releases, are now
being compiled on macOS 10.15 (Catalina) with Xcode 11 to support
package notarization, a requirement for installing on .pkg files on
macOS 10.15 and later. Previous builds of Node.js 13.x were compiled on
macOS 10.11 (El Capitan) with Xcode 10. As binaries are still being
compiled to support a minimum of macOS 10.10 (Yosemite) we do not
anticipate this having a negative impact on Node.js 13.x users with
older versions of macOS.
Notable changes:
* build:
* macOS package notarization (Rod Vagg)
https://github.com/nodejs/node/pull/31459
* deps:
* upgrade npm to 6.14.4 (Ruy Adorno)
https://github.com/nodejs/node/pull/32495
* update to uvwasi 0.0.6 (Colin Ihrig)
https://github.com/nodejs/node/pull/32309
* upgrade to libuv 1.35.0 (Colin Ihrig)
https://github.com/nodejs/node/pull/32204
* lib:
* add --disable-proto option to cli (Gus Caplan)
https://github.com/nodejs/node/pull/32279
* node_report:
* move diagnostic reports to stable (Colin Ihrig)
https://github.com/nodejs/node/pull/32242
* worker:
* allow URL in Worker constructor (Antoine du HAMEL)
https://github.com/nodejs/node/pull/31664
* util:
* use a global symbol for `util.promisify.custom` (ExE Boss)
https://github.com/nodejs/node/pull/31672
PR-URL: https://github.com/nodejs/node/pull/32376
2020-03-26 14:49:44 -04:00
Rich Trott
40a9289e53
doc: remove extraneous sentence in events.md
...
Since the previous sentence describes `10` as a default, and the
following sentence explains how to modify that default, it is
unnecessary to explain that "Obviously, not all events should be limited
to just 10 listeners."
PR-URL: https://github.com/nodejs/node/pull/32457
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2020-03-26 13:58:59 -04:00
Rich Trott
6168bd5951
doc: remove unnecessary "obvious(ly)" modifiers in esm.md
...
Remove "obvious" and "obviously" in two places in esm.md. It may be
obvious to some, but likely not everyone or else it probably wouldn't be
worth mentioning/documenting.
PR-URL: https://github.com/nodejs/node/pull/32457
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2020-03-26 13:58:59 -04:00
Rich Trott
9fda9123b1
doc: trim wording in n-api.md text about exceptions
...
PR-URL: https://github.com/nodejs/node/pull/32457
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2020-03-26 13:58:59 -04:00
Victor
3e002c3977
doc: update async_hooks.md
...
Typo `runAndReturn` -> `runSyncAndReturn`
PR-URL: https://github.com/nodejs/node/pull/32382
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-03-26 13:58:59 -04:00
Rich Trott
6693b40bd5
doc: simplify and correct example descriptions in net.md
...
Instead of indicating that examples show lines to change in previous
examples, present the examples as standalone items. They suffice on
their own.
In the first of these, it says to change "the second line" of a previous
example, but if it were literally changed to the provided line, it would
result in a syntax error.
In the second of these, it gives the wrong line to change.
All of this is unnecessary and probably makes the examples harder to
follow. So simplify and treat each one as a separate example.
PR-URL: https://github.com/nodejs/node/pull/32451
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-03-26 13:58:58 -04:00
Richard Lau
99a7636443
doc: fix lint warning in doc/api/esm.md
...
Signed-off-by: Richard Lau <riclau@uk.ibm.com >
PR-URL: https://github.com/nodejs/node/pull/32462
Refs: https://github.com/nodejs/node/pull/31479
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-03-25 17:04:44 -04:00
Rich Trott
dfcc3e8990
doc: improve wording in vm.md
...
Simplify complex sentence. Remove use of "straightforward".
PR-URL: https://github.com/nodejs/node/pull/32427
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-03-25 17:04:44 -04:00
Rich Trott
bbea3f21ff
doc: improve wording in esm.md
...
Simplify complex sentence. Remove use of "straightforward".
PR-URL: https://github.com/nodejs/node/pull/32427
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-03-25 17:04:43 -04:00
Eric Dobbertin
4ca30303a7
doc: import clarifications with links to MDN
...
PR-URL: https://github.com/nodejs/node/pull/31479
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2020-03-25 17:04:43 -04:00
Jan Krems
7356c43997
module: add hook for global preload code
...
PR-URL: https://github.com/nodejs/node/pull/32068
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
2020-03-24 12:25:20 -04:00
Anna Henningsen
79fdc6bea3
cli: allow --huge-max-old-generation-size in NODE_OPTIONS
...
PR-URL: https://github.com/nodejs/node/pull/32251
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
2020-03-24 02:55:11 -04:00
Gabriel Schulhof
b8753466e5
doc: complete n-api version matrix
...
We have received feedback indicating that the N-API support matrix as
present now can be misinterpreted to mean that old versions of N-API
are no longer supported on newer versions of Node.js. Filling out the
bottom of the matrix should hopefully make it clear that support for
such old versions continues.
PR-URL: https://github.com/nodejs/node/pull/32304
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-03-24 02:55:10 -04:00
Gus Caplan
36ba54e8e1
lib: add option to disable __proto__
...
Adds `--disable-proto` CLI option which can be set to `delete` or
`throw`.
Fixes #31951
PR-URL: https://github.com/nodejs/node/pull/32279
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com >
2020-03-24 02:55:10 -04:00
Sam Roberts
b5b7bf5ea4
src,cli: support compact (one-line) JSON reports
...
Multi-line JSON is more human readable, but harder for log aggregators
to consume, they usually require a log message per line, particularly
for JSON. Compact output will be consumable by aggregators such as EFK
(Elastic Search-Fluentd-Kibana), LogDNA, DataDog, etc.
PR-URL: https://github.com/nodejs/node/pull/32254
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2020-03-24 02:55:08 -04:00
cjihrig
2e1fb2b9af
doc: update stability of report features
...
This commit updates the stability documentation for the report
feature. All diagnostic report APIs are now listed as stable,
with the exception of report-on-fatalerror, which still has a
few bugs to work out.
PR-URL: https://github.com/nodejs/node/pull/32242
Fixes: https://github.com/nodejs/node/issues/26293
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2020-03-24 02:55:08 -04:00
cjihrig
cd388b25f6
doc,lib,src,test: make --experimental-report a nop
...
This commit makes the --experimental-report CLI flag a no-op.
PR-URL: https://github.com/nodejs/node/pull/32242
Fixes: https://github.com/nodejs/node/issues/26293
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2020-03-24 02:55:07 -04:00
Antoine du HAMEL
e83dcdef7e
worker: allow URL in Worker constructor
...
The explicit goal is to let users use `import.meta.url` to
re-load thecurrent module inside a Worker instance.
Fixes: https://github.com/nodejs/node/issues/30780
PR-URL: https://github.com/nodejs/node/pull/31664
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2020-03-24 02:55:04 -04:00