From d566ac144ec3312fc00a3f24c398bd9704dfe506 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 15 Jun 2023 12:18:28 +0200 Subject: [PATCH 1/3] Update dev-dependencies --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", From 18ce4f259d10c56459d4640199d0ef89a5d37aad Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 15 Jun 2023 12:18:43 +0200 Subject: [PATCH 2/3] Update `lib` in `tsconfig.json` --- tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"] From eb33226b86746d799bdb53a87ba1cc7265622912 Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Sun, 25 Jun 2023 06:05:42 -0400 Subject: [PATCH 3/3] Fix typo Closes GH-24. Reviewed-by: Titus Wormer --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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