[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:
Houston (Bot) 2023-01-30 09:03:32 -08:00 committed by GitHub
parent bec45b3be5
commit fbb34e1ef6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 641 additions and 660 deletions

View file

@ -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")`

View file

@ -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';

File diff suppressed because it is too large Load diff