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

[@types/passport-oauth2] Allow login rejects and unknown errors #69451

Merged

Conversation

chdanielmueller
Copy link
Contributor

Added the possiblity to reject logins (user=false) and pass unknown errors

  • 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.
  • Follow the advice from the readme.
  • Avoid common mistakes.
  • Run pnpm test <package to test>.
  • Provide a URL to documentation or source code which provides context for the suggested changes: Documentation within passport-oauth2
  • If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the package.json.

@typescript-bot
Copy link
Contributor

typescript-bot commented Apr 26, 2024

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

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 type definition owners or DT maintainers

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": 69451,
  "author": "chdanielmueller",
  "headCommitOid": "61f67fc31d4415176a26a2e356648a223eec5ee3",
  "mergeBaseOid": "15c1836f89521ddd11574ef04793c1675de86a9d",
  "lastPushDate": "2024-04-26T13:21:18.000Z",
  "lastActivityDate": "2024-05-08T05:30:16.000Z",
  "mergeOfferDate": "2024-05-07T18:55:25.000Z",
  "mergeRequestDate": "2024-05-08T05:30:16.000Z",
  "mergeRequestUser": "chdanielmueller",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Popular",
  "pkgInfo": [
    {
      "name": "passport-oauth2",
      "kind": "edit",
      "files": [
        {
          "path": "types/passport-oauth2/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/passport-oauth2/passport-oauth2-tests.ts",
          "kind": "test"
        }
      ],
      "owners": [
        "pasieronen",
        "WangZishi",
        "EduardoAC",
        "ivan94",
        "daphnesmit",
        "JoelKlint"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Popular"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "EduardoAC",
      "date": "2024-05-07T18:54:46.000Z",
      "isMaintainer": false
    },
    {
      "type": "approved",
      "reviewer": "kurmeroli",
      "date": "2024-04-30T09:48:53.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 2079387994,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added the Popular package This PR affects a popular package (as counted by NPM download counts). label Apr 26, 2024
@typescript-bot typescript-bot added this to Waiting for Code Reviews in New Pull Request Status Board Apr 26, 2024
@typescript-bot
Copy link
Contributor

🔔 @pasieronen @wangzishi @EduardoAC @ivan94 @daphnesmit @joelklint — 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 typescript-bot added the Other Approved This PR was reviewed and signed-off by a community member. label Apr 30, 2024
@typescript-bot typescript-bot added the Unreviewed No one showed up to review this PR, so it'll be reviewed by a DT maintainer. label May 7, 2024
@typescript-bot
Copy link
Contributor

Re-ping @pasieronen, @wangzishi, @EduardoAC, @ivan94, @daphnesmit, @joelklint:

This PR has been out for over a week, yet I haven't seen any reviews.

Could someone please give it some attention? Thanks!

Copy link
Contributor

@EduardoAC EduardoAC left a comment

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 and removed Unreviewed No one showed up to review this PR, so it'll be reviewed by a DT maintainer. labels May 7, 2024
@typescript-bot
Copy link
Contributor

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

(@pasieronen, @wangzishi, @EduardoAC, @ivan94, @daphnesmit, @joelklint: you can do this too.)

@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Waiting for Author to Merge in New Pull Request Status Board May 7, 2024
@chdanielmueller
Copy link
Contributor Author

Ready to merge

@typescript-bot typescript-bot moved this from Waiting for Author to Merge to Recently Merged in New Pull Request Status Board May 8, 2024
@typescript-bot typescript-bot merged commit 7e25529 into DefinitelyTyped:master May 8, 2024
4 checks passed
@typescript-bot typescript-bot removed this from Recently Merged in New Pull Request Status Board May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Other Approved This PR was reviewed and signed-off by a community member. Owner Approved A listed owner of this package signed off on the pull request. Popular package This PR affects a popular package (as counted by NPM download counts). 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.

None yet

4 participants