Skip to content

[express-prometheus-middleware] Update for version 1.2.0#52559

Merged
typescript-bot merged 3 commits into
DefinitelyTyped:masterfrom
matsumana:feature/update_express-prometheus-middleware_1.2.0
Apr 26, 2021
Merged

[express-prometheus-middleware] Update for version 1.2.0#52559
typescript-bot merged 3 commits into
DefinitelyTyped:masterfrom
matsumana:feature/update_express-prometheus-middleware_1.2.0

Conversation

@matsumana

Copy link
Copy Markdown
Contributor

Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

@typescript-bot

typescript-bot commented Apr 24, 2021

Copy link
Copy Markdown
Contributor

@matsumana 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.

Status

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

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": 52559,
  "author": "matsumana",
  "headCommitOid": "2807a2e630a32e85efaa0a1b6070528f070b7725",
  "lastPushDate": "2021-04-24T07:10:22.000Z",
  "lastActivityDate": "2021-04-26T09:18:33.000Z",
  "maintainerBlessed": false,
  "mergeOfferDate": "2021-04-26T08:48:22.000Z",
  "mergeRequestDate": "2021-04-26T09:18:33.000Z",
  "mergeRequestUser": "matsumana",
  "hasMergeConflict": false,
  "isFirstContribution": true,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "express-prometheus-middleware",
      "kind": "edit",
      "files": [
        {
          "path": "types/express-prometheus-middleware/express-prometheus-middleware-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/express-prometheus-middleware/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "Fdebijl"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "Fdebijl",
      "date": "2021-04-26T08:47:46.000Z",
      "isMaintainer": false
    }
  ],
  "ciResult": "pass"
}

@typescript-bot

Copy link
Copy Markdown
Contributor

🔔 @fdebijl — 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.

@typescript-bot

Copy link
Copy Markdown
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?

These typings are for a version of express-prometheus-middleware that doesn’t yet exist on master, so I’ve compared them with v1.0.

Comparison details 📊
1.0@master 1.2 in #52559 diff
Batch compilation
Memory usage (MiB) 74.2 82.4 +11.0%
Type count 13457 13469 0%
Assignability cache size 3275 3275 0%
Language service
Samples taken 45 48 +7%
Identifiers in tests 45 48 +7%
getCompletionsAtPosition
    Mean duration (ms) 470.5 463.6 -1.5%
    Mean CV 14.4% 12.8%
    Worst duration (ms) 771.7 829.5 +7.5%
    Worst identifier message json
getQuickInfoAtPosition
    Mean duration (ms) 492.2 486.0 -1.3%
    Mean CV 12.0% 11.2%
    Worst duration (ms) 793.1 816.9 +3.0%
    Worst identifier name message

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 Apr 24, 2021

@fdebijl fdebijl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@typescript-bot typescript-bot added Owner Approved A listed owner of this package signed off on the pull request. Self Merge This PR can now be self-merged by the PR author or an owner labels Apr 26, 2021
@typescript-bot

Copy link
Copy Markdown
Contributor

@matsumana Everything looks good here. Great job! I am ready to merge this PR (at 2807a2e) on your behalf.

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! ❤️

(@fdebijl: you can do this too.)

@matsumana

Copy link
Copy Markdown
Contributor Author

Ready to merge

@typescript-bot typescript-bot merged commit 2eb5255 into DefinitelyTyped:master Apr 26, 2021
@matsumana matsumana deleted the feature/update_express-prometheus-middleware_1.2.0 branch April 26, 2021 09:19
@typescript-bot

Copy link
Copy Markdown
Contributor

I just published @types/express-prometheus-middleware@1.2.0 to npm.

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. 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