diff options
author | 2023-01-30 09:03:32 -0800 | |
---|---|---|
committer | 2023-01-30 12:03:32 -0500 | |
commit | fbb34e1ef60a30de9f51b564bfd2ac6c57fa13b2 (patch) | |
tree | 17e58bcf6d6eab4bd1f08e5e08729ee43a431712 /packages/markdown/remark/src | |
parent | bec45b3be5dec4a9fb6d404a00a6eb595a4e3362 (diff) | |
download | astro-fbb34e1ef60a30de9f51b564bfd2ac6c57fa13b2.tar.gz astro-fbb34e1ef60a30de9f51b564bfd2ac6c57fa13b2.tar.zst astro-fbb34e1ef60a30de9f51b564bfd2ac6c57fa13b2.zip |
[ci] update lockfile (#5988)
* [ci] update lockfile
* fix type issues
---------
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>
Diffstat (limited to 'packages/markdown/remark/src')
-rw-r--r-- | packages/markdown/remark/src/rehype-collect-headings.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/markdown/remark/src/rehype-collect-headings.ts b/packages/markdown/remark/src/rehype-collect-headings.ts index a1083f609..19963cb80 100644 --- a/packages/markdown/remark/src/rehype-collect-headings.ts +++ b/packages/markdown/remark/src/rehype-collect-headings.ts @@ -1,7 +1,8 @@ import { type Expression, type Super } from 'estree'; import Slugger from 'github-slugger'; import { type MdxTextExpression } from 'mdast-util-mdx-expression'; -import { visit, type Node } from 'unist-util-visit'; +import { type Node } from 'unist'; +import { visit } from 'unist-util-visit'; import { InvalidAstroDataError, safelyGetAstroData } from './frontmatter-injection.js'; import type { MarkdownAstroData, MarkdownHeading, MarkdownVFile, RehypePlugin } from './types.js'; |