-
-
Notifications
You must be signed in to change notification settings - Fork 372
Bump @types/koa__router from 8.0.11 to 12.0.4 #2779
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
base: master
Are you sure you want to change the base?
Bump @types/koa__router from 8.0.11 to 12.0.4 #2779
Conversation
Bumps [@types/koa__router](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/koa__router) from 8.0.11 to 12.0.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/koa__router) --- updated-dependencies: - dependency-name: "@types/koa__router" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Reviewer's Guide by SourceryThis pull request bumps the Updated class diagram for Koa Router typesclassDiagram
class KoaRouter {
+allowedMethods(...args: any[]): Middleware;
+param(param: string, middleware: Middleware): this;
+prefix(path: string): this;
+redirect(source: string, destination: string, code?: number): this;
+route(name: string, path: string, middleware: Middleware): this;
+routes(): Middleware;
+use(...middleware: Middleware[]): this;
+all(name: string | string[], path: string | string[], ...middleware: Middleware[]): this;
+del(name: string | string[], path: string | string[], ...middleware: Middleware[]): this;
+delete(name: string | string[], path: string | string[], ...middleware: Middleware[]): this;
+get(name: string | string[], path: string | string[], ...middleware: Middleware[]): this;
+head(name: string | string[], path: string | string[], ...middleware: Middleware[]): this;
+opts(name: string | string[], path: string | string[], ...middleware: Middleware[]): this;
+options(name: string | string[], path: string | string[], ...middleware: Middleware[]): this;
+patch(name: string | string[], path: string | string[], ...middleware: Middleware[]): this;
+post(name: string | string[], path: string | string[], ...middleware: Middleware[]): this;
+put(name: string | string[], path: string | string[], ...middleware: Middleware[]): this;
+trace(name: string | string[], path: string | string[], ...middleware: Middleware[]): this;
}
class RouterContext {
+params: any;
+routerName: string;
+routerPath: string;
}
class Middleware {
<<interface>>
+ (context: Koa.Context, next: Koa.Next): Promise<any> | any
}
KoaRouter -- Middleware
KoaRouter -- RouterContext
note for KoaRouter "This class represents the Koa Router with updated methods and properties."
note for Middleware "Middleware interface for Koa Router."
note for RouterContext "Context for the Koa Router."
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
Bumps @types/koa__router from 8.0.11 to 12.0.4.
Commits
You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Summary by Sourcery
This pull request updates the
@types/koa__routerdependency from version 8.0.11 to 12.0.4, and@types/nodedependency to the latest version.Enhancements:
@types/koa__routerdependency to the latest version.Chores:
@types/nodedependency to the latest version.