From ffde605503467b16a730fabb4def0ac0df54f77f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 09:22:09 +0000 Subject: [PATCH 1/2] chore(deps): update dependency vitepress to v1.2.2 --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index e6139011a6b..d5670d24a06 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,7 @@ "typescript": "5.4.5", "validator": "13.12.0", "vite": "5.2.11", - "vitepress": "1.2.0", + "vitepress": "1.2.2", "vitest": "1.6.0", "vue": "3.4.27" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b195ee1571a..78b313cd233 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -126,8 +126,8 @@ importers: specifier: 5.2.11 version: 5.2.11(@types/node@20.12.12) vitepress: - specifier: 1.2.0 - version: 1.2.0(@algolia/client-search@4.23.3)(@types/node@20.12.12)(postcss@8.4.38)(search-insights@2.14.0)(typescript@5.4.5) + specifier: 1.2.2 + version: 1.2.2(@algolia/client-search@4.23.3)(@types/node@20.12.12)(postcss@8.4.38)(search-insights@2.14.0)(typescript@5.4.5) vitest: specifier: 1.6.0 version: 1.6.0(@types/node@20.12.12)(@vitest/ui@1.6.0)(jsdom@23.2.0) @@ -3601,8 +3601,8 @@ packages: terser: optional: true - vitepress@1.2.0: - resolution: {integrity: sha512-m/4PAQVyPBvKHV7sFKwcmNmrsoSxdjnw/Eg40YyuBSaBHhrro9ubnfWk5GT0xGfE98LqjZkHCWKNJlR6G/7Ayg==} + vitepress@1.2.2: + resolution: {integrity: sha512-uZ3nXR5NY4nYj3RJWCo5jev9qlNZAQo5SUXu1U0QSUx84cUm/o7hCTDVjZ4njVSVui+PsV1oAbdQOg8ygbaf4w==} hasBin: true peerDependencies: markdown-it-mathjax3: ^4 @@ -7487,7 +7487,7 @@ snapshots: '@types/node': 20.12.12 fsevents: 2.3.3 - vitepress@1.2.0(@algolia/client-search@4.23.3)(@types/node@20.12.12)(postcss@8.4.38)(search-insights@2.14.0)(typescript@5.4.5): + vitepress@1.2.2(@algolia/client-search@4.23.3)(@types/node@20.12.12)(postcss@8.4.38)(search-insights@2.14.0)(typescript@5.4.5): dependencies: '@docsearch/css': 3.6.0 '@docsearch/js': 3.6.0(@algolia/client-search@4.23.3)(search-insights@2.14.0) From 7e4a79af2d865efc5b8f44ab6dfc985fe45b3f4c Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Mon, 27 May 2024 11:42:05 +0200 Subject: [PATCH 2/2] chore(docs): allow tabindex attribute in `pre`s --- scripts/apidocs/utils/markdown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apidocs/utils/markdown.ts b/scripts/apidocs/utils/markdown.ts index b0cc68beeb8..2787a611bf4 100644 --- a/scripts/apidocs/utils/markdown.ts +++ b/scripts/apidocs/utils/markdown.ts @@ -31,7 +31,7 @@ const htmlSanitizeOptions: sanitizeHtml.IOptions = { a: ['href', 'target', 'rel'], button: ['class', 'title'], div: ['class'], - pre: ['class', 'v-pre'], + pre: ['class', 'v-pre', 'tabindex'], span: ['class', 'style'], }, selfClosing: [],