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

[@types/node] Add missing optional parameters to EventEmitter.on #69514

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

magurotuna
Copy link

Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

A bit of additional context: although the context source pasted above is for the latest version (v22) which doesn't match the version that @types/node currently supports, what I was referring is the history of the changes made to events.on method (see the screenshot below)

events.on

This table shows that close, highWatermark, and lowWatermark has been supported since v20.0.0, from which we can verify the changes made in this PR.

@typescript-bot
Copy link
Contributor

typescript-bot commented May 4, 2024

@magurotuna Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through.

This is a live comment which I will keep updated.

1 package in this PR

Code Reviews

Because you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • 🕐 Most recent commit is approved by type definition owners or DT maintainers

Once every item on this list is checked, I'll ask you for permission to merge and publish the changes.

Inactive

This PR has been inactive for 14 days — please try to get reviewers!


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 69514,
  "author": "magurotuna",
  "headCommitOid": "0d5fe4026b3572130e858d6218358a433077c7ea",
  "mergeBaseOid": "8eae672ad1d6ba13901ff72e5cba99ef66687b77",
  "lastPushDate": "2024-05-04T06:13:51.000Z",
  "lastActivityDate": "2024-05-10T21:19:31.000Z",
  "maintainerBlessed": "Waiting for Code Reviews",
  "hasMergeConflict": false,
  "isFirstContribution": true,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "node",
      "kind": "edit",
      "files": [
        {
          "path": "types/node/events.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/test/events.ts",
          "kind": "test"
        }
      ],
      "owners": [
        "Microsoft",
        "jkomyno",
        "alvis",
        "r3nya",
        "btoueg",
        "smac89",
        "touffy",
        "DeividasBakanas",
        "eyqs",
        "Hannes-Magnusson-CK",
        "hoo29",
        "kjin",
        "ajafff",
        "islishude",
        "mwiktorczyk",
        "mohsen1",
        "galkin",
        "parambirs",
        "eps1lon",
        "ThomasdenH",
        "WilcoBakker",
        "wwwy3y3",
        "samuela",
        "kuehlein",
        "bhongy",
        "chyzwar",
        "trivikr",
        "yoursunny",
        "qwelias",
        "ExE-Boss",
        "peterblazejewicz",
        "addaleax",
        "victorperin",
        "ZYSzys",
        "NodeJS",
        "LinusU",
        "wafuwafu13",
        "mcollina",
        "Semigradsky"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    }
  ],
  "reviews": [
    {
      "type": "stale",
      "reviewer": "peterblazejewicz",
      "date": "2024-05-08T19:00:53.000Z",
      "abbrOid": "97e8288"
    },
    {
      "type": "stale",
      "reviewer": "jakebailey",
      "date": "2024-05-08T15:33:58.000Z",
      "abbrOid": "97e8288"
    },
    {
      "type": "stale",
      "reviewer": "Anonymous4078",
      "date": "2024-05-06T15:37:27.000Z",
      "abbrOid": "04a3a0f"
    }
  ],
  "mainBotCommentID": 2094043793,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added this to Waiting for Code Reviews in New Pull Request Status Board May 4, 2024
@typescript-bot typescript-bot added the The CI failed When GH Actions fails label May 4, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Author Action in New Pull Request Status Board May 4, 2024
@typescript-bot
Copy link
Contributor

@magurotuna The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label May 4, 2024
@typescript-bot typescript-bot moved this from Needs Author Action to Waiting for Code Reviews in New Pull Request Status Board May 4, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Maintainer Review in New Pull Request Status Board May 4, 2024
@typescript-bot typescript-bot added Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. Other Approved This PR was reviewed and signed-off by a community member. labels May 6, 2024
@typescript-bot typescript-bot moved this from Needs Maintainer Review to Needs Author Action in New Pull Request Status Board May 6, 2024
@typescript-bot
Copy link
Contributor

@magurotuna Unfortunately, this pull request currently has a merge conflict 😥. Please update your PR branch to be up-to-date with respect to master. Have a nice day!

@typescript-bot typescript-bot removed Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. Other Approved This PR was reviewed and signed-off by a community member. labels May 7, 2024
@typescript-bot typescript-bot moved this from Needs Author Action to Waiting for Code Reviews in New Pull Request Status Board May 7, 2024
@typescript-bot typescript-bot added the The CI failed When GH Actions fails label May 7, 2024
@typescript-bot
Copy link
Contributor

@magurotuna The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Author Action in New Pull Request Status Board May 7, 2024
@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label May 7, 2024
@typescript-bot typescript-bot moved this from Needs Author Action to Waiting for Code Reviews in New Pull Request Status Board May 7, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Maintainer Review in New Pull Request Status Board May 7, 2024
@typescript-bot
Copy link
Contributor

@Anonymous4078 Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review?

types/node/events.d.ts Outdated Show resolved Hide resolved
@typescript-bot typescript-bot moved this from Needs Maintainer Review to Waiting for Code Reviews in New Pull Request Status Board May 8, 2024
@magurotuna magurotuna force-pushed the node-events-static-on-and-once branch from 6e7cfc1 to b5d8608 Compare May 8, 2024 03:13
@magurotuna magurotuna force-pushed the node-events-static-on-and-once branch from b5d8608 to 97e8288 Compare May 8, 2024 03:14
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Maintainer Review in New Pull Request Status Board May 8, 2024
@typescript-bot
Copy link
Contributor

@jakebailey, @Anonymous4078 Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review?

@typescript-bot typescript-bot moved this from Needs Maintainer Review to Waiting for Code Reviews in New Pull Request Status Board May 10, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Maintainer Review in New Pull Request Status Board May 10, 2024
@typescript-bot
Copy link
Contributor

@peterblazejewicz, @jakebailey, @Anonymous4078 Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review?

@jakebailey jakebailey moved this from Needs Maintainer Review to Waiting for Code Reviews in New Pull Request Status Board May 10, 2024
@typescript-bot typescript-bot added the Unreviewed No one showed up to review this PR, so it'll be reviewed by a DT maintainer. label May 15, 2024
@typescript-bot
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Critical package Unreviewed No one showed up to review this PR, so it'll be reviewed by a DT maintainer.
Projects
New Pull Request Status Board
Waiting for Code Reviews
Development

Successfully merging this pull request may close these issues.

None yet

5 participants