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

tools: bump remark-preset-lint-node to 1.15.0 #33157

Merged
merged 13 commits into from
May 2, 2020

Commits on Apr 30, 2020

  1. module: no type module resolver side effects

    PR-URL: nodejs#33086
    Reviewed-By: Jan Krems <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    guybedford committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    2496db8 View commit details
    Browse the repository at this point in the history
  2. stream: simplify Readable push/unshift logic

    PR-URL: nodejs#32899
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    himself65 authored and ronag committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    0bd24a6 View commit details
    Browse the repository at this point in the history
  3. vm: fix vm.measureMemory() and introduce execution option

    nodejs/node-v8#147 broke the
    `vm.measureMemory()` API. It only created a `MeasureMemoryDelegate` and
    without actually calling `v8::Isolate::MeasureMemory()` so the returned
    promise will never resolve. This was not caught by the tests because
    the promise resolvers were not wrapped with `common.mustCall()`.
    
    This patch migrates the API properly and also introduce the newly
    added execution option to the API. It also removes support for
    specifying contexts to measure - instead we'll just return the
    measurements for all contexts in the detailed mode, which is
    what the `performance.measureMemory()` prototype in V8 currently does.
    We can consider implementing our own `v8::MeasureMemoryDelegate`
    to select the target context in `ShouldMeasure()` in the future,
    but then we'll also need to implement `MeasurementComplete()`
    to assemble the result. For now it's probably too early to do that.
    
    Since this API is still experimental (and guarded with a warning),
    such breakage should be acceptable.
    
    Refs: nodejs/node-v8#147
    
    PR-URL: nodejs#32988
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    joyeecheung committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    5f2c4ce View commit details
    Browse the repository at this point in the history
  4. stream: fix stream.finished on Duplex

    finished would incorrectly believe that a Duplex is already
    closed if either the readable or writable side has completed.
    
    Fixes: nodejs#33130
    
    PR-URL: nodejs#33133
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    ronag committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    d84f131 View commit details
    Browse the repository at this point in the history
  5. stream: remove unused _transformState

    _transformState is no longer used since Transform was
    simplified.
    
    Refs: nodejs#32763
    
    PR-URL: nodejs#33105
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    ronag committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    e10e292 View commit details
    Browse the repository at this point in the history
  6. test: move test-process-title to sequential

    This test can fail when run in parallel with test-process-title-cli,
    which also sets the process title, which is global state on Windows.
    
    Example failure (note that `foo` does not appear in test-process-title
    but in test-process-title-cli):
    
        not ok 1727 parallel/test-process-title
          ---
          duration_ms: 0.156
          severity: fail
          exitcode: 1
          stack: |-
            assert.js:103
              throw new AssertionError(obj);
              ^
    
            AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
            + actual - expected
    
            + 'foo'
            - 'd:\\a\\node\\node\\out\\Release\\node.exe'
                at Object.<anonymous> (d:\a\node\node\test\parallel\test-process-title.js:22:1)
                at Module._compile (internal/modules/cjs/loader.js:1176:30)
                at Object.Module._extensions..js (internal/modules/cjs/loader.js:1196:10)
                at Module.load (internal/modules/cjs/loader.js:1040:32)
                at Function.Module._load (internal/modules/cjs/loader.js:929:14)
                at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
                at internal/main/run_main_module.js:17:47 {
              generatedMessage: true,
              code: 'ERR_ASSERTION',
              actual: 'foo',
              expected: 'd:\\a\\node\\node\\out\\Release\\node.exe',
              operator: 'strictEqual'
            }
          ...
    
    (from https://github.com/nodejs/node/runs/628144750?check_suite_focus=true)
    
    PR-URL: nodejs#33150
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    addaleax authored and puzpuzpuz committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    ab41b98 View commit details
    Browse the repository at this point in the history
  7. deps: V8: backport e29c62b74854

    Original commit message:
    
        [arraybuffer] Clean up BackingStore even if it pointer to nullptr
    
        For a zero-length BackingStore allocation, it is valid for the
        underlying memory to be a null pointer. However, some cleanup
        is still necessary, since the BackingStore may hold a reference
        to the allocator itself, which needs to be released when destroying
        the `BackingStore` instance.
    
        Change-Id: I1f168079d39e4592d2fde31fbe5f705586690e85
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2169646
        Reviewed-by: Ulan Degenbaev <[email protected]>
        Commit-Queue: Ulan Degenbaev <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#67420}
    
    Refs: v8/v8@e29c62b
    
    PR-URL: nodejs#33125
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    addaleax committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    4b2d958 View commit details
    Browse the repository at this point in the history
  8. test: skip memory usage tests when ASAN is enabled

    Running tests with an ASAN build leads to increased memory usage,
    rendering the memory usage assumptions in the test invalid.
    
    Refs: nodejs#32776 (comment)
    
    PR-URL: nodejs#33129
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Matheus Marchini <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    addaleax committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    d5e1795 View commit details
    Browse the repository at this point in the history
  9. http: set default timeout in agent keepSocketAlive

    Previous location of setting the timeout would override
    behaviour of custom HttpAgents' keepSocketAlive. Moving
    it into the default keepSocketAlive allows it to
    interoperate with custom agents.
    
    Fixes: nodejs#33111
    
    PR-URL: nodejs#33127
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    omsmith authored and ronag committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    0413acc View commit details
    Browse the repository at this point in the history
  10. doc: fix the spelling error in stream.md

    Change `64kb` to `64KB` in  `stream.md`
    
    PR-URL: nodejs#31561
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    yunnysunny authored and juanarbol committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    e951825 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2020

  1. doc: clarify when not to run CI on docs

    Collaborators won't need to run CI on documentation-only changes.
    
    PR-URL: nodejs#33101
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    juanarbol authored and gireeshpunathil committed May 2, 2020
    Configuration menu
    Copy the full SHA
    26477b8 View commit details
    Browse the repository at this point in the history
  2. doc: add util.types.isArrayBufferView()

    This function was added by nodejs#15663,
    but was never documented. This commit documents it.
    
    PR-URL: nodejs#33092
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Masashi Hirano <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    kevinoid authored and gireeshpunathil committed May 2, 2020
    Configuration menu
    Copy the full SHA
    7c36ec3 View commit details
    Browse the repository at this point in the history
  3. tools: bump remark-preset-lint-node to 1.15.0

    New version of remark-preset-lint-node includes prohibited string entry
    accidentally removed in the last version.
    
    PR-URL: nodejs#33157
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Trott committed May 2, 2020
    Configuration menu
    Copy the full SHA
    8a2c65a View commit details
    Browse the repository at this point in the history