Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

update marked and @types/marked, fix docs.ts #184

Merged
merged 1 commit into from
Jan 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/poor-ears-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cloudflare/workers-types": patch
---

chore: update marked to 4.0.10
2 changes: 1 addition & 1 deletion export/docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as fs from "fs";
import * as path from "path";
// marked is great for this: it includes the raw text in its tokens so
// we don't need to write code that renders tokens back to markdown
import marked from "marked";
import { marked } from "marked";
import { Comment, CommentParam } from "./types";

interface CommentedField {
Expand Down
34 changes: 17 additions & 17 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 @@ -22,11 +22,11 @@
"devDependencies": {
"@changesets/changelog-github": "^0.4.2",
"@changesets/cli": "^2.18.1",
"@types/marked": "^3.0.0",
"@types/marked": "^4.0.1",
"@types/node": "^16.6.1",
"esbuild": "^0.12.22",
"esbuild-register": "^3.0.0",
"marked": "^3.0.2",
"marked": "^4.0.10",
"prettier": "^2.5.1",
"typescript": "^4.3.5"
}
Expand Down