Skip to content

[@types/node] Add missing method property to http.ClientRequest#41029

Merged
andrewbranch merged 9 commits intoDefinitelyTyped:masterfrom
TooTallNate:update/node-req-method
Dec 23, 2019
Merged

[@types/node] Add missing method property to http.ClientRequest#41029
andrewbranch merged 9 commits intoDefinitelyTyped:masterfrom
TooTallNate:update/node-req-method

Conversation

@TooTallNate
Copy link
Contributor

Please fill in this template.

  • Use a meaningful title for the pull request. Include the name of the package modified.
  • Test the change in your own code. (Compile and run.)
  • Add or edit tests to reflect the change. (Run with npm test.)
  • Follow the advice from the readme.
  • Avoid common mistakes.
  • Run npm run lint package-name (or tsc if no tslint.json is present).

Select one of these and delete the others:

If changing an existing definition:

Because it gets set in that order in the source code.
There is nothing in the source code that prevents this property
from being overwritten, and user code and/or modules may change
this property before flushing the HTTP header.
@typescript-bot typescript-bot added the Popular package This PR affects a popular package (as counted by NPM download counts). label Dec 14, 2019
@typescript-bot
Copy link
Contributor

typescript-bot commented Dec 14, 2019

@TooTallNate Thank you for submitting this PR!

🔔 @microsoft @DefinitelyTyped @jkomyno @a-tarasyuk @alvis @r3nya @btoueg @BrunoScheufler @smac89 @tellnes @Touffy @DeividasBakanas @eyqs @Flarna @Hannes-Magnusson-CK @KSXGitHub @hoo29 @kjin @ajafff @islishude @mwiktorczyk @mohsen1 @n-e @octo-sniffle @galkin @parambirs @eps1lon @SimonSchick @ThomasdenH @WilcoBakker @wwwy3y3 @ZaneHannanAU @samuela @kuehlein @j-oliveras @bhongy @chyzwar @trivikr @nguymin4 @yoursunny @qwelias @jeremiergz - please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

If no reviewer appears after a week, a DefinitelyTyped maintainer will review the PR instead.

Copy link
Contributor

@galkin galkin left a comment

Choose a reason for hiding this comment

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

@TooTallNate, thank you for your work. Could you update node v10 also with the same changes?

@TooTallNate
Copy link
Contributor Author

Sure thing. Pushed to v10 as well.

@typescript-bot typescript-bot added Revision needed This PR needs code changes before it can be merged. and removed Awaiting reviewer feedback labels Dec 14, 2019
@typescript-bot
Copy link
Contributor

@TooTallNate One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits or comments. Thank you!

@typescript-bot
Copy link
Contributor

👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings.

Let’s review the numbers, shall we?

Comparison details 📊
master #41029 diff
Batch compilation
Memory usage (MiB) 125.4 124.0 -1.1%
Type count 21730 21730 0%
Assignability cache size 39469 39469 0%
Language service
Samples taken 1871 1871 0%
Identifiers in tests 11770 11773 0%
getCompletionsAtPosition
    Mean duration (ms) 637.7 643.6 +0.9%
    Mean CV 7.4% 7.5%
    Worst duration (ms) 858.1 852.0 -0.7%
    Worst identifier sock ServerResponse
getQuickInfoAtPosition
    Mean duration (ms) 630.6 638.9 +1.3%
    Mean CV 7.5% 7.7% +3.6%
    Worst duration (ms) 845.0 819.2 -3.1%
    Worst identifier connect constants

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

@typescript-bot typescript-bot added the Perf: Same typescript-bot determined that this PR will not significantly impact compilation performance. label Dec 14, 2019
@galkin
Copy link
Contributor

galkin commented Dec 14, 2019

@TooTallNate, there are two pull: this and that #41030. I think you pushed to wrong one.
One more thing you need node.js v10 in both.

@typescript-bot
Copy link
Contributor

@TooTallNate I haven't seen anything from you in a while and this PR currently has problems that prevent it from being merged. The PR will be closed tomorrow if there aren't new commits to fix the issues.

@TooTallNate
Copy link
Contributor Author

Merged #41030 into this one.

@typescript-bot
Copy link
Contributor

🔔 @galkin - Thanks for your review of this PR! Can you please look at the new code and update your review status if appropriate?

@typescript-bot typescript-bot added Owner Approved A listed owner of this package signed off on the pull request. Merge:Express labels Dec 20, 2019
@typescript-bot
Copy link
Contributor

A definition owner has approved this PR ⭐️. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait. Thank you for your contribution to DefinitelyTyped!

@andrewbranch andrewbranch merged commit 1d9e9b1 into DefinitelyTyped:master Dec 23, 2019
@typescript-bot
Copy link
Contributor

I just published @types/node@10.17.12 to npm.

@SimonSchick SimonSchick mentioned this pull request Dec 23, 2019
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Owner Approved A listed owner of this package signed off on the pull request. Perf: Same typescript-bot determined that this PR will not significantly impact compilation performance. Popular package This PR affects a popular package (as counted by NPM download counts). Revision needed This PR needs code changes before it can be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants