From dd9e6d63966e0ebba9d957ee9a74c519f263bf4e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Jan 2023 13:04:22 +0000 Subject: [PATCH 1/2] chore(deps-dev): bump prettier from 2.8.2 to 2.8.3 Bumps [prettier](https://github.com/prettier/prettier) from 2.8.2 to 2.8.3. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.8.2...2.8.3) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f8dca748..06ce9eaa 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "eslint-config-prettier": "8.6.0", "eslint-plugin-prettier": "4.2.1", "graphql": "16.6.0", - "prettier": "2.8.2", + "prettier": "2.8.3", "tailwindcss": "3.2.4" }, "repository": { From 90abdabbf3deef17dbd2bd0848e447f191f25dae Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Jan 2023 13:04:31 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- rehype-plugins/rehype-highlight-code.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehype-plugins/rehype-highlight-code.ts b/rehype-plugins/rehype-highlight-code.ts index 331c5030..f65f7046 100644 --- a/rehype-plugins/rehype-highlight-code.ts +++ b/rehype-plugins/rehype-highlight-code.ts @@ -19,7 +19,7 @@ refractor.register(json); const highlightLines = (root: Root, lines: number[]) => { let currentGroup: typeof root.children = []; - const lineGroups: (typeof currentGroup)[] = []; + const lineGroups: typeof currentGroup[] = []; const addToGroups = (node: Text) => { if (node.value.startsWith("\n")) {