[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>
This commit is contained in:
parent
bec45b3be5
commit
fbb34e1ef6
3 changed files with 641 additions and 660 deletions
|
@ -32,6 +32,7 @@ export default function astro(_opts: AstroPluginOptions): Plugin {
|
|||
ecmaVersion: 'latest',
|
||||
sourceType: 'module',
|
||||
});
|
||||
// @ts-expect-error acorn.Node is not assignable to estree.Node
|
||||
walk(ast, {
|
||||
enter(node: any) {
|
||||
// Transform `Astro.glob("./pages/*.astro")` to `Astro.glob(import.meta.glob("./pages/*.astro"), () => "./pages/*.astro")`
|
||||
|
|
|
@ -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';
|
||||
|
|
1297
pnpm-lock.yaml
1297
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue