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

update(express-sitemap-xml): minor updates #49572

Conversation

peterblazejewicz
Copy link
Member

  • mark properly buildSitemap as async
  • amend tests
  • ditch old TS requirements

Thanks!

  • 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 YOUR_PACKAGE_NAME.)
  • Run npm run lint package-name (or tsc if no tslint.json is present).
  • Provide a URL to documentation or source code which provides context for the suggested changes
  • Include tests for your changes

- mark properly `buildSitemap` as async
- amend tests
- ditch old TS requirements

Thanks!
@typescript-bot typescript-bot added the Author is Owner The author of this PR is a listed owner of the package. label Nov 14, 2020
@typescript-bot
Copy link
Contributor

typescript-bot commented Nov 14, 2020

@peterblazejewicz Thank you for submitting this PR!

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": 49572,
  "author": "peterblazejewicz",
  "headCommitAbbrOid": "f8b39fa",
  "headCommitOid": "f8b39fa69cc1844bb70775e38dbd70e5e66ed527",
  "mergeIsRequested": true,
  "stalenessInDays": 0,
  "lastPushDate": "2020-11-14T21:12:19.000Z",
  "lastCommentDate": "2020-11-14T21:30:54.000Z",
  "maintainerBlessed": false,
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "express-sitemap-xml",
      "kind": "edit",
      "files": [
        {
          "path": "types/express-sitemap-xml/express-sitemap-xml-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/express-sitemap-xml/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "ffflorian",
        "peterblazejewicz"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "ffflorian",
      "date": "2020-11-14T21:20:29.000Z",
      "isMaintainer": false
    }
  ],
  "ciResult": "pass"
}

@typescript-bot
Copy link
Contributor

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

Copy link
Collaborator

@ffflorian ffflorian left a comment

Choose a reason for hiding this comment

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

Thanks!

@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 Nov 14, 2020
@typescript-bot
Copy link
Contributor

@peterblazejewicz Everything looks good here. Great job! I am ready to merge this PR 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! ❤️

(@ffflorian: you can do this too.)

@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 #49572 diff
Batch compilation
Memory usage (MiB) 75.2 74.2 -1.3%
Type count 10094 10123 0%
Assignability cache size 1775 1783 0%
Language service
Samples taken 46 58 +26%
Identifiers in tests 46 58 +26%
getCompletionsAtPosition
    Mean duration (ms) 418.1 410.2 -1.9%
    Mean CV 13.5% 12.0%
    Worst duration (ms) 489.7 518.0 +5.8%
    Worst identifier base sitemap2
getQuickInfoAtPosition
    Mean duration (ms) 416.2 413.4 -0.7%
    Mean CV 12.7% 11.8% -7.4%
    Worst duration (ms) 526.1 500.5 -4.9%
    Worst identifier then url

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 Nov 14, 2020
@peterblazejewicz
Copy link
Member Author

Ready to merge 💋

@typescript-bot typescript-bot merged commit 2d79f34 into DefinitelyTyped:master Nov 14, 2020
@peterblazejewicz peterblazejewicz deleted the update/express-sitemap-xml branch November 14, 2020 21:31
@typescript-bot
Copy link
Contributor

I just published @types/express-sitemap-xml@1.1.1 to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author is Owner The author of this PR is a listed owner of the package. 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