Skip to content

Commit

Permalink
chore: update to micromark v4 (#2253)
Browse files Browse the repository at this point in the history
  • Loading branch information
cexbrayat committed Aug 26, 2023
1 parent 0bfc275 commit 7edfaa1
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 5 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"knitwork": "^1.0.0",
"listhen": "^1.4.0",
"mdurl": "^1.0.1",
"micromark": "^4.0.0",
"micromark-util-sanitize-uri": "^2.0.0",
"nuxt-mdc": "npm:nuxt-mdc-edge@latest",
"ohash": "^1.1.3",
Expand Down
218 changes: 216 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions src/runtime/transformers/csv/from-csv.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// @ts-nocheck
// TODO: fix types
// Based on mdast-util-from-markdown
// See: https://github.com/syntax-tree/mdast-util-from-markdown/blob/05875cde264253f0d6a725791f10f55eb8d8c267/dev/lib/index.js
// See: https://github.com/syntax-tree/mdast-util-from-markdown/blob/03581b3ede92d3874a6689a96b8ae0a7c17b86af/dev/lib/index.js
import { toString } from 'mdast-util-to-string'
import { preprocess } from 'micromark/lib/preprocess.js'
import { postprocess } from 'micromark/lib/postprocess.js'
import { preprocess, postprocess } from 'micromark'
import { stringifyPosition } from 'unist-util-stringify-position'
import { Token, Event, Point as MPoint } from 'micromark-util-types'
import { parse } from './parser'
Expand Down

0 comments on commit 7edfaa1

Please sign in to comment.