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.12.0 proposal #35285

Merged
merged 73 commits into from Sep 22, 2020
Merged

V14.12.0 proposal #35285

merged 73 commits into from Sep 22, 2020

Commits on Sep 17, 2020

  1. doc: use correct Error type for EventEmitter.defaultMaxListener

    If a bad value is assigned to EventEmitter.defaultMaxListener, a
    RangeError is thrown and not a TypeError. Update documentation to
    reflect this.
    
    PR-URL: #35069
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    fb89be6 View commit details
    Browse the repository at this point in the history
  2. test: add more valid results to test-trace-atomics-wait

    The two starting `Atomics.wait()` operations are not ordered,
    but the test assumed a specific ordering because of the latency
    that comes with spinning up a Worker thread.
    
    Add variants of the existing potential valid results that account
    for the reverse ordering.
    
    Fixes: #35059
    
    PR-URL: #35066
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    25f93f3 View commit details
    Browse the repository at this point in the history
  3. Revert "build: require "allow edits" to be checked"

    This reverts commit 07423b5.
    
    Refs: #35002 (comment)
    
    PR-URL: #35094
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    f3c45a1 View commit details
    Browse the repository at this point in the history
  4. test: separate the test fixtures between ICU and URL

    We need to emit dependency of ICU's toASCII in order to update the WPT
    fixtures. Since ICU and URL isn't the same implementation and they also
    follow different specifications. ICU's toASCII shouldn't have a
    dependency on WPT fixtures.
    
    Refs: #33770 (comment)
    PR-URL: #35077
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Leko authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    9faaa65 View commit details
    Browse the repository at this point in the history
  5. doc: make minor improvements to module.md

    * sort references in ASCII order
    * replace abbreviation
    * split comma splice into two sentences and add appropriate punctuation
    * replace future tense with present tense
    
    PR-URL: #35083
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    1cf9934 View commit details
    Browse the repository at this point in the history
  6. test: fix comment about DNS lookup test

    PR-URL: #35080
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    tniessen authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    bc38485 View commit details
    Browse the repository at this point in the history
  7. crypto: improve randomInt out-of-range error message

    Previously, the crypto.randomInt() message when "max" was less than or
    equal to "min" made it sound like the lower bound for "max" was
    hard-coded. Make it clear that it is instead dynamic based on the value
    of "min".
    
    For crypto.randomInt(10,0):
    
    Before:
    RangeError [ERR_OUT_OF_RANGE]: The value of "max" is out of range. It
    must be > 10. Received 0
    
    After:
    
    RangeError [ERR_OUT_OF_RANGE]: The value of "max" is out of range. It
    must be greater than the value of "min" (10). Received 0
    
    PR-URL: #35088
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    3573545 View commit details
    Browse the repository at this point in the history
  8. crypto: improve invalid arg type message for randomInt()

    Use "must be a safe integer" rather than "must be safe integer". I
    believe the former is more easily understood/clear.
    
    PR-URL: #35089
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    1bb0ed3 View commit details
    Browse the repository at this point in the history
  9. test: remove setMaxListeners in test-crypto-random

    This appears to be a remnant from
    413d38c.
    
    PR-URL: #35079
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    tniessen authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    6627c1f View commit details
    Browse the repository at this point in the history
  10. doc: avoid double-while sentence in perf_hooks.md

    This improves readability, as well as awkward reptition of the word
    _while_ with two different meanings in a single sentence.
    
    Refs: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/w/while
    
    PR-URL: #35078
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    0a2610a View commit details
    Browse the repository at this point in the history
  11. doc: add note about path.basename on Windows

    PR-URL: #35065
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    tniessen authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    93e4d54 View commit details
    Browse the repository at this point in the history
  12. test: revise test-policy-integrity

    * eliminate unneeded Set deletion/cleanup
    * use number of CPUs as limit for processes spawned rather than
      hard-coding the limit
    
    PR-URL: #35101
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    379c5ce View commit details
    Browse the repository at this point in the history
  13. module: fix specifier resolution option value

    Fixes: #35095
    
    PR-URL: #35098
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    himself65 authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    314483c View commit details
    Browse the repository at this point in the history
  14. doc: fix broken links in deprecations.md

    PR-URL: #35109
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    79c6d92 View commit details
    Browse the repository at this point in the history
  15. doc: fix broken link in fs.md

    PR-URL: #35111
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    f4e958f View commit details
    Browse the repository at this point in the history
  16. doc: fix broken link in http2.md

    PR-URL: #35112
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    5c8d208 View commit details
    Browse the repository at this point in the history
  17. doc: fix broken link in perf_hooks.md

    PR-URL: #35113
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    aa93c1c View commit details
    Browse the repository at this point in the history
  18. doc,test: specify and test CLI option precedence rules

    Refs: #35098 (comment)
    
    PR-URL: #35106
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    addaleax authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    b75822d View commit details
    Browse the repository at this point in the history
  19. esm: better package.json parser errors

    PR-URL: #35117
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    guybedford authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    6e622d6 View commit details
    Browse the repository at this point in the history
  20. doc: update security process

    - update security process to reflect current way
      to request tweet/retweet of security release
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #35107
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Ash Cripps <ashley.cripps@ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    mhdawson authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    122edad View commit details
    Browse the repository at this point in the history
  21. deps: update to uvwasi 0.0.11

    Notable changes:
    
    - Several issues have been addressed in uvwasi_fd_readdir().
      A bug in the copying of the directory entry's name has been fixed.
      The function now returns UVWASI_ENOSYS on Windows and Android.
      Serdes support has been added for uvwasi_dirent_t's.
    - The libuv dependency has been updated to v1.39.0.
    
    PR-URL: #35104
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    d4389b5 View commit details
    Browse the repository at this point in the history
  22. doc: add missing changes entry for breakEvalOnSigint REPL option

    PR-URL: #35143
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    46b9f4b View commit details
    Browse the repository at this point in the history
  23. doc: update my email address

    Update email address to reflect move to
    Red Hat
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #35121
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    mhdawson authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    f4e714a View commit details
    Browse the repository at this point in the history
  24. errors: simplify ERR_REQUIRE_ESM message generation

    Because of the condition that starts the `if` block, we know that
    `parentPath` must be truthy. So there is no need to check for that in
    the template string that generates the error message.
    
    PR-URL: #35123
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    4bde865 View commit details
    Browse the repository at this point in the history
  25. doc: simplify circular dependencies text in modules.md

    PR-URL: #35126
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    df70861 View commit details
    Browse the repository at this point in the history
  26. http: allow Content-Length header for 304 responses

    Fixes: #31037
    
    PR-URL: #34835
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BlackYoup authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    977b0ed View commit details
    Browse the repository at this point in the history
  27. meta: update my collab entry

    PR-URL: #35160
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    devsnek authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    f21a5c6 View commit details
    Browse the repository at this point in the history
  28. buffer: adjust validation to account for buffer.kMaxLength

    PR-URL: #35134
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    addaleax authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    5229ffa View commit details
    Browse the repository at this point in the history
  29. http: only set keep-alive when not exists

    PR-URL: #35138
    Fixes: #34561
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    atian25 authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    8ea2853 View commit details
    Browse the repository at this point in the history
  30. doc: update contact info for Ash Cripps

    PR-URL: #35139
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Ash Cripps authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    331142c View commit details
    Browse the repository at this point in the history
  31. doc: fix left nav color contrast

    I believe this is the last change to make in the docs for color contrast
    accessibility per WCAG AA.
    
    Currently, the current item in the nav is #43853d on a #333333
    background for a color contrast of 2.8:1, failing WCAG AA. This swaps in
    removes a confusing bottom border on the item, replacing it with
    bolding to preserve the item's highlighting.
    
    PR-URL: #35141
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    7dbcd24 View commit details
    Browse the repository at this point in the history
  32. doc: improve table accessibility

    The compatibility matrix in the N-API doc needs row headers for
    accessibility purposes. Unfortunately, those aren't possible in markdown
    without resorting to HTML markup. So this converts the table from
    markdown to HTML. This is less convenient for documentation authors and
    for other readers of the raw markdown docs, but I believe accessibility
    for the viewers of our HTML docs outweighs that concern.
    
    PR-URL: #35146
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    e410514 View commit details
    Browse the repository at this point in the history
  33. doc: perform minor cleanup on cli.md

    * sort references in ASCII order
    * merge logically-connected single-sentence paragraphs
    * remove _please_ from referrals to other docs
    * remove unnecessary italics
    * make some text more concise
    * change some instances of future tense to present tense
    
    PR-URL: #35152
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    ae85228 View commit details
    Browse the repository at this point in the history
  34. meta: add links to OpenJSF Slack

    The OpenJS Foundation has an official Slack, and the Node.js project has
    many channels there for working groups as well as for general
    discussions. Add links to the workspace and channels for folks who want
    to join.
    
    PR-URL: #35128
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    mmarchini authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    12f2934 View commit details
    Browse the repository at this point in the history
  35. doc: fix minor punctuation issue in path.md

    PR-URL: #35127
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    amilajack authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    99785e4 View commit details
    Browse the repository at this point in the history
  36. build: filter issues & PRs to auto close by matching on stalled label

    The auto closing of issues & PRs labelled with `stalled` doesn't seem
    to be working as expected. The GitHub Action UI gives the impression
    the stale action tries to execute more operations than it is allowed to
    do.
    
    Previously there was no filtering on issues & PRs. So when it tries to
    fetch all the currently open issues, checking whether or not they should
    be get closed, it would have to perform quite a few requests pagination
    requests to get the information needed.
    
    Knowing that we only care about issues & PRs already labelled `stalled`,
    we can provide the [`only-labels`](https://github.com/actions/stale/blob/13b324e4b28a2708236aadb11361fa65af60d201/action.yml#L38)
    option to make sure we only fetch relevant issues.
    
    Refs #35144
    
    PR-URL: #35159
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    phillipj authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    f2cc1c2 View commit details
    Browse the repository at this point in the history
  37. doc: perform cleanup on security-release-process.md

    These are exceedingly minor, but I'm doing them anyway for consistency
    across our docs (whether internal process docs or user-facing docs).
    
    * ASCII order for references
    * Minor punctuation adjustments
    * Use product capitalization for Twitter and Slack
    * Sentence-case for header
    
    PR-URL: #35154
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    e8d479e View commit details
    Browse the repository at this point in the history
  38. doc: add missing copyFile change history

    PR-URL: #35056
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    codebytere authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    dc4c569 View commit details
    Browse the repository at this point in the history
  39. doc: fix broken links in modules.md

    PR-URL: #35182
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    176e9e4 View commit details
    Browse the repository at this point in the history
  40. doc: update process.release

    `process.release` documentation is out of date. This commit makes it up
    to date.
    
    PR-URL: #35167
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    schamberg97 authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    32d1731 View commit details
    Browse the repository at this point in the history
  41. doc: update eventLoopUtilization documentation

    PR-URL: #35155
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    aea3f77 View commit details
    Browse the repository at this point in the history
  42. tools: update ESLint to 7.9.0

    Update ESLint to 7.9.0
    
    PR-URL: #35170
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    cjihrig authored and ruyadorno committed Sep 17, 2020
    Copy the full SHA
    0a97f44 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2020

  1. doc: remove problematic auto-linking of curl man pages

    The only instance of curl man page linking is in repl.md and it is
    explicit. The magic autolinking in html.js creates a superfluous empty
    link. Remove it.
    
    Before, two adjacent links generated, with the first one having no text:
    
    ```html
    <a href="https://curl.haxx.se/docs/manpage.html"></a>
    <a href="https://curl.haxx.se/docs/manpage.html"><code>curl(1)</code></a>
    ```
    
    After, just one link:
    
    ```html
    <a href="https://curl.haxx.se/docs/manpage.html"><code>curl(1)</code></a>
    ```
    
    PR-URL: #35174
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    066148d View commit details
    Browse the repository at this point in the history
  2. test: improve pummel/test-timers.js

    * use Date.now() instead of new Date() because only the timestamp is
      ever used, so we don't need the full Date object
    * use separate start times recorded for the two different test cases
    * improve assertion messages
    
    PR-URL: #35175
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    49da459 View commit details
    Browse the repository at this point in the history
  3. module: use isURLInstance instead of instanceof

    PR-URL: #34951
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    aduh95 authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    76e24f9 View commit details
    Browse the repository at this point in the history
  4. fs: loosen validation to allow objects with an own toString function

    PR-URL: #34993
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    ljharb authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    beb75bd View commit details
    Browse the repository at this point in the history
  5. doc: fix broken link in crypto.md

    URL that lacks a scheme gets treated as a relative URL. Add missing
    `https://`.
    
    PR-URL: #35181
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    910deff View commit details
    Browse the repository at this point in the history
  6. doc: fix deprecation documentation inconsistencies

    PR-URL: #35082
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    c1e16d1 View commit details
    Browse the repository at this point in the history
  7. doc: fix missing word in dgram.md

    The word "cannot" is missing from this sentence
    
    PR-URL: #35231
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Nibbler999 authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    e5fffe2 View commit details
    Browse the repository at this point in the history
  8. doc: replace "you should do X" with "do X"

    PR-URL: #35194
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    70ec369 View commit details
    Browse the repository at this point in the history
  9. doc: use command-line/command line consistently

    Docs switch between "command line" and "command-line" with no apparent
    uniformity. Microsoft Style Guide prescribes "command line" as a noun
    and "command-line" as a modifier, which makes a lot of sense to me.
    Updating docs as appropriate.
    
    PR-URL: #35198
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    c1c93a6 View commit details
    Browse the repository at this point in the history
  10. doc: remove "end user"

    We use "end user" in ambiguous ways. Sometimes we mean the developer,
    and sometimes we mean the application user. Use "developer" where
    developer is meant.
    
    Refs: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/u/user-end-user
    
    PR-URL: #35200
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    dbfd3b2 View commit details
    Browse the repository at this point in the history
  11. doc: add technical values document

    As part of the [next-10](https://github.com/nodejs/next-10) we found
    we needed to capture the project's technical values/priorities as
    a starting point before discussing key technologies/areas for the
    next 10 years of Node.js
    
    This is a first cut that the team put together. The discussion
    took place in a few meetings as well as this
    [PR](nodejs/next-10#11). We believe the doc
    should live in the core node repository as it is intended to
    reflect the agreement of the collaborator base.
    
    I think this is a good starting point but we also
    acknowledge that only a small subset of the Node.js collaborators
    have participated/commented so far. This PR should be a good
    way to get additional review/input from the larger set
    of Node.js collaborators.
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #35145
    Reviewed-By: Christopher Hiller <boneskull@boneskull.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Ruy Adorno <ruyadorno@github.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ash Cripps <acripps@redhat.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Pranshu Srivastava <rexagod@gmail.com>
    mhdawson authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    92a14d3 View commit details
    Browse the repository at this point in the history
  12. build: increase API requests for stale action

    The second attempt at getting the auto closing of issues & PRs to work
    as expected without hitting a maximum operations allowed error we've
    been seeing.
    
    Recently discovered that the mentioned error is actually self imposed
    by the stale action itself. It keeps track of how many outgoing GitHub
    API requests it performs, and if that count exceeds the configured
    `operations-per-run` option, it exits to avoid hitting API rate limits.
    
    Default `operations-per-run` value is set to `30`.
    
    That's a very low limit and we're not at all concerned hitting that
    rate limit as of now, so we're bumping `operations-per-run` to `500`
    with these changes.
    
    Refs #35144
    
    PR-URL: #35235
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    phillipj authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    3d78686 View commit details
    Browse the repository at this point in the history
  13. test: add wasi readdir() test

    This commit provides coverage for __wasi_fd_readdir().
    
    PR-URL: #35202
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    cjihrig authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    8357b56 View commit details
    Browse the repository at this point in the history
  14. doc: fix small grammatical issues in timers.md

    PR-URL: #35203
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    wjabbour authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    64ac5c6 View commit details
    Browse the repository at this point in the history
  15. n-api: add more property defaults

    Add a default value for class method and js like property in enum
    napi_property_attributes.
    
    n-api currently offers only one default which is non configurable,
    non writable, non enumerable - like Object.defineProperty(). While
    this is formal correct the usual way to create properties in JS is
    either by defining a class or use obj.prop = value.
    
    The defaults from these variants are now backed into enum values.
    
    PR-URL: #35214
    Refs: nodejs/node-addon-api#811
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Flarna authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    7f3b2b2 View commit details
    Browse the repository at this point in the history
  16. doc: fix header level for error code

    PR-URL: #35219
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    2308be0 View commit details
    Browse the repository at this point in the history
  17. doc: add issue labels sections to release guide

    PR-URL: #35224
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    targos authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    7610fe5 View commit details
    Browse the repository at this point in the history
  18. doc: update attributes used by n-api samples (#35220)

    Update n-api samples to create object properties matching to the JS defaults.
    
    Using non configurable, non writable properties has its usecases but
    the JS default for class methods is `configurable` and `writable`.
    Js properties set by JS code `obj.prop = val` are `configurable`, `writable`
    and `enumerable`.
    Flarna authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    6d4ab36 View commit details
    Browse the repository at this point in the history
  19. doc: clarify use of NAPI_EXPERIMENTAL

    We've had a few questions about APIs not being available which
    were related to not having specified `NAPI_EXPERIMENTAL`.
    
    Add some additional documentation to explain this common
    issue:
    
    Refs: nodejs/node-addon-api#810
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #35195
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    mhdawson authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    6119e95 View commit details
    Browse the repository at this point in the history
  20. n-api: create N-API version 7

    Mark `napi_detach_arraybuffer` and `napi_is_detached_arraybuffer` as
    stable.
    
    Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
    PR-URL: #35199
    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>
    Gabriel Schulhof authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    ca11816 View commit details
    Browse the repository at this point in the history
  21. doc: relax prohibition on personal pronouns

    Our personal pronoun prohibition is contrary to most current technical
    documentation style guides. The prohibition on personal pronouns comes
    from academic style guides. It results in an unnecessary formal tone. It
    encourages wordiness and the overuse of passive voice.
    
    This change to our style guide more closely aligns us with the style
    guides of companies like Google, IBM, and  Microsoft.
    
    Google's style guide suggests avoiding first-person pronouns and
    suggests: "Use the second-person pronoun (_you_) whenever possible."
    Refs: https://developers.google.com/style/pronouns#personal-pronouns
    
    IBM's style guide also recommends second-person voice ("Use second
    person ('you')").
    Refs: https://www.ibm.com/developerworks/library/styleguidelines/index.html
    
    Similarly, Microsoft's style guide recommends using first person
    sparingly and avoiding first-person plural. "In general, use second
    person".
    Refs: https://docs.microsoft.com/en-us/style-guide/grammar/person#in-general-use-second-person
    
    PR-URL: #34353
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    d195d20 View commit details
    Browse the repository at this point in the history
  22. doc: sort repl references in ASCII order

    PR-URL: #35230
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    b9161f4 View commit details
    Browse the repository at this point in the history
  23. doc: remove excessive formatting in dgram.md

    PR-URL: #35234
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    b62d9b4 View commit details
    Browse the repository at this point in the history
  24. doc: clarify napi_property_attributes text

    * Rearrange sentence to avoid ambiguity whether the entire sentence
      applies to a method in a JS class or just the "but not" part
    * Use serial comma
    * Correct spelling of _configurable_
    
    PR-URL: #35253
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    2bc335d View commit details
    Browse the repository at this point in the history
  25. test: improve assertions in pummel/test-timers

    * Timers should not fire early. Check for that.
    * Allow the wiggle-room to increase on subsequent iterations of
      intervals.
    
    PR-URL: #35216
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    e29e2da View commit details
    Browse the repository at this point in the history
  26. doc: revise stability section of values doc

    Make the section a bit shorter and comply with minor elements of
    Microsoft Style Guide.
    
    PR-URL: #35242
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    d82dd0c View commit details
    Browse the repository at this point in the history
  27. doc: standardize on _backward_

    We use _backward incompatible_ and _backwards incompatible_ with no
    discernible pattern in the docs. Follow Chicago Manual of Style and also
    our standardization on US English and favor _backward_.
    
    PR-URL: #35243
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Trott authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    b860a7f View commit details
    Browse the repository at this point in the history
  28. readline: fix key name for function keys with modifiers

    Fixes: #35251
    
    PR-URL: #35268
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    elie-g authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    4f4faa8 View commit details
    Browse the repository at this point in the history
  29. https: set requestTimeout default to 0

    Fixes: #35261
    
    PR-URL: #35264
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ronag authored and ruyadorno committed Sep 21, 2020
    Copy the full SHA
    d8b5714 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2020

  1. doc: use present tense in error messages

    Error messages are a mix of present and past tense. They should be
    mostly or entirely present tense. This eliminates the past tense
    constructions "was found" and "were found".
    
    Backport-PR-URL: #35247
    PR-URL: #35164
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and ruyadorno committed Sep 22, 2020
    Copy the full SHA
    836680a View commit details
    Browse the repository at this point in the history
  2. 2020-09-22, Version 14.12.0 (Current)

    Notable changes:
    
    - deps:
      - update to uvwasi 0.0.11 (Colin Ihrig)
      [#35104](#35104)
    - n-api:
      - create N-API version 7 (Gabriel Schulhof)
      [#35199](#35199)
      - add more property defaults (Gerhard Stoebich)
      [#35214](#35214)
    
    PR-URL: #35285
    ruyadorno committed Sep 22, 2020
    Copy the full SHA
    efd5c83 View commit details
    Browse the repository at this point in the history