Skip to content

process-nextick-args used incorrectly #323

Closed

Description

@kolodny

process-nextick-args was modified to make the nextTick property a "live" binding. In 41a3301#diff-279988bef5e6fbf7ed82cae28ecc2d59L128 this was changed to keep a reference to a potentially stale function. I'm not sure how to go about changing the generated code to make this change, else I would just make a PR.

Activity

  1. mcollina commented on Mar 2, 2018

    @mcollina
    SponsorMember

    You need to fix it in this block: https://github.com/nodejs/readable-stream/blob/master/build/files.js#L127-L136.
    Then cd build; npm i; node build.js 8.9.4. Should do the trick.

    If you could also add a test, it would be awesome. Place it under https://github.com/nodejs/readable-stream/tree/master/test/ours.

  2. mcollina commented on Mar 3, 2018

    @mcollina
    SponsorMember

    Fixed in 2.3.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions