Skip to content

feat(node): Add setHeaders() to class OutgoingMessage#70917

Merged
typescript-bot merged 1 commit intoDefinitelyTyped:masterfrom
hkleungai:node-add-setheaders
Oct 19, 2024
Merged

feat(node): Add setHeaders() to class OutgoingMessage#70917
typescript-bot merged 1 commit intoDefinitelyTyped:masterfrom
hkleungai:node-add-setheaders

Conversation

@hkleungai
Copy link
Copy Markdown
Contributor

Add back missing method, outgoingMessage.setHeaders(headers), which is added in v19.6.0, v18.15.0.


Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

  • Provide a URL to documentation or source code which provides context for the suggested changes: <>

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Oct 16, 2024

@hkleungai Thank you for submitting this PR!

This is a live comment that I will keep updated.

1 package in this PR

Code Reviews

Because this is a widely-used package, a DT maintainer will need to review it before it can be merged.

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 a DT maintainer

All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 70917,
  "author": "hkleungai",
  "headCommitOid": "c8ac51feec4a94fbc272f41198ffa6c20bad8400",
  "mergeBaseOid": "a609778205c4f9dfbf03f14a7ae19375e8a76b45",
  "lastPushDate": "2024-10-16T16:15:55.000Z",
  "lastActivityDate": "2024-10-19T03:37:11.000Z",
  "mergeOfferDate": "2024-10-19T03:36:10.000Z",
  "mergeRequestDate": "2024-10-19T03:37:11.000Z",
  "mergeRequestUser": "hkleungai",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "node",
      "kind": "edit",
      "files": [
        {
          "path": "types/node/http.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/test/http.ts",
          "kind": "test"
        },
        {
          "path": "types/node/v18/http.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/v18/test/http.ts",
          "kind": "test"
        },
        {
          "path": "types/node/v20/http.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/v20/test/http.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": "approved",
      "reviewer": "jakebailey",
      "date": "2024-10-19T03:35:33.000Z",
      "isMaintainer": true
    }
  ],
  "mainBotCommentID": 2417301012,
  "ciResult": "pass"
}

@typescript-bot
Copy link
Copy Markdown
Contributor

@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Oct 16, 2024
@typescript-bot
Copy link
Copy Markdown
Contributor

@hkleungai 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 that are failing do not end up on the list of PRs for the DT maintainers to review.

@hkleungai hkleungai mentioned this pull request Oct 16, 2024
8 tasks
@hkleungai
Copy link
Copy Markdown
Contributor Author

hkleungai commented Oct 16, 2024

Note: CI build fails due to downstream package. I am currently asking author of DT PR 70868 to see if he can help with this.

@jakebailey jakebailey closed this Oct 18, 2024
@jakebailey jakebailey reopened this Oct 18, 2024
@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label Oct 18, 2024
Copy link
Copy Markdown
Member

@jakebailey jakebailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks correct to me.

@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner labels Oct 19, 2024
@typescript-bot
Copy link
Copy Markdown
Contributor

@hkleungai: Everything looks good here. I am ready to merge this PR (at c8ac51f) on your behalf whenever you think it's ready.

If you'd like that to happen, please post a comment saying:

Ready to merge

and I'll merge this PR almost instantly. Thanks for helping out! ❤️

(@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: you can do this too.)

@hkleungai
Copy link
Copy Markdown
Contributor Author

Ready to merge

@typescript-bot typescript-bot merged commit f8f3ac9 into DefinitelyTyped:master Oct 19, 2024
@hkleungai hkleungai deleted the node-add-setheaders branch October 19, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Critical package Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants