Skip to content

Commit

Permalink
Bump the eslint group with 2 updates (#974)
Browse files Browse the repository at this point in the history
* Bump the eslint group with 2 updates

Bumps the eslint group with 2 updates: [eslint](https://github.com/eslint/eslint) and [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint).


Updates `eslint` from 9.9.1 to 9.10.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v9.9.1...v9.10.0)

Updates `typescript-eslint` from 8.4.0 to 8.5.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.5.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
- dependency-name: typescript-eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <[email protected]>

* Clean up redundant type unions on optional args

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Cook <[email protected]>
  • Loading branch information
dependabot[bot] and divergentdave authored Sep 9, 2024
1 parent 8c451e7 commit 51c2cd0
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 66 deletions.
128 changes: 70 additions & 58 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 @@ -32,7 +32,7 @@
"@types/node": "^22.5.4",
"c8": "^10.1.2",
"chai": "^5.1.1",
"eslint": "^9.9.1",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"mocha": "^10.7.3",
"prettier": "^3.3.3",
Expand All @@ -41,6 +41,6 @@
"typedoc": "^0.26.7",
"typedoc-plugin-missing-exports": "^3.0.0",
"typescript": "^5.3.3",
"typescript-eslint": "^8.4.0"
"typescript-eslint": "^8.5.0"
}
}
4 changes: 2 additions & 2 deletions packages/dap/src/task.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { KdfId, AeadId, CipherSuite } from "hpke-js";
import { DhkemP256HkdfSha256 } from "@hpke/core";

interface Fetch {
(input: RequestInfo, init?: RequestInit | undefined): Promise<Response>;
(input: RequestInfo, init?: RequestInit): Promise<Response>;
calls: [RequestInfo, RequestInit | undefined][];
}

Expand All @@ -30,7 +30,7 @@ interface ResponseSpec {
function mockFetch(mocks: { [url: string]: ResponseSpec[] }): Fetch {
function fakeFetch(
input: RequestInfo,
init?: RequestInit | undefined,
init?: RequestInit,
): Promise<Response> {
fakeFetch.calls.push([input, init]);

Expand Down
5 changes: 1 addition & 4 deletions packages/dap/src/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ export interface ClientParameters {
timePrecisionSeconds: number;
}

type Fetch = (
input: RequestInfo,
init?: RequestInit | undefined,
) => Promise<Response>;
type Fetch = (input: RequestInfo, init?: RequestInit) => Promise<Response>;

export interface KnownVdafs {
sum: typeof Prio3Sum;
Expand Down

0 comments on commit 51c2cd0

Please sign in to comment.