summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2021-01-26, Version 10.23.2 'Dubnium' (LTS)v10.23.2v10.23.2-proposalRichard Lau2021-01-263-2/+24
| | | | | | | | | | | | Notable changes: Release keys have been synchronized with the main branch. - deps: - upgrade npm to 6.14.11 (Darcy Clarke) https://github.com/nodejs/node/pull/36838 PR-URL: https://github.com/nodejs/node/pull/37022
* doc: update contact information for @BethGriggsBeth Griggs2021-01-223-6/+7
| | | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/35451 Reviewed-By: Stewart X Addison <sxa@uk.ibm.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* doc: update contact information for richardlauRichard Lau2021-01-223-3/+4
| | | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/35450 Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: Stewart X Addison <sxa@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
* doc: update release key for Danielle AdamsDanielle Adams2021-01-191-2/+4
| | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/36793 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* doc: add release key for Danielle AdamsDanielle Adams2021-01-191-0/+3
| | | | | | | | | | | | Add Danielle Adams's release key. PR-URL: https://github.com/nodejs/node/pull/35545 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* doc: add release key for Ruy AdornoRuy Adorno2021-01-191-0/+3
| | | | | | | | | | | Add Ruy Adorno and his Release key. Refs: https://github.com/nodejs/Release/pull/597 PR-URL: https://github.com/nodejs/node/pull/34628 Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
* deps: upgrade npm to 6.14.11Darcy Clarke2021-01-14157-216/+237
| | | | | | | | PR-URL: https://github.com/nodejs/node/pull/36838 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com>
* doc: add release key for Richard LauRichard Lau2021-01-081-0/+3
| | | | | | | | | | | | | | | | | Add Richard Lau and his Release key. Signed-off-by: Richard Lau <riclau@uk.ibm.com> PR-URL: https://github.com/nodejs/node/pull/34397 Refs: https://github.com/nodejs/Release/issues/585 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
* Working on v10.23.2Richard Lau2021-01-041-2/+2
| | | | PR-URL: https://github.com/nodejs-private/node-private/pull/239
* 2021-01-04, Version 10.23.1 'Dubnium' (LTS)v10.23.1Richard Lau2020-12-233-2/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notable changes: This is a security release. Vulnerabilities fixed: - CVE-2020-8265: use-after-free in TLSWrap (High) Affected Node.js versions are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an error, this object is passed back to the caller as part of a StreamWriteResult structure. This may be exploited to corrupt memory leading to a Denial of Service or potentially other exploits - CVE-2020-8287: HTTP Request Smuggling in nodejs Affected versions of Node.js allow two copies of a header field in a http request. For example, two Transfer-Encoding header fields. In this case Node.js identifies the first header field and ignores the second. This can lead to HTTP Request Smuggling (https://cwe.mitre.org/data/definitions/444.html). - CVE-2020-1971: OpenSSL - EDIPARTYNAME NULL pointer de-reference (High) This is a vulnerability in OpenSSL which may be exploited through Node.js. You can read more about it in https://www.openssl.org/news/secadv/20201208.txt PR-URL: https://github.com/nodejs-private/node-private/pull/239
* http: add test for http transfer encoding smugglingRichard Lau2020-12-231-0/+46
| | | | | | | | Refs: https://github.com/nodejs-private/node-private/pull/228 Refs: https://hackerone.com/bugs?report_id=1002188&subject=nodejs PR-URL: https://github.com/nodejs-private/node-private/pull/235 Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
* http: unset `F_CHUNKED` on new `Transfer-Encoding`Fedor Indutny2020-12-232-0/+33
| | | | | | | | | | | | | Duplicate `Transfer-Encoding` header should be a treated as a single, but with original header values concatenated with a comma separator. In the light of this, even if the past `Transfer-Encoding` ended with `chunked`, we should be not let the `F_CHUNKED` to leak into the next header, because mere presence of another header indicates that `chunked` is not the last transfer-encoding token. CVE-ID: CVE-2020-8287 PR-URL: https://github.com/nodejs-private/node-private/pull/235 Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
* deps: update http-parser to http-parser@ec8b5ee63fRichard Lau2020-12-237-30/+220
| | | | | PR-URL: https://github.com/nodejs-private/node-private/pull/235 Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
* test: add test-tls-use-after-free-regressionDaniel Bevenius2020-12-231-0/+58
| | | | | | | | | | This commit adds the test provided in pull request https://github.com/nodejs-private/node-private/pull/230. PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <rlau@redhat.com>
* src: use unique_ptr for WriteWrapDaniel Bevenius2020-12-2311-26/+28
| | | | | | | | | | | | This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <rlau@redhat.com>
* deps: upgrade npm to 6.14.10Ruy Adorno2020-12-23108-816/+820
| | | | | | | | PR-URL: https://github.com/nodejs/node/pull/36571 Fixes: https://github.com/nodejs/node/issues/36445 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
* deps: update archs files for OpenSSL-1.1.1iRichard Lau2020-12-22323-1495/+2934
| | | | | | | | | | | | | | | After an OpenSSL source update, all the config files need to be regenerated and comitted by: $ cd deps/openssl/config $ make $ git add deps/openssl/config/archs $ git add deps/openssl/openssl/include/crypto/bn_conf.h $ git add deps/openssl/openssl/include/crypto/dso_conf.h $ git add deps/openssl/openssl/include/openssl/opensslconf.h $ git commit PR-URL: https://github.com/nodejs/node/pull/36541 Reviewed-By: Michael Dawson <midawson@redhat.com>
* deps: upgrade openssl sources to 1.1.1iMyles Borins2020-12-22349-4167/+4253
| | | | | | | | | | | | | This updates all sources in deps/openssl/openssl by: $ cd deps/openssl/ $ rm -rf openssl $ tar zxf ~/tmp/openssl-1.1.1i.tar.gz $ mv openssl-1.1.1i openssl $ git add --all openssl $ git commit openssl PR-URL: https://github.com/nodejs/node/pull/36541 Reviewed-By: Michael Dawson <midawson@redhat.com>
* build,win: accept Python 3 if 2 is not availableJoão Reis2020-12-142-21/+67
| | | | | | | | | If there is no Python 2 available, use Python 3. This allows to test running configure with Python 3. PR-URL: https://github.com/nodejs/node/pull/29236 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* build,win: find Python in paths with spacesJoão Reis2020-12-141-21/+27
| | | | | | | | | | | When looking for Python in the registry, as specified in PEP514, this was not able to handle installations in a path with spaces, like Program Files. This ensures the whole path is used, fixing the issue. PR-URL: https://github.com/nodejs/node/pull/29236 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* deps: upgrade npm to 6.14.9Myles Borins2020-12-10398-6124/+11634
| | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/36450 Fixes: https://github.com/docs Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* Working on v10.23.1Richard Lau2020-10-271-2/+2
| | | | PR-URL: https://github.com/nodejs/node/pull/35544
* 2020-10-27, Version 10.23.0 'Dubnium' (LTS)v10.23.0v10.23.0-proposalRichard Lau2020-10-093-4/+34
| | | | | | | | | | | | | | | | | Notable changes: - deps: - upgrade npm to 6.14.8 (Ruy Adorno) https://github.com/nodejs/node/pull/34834 - n-api: - create N-API version 7 (Gabriel Schulhof) https://github.com/nodejs/node/pull/35199 - expose napi_build_version variable (NickNaso) https://github.com/nodejs/node/pull/27835 - tools: - add debug entitlements for macOS 10.15+ (Gabriele Greco) https://github.com/nodejs/node/pull/34378 PR-URL: https://github.com/nodejs/node/pull/35544
* test,v8: skip less and stabilize test-linux-perf.jsRefael Ackermann2020-10-092-39/+61
| | | | | | | | | Co-authored-by: Matheus Marchini <mat@mmarchini.me> PR-URL: https://github.com/nodejs/node/pull/27364 Refs: https://github.com/nodejs/build/issues/1774 Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
* test: fix test-linux-perf flakinessMatheus Marchini2020-10-091-1/+1
| | | | | | | | | | | | | The new V8 seems to be optimizing the functions we use in this test faster than before. Increasing the sampling frequency for Linux perf fixes the issue. PR-URL: https://github.com/nodejs/node/pull/27615 Refs: https://github.com/v8/v8/compare/7.4.288.21...7.4.288.27 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* deps: upgrade npm to 6.14.8Ruy Adorno2020-10-07203-401/+537
| | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/34834 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
* deps: upgrade npm to 6.14.7claudiahdz2020-10-07317-5515/+5226
| | | | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/34468 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* tools: add debug entitlements for macOS 10.15+Gabriele Greco2020-10-071-0/+2
| | | | | | | | | | | | | To debug native modules node should be a debuggable process, that will require the **com.apple.security.get-task-allow** entitlement to be added to the codesign procedure. PR-URL: https://github.com/nodejs/node/pull/34378 Fixes: https://github.com/nodejs/node/issues/34340 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
* http2: support non-empty DATA frame with END_STREAM flagCarlos Lopez2020-10-073-23/+111
| | | | | | | | | | | | | | Adds support for reading from a stream where the final frame is a non-empty DATA frame with the END_STREAM flag set, instead of hanging waiting for another frame. Fixes: https://github.com/nodejs/node/issues/31309 Refs: https://nghttp2.org/documentation/types.html#c.nghttp2_on_data_chunk_recv_callback PR-URL: https://github.com/nodejs/node/pull/33875 Backport-PR-URL: https://github.com/nodejs/node/pull/34857 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
* http2,doc: minor fixesAlba Mendez2020-10-072-3/+4
| | | | | | | | | | | | | | | | | | | | | Some small fixes on HTTP/2 and its documentation: - Add a note that, on server streams, it's not necessary to start data flow. - Set EOF flag if we have marked all data for sending: there's no need to wait until the queue is actually empty (and send a separate, empty DATA). (Note that, even with this change, a separate DATA frame will always be sent, because the streams layer waits until data has been flushed before dispatching EOF) PR-URL: https://github.com/nodejs/node/pull/28044 Backport-PR-URL: https://github.com/nodejs/node/pull/34857 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
* n-api: create N-API version 7Gabriel Schulhof2020-10-075-10/+7
| | | | | | | | | | | | | Mark `napi_detach_arraybuffer` and `napi_is_detached_arraybuffer` as stable. Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com> PR-URL: https://github.com/nodejs/node/pull/35199 Backport-PR-URL: https://github.com/nodejs/node/pull/35336 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Michael Dawson <mdawson@devrus.com>
* build: expose napi_build_version variableNickNaso2020-10-075-1/+42
| | | | | | | | | | | | | | | | Expose `napi_build_version` to allow `node-gyp` to make it available for building native addons. Fixes: https://github.com/nodejs/node-gyp/issues/1745 Refs: https://github.com/nodejs/abi-stable-node/issues/371 PR-URL: https://github.com/nodejs/node/pull/27835 Backport-PR-URL: https://github.com/nodejs/node/pull/35266 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
* src: allows escaping NODE_OPTIONS with backslashesMaël Nison2020-10-074-12/+51
| | | | | | | | | | | | | | | The characters specified within NODE_OPTIONS can now be escaped, which is handy especially in conjunction with `--require` (where the file path might happen to contain spaces that shouldn't cause the option to be split into two). Fixes: https://github.com/nodejs/node/issues/12971 PR-URL: https://github.com/nodejs/node/pull/24065 Backport-PR-URL: https://github.com/nodejs/node/pull/35342 Reviewed-By: Anna Henningsen <anna@addaleax.net> Refs: https://github.com/microsoft/vscode-js-debug/issues/769
* deps: V8: cherry-pick eec10a2fd8faStephen Belanger2020-10-073-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | Original commit message: [promisehook] Add before/after hooks to thenable tasks This will allow Node.js to properly track async context in thenables. Change-Id: If441423789a78307a57ad7e645daabf551cddb57 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2215624 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org> Commit-Queue: Gus Caplan <me@gus.host> Cr-Commit-Position: refs/heads/master@{#68207} Refs: https://github.com/v8/v8/commit/eec10a2fd8fa4d0e7f5e32dedbd239d938a5dd87 PR-URL: https://github.com/nodejs/node/pull/33778 Backport-PR-URL: https://github.com/nodejs/node/pull/35393 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
* build: enable backtrace when V8 is built for PPC and S390xMichaël Zasso2020-10-052-1/+4
| | | | | | | | | Refs: https://github.com/nodejs/node-v8/issues/119 PR-URL: https://github.com/nodejs/node/pull/32113 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
* Working on v10.22.2Beth Griggs2020-09-151-2/+2
| | | | PR-URL: https://github.com/nodejs-private/node-private/pull/222
* 2020-09-15, Version 10.22.1 'Dubnium' (LTS)v10.22.1Beth Griggs2020-09-093-2/+19
| | | | | | | | | | | | | This is a security release. Notable changes: Vulnerabilities fixed: - CVE-2020-8252: fs.realpath.native on may cause buffer overflow (Medium). PR-URL: https://github.com/nodejs-private/node-private/pull/222
* deps: libuv: cherry-pick 0e6e8620cjihrig2020-09-081-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Original commit message: unix: don't use _POSIX_PATH_MAX Libuv was using _POSIX_PATH_MAX wrong. Bug introduced in commit b56d279b ("unix: do not require PATH_MAX to be defined") from September 2018. _POSIX_PATH_MAX is the minimum max path size guaranteed by POSIX, not the actual max path size of the system libuv runs on. _POSIX_PATH_MAX is always 256, the real max is often much bigger. This commit fixes buffer overruns when processing very long paths in uv_fs_readlink() and uv_fs_realpath() because libuv was not allocating enough memory to store the result. Fixes: https://github.com/libuv/libuv/issues/2965 PR-URL: https://github.com/libuv/libuv/pull/2966 Backport-PR-URL: https://github.com/nodejs-private/node-private/pull/221 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
* Working on v10.22.1Beth Griggs2020-07-211-2/+2
| | | | PR-URL: https://github.com/nodejs/node/pull/34170
* 2020-07-21, Version 10.22.0 'Dubnium' (LTS)v10.22.0v10.22.0-proposalRichard Lau2020-07-154-6/+43
| | | | | | | | | | | | | | | Notable changes: - deps: - upgrade npm to 6.14.6 (claudiahdz) https://github.com/nodejs/node/pull/34246 - upgrade openssl sources to 1.1.1g (Hassaan Pasha) https://github.com/nodejs/node/pull/32982 - n-api: - add `napi_detach_arraybuffer` (legendecas) https://github.com/nodejs/node/pull/29768 PR-URL: https://github.com/nodejs/node/pull/34170
* doc: fix quotes in tls.mdSparsh Garg2020-07-151-2/+2
| | | | | | | | | | | Added the missing single quotes in minVersion and maxVersion of api/tls doc before TLSv1.2. PR-URL: https://github.com/nodejs/node/pull/33641 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
* test: remove timers-blocking-callbackJeremiah Senkpiel2020-07-151-113/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the bug this test is intented to catch is reintroduced, or if 5aac4c42da104c30d8f701f1042d61c2f06b7e6c is effectively reverted, many (50+) tests time out, rendering this test redundant and unnecessary. in particular, the following timer tests catch an effective revert of 5aac4c42da104c30d8f701f1042d61c2f06b7e6c: not ok 21 parallel/test-timers-api-refs not ok 22 parallel/test-timers-args not ok 23 parallel/test-timers-destroyed not ok 25 parallel/test-timers-nested not ok 26 parallel/test-timers-interval-throw not ok 28 parallel/test-timers-non-integer-delay not ok 32 parallel/test-timers-ordering not ok 33 parallel/test-timers-refresh not ok 34 parallel/test-timers-refresh-in-callback not ok 35 parallel/test-timers-reset-process-domain-on-throw not ok 40 parallel/test-timers-timeout-to-interval not ok 41 parallel/test-timers-uncaught-exception not ok 42 parallel/test-timers-timeout-with-non-integer not ok 43 parallel/test-timers-unenroll-unref-interval not ok 44 parallel/test-timers-unref not ok 45 parallel/test-timers-unref-active not ok 46 parallel/test-timers-unrefd-interval-still-fires not ok 47 parallel/test-timers-unrefed-in-callback not ok 48 parallel/test-timers-user-call not ok 49 parallel/test-timers-zero-timeout Refs: https://github.com/nodejs/node/issues/21781 PR-URL: https://github.com/nodejs/node/pull/32870 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* deps: upgrade npm to 6.14.6claudiahdz2020-07-13239-728/+908
| | | | | | | PR-URL: https://github.com/nodejs/node/pull/34246 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
* deps: upgrade npm to 6.14.5Ruy Adorno2020-07-13185-797/+567
| | | | | | PR-URL: https://github.com/nodejs/node/pull/33239 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
* http: disable headersTimeout check when set to zeroPaolo Insogna2020-07-023-3/+58
| | | | | | PR-URL: https://github.com/nodejs/node/pull/33307 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
* doc,n-api: mark napi_detach_arraybuffer as experimentallegendecas2020-07-011-0/+2
| | | | | | | | | | | As its actual release stage. PR-URL: https://github.com/nodejs/node/pull/30703 Backport-PR-URL: https://github.com/nodejs/node/pull/33061 Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
* n-api: implement napi_is_detached_arraybufferDenys Otrishko2020-07-015-0/+91
| | | | | | | | | | | | | | | | This implements ArrayBuffer#IsDetachedBuffer operation as per ECMAScript specification Section 24.1.1.2 https://tc39.es/ecma262/#sec-isdetachedbuffer Closes: https://github.com/nodejs/node/issues/29955 PR-URL: https://github.com/nodejs/node/pull/30613 Backport-PR-URL: https://github.com/nodejs/node/pull/33061 Fixes: https://github.com/nodejs/node/issues/29955 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
* n-api: add `napi_detach_arraybuffer`legendecas2020-07-016-1/+95
| | | | | | | | | | | | | | | As ArrayBuffer#detach is an ecma spec operation ([Section 24.1.1.3](https://tc39.es/ecma262/#sec-detacharraybuffer)), it might be good to have it in N-API. Fixes: https://github.com/nodejs/node/issues/29674 PR-URL: https://github.com/nodejs/node/pull/29768 Backport-PR-URL: https://github.com/nodejs/node/pull/33061 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
* Revert "test: mark empty udp tests flaky on OS X"Luigi Pinca2020-07-011-7/+0
| | | | | | | | This reverts commit 24a4f76709bd9edc8d86e9f3fb4d5e3c7d4c3d69. PR-URL: https://github.com/nodejs/node/pull/32489 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
* doc: document fs.watchFile() bigint optioncjihrig2020-07-011-1/+6
| | | | | | | | | | This commit documents the bigint option to fs.watchFile(), which has been supported since v10.5.0. PR-URL: https://github.com/nodejs/node/pull/32128 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com>