diff --git a/package.json b/package.json index 20293e4..b0b59ae 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ }, "devDependencies": { "@types/node": "^20.0.0", - "c8": "^7.0.0", + "c8": "^8.0.0", "is-buffer": "^2.0.0", "prettier": "^2.0.0", "remark-cli": "^11.0.0", diff --git a/readme.md b/readme.md index ad763c1..3f5b3c8 100644 --- a/readme.md +++ b/readme.md @@ -120,7 +120,7 @@ Otherwise, the options are passed through to `new VFile()`. ###### Parameters * `description` ([`Compatible`][api-compatible], optional) - — fath to file, file options, or file itself + — path to file, file options, or file itself ###### Returns diff --git a/tsconfig.json b/tsconfig.json index 870d82c..82cc749 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,10 +5,10 @@ "declaration": true, "emitDeclarationOnly": true, "exactOptionalPropertyTypes": true, - "lib": ["es2020"], + "lib": ["es2022"], "module": "node16", "strict": true, - "target": "es2020" + "target": "es2022" }, "exclude": ["coverage/", "node_modules/"], "include": ["**/*.js"]