Skip to content

Conversation

@DetachHead
Copy link
Contributor

@DetachHead DetachHead commented Jun 29, 2021

Please fill in this template.

fix for this issue caused by my previous PR: #53513 (comment)

i'm not really sure if this is the best way to detect the stack depth error. open to suggestions

@DetachHead DetachHead marked this pull request as ready for review June 29, 2021 13:07
@DetachHead DetachHead requested a review from borisyankov as a code owner June 29, 2021 13:07
@typescript-bot
Copy link
Contributor

typescript-bot commented Jun 29, 2021

@DetachHead Thank you for submitting this PR!

This is a live comment which I will keep updated.

1 package in this PR

Code Reviews

This PR 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": 54151,
  "author": "DetachHead",
  "headCommitOid": "0f83c2c2d6b0848fadb01eb75d1e39fa5aeab16a",
  "lastPushDate": "2021-07-03T03:24:25.000Z",
  "lastActivityDate": "2021-07-08T14:19:43.000Z",
  "maintainerBlessed": "Waiting for Author to Merge",
  "mergeOfferDate": "2021-07-08T13:39:51.000Z",
  "mergeRequestDate": "2021-07-08T14:19:43.000Z",
  "mergeRequestUser": "DetachHead",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "express-serve-static-core",
      "kind": "edit",
      "files": [
        {
          "path": "types/express-serve-static-core/express-serve-static-core-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/express-serve-static-core/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "borisyankov",
        "19majkel94",
        "kacepe",
        "micksatana",
        "samijaber",
        "JoseLion",
        "dwrss",
        "andoshin11"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "ahejlsberg",
      "date": "2021-07-06T16:53:47.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 870583928,
  "ciResult": "pass"
}

@typescript-bot
Copy link
Contributor

🔔 @borisyankov @19majkel94 @kacepe @micksatana @samijaber @JoseLion @dwrss @andoshin11 — 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.

DetachHead referenced this pull request Jun 30, 2021
… `.`/`-` delimited parameters by @DetachHead

* specify minimum ts version for template literal types

* set minimum ts version for absolute-url to 4.1 since it depends on express which now requires >= 4.1

* set minimum typescript version for express-serve-static-core to 4.1

* revert changes to minimum ts version, gonna make a seperate <=4.0 package instead

* support optional params and params separated by dashes and dots

* oops tests in the wrong spot

* fallback to ParamsDictionary when regex is detected in route params

* use ParamsDictionary when string extends Route

* more descriptive generic names

* strict-export-declare-modifiers lint error

* prettier fix

* improve formatting for RouteParameters type

Co-authored-by: Jose Luis Leon <[email protected]>

* prettier-ignore RouteParameters type

* change never in RouteParameters condition to unknown

Co-authored-by: Ron Buckton <[email protected]>

Co-authored-by: DetachHead <[email protected]>
Co-authored-by: Jose Luis Leon <[email protected]>
Co-authored-by: Ron Buckton <[email protected]>
@typescript-bot
Copy link
Contributor

@ahejlsberg 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?

@daviduzumeri
Copy link
Contributor

Any word on this? This is a super-blocker for updating packages right now.

@typescript-bot typescript-bot added Other Approved This PR was reviewed and signed-off by a community member. Self Merge This PR can now be self-merged by the PR author or an owner labels Jul 6, 2021
@typescript-bot
Copy link
Contributor

@DetachHead: Everything looks good here. I am ready to merge this PR (at 0f83c2c) 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! ❤️

(@borisyankov, @19majkel94, @kacepe, @micksatana, @samijaber, @JoseLion, @dwrss, @andoshin11: you can do this too.)

@DetachHead
Copy link
Contributor Author

Ready to merge

@typescript-bot typescript-bot merged commit 5c96981 into DefinitelyTyped:master Jul 8, 2021
@typescript-bot
Copy link
Contributor

I just published @types/[email protected] to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Critical package Other Approved This PR was reviewed and signed-off by a community member. 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.

4 participants