Skip to content

Commit

Permalink
Bump @typescript-eslint/eslint-plugin from 5.62.0 to 6.2.1 (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Aug 7, 2023
1 parent c984deb commit 3dc1768
Show file tree
Hide file tree
Showing 7 changed files with 106 additions and 129 deletions.
195 changes: 83 additions & 112 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"npm": ">=8"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.2",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"eslint": "^8.46.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.28.0",
Expand Down
1 change: 1 addition & 0 deletions packages/connect-next/src/connect-nextjs-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import type { JsonValue } from "@bufbuild/protobuf";
type NextApiHandler<T = any> = (
req: NextApiRequest,
res: NextApiResponse<T>,
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
) => unknown | Promise<unknown>;

interface NextJsApiRouterOptions extends ConnectRouterOptions {
Expand Down
8 changes: 4 additions & 4 deletions packages/connect-node/src/node-universal-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,10 +437,10 @@ type Sentinel = Promise<void> & {
isResolved(): boolean;

/**
* Reject the sentinel. All errors are converted to ConnectError via
* ConnectError.from().
* Reject the sentinel. Unless the reason is already a ConnectError, it is
* converted to one via ConnectError.from().
*/
reject: (reason: ConnectError | unknown) => void;
reject: (reason: unknown) => void;

isRejected(): boolean;

Expand All @@ -458,7 +458,7 @@ type Sentinel = Promise<void> & {

function createSentinel(signal?: AbortSignal): Sentinel {
let res: (() => void) | undefined;
let rej: ((reason: ConnectError | unknown) => void) | undefined;
let rej: ((reason: unknown) => void) | undefined;
let resolved = false;
let rejected = false;
const p = new Promise<void>((resolve, reject) => {
Expand Down
Loading

0 comments on commit 3dc1768

Please sign in to comment.