diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index de0c4a3..a023591 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,7 @@ jobs: fail-fast: false matrix: node-version: + - 20 - 18 - 16 steps: diff --git a/index.d.ts b/index.d.ts index b41af58..849ecf0 100644 --- a/index.d.ts +++ b/index.d.ts @@ -68,6 +68,7 @@ https.get(url, response => { }); ``` */ +// eslint-disable-next-line @typescript-eslint/ban-types -- TODO: Switch to Uint8Array only export default function imageType(input: Buffer | Uint8Array): Promise; /** diff --git a/package.json b/package.json index e4c4767..3165be2 100644 --- a/package.json +++ b/package.json @@ -52,9 +52,9 @@ }, "devDependencies": { "@types/node": "^18.11.18", - "ava": "^5.1.0", + "ava": "^6.1.3", "read-chunk": "^4.0.3", "tsd": "^0.25.0", - "xo": "^0.53.1" + "xo": "^0.58.0" } }