Skip to content
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

Closed
wants to merge 49 commits into from

Commits on May 1, 2021

  1. 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]>
    jasnell authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    f65eadc View commit details
    Browse the repository at this point in the history
  2. 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]>
    cjihrig authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    8951c19 View commit details
    Browse the repository at this point in the history
  3. 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]>
    cjihrig authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    aa0d814 View commit details
    Browse the repository at this point in the history
  4. 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]>
    oyyd authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    e999da7 View commit details
    Browse the repository at this point in the history
  5. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    552c945 View commit details
    Browse the repository at this point in the history
  6. doc: add link to V8

    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]>
    VoltrexKeyva authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    424c8e1 View commit details
    Browse the repository at this point in the history
  7. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    c7981da View commit details
    Browse the repository at this point in the history
  8. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    058abbe View commit details
    Browse the repository at this point in the history
  9. 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]>
    ycjcl868 authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    5667d0a View commit details
    Browse the repository at this point in the history
  10. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    ce70ea8 View commit details
    Browse the repository at this point in the history
  11. doc: mention cryptographic prng in description of randomUUID

    PR-URL: nodejs#38074
    Refs: nodejs#36729
    Reviewed-By: Rich Trott <[email protected]>
    srknzl authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    4350bf5 View commit details
    Browse the repository at this point in the history
  12. 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]>
    targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    c7c8722 View commit details
    Browse the repository at this point in the history
  13. 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]>
    mscdex authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    c00c31c View commit details
    Browse the repository at this point in the history
  14. 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]>
    iguessitsokay authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    be28376 View commit details
    Browse the repository at this point in the history
  15. 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]>
    Linkgoron authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    bb8db84 View commit details
    Browse the repository at this point in the history
  16. 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]>
    Linkgoron authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    605f830 View commit details
    Browse the repository at this point in the history
  17. 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]>
    Ayase-252 authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    723977f View commit details
    Browse the repository at this point in the history
  18. 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]>
    eltociear authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    95c7dab View commit details
    Browse the repository at this point in the history
  19. 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]>
    tniessen authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    a4275ee View commit details
    Browse the repository at this point in the history
  20. 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]>
    iguessitsokay authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    e6c599b View commit details
    Browse the repository at this point in the history
  21. 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]>
    eladkishon authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    08a6d9e View commit details
    Browse the repository at this point in the history
  22. typings: add JSDoc types to lib/path

    PR-URL: nodejs#38186
    Reviewed-By: Bradley Farias <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Skn0tt authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    e2c2f2b View commit details
    Browse the repository at this point in the history
  23. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    796007b View commit details
    Browse the repository at this point in the history
  24. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    ae44e5f View commit details
    Browse the repository at this point in the history
  25. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    5dfe5af View commit details
    Browse the repository at this point in the history
  26. typings: add JSDoc typings for assert

    PR-URL: nodejs#38188
    Reviewed-By: Bradley Farias <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    VoltrexKeyva authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    530e69e View commit details
    Browse the repository at this point in the history
  27. src: fix finalization crash

    PR-URL: nodejs#38250
    Fixes: nodejs#38040
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    jasnell authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    ec4be2d View commit details
    Browse the repository at this point in the history
  28. typings: add JSDoc typings for http

    PR-URL: nodejs#38191
    Reviewed-By: Bradley Farias <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    VoltrexKeyva authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    60c7591 View commit details
    Browse the repository at this point in the history
  29. 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]>
    arkerone authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    9265027 View commit details
    Browse the repository at this point in the history
  30. 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]>
    jasnell authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    ea1183c View commit details
    Browse the repository at this point in the history
  31. dns: refactor cares_wrap internals

    Signed-off-by: James M Snell <[email protected]>
    
    PR-URL: nodejs#38172
    Reviewed-By: Matteo Collina <[email protected]>
    jasnell authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    46651b6 View commit details
    Browse the repository at this point in the history
  32. doc: fix typo in repl.md

    "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]>
    arkerone authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    885ed96 View commit details
    Browse the repository at this point in the history
  33. 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]>
    cactysman authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    0544410 View commit details
    Browse the repository at this point in the history
  34. typings: add JSDoc Types to lib/querystring

    PR-URL: nodejs#38185
    Reviewed-By: Michaël Zasso <[email protected]>
    Skn0tt authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    599434a View commit details
    Browse the repository at this point in the history
  35. 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]>
    xavdid authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    face4b8 View commit details
    Browse the repository at this point in the history
  36. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    2e81ded View commit details
    Browse the repository at this point in the history
  37. 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]>
    XadillaX authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    5ed770e View commit details
    Browse the repository at this point in the history
  38. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    ed7c0d7 View commit details
    Browse the repository at this point in the history
  39. 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]>
    aduh95 authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    2e7f74c View commit details
    Browse the repository at this point in the history
  40. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    cbb0a45 View commit details
    Browse the repository at this point in the history
  41. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    ac70a59 View commit details
    Browse the repository at this point in the history
  42. 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]>
    MylesBorins authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    c8f77f2 View commit details
    Browse the repository at this point in the history
  43. tools: update all lint-md rollup dependencies

    PR-URL: nodejs#36843
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    abd45d3 View commit details
    Browse the repository at this point in the history
  44. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    5afaeaf View commit details
    Browse the repository at this point in the history
  45. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    b76aa10 View commit details
    Browse the repository at this point in the history
  46. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    2c49953 View commit details
    Browse the repository at this point in the history
  47. test: change Fixes: to Refs:

    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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    cd95bf3 View commit details
    Browse the repository at this point in the history
  48. 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]>
    Trott authored and targos committed May 1, 2021
    Configuration menu
    Copy the full SHA
    93c917c View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. 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]>
    indutny committed May 5, 2021
    Configuration menu
    Copy the full SHA
    9c9726b View commit details
    Browse the repository at this point in the history