-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v14.x backport] node-api: faster threadsafe_function #38543
Commits on May 1, 2021
-
assert: change status of legacy asserts
Previously marked deprecated, but these are unlikely to ever see breaking changes or complete removal. Mark as legacy instead. Signed-off-by: James M Snell <[email protected]> PR-URL: nodejs#38113 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f65eadc - Browse repository at this point
Copy the full SHA f65eadcView commit details -
deps: V8: cherry-pick 501482cbc704
Original commit message: Fix ValueDeserializer::ReadDouble() bounds check If end_ is smaller than sizeof(double), the result would wrap around, and lead to an invalid memory access. Refs: nodejs#37978 Change-Id: Ibc8ddcb0c090358789a6a02f550538f91d431c1d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2801353 Reviewed-by: Marja Hölttä <[email protected]> Commit-Queue: Marja Hölttä <[email protected]> Cr-Commit-Position: refs/heads/master@{#73800} PR-URL: nodejs#38121 Fixes: nodejs#37978 Refs: v8/v8@501482cbc704 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8951c19 - Browse repository at this point
Copy the full SHA 8951c19View commit details -
test: add regression test for serdes readDouble()
Refs: nodejs#37978 PR-URL: nodejs#38121 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa0d814 - Browse repository at this point
Copy the full SHA aa0d814View commit details -
test: fix flaky test-zlib-unused-weak.js
PR-URL: nodejs#38149 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e999da7 - Browse repository at this point
Copy the full SHA e999da7View commit details -
test: remove unneeded m flag on regular expressions
The m flag has no effect on regular expressions that don't match the start or the end of a line. PR-URL: nodejs#38124 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 552c945 - Browse repository at this point
Copy the full SHA 552c945View commit details -
Added the link redirecting to the V8 engine github repository just like libuv. PR-URL: nodejs#38144 Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 424c8e1 - Browse repository at this point
Copy the full SHA 424c8e1View commit details -
test: skip test-hash-seed on armv6 and armv7
The test is too slow to run on the Raspberry Pi bots. (It takes over 900 seconds to run on Pi 3 bots and even more than that on Pi 2 bots.) Skip it on armv6 and armv7. Refs: nodejs#34289 PR-URL: nodejs#34289 Reviewed-By: Richard Lau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7981da - Browse repository at this point
Copy the full SHA c7981daView commit details -
test: skip test-vm-memleak in ASAN
ASAN increases memory usage, which in turn messes up the memory leak test. Skip the test on ASAN. PR-URL: nodejs#34289 Reviewed-By: Richard Lau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 058abbe - Browse repository at this point
Copy the full SHA 058abbeView commit details -
build: don't run test workflow on doc dir on macOS
Leaving it in the Linux workflow because addons tests are affected by changes to addons.md example code. So we need to keep that running somewhere for docs changes, but one platform seems sufficient. PR-URL: nodejs#37999 Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5667d0a - Browse repository at this point
Copy the full SHA 5667d0aView commit details -
test: skip fs.watch() test on IBMi
We've added pummel tests to CI, so we need to add a skip for IBMi for the fs.watch() test there as we have for all the fs.watch() tests elsewhere. PR-URL: nodejs#38192 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce70ea8 - Browse repository at this point
Copy the full SHA ce70ea8View commit details -
doc: mention cryptographic prng in description of randomUUID
PR-URL: nodejs#38074 Refs: nodejs#36729 Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4350bf5 - Browse repository at this point
Copy the full SHA 4350bf5View commit details -
doc: update links in ICU guide
PR-URL: nodejs#38177 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7c8722 - Browse repository at this point
Copy the full SHA c7c8722View commit details -
benchmark: improve compare.R output
PR-URL: nodejs#38118 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c00c31c - Browse repository at this point
Copy the full SHA c00c31cView commit details -
doc: add command flag to import.meta.resolve
import.meta.resolve is only available under --experimental-import-meta-resolve cli flag. Source: https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/modules/esm/translators.js#L132 PR-URL: nodejs#38171 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be28376 - Browse repository at this point
Copy the full SHA be28376View commit details -
doc: clarify child_process close event
clarify the 'close' event description in the child_process docs. fixes: nodejs#37998 PR-URL: nodejs#38181 Fixes: nodejs#37998 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb8db84 - Browse repository at this point
Copy the full SHA bb8db84View commit details -
test: add undefined fatalException exit code test
Add a test that checks the exit code when _fatalException is undefined PR-URL: nodejs#38119 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 605f830 - Browse repository at this point
Copy the full SHA 605f830View commit details -
crypto: reduce range of size to int max
Refs: nodejs#38090 PR-URL: nodejs#38096 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 723977f - Browse repository at this point
Copy the full SHA 723977fView commit details -
test: fix typo in gtest-all.cc
separater -> separator PR-URL: nodejs#38224 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 95c7dab - Browse repository at this point
Copy the full SHA 95c7dabView commit details -
test: fix typo in comment in binding.c
PR-URL: nodejs#38220 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a4275ee - Browse repository at this point
Copy the full SHA a4275eeView commit details -
doc: standardize command flag notes
remove italic styling from command flag notes PR-URL: nodejs#38199 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6c599b - Browse repository at this point
Copy the full SHA e6c599bView commit details -
util: add getSystemErrorMap() impl
PR-URL: nodejs#38101 Fixes: nodejs#37951 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 08a6d9e - Browse repository at this point
Copy the full SHA 08a6d9eView commit details -
typings: add JSDoc types to lib/path
PR-URL: nodejs#38186 Reviewed-By: Bradley Farias <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2c2f2b - Browse repository at this point
Copy the full SHA e2c2f2bView commit details -
test: fix test-https-agent-additional-options.js
`value` was always being assigned to an `undefined` property of an Array. Thus, the assertions that depended on `value` being defined were never being checked. Assign `value` the correct...er...value. PR-URL: nodejs#38202 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 796007b - Browse repository at this point
Copy the full SHA 796007bView commit details -
test: add tests for missing https agent options
Add test that minVersion and maxVersion options are accepted. This should complete coverage for lib/https.js. Refs: https://codecov.io/gh/nodejs/node/src/ec0dcd720e10831b3e783b415c5dc011ed5be2f8/lib/https.js PR-URL: nodejs#38202 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae44e5f - Browse repository at this point
Copy the full SHA ae44e5fView commit details -
doc: revise TLS minVersion/maxVersion text
Minor changes mostly to improve compliance with our style guide. PR-URL: nodejs#38202 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5dfe5af - Browse repository at this point
Copy the full SHA 5dfe5afView commit details -
typings: add JSDoc typings for assert
PR-URL: nodejs#38188 Reviewed-By: Bradley Farias <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 530e69e - Browse repository at this point
Copy the full SHA 530e69eView commit details -
PR-URL: nodejs#38250 Fixes: nodejs#38040 Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec4be2d - Browse repository at this point
Copy the full SHA ec4be2dView commit details -
typings: add JSDoc typings for http
PR-URL: nodejs#38191 Reviewed-By: Bradley Farias <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60c7591 - Browse repository at this point
Copy the full SHA 60c7591View commit details -
doc: change "oject" to "object"
PR-URL: nodejs#38256 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9265027 - Browse repository at this point
Copy the full SHA 9265027View commit details -
test: fixup failing test/internet/test-dns.js
The `ttl` for the `nodejs.org` DNS record is returning `0` currently. The test checks for `> 0`, causing the test to fail. Signed-off-by: James M Snell <[email protected]> PR-URL: nodejs#38241 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea1183c - Browse repository at this point
Copy the full SHA ea1183cView commit details -
dns: refactor cares_wrap internals
Signed-off-by: James M Snell <[email protected]> PR-URL: nodejs#38172 Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46651b6 - Browse repository at this point
Copy the full SHA 46651b6View commit details -
"entires" -> "entries" PR-URL: nodejs#38244 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 885ed96 - Browse repository at this point
Copy the full SHA 885ed96View commit details -
buffer,errors: add missing n literal in range error string
PR-URL: nodejs#37750 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Pooja D P <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0544410 - Browse repository at this point
Copy the full SHA 0544410View commit details -
typings: add JSDoc Types to lib/querystring
PR-URL: nodejs#38185 Reviewed-By: Michaël Zasso <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 599434a - Browse repository at this point
Copy the full SHA 599434aView commit details -
typings: add JSDoc to os module functions
PR-URL: nodejs#38197 Reviewed-By: Bradley Farias <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for face4b8 - Browse repository at this point
Copy the full SHA face4b8View commit details -
test: fix flaky test-dns and test-dns-lookup
Ubuntu 16.04 is going to be unsupported after April 2021. Switching Node.js CI to Ubuntu 18.04 for the internet tests resulted in failures in test-dns and test-dns-lookup because it returns server failure/try again on .invalid domain. Add a hostname for testing that will return record not found. PR-URL: nodejs#38282 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e81ded - Browse repository at this point
Copy the full SHA 2e81dedView commit details -
src: cache some context in locals
Refs: nodejs@66566df PR-URL: nodejs#37473 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ed770e - Browse repository at this point
Copy the full SHA 5ed770eView commit details -
tools: skip macOS GitHub Actions test on doc-only changes
We skip macOS GitHub Actions pushes on doc-only changes but the intention was no doubt to skip them on pull requests too. We still run the tests on Linux, so addons tests will still run when addons docs change. PR-URL: nodejs#38296 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed7c0d7 - Browse repository at this point
Copy the full SHA ed7c0d7View commit details -
doc: harmonize changes list ordering
Refs: nodejs/remark-preset-lint-node#139 PR-URL: nodejs#35454 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Khaidi Chu <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e7f74c - Browse repository at this point
Copy the full SHA 2e7f74cView commit details -
tools: bump remark-lint-preset-node to 1.17.1
Bump [email protected] to [email protected]. Refs: nodejs/remark-preset-lint-node#139 PR-URL: nodejs#35668 Reviewed-By: Ben Coe <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cbb0a45 - Browse repository at this point
Copy the full SHA cbb0a45View commit details -
tools: bump remark-lint-preset-node to 2.0.0
Update [email protected], [email protected] and other dependencies in the lint-md rollup. PR-URL: nodejs#35905 Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Shelley Vohr <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac70a59 - Browse repository at this point
Copy the full SHA ac70a59View commit details -
tools: update ini in tools/node-lint-md-cli-rollup
Refs: nodejs#36473 Refs: GHSA-qqgx-2p2h-9c37 PR-URL: nodejs#36474 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c8f77f2 - Browse repository at this point
Copy the full SHA c8f77f2View commit details -
tools: update all lint-md rollup dependencies
PR-URL: nodejs#36843 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for abd45d3 - Browse repository at this point
Copy the full SHA abd45d3View commit details -
tools: bump remark-present-lint-node from 2.0.0 to 2.0.1
This is a prerequisite for nodejs#37259. PR-URL: nodejs#37270 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5afaeaf - Browse repository at this point
Copy the full SHA 5afaeafView commit details -
tools: update remark-preset-lint-node to 2.1.1
PR-URL: nodejs#37604 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b76aa10 - Browse repository at this point
Copy the full SHA b76aa10View commit details -
tools: update glob-parent to 5.1.2
In the markdown linting rollup script, update glob-parent to 5.1.2. Refs: https://app.snyk.io/vuln/SNYK-JS-GLOBPARENT-1016905 PR-URL: nodejs#37646 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c49953 - Browse repository at this point
Copy the full SHA 2c49953View commit details -
Tests don't fix things generally, so use "Refs:" to refer people to GitHub issues. PR-URL: nodejs#34568 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd95bf3 - Browse repository at this point
Copy the full SHA cd95bf3View commit details -
test: move buffer-as-path symlink test to its own test file
The buffer-as-path test for fs.symlinkSync() is a bit unusual and potentially error-prone embedded in the general fs.symlink() test. Move it to its own test file. Refs: https://github.com/nodejs/node/pull/34540/files#r463168354 PR-URL: nodejs#34569 Reviewed-By: Pranshu Srivastava <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 93c917c - Browse repository at this point
Copy the full SHA 93c917cView commit details
Commits on May 5, 2021
-
node-api: faster threadsafe_function
Invoke threadsafe_function during the same tick and avoid marshalling costs between threads and/or churning event loop if either: 1. There's a queued call already 2. `Push()` is called while the main thread was running threadsafe_function PR-URL: nodejs#38506 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c9726b - Browse repository at this point
Copy the full SHA 9c9726bView commit details