Rich Trott
bd1e8eacf3
test: fix flaky test-http-server-keepalive-req-gc
...
Use `server` to keep the event loop open until the `ongc` listener runs.
PR-URL: https://github.com/nodejs/node/pull/29347
Fixes: https://github.com/nodejs/node/issues/29344
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
2019-09-04 16:48:20 +02:00
Brian White
f4f88270e7
process: improve nextTick performance
...
PR-URL: https://github.com/nodejs/node/pull/25461
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2019-09-04 16:48:19 +02:00
Matheus Marchini
8c6896e5d3
src: allow --interpreted-frames-native-stack in NODE_OPTIONS
...
PR-URL: https://github.com/nodejs/node/pull/27744
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 >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-09-04 16:48:19 +02:00
cjihrig
30b80e5d7c
errors: provide defaults for unmapped uv errors
...
libuv does not map 100% of errors. When an unmapped error is
encountered, the Map returns undefined, which is then
unsuccessfully destructured, causing an exception. This commit
adds a default value in the event of an unmapped error.
PR-URL: https://github.com/nodejs/node/pull/29288
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2019-09-04 16:48:19 +02:00
Brian White
3bc16f917d
events: improve once() performance
...
PR-URL: https://github.com/nodejs/node/pull/29307
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
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: Yongsheng Zhang <zyszys98@gmail.com >
2019-09-04 16:48:19 +02:00
Joyee Cheung
6a914ed36e
build: make --without-snapshot imply --without-node-snapshot
...
PR-URL: https://github.com/nodejs/node/pull/29294
Fixes: https://github.com/nodejs/node/issues/29243
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-09-04 16:48:18 +02:00
cclauss
def5c3e5d8
build: test Python 3.6 and 3.7 on Travis CI
...
PR-URL: https://github.com/nodejs/node/pull/29291
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2019-09-04 16:48:18 +02:00
cclauss
783c8eeb0b
tools: fix Python 3 issues in inspector_protocol
...
PR-URL: https://github.com/nodejs/node/pull/29296
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2019-09-04 16:48:18 +02:00
Christian Clauss
9a150027da
test: use print() function in both Python 2 and 3
...
PR-URL: https://github.com/nodejs/node/pull/29298
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-09-04 16:48:18 +02:00
Kamat, Trivikram
395245f1eb
doc,fs: add extends for derived classes
...
PR-URL: https://github.com/nodejs/node/pull/29304
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-09-04 16:48:18 +02:00
Kamat, Trivikram
a2c704773a
doc,errors: add extends to derived classes
...
PR-URL: https://github.com/nodejs/node/pull/29303
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2019-09-04 16:48:17 +02:00
Samuel Attard
db6e4ce239
src: expose MaybeInitializeContext to allow existing contexts
...
Splits the node.js specific tweak intialization of NewContext into a new
helper MaybeInitializeContext so that embedders with existing contexts
can still use them in a Node.js Environment now that primordials are
initialized and required so early.
Update MaybeInitializeContext to return MaybeLocal,
PR-URL: https://github.com/nodejs/node/pull/28544
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-09-04 16:48:17 +02:00
Myles Borins
ef76c7d997
doc: add dco to github pr template
...
Our project relies on the Developer Certificate of Origin as a passive
alternative to a Contributor License Agreement. The PR template seems
like a great place to surface the text to help new contributors be
aware of the DCO and it's implications.
PR-URL: https://github.com/nodejs/node/pull/24023
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Matheus Marchini <mat@mmarchini.me >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2019-09-04 16:48:17 +02:00
cjihrig
6e585fb063
lib: consolidate lazyErrmapGet()
...
There are currently two implementations of this function.
This commit removes the redundancy, and removes "lazy" from
the name.
PR-URL: https://github.com/nodejs/node/pull/29285
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2019-09-04 16:48:17 +02:00
Trivikram Kamat
8a93b63a6b
doc,http: add extends for derived classes
...
Also removed redundant statments as extends is self-explanatory.
PR-URL: https://github.com/nodejs/node/pull/29255
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-09-03 22:34:12 +02:00
Trivikram Kamat
8599052283
doc: add https.Server extends tls.Server
...
PR-URL: https://github.com/nodejs/node/pull/29256
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2019-09-03 22:34:12 +02:00
Trivikram Kamat
ba29be60ae
doc,tls: add extends for derived classes
...
PR-URL: https://github.com/nodejs/node/pull/29257
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-09-03 22:34:12 +02:00
Brian White and Anna Henningsen
dfc0ef5d88
net: allow reading data into a static buffer
...
Co-Authored-By: Anna Henningsen <anna@addaleax.net >
PR-URL: https://github.com/nodejs/node/pull/25436
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2019-09-03 14:21:10 +02:00
Vse Mozhet Byt
2fafd635d7
doc: fix nits in esm.md
...
* ```mjs -> ```js as our linting of doc code fragments
does not recognize this tag, IIRC.
* Add semicolons to a code fragment.
* Fix ASCII sorting in bottom references.
PR-URL: https://github.com/nodejs/node/pull/29242
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
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: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
2019-09-03 14:21:09 +02:00
cjihrig
ed2293e3d7
fs: add recursive option to rmdir()
...
This commit adds a recursive option to fs.rmdir(),
fs.rmdirSync(), and fs.promises.rmdir(). The implementation
is a port of the npm module rimraf.
PR-URL: https://github.com/nodejs/node/pull/29168
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Ben Coe <bencoe@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2019-09-03 14:21:08 +02:00
Trivikram Kamat
6a4f156ba4
doc: add missing extends Http2Session
...
Adds missing extends Http2Session for ClientHttp2Session
and ServerHttp2Session.
PR-URL: https://github.com/nodejs/node/pull/29252
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2019-09-03 14:21:07 +02:00
Trivikram Kamat
1d649e3444
doc: indicate that Http2ServerRequest extends Readable
...
PR-URL: https://github.com/nodejs/node/pull/29253
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2019-09-03 14:21:05 +02:00
Trivikram Kamat
b2f169e628
doc: indicate that Http2ServerResponse extends Stream
...
Also removes the redundant statement explained by "extends Stream".
PR-URL: https://github.com/nodejs/node/pull/29254
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2019-09-03 14:19:31 +02:00
Robert Nagy
e939a8747f
stream: async iterator destroy compat
...
async iterator should not depend on internal API for better compat
with streamlike objects.
PR-URL: https://github.com/nodejs/node/pull/29176
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-09-03 14:14:13 +02:00
Saúl Ibarra Corretgé
eb2d96fecf
module: avoid passing unnecessary loop reference
...
It's a sync request, which doesn't require the loop parameter to be set.
PR-URL: https://github.com/nodejs/node/pull/29275
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-09-03 14:14:12 +02:00
Rich Trott
65de900052
doc: add emitClose option for fs streams
...
PR-URL: https://github.com/nodejs/node/pull/29212
Fixes: https://github.com/nodejs/node/issues/29177
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2019-09-03 14:14:12 +02:00
Rich Trott
1f88ca3424
test: add emitClose: true tests for fs streams
...
PR-URL: https://github.com/nodejs/node/pull/29212
Fixes: https://github.com/nodejs/node/issues/29177
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2019-09-03 14:14:11 +02:00
Giorgos Ntemiris
8f47ff16d4
fs: allow passing true to emitClose option
...
Allow passing true for emitClose option for fs
streams.
Fixes: https://github.com/nodejs/node/issues/29177
PR-URL: https://github.com/nodejs/node/pull/29212
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2019-09-03 14:14:11 +02:00
MattIPv4
12cbb3f12f
gyp: remove semicolons (Python != JavaScript)
...
PR-URL: https://github.com/nodejs/node/pull/29228
Reviewed-By: Christian Clauss <cclauss@me.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2019-09-03 14:14:10 +02:00
Daniel Bevenius
feafc019b1
build: move tooltest to before jstest target
...
This commit moves the tooltest target to come before the jstest target
to make the console output consistent with it was before I introduced
the tooltest target.
Currently the output looks like this which is might give the impression
that only one test was run:
/Applications/Xcode.app/Contents/Developer/usr/bin/make -s tooltest
.
----------------------------------------------------------------------
Ran 1 test in 0.000s
Compared to the usual:
[03:58|% 100|+ 2739|- 0]: Done
PR-URL: https://github.com/nodejs/node/pull/29220
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-09-03 14:14:10 +02:00
Brian White
054407511e
buffer: correct concat() error message
...
PR-URL: https://github.com/nodejs/node/pull/29198
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-09-03 14:14:10 +02:00
Christian Clauss
925141f946
tools: fix mixup with bytes.decode() and str.encode()
...
We want to read a bytes file and decode the contents as utf-8 so we can
compare against a utf-8 pattern.
PR-URL: https://github.com/nodejs/node/pull/29208
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2019-09-03 14:14:09 +02:00
Brian White
35bca312ed
buffer: improve equals() performance
...
PR-URL: https://github.com/nodejs/node/pull/29199
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-09-03 14:14:09 +02:00
cclauss
a123a20134
tools: fix Python 3 issues in tools/icu/icutrim.py
...
PR-URL: https://github.com/nodejs/node/pull/29213
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2019-09-03 14:14:08 +02:00
cclauss
eceebd3ef1
tools: fix Python 3 issues in gyp/generator/make.py
...
PR-URL: https://github.com/nodejs/node/pull/29214
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2019-09-03 14:14:08 +02:00
cclauss
aeafb91e2c
build: add Python 3 tests to Travis CI
...
These tests are run in allow_failures mode on Python 3.7.1 and they
bypasses the Python version checks in ./configure by directly running
./configure.py.
PR-URL: https://github.com/nodejs/node/pull/29196
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2019-09-03 14:14:07 +02:00
Tobias Nießen
e0537e6978
crypto: simplify DSA validation in FIPS mode
...
PR-URL: https://github.com/nodejs/node/pull/29195
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2019-09-03 14:14:06 +02:00
isaacs
219c19530e
deps: update npm to 6.10.3
...
BUGFIXES
* [`27cccfbda`](https://github.com/npm/cli/commit/27cccfbdac8526cc807b07f416355949b1372a9b )
[#223 ](https://github.com/npm/cli/pull/223 ) vulns → vulnerabilities in
npm audit output ([@sapegin](https://github.com/sapegin ))
* [`d5e865eb7`](https://github.com/npm/cli/commit/d5e865eb79329665a927cc2767b4395c03045dbb )
[#222 ](https://github.com/npm/cli/pull/222 )
[#226 ](https://github.com/npm/cli/pull/226 ) install, doctor: don't crash
if registry unset ([@dmitrydvorkin](https://github.com/dmitrydvorkin ),
[@isaacs](https://github.com/isaacs ))
* [`5b3890226`](https://github.com/npm/cli/commit/5b389022652abeb0e1c278a152550eb95bc6c452 )
[#227 ](https://github.com/npm/cli/pull/227 )
[npm.community#9167](https://npm.community/t/npm-err-cb-never-called-permission-denied/9167/5 )
Handle unhandledRejections, tell user what to do when encountering an
`EACCES` error in the cache. ([@isaacs](https://github.com/isaacs ))
DEPENDENCIES
* [`77516df6e`](https://github.com/npm/cli/commit/77516df6eac94a6d7acb5e9ca06feaa0868d779b )
`licensee@7.0.3` ([@isaacs](https://github.com/isaacs ))
* [`ceb993590`](https://github.com/npm/cli/commit/ceb993590e4e376a9a78264ce7bb4327fbbb37fe )
`query-string@6.8.2` ([@isaacs](https://github.com/isaacs ))
* [`4050b9189`](https://github.com/npm/cli/commit/4050b91898c60e9b22998cf82b70b9b822de592a )
`hosted-git-info@2.8.2`
* [#46 ](https://github.com/npm/hosted-git-info/issues/46 )
[#43 ](https://github.com/npm/hosted-git-info/issues/43 )
[#47 ](https://github.com/npm/hosted-git-info/pull/47 )
[#44 ](https://github.com/npm/hosted-git-info/pull/44 ) Add support for
GitLab subgroups ([@mterrel](https://github.com/mterrel ),
[@isaacs](https://github.com/isaacs ),
[@ybiquitous](https://github.com/ybiquitous ))
* [`3b1d629`](https://github.com/npm/hosted-git-info/commit/3b1d629 )
[#48 ](https://github.com/npm/hosted-git-info/issues/48 ) fix http
protocol using sshurl by default
([@fengmk2](https://github.com/fengmk2 ))
* [`5d4a8d7`](https://github.com/npm/hosted-git-info/commit/5d4a8d7 )
ignore noCommittish on tarball url generation
([@isaacs](https://github.com/isaacs ))
* [`1692435`](https://github.com/npm/hosted-git-info/commit/1692435 )
use gist tarball url that works for anonymous gists
([@isaacs](https://github.com/isaacs ))
* [`d5cf830`](https://github.com/npm/hosted-git-info/commit/d5cf8309be7af884032616c63ea302ce49dd321c )
Do not allow invalid gist urls ([@isaacs](https://github.com/isaacs ))
* [`e518222`](https://github.com/npm/hosted-git-info/commit/e5182224351183ce619dd5ef00019ae700ed37b7 )
Use LRU cache to prevent unbounded memory consumption
([@iarna](https://github.com/iarna ))
PR-URL: https://github.com/nodejs/node/pull/29023
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-09-03 14:14:06 +02:00
David Carlier
4d4583e0a2
src: add large page support for macOS
...
Proposal to bring the support for this platform.
We assume the pse36 cpu flag is present for 2MB
large page support present in recent years
in mac line (not to be backported to 10.x anyway).
Recommended better for mac production servers rather
than casual mac books.
PR-URL: https://github.com/nodejs/node/pull/28977
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-09-03 14:14:05 +02:00
cclauss
10bae2ec91
gyp: futurize imput.py to prepare for Python 3
...
PR-URL: https://github.com/nodejs/node/pull/29140
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2019-09-03 14:14:05 +02:00
Robert Nagy
b36a6e9ed5
stream: do not emit drain if stream ended
...
PR-URL: https://github.com/nodejs/node/pull/29086
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-09-03 14:14:04 +02:00
Bradley Farias and Anna Henningsen
293c9f0d75
bootstrap: run preload prior to frozen-intrinsics
...
This is used to allow people to run polyfills.
Co-Authored-By: Anna Henningsen <github@addaleax.net >
PR-URL: https://github.com/nodejs/node/pull/28940
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-09-03 14:14:04 +02:00
Bradley Farias and Jan Olaf Krems
a7c8322a54
esm: support loading data URLs
...
Co-Authored-By: Jan Olaf Krems <jan.krems@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/28614
Reviewed-By: Jan Krems <jan.krems@gmail.com >
2019-09-03 14:14:03 +02:00
Robert Nagy
6ff803d97c
fs: fix (temporary) for esm package
...
Fix to unblock CITGM. See,
https://github.com/standard-things/esm/issues/821 .
PR-URL: https://github.com/nodejs/node/pull/28957
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2019-09-03 14:14:03 +02:00
Joyee Cheung
e6353bda1a
fs: document the Date conversion in Stats objects
...
Document why the dates are calculated with the timestamp
in Numbers + 0.5.
The comment was previously lost in a revert.
Refs: https://github.com/nodejs/node/commit/ae6c7044c8d48cc8e7c267efca7429d5aa4df993
PR-URL: https://github.com/nodejs/node/pull/28224
Refs: https://github.com/nodejs/node/commit/ae6c7044c8d48cc8e7c267efca7429d5aa4df993
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-09-03 14:14:02 +02:00
Joyee Cheung
365e062e14
fs: add *timeNs properties to BigInt Stats objects
...
- Extend the aliased buffer for stats objects to contain
the entire time spec (seconds and nanoseconds) for the time
values instead of calculating the milliseconds in C++ and
lose precision there.
- Calculate the nanosecond-precision time values in JS and expose
them in BigInt Stats objects as `*timeNs`. The
millisecond-precision values are now calculated from the
nanosecond-precision values.
PR-URL: https://github.com/nodejs/node/pull/21387
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
2019-09-03 14:13:59 +02:00
Michaël Zasso
78c9e5f0ba
Working on v12.9.2
...
PR-URL: https://github.com/nodejs/node/pull/29321
2019-08-26 20:33:59 +02:00
Michaël Zasso
9cfb384178
2019-08-26, Version 12.9.1 (Current)
...
Notable changes:
This release fixes two regressions in the http module:
* Fixes an event listener leak in the HTTP client. This resulted in lots
of warnings during npm/yarn installs.
https://github.com/nodejs/node/pull/29245
* Fixes a regression preventing the `'end'` event from being emitted for
keepalive requests in case the full body was not parsed.
https://github.com/nodejs/node/pull/29263
PR-URL: https://github.com/nodejs/node/pull/29321
v12.9.1
2019-08-26 16:34:10 +02:00
Anna Henningsen
ae0a0e97ba
http: reset parser.incoming when server request is finished
...
This resolves a memory leak for keep-alive connections and does not
regress in the way that 779a05d5d1 did by waiting for
the incoming request to be finished before releasing the
`parser.incoming` object.
Refs: https://github.com/nodejs/node/pull/28646
Refs: https://github.com/nodejs/node/pull/29263
Fixes: https://github.com/nodejs/node/issues/9668
PR-URL: https://github.com/nodejs/node/pull/29297
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2019-08-26 16:32:58 +02:00
Daniel Bevenius
a6abfcb423
src: remove unused using declarations
...
This commit removes unused using declarations in
src/node_contextify.cc.
PR-URL: https://github.com/nodejs/node/pull/29222
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2019-08-26 11:48:28 +02:00