Anna Henningsen
d456aa0a57
src: unregister Isolate with platform before disposing
...
I previously thought the order of these calls was no longer
relevant. I was wrong.
This commit undoes the changes from 312c02d25e , adds a comment
explaining why I was wrong, and flips the order of the calls
elsewhere for consistency, the latter having been the goal
of 312c02d25e .
Fixes: https://github.com/nodejs/node/issues/30846
Refs: https://github.com/nodejs/node/pull/30181
PR-URL: https://github.com/nodejs/node/pull/30909
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:20:56 -05:00
Matteo Collina
0c18c49f0e
stream: do not chunk strings and Buffer in Readable.from
...
PR-URL: https://github.com/nodejs/node/pull/30912
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:17:22 -05:00
Tobias Nießen
df5ae1a8ef
doc: fix description of N-API exception handlers
...
The return value is not a boolean and even if interpreted as one,
it does not indicate whether an exception is pending.
For napi_is_exception_pending, the description of the result parameter
already explains how to check whether an exception is pending.
PR-URL: https://github.com/nodejs/node/pull/30893
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2019-12-17 18:17:22 -05:00
rene.herrmann
cbe29ce4cf
lib: change var to let/const
...
PR-URL: https://github.com/nodejs/node/pull/30910
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2019-12-17 18:17:22 -05:00
Rich Trott
7a25c2c073
test: improve assertion error message in test-debug-usage
...
PR-URL: https://github.com/nodejs/node/pull/30913
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2019-12-17 18:17:22 -05:00
Rich Trott
b7a0574d6f
test: make test-os-checked-function work without test harness
...
Most tests in `test/parallel` work when invoked with `node` rather than
`tools/test.py` but not test-os-checked-function because it doesn't load
the `common` module initially, which means it won't get re-spawned with
the necessary flags (in the Flags: comment, in this case
--expose_internals). Now that common delays loading 'os' until it needs
to load it, this test can load the common module and it will work from
the command line without the test harness. Additionally, we now can
remove a comment disabling a lint rule.
PR-URL: https://github.com/nodejs/node/pull/30914
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2019-12-17 18:17:22 -05:00
Rich Trott
7e6510bcfb
test: delay loading 'os' in test/common module
...
There is a test that doesn't load the common module initially because it
needs to monkey-patch the 'os' module. I think it would be a good idea
to minimize the side-effects of loading common anyway, so let's defer
loading 'os' unless/until it's actually needed.
PR-URL: https://github.com/nodejs/node/pull/30914
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2019-12-17 18:17:21 -05:00
Shelley Vohr
a221017ee8
crypto: cast oaepLabel to unsigned char*
...
OpenSSL uses a macro without typechecking; since C++ does not
implicitly cast void* this is needed to conform Node.js to the
OpenSSL documentation.
PR-URL: https://github.com/nodejs/node/pull/30917
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:17:21 -05:00
Matteo Collina
663a6b4938
stream: make all streams error in a pipeline
...
This changes makes all stream in a pipeline emit 'error' in
case of an abnormal termination of the pipeline. If the last stream
is currently being async iterated, this change will make the iteration
reject accordingly.
See: https://github.com/nodejs/node/pull/30861
Fixes: https://github.com/nodejs/node/issues/28194
PR-URL: https://github.com/nodejs/node/pull/30869
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:17:21 -05:00
Shelley Vohr
c43461ac56
src: make debug_options getters public
...
This simplifies requires for those using DebugOptions,
since debug_options was defined in src/node_options-inl.h and thus
embedders would need to require an extra file to do what could
trivially be consolidated into one.
PR-URL: https://github.com/nodejs/node/pull/30494
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
2019-12-17 18:17:21 -05:00
Anatoli Papirovski
30e2d28ac5
cluster: remove unnecessary bind
...
PR-URL: https://github.com/nodejs/node/pull/28131
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-12-17 18:17:21 -05:00
Anatoli Papirovski
52aab47766
http2: remove unnecessary bind from setImmediate
...
PR-URL: https://github.com/nodejs/node/pull/28131
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-12-17 18:17:20 -05:00
Anatoli Papirovski
ad5b71525d
fs: remove unnecessary bind
...
Don't use Function.prototype.bind where it isn't
necessary. Rely on event emitter context instead
and on arrow function as class property.
PR-URL: https://github.com/nodejs/node/pull/28131
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-12-17 18:17:20 -05:00
Anatoli Papirovski
4e67d38f42
perf_hooks: remove unnecessary bind
...
Pass through parameters using setImmediate rather
than using Function.prototype.bind to bind the
provided context.
PR-URL: https://github.com/nodejs/node/pull/28131
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-12-17 18:17:20 -05:00
Anatoli Papirovski
7a756cb539
http: remove unnecessary bind
...
process.nextTick accepts additional parameters which
are passed through to the callback. Use that instead
of binding the function to a context.
PR-URL: https://github.com/nodejs/node/pull/28131
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-12-17 18:17:20 -05:00
Tim Costa
172228047a
http,https: increase server headers timeout
...
Fixes: https://github.com/nodejs/node/issues/24980
Refs: https://github.com/nodejs/node/commit/eb43bc04b1
PR-URL: https://github.com/nodejs/node/pull/30071
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:17:20 -05:00
Donggeon Lim
2430dd8ecb
lib: use strict equality comparison
...
Change '==' to '===' in v8_prof_polyfill.js, punycode.js.
PR-URL: https://github.com/nodejs/node/pull/30898
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:17:19 -05:00
Robert Nagy
4f3eca5d42
console: unregister temporary error listener
...
PR-URL: https://github.com/nodejs/node/pull/30852
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:17:19 -05:00
Stephen Gallagher
00cbf5b1b6
build: auto-load ICU data from --with-icu-default-data-dir
...
When compiled with `--with-intl=small` and
`--with-icu-default-data-dir=PATH`, Node.js will use PATH as a
fallback location for the ICU data.
We will first perform an access check using fopen(PATH, 'r') to
ensure that the file is readable. If it is, we'll set the
icu_data_directory and proceed. There's a slight overhead for the
fopen() check, but it should be barely measurable.
This will be useful for Linux distribution packagers who want to
be able to ship a minimal node binary in a container image but
also be able to add on the full i18n support where needed. With
this patch, it becomes possible to ship the interpreter as
/usr/bin/node in one package for the distribution and to ship the
data files in another package (without a strict dependency
between the two). This means that users of the distribution will
not need to explicitly direct Node.js to locate the ICU data. It
also means that in environments where full internationalization is
not required, they do not need to carry the extra content (with
the associated storage costs).
Refs: https://github.com/nodejs/node/issues/3460
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com >
PR-URL: https://github.com/nodejs/node/pull/30825
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:17:19 -05:00
Joyee Cheung
30d32492a0
lib: refactor NativeModule
...
Refactor the internal NativeModule class to a JS class and add
more documentation about its properties.
PR-URL: https://github.com/nodejs/node/pull/30856
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:17:19 -05:00
legendecas
60225c171e
build: fix missing x64 arch suffix in binary tar name
...
PR-URL: https://github.com/nodejs/node/pull/30877
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:17:19 -05:00
Michaël Zasso
e11acc5a45
repl: fix autocomplete when useGlobal is false
...
This fixes two issues in the REPL when it is started with a new context
(useGlobal option set to `false`):
- The `primordials` object does not contain all builtins, so the
filtering based on property names from `primordials` was wrong.
- The autocompleter did not take builtin names into account because
they are not properties of the context object.
A list of all global builtin names is created lazily when needed. It is
used for filtering for the copy and for adding those names to the
autocompleter list.
Fixes: https://github.com/nodejs/node/issues/30792
PR-URL: https://github.com/nodejs/node/pull/30883
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
2019-12-17 18:17:18 -05:00
Sebastien Ahkrin
a326309a74
lib: replace Symbol.toPrimitive to SymbolToPrimitive primordials
...
PR-URL: https://github.com/nodejs/node/pull/30905
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:17:18 -05:00
dev-313
b53e2a84ec
doc: improve doc writable streams: 'finish' event
...
doc change for stream.md that 'finish' event should be before
writer.end
fixes: https://github.com/nodejs/node/issues/30759
PR-URL: https://github.com/nodejs/node/pull/30889
Fixes: https://github.com/nodejs/node/issues/30759
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:17:18 -05:00
Sebastien Ahkrin
0d2172fb5d
lib: update Symbol.toStringTag by SymbolToStringTag primordial
...
PR-URL: https://github.com/nodejs/node/pull/30908
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:17:18 -05:00
Ruben Bridgewater
8dec909aa7
util: inspect (user defined) prototype properties
...
This is only active if the `showHidden` option is truthy.
The implementation is a trade-off between accuracy and performance.
This will miss properties such as properties added to built-in data
types.
The goal is mainly to visualize prototype getters and setters such as:
class Foo {
ownProperty = true
get bar() {
return 'Hello world!'
}
}
const a = new Foo()
The `bar` property is a non-enumerable property on the prototype while
`ownProperty` will be set directly on the created instance.
The output is similar to the one of Chromium when inspecting objects
closer. The output from Firefox is difficult to compare, since it's
always a structured interactive output and was therefore not taken
into account.
PR-URL: https://github.com/nodejs/node/pull/30768
Fixes: https://github.com/nodejs/node/issues/30183
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2019-12-17 18:17:18 -05:00
Ruben Bridgewater
453be95edc
util: fix built-in detection
...
This makes sure that the regular expression matches all built-in
objects properly. So far a couple where missed.
PR-URL: https://github.com/nodejs/node/pull/30768
Fixes: https://github.com/nodejs/node/issues/30183
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2019-12-17 18:17:17 -05:00
João Reis
f371562e30
build,win: support building MSI with VS2019
...
Explicitly pass the WiX SDK directory when building the MSI. WiX
doesn't (yet?) have a directory for VS2019, so use the one for VS2017
which should be compatible.
PR-URL: https://github.com/nodejs/node/pull/30895
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 18:17:17 -05:00
Myles Borins
96a65e85c5
Working on v13.4.1
...
PR-URL: https://github.com/nodejs/node/pull/30937
2019-12-17 17:05:18 -05:00
Myles Borins
f15fe94d16
2019-12-17, Version 13.4.0 (Current)
...
This is a security release.
For more details about the vulnerability please consult the npm blog:
https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
Notable Changes:
* deps:
* update npm to 6.13.4
https://github.com/nodejs/node/pull/30904
* update uvwasi (Anna Henningsen)
https://github.com/nodejs/node/pull/30745
* upgrade to libuv 1.34.0 (Colin Ihrig)
https://github.com/nodejs/node/pull/30783
* doc:
* docs deprecate http finished (Robert Nagy)
https://github.com/nodejs/node/pull/28679
* events:
* add captureRejection option (Matteo Collina)
https://github.com/nodejs/node/pull/27867
* http:
* add captureRejection support (Matteo Collina)
https://github.com/nodejs/node/pull/27867
* llhttp opt-in insecure HTTP header parsing (Sam Roberts)
https://github.com/nodejs/node/pull/30567
* http2:
* implement capture rection for 'request' and 'stream' events (Matteo Collina)
https://github.com/nodejs/node/pull/27867
* net:
* implement capture rejections for 'connection' event (Matteo Collina)
https://github.com/nodejs/node/pull/27867
* repl:
* support previews by eager evaluating input (Ruben Bridgewater)
https://github.com/nodejs/node/pull/30811
* stream:
* add support for captureRejection option (Matteo Collina)
https://github.com/nodejs/node/pull/27867
* tls:
* implement capture rejections for 'secureConnection' event (Matteo Collina)
https://github.com/nodejs/node/pull/27867
* expose IETF name for current cipher suite (Sam Roberts)
https://github.com/nodejs/node/pull/30637
* worker:
* add argv constructor option (legendecas)
https://github.com/nodejs/node/pull/30559
PR-URL: https://github.com/nodejs/node/pull/30937
v13.4.0
2019-12-16 14:57:05 -05:00
Rich Trott
b3ae532392
doc: clarify build support text
...
Revise compilation/execution support text to keep it shorter, simpler,
and hopefully easier to read/understand.
PR-URL: https://github.com/nodejs/node/pull/30899
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2019-12-13 10:50:41 -05:00
Michaël Zasso
71c6d44efa
lib: enforce use of BigInt from primordials
...
PR-URL: https://github.com/nodejs/node/pull/30882
Refs: https://github.com/nodejs/node/issues/30697
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
2019-12-13 10:50:41 -05:00
Daniel Bevenius
5203ffb2f4
tools: update link to google styleguide for cpplint
...
This commit updates two old links to Google's C++ styleguide which
currently result in a 404 when accessed.
PR-URL: https://github.com/nodejs/node/pull/30876
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-13 10:50:41 -05:00
Guy Bedford
e61f4ead93
module: conditional exports import condition
...
PR-URL: https://github.com/nodejs/node/pull/30799
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2019-12-13 10:50:40 -05:00
Ben Noordhuis
1b534d571a
test: work around ENOTEMPTY when cleaning tmp dir
...
Replace the homegrown rimrafsync implementation in test/common with
a call to `fs.rmdirSync(path, { recursive: true })`.
Fixes: https://github.com/nodejs/node/issues/30620
Fixes: https://github.com/nodejs/node/issues/30844
PR-URL: https://github.com/nodejs/node/pull/30849
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-13 10:50:40 -05:00
Rich Trott
8bf0da6c93
doc: edit colorMode information
...
Add information about what it means when colorMode is set to false.
PR-URL: https://github.com/nodejs/node/pull/30887
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2019-12-13 10:50:40 -05:00
Rich Trott
eb6e32c2fc
test: disable colorMode in test-console-group
...
Disable colorMode in test-console-group so that the test will succeed if
run without the test runner from the command line.
PR-URL: https://github.com/nodejs/node/pull/30886
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2019-12-13 10:50:40 -05:00
Denys Otrishko
822fb00dbe
http2: forward debug message in debugStreamObj
...
PR-URL: https://github.com/nodejs/node/pull/30840
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2019-12-13 10:50:40 -05:00
Tobias Nießen
df9df1883e
doc: fix argument type of setAAD
...
PR-URL: https://github.com/nodejs/node/pull/30863
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2019-12-13 10:50:39 -05:00
Giovanni Campagna
d90815d08e
build: on Android, use android log library to print stack traces
...
And other errors like lost promises
PR-URL: https://github.com/nodejs/node/pull/29388
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Christian Clauss <cclauss@me.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-13 10:50:39 -05:00
Giovanni Campagna
d1c4fccde2
build: fix library version and compile flags on Android
...
Compiling a library with -fPIE won't do, and on Android libraries
are not versioned.
PR-URL: https://github.com/nodejs/node/pull/29388
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Christian Clauss <cclauss@me.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-13 10:50:39 -05:00
isaacs
0379fb65c1
deps: update npm to 6.13.4
...
PR-URL: https://github.com/nodejs/node/pull/30904
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
2019-12-13 10:50:39 -05:00
Matteo Collina
dfd3a4d6c1
build: add flag to enable pointer compression
...
The --experimental-enable-pointer-compression is experimental
as it breaks ABI compatibility.
PR-URL: https://github.com/nodejs/node/pull/30463
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-13 10:50:38 -05:00
Ruben Bridgewater
de368200f3
src: accept single argument in getProxyDetails
...
This makes sure this function stays backwards compatible in case
it's accessed through the binding directly.
Refs: https://github.com/nodejs/node/pull/29947#issuecomment-562987888
PR-URL: https://github.com/nodejs/node/pull/30858
Refs: https://github.com/nodejs/node/pull/30767
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2019-12-13 10:50:38 -05:00
Kamat, Trivikram
5ab3ca4f96
url: declare iterator inside loop
...
Refs: https://github.com/nodejs/node/pull/30281#discussion_r343380565
PR-URL: https://github.com/nodejs/node/pull/30509
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-12-13 10:50:38 -05:00
Jordan Harband
5f42b1fc6b
test: assert: fix deepStrictEqual comparing a real array and fake array
...
PR-URL: https://github.com/nodejs/node/pull/30743
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2019-12-13 10:50:38 -05:00
Rich Trott
9d1c793ceb
doc: clarify Tier 2 implications in BUILDING.md
...
Clarify the explanation of Tier 2 platforms and binary releases.
PR-URL: https://github.com/nodejs/node/pull/30866
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Rod Vagg <rod@vagg.org >
2019-12-13 10:50:38 -05:00
Sebastien Ahkrin
64ab5c9c84
lib: replace Symbol.iterator by SymbolIterator
...
PR-URL: https://github.com/nodejs/node/pull/30859
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2019-12-13 10:50:38 -05:00
Sebastien Ahkrin
39898a9db4
lib: replace every Symbol.for by SymbolFor primordials
...
PR-URL: https://github.com/nodejs/node/pull/30857
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2019-12-13 10:50:37 -05:00
Juan José Arboleda
1cce00073e
doc: add code example to inspector.url() method
...
PR-URL: https://github.com/nodejs/node/pull/29496
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2019-12-13 10:50:37 -05:00