diff --git a/docs/references/engine-js-compat.md b/docs/references/engine-js-compat.md index bcb4f80f8..e101f96cd 100644 --- a/docs/references/engine-js-compat.md +++ b/docs/references/engine-js-compat.md @@ -1,8 +1,8 @@ # JavaScript RegExp Engine Compatibility References -> Genreated on Sunday, September 1, 2024 +> Genreated on Wednesday, September 4, 2024 > -> Version `1.15.2` +> Version `1.16.1` > > Runtime: Node.js v20.12.2 @@ -11,9 +11,9 @@ | | Count | | :-------------- | --------------------------------: | | Total Languages | 213 | -| Fully Supported | [178](#fully-supported-languages) | -| Mismatched | [30](#mismatched-languages) | -| Unsupported | [5](#unsupported-languages) | +| Fully Supported | [187](#fully-supported-languages) | +| Mismatched | [18](#mismatched-languages) | +| Unsupported | [8](#unsupported-languages) | ## Fully Supported Languages @@ -28,6 +28,7 @@ Languages that works with the JavaScript RegExp engine, and will produce the sam | apl | ✅ OK | 179 | - | | applescript | ✅ OK | 151 | - | | ara | ✅ OK | 54 | - | +| asciidoc | ✅ OK | 262 | - | | asm | ✅ OK | 297 | - | | astro | ✅ OK | 59 | - | | awk | ✅ OK | 36 | - | @@ -38,6 +39,7 @@ Languages that works with the JavaScript RegExp engine, and will produce the sam | bibtex | ✅ OK | 19 | - | | bicep | ✅ OK | 28 | - | | c | ✅ OK | 158 | - | +| cadence | ✅ OK | 71 | - | | clarity | ✅ OK | 43 | - | | clj | ✅ OK | 38 | - | | clojure | ✅ OK | 38 | - | @@ -47,10 +49,13 @@ Languages that works with the JavaScript RegExp engine, and will produce the sam | codeql | ✅ OK | 150 | - | | coffee | ✅ OK | 120 | - | | common-lisp | ✅ OK | 57 | - | +| coq | ✅ OK | 25 | - | | cpp | ✅ OK | 220 | - | | crystal | ✅ OK | 140 | - | | css | ✅ OK | 141 | - | | csv | ✅ OK | 1 | - | +| cue | ✅ OK | 85 | - | +| cypher | ✅ OK | 39 | - | | d | ✅ OK | 270 | - | | dart | ✅ OK | 71 | - | | dax | ✅ OK | 23 | - | @@ -133,6 +138,8 @@ Languages that works with the JavaScript RegExp engine, and will produce the sam | perl | ✅ OK | 156 | - | | plsql | ✅ OK | 43 | - | | postcss | ✅ OK | 47 | - | +| powerquery | ✅ OK | 30 | - | +| powershell | ✅ OK | 88 | - | | prisma | ✅ OK | 26 | - | | prolog | ✅ OK | 26 | - | | proto | ✅ OK | 33 | - | @@ -171,6 +178,7 @@ Languages that works with the JavaScript RegExp engine, and will produce the sam | tcl | ✅ OK | 33 | - | | templ | ✅ OK | 74 | - | | terraform | ✅ OK | 62 | - | +| tex | ✅ OK | 38 | - | | toml | ✅ OK | 40 | - | | ts-tags | ✅ OK | - | - | | tsv | ✅ OK | 1 | - | @@ -196,6 +204,7 @@ Languages that works with the JavaScript RegExp engine, and will produce the sam | wolfram | ✅ OK | 501 | - | | xml | ✅ OK | 30 | - | | xsl | ✅ OK | 5 | - | +| yaml | ✅ OK | 46 | - | | zenscript | ✅ OK | 21 | - | | zig | ✅ OK | 51 | - | | zsh | ✅ OK | 146 | - | @@ -208,43 +217,34 @@ Languages that does not throw with the JavaScript RegExp engine, but will produc | ------------ | :-------------- | ----------------: | --------------: | | angular-html | ⚠️ Mismatch | 2 | - | | apex | ⚠️ Mismatch | 189 | - | -| asciidoc | ⚠️ Mismatch | 262 | - | | beancount | ⚠️ Mismatch | 39 | - | | blade | ⚠️ Mismatch | 330 | - | -| cadence | ⚠️ Mismatch | 71 | - | -| coq | ⚠️ Mismatch | 25 | - | -| cue | ⚠️ Mismatch | 85 | - | -| cypher | ⚠️ Mismatch | 39 | - | | haml | ⚠️ Mismatch | 64 | - | -| haskell | ⚠️ Mismatch | 157 | - | | kusto | ⚠️ Mismatch | 60 | - | | latex | ⚠️ Mismatch | 183 | - | | markdown | ⚠️ Mismatch | 103 | - | | mdc | ⚠️ Mismatch | 27 | - | -| mdx | ⚠️ Mismatch | 180 | - | | mermaid | ⚠️ Mismatch | 129 | - | | nginx | ⚠️ Mismatch | 102 | - | | php | ⚠️ Mismatch | 328 | - | | po | ⚠️ Mismatch | 23 | - | -| powerquery | ⚠️ Mismatch | 30 | - | -| powershell | ⚠️ Mismatch | 88 | - | | pug | ⚠️ Mismatch | 92 | - | -| purescript | ⚠️ Mismatch | 72 | - | | rst | ⚠️ Mismatch | 61 | - | | splunk | ⚠️ Mismatch | 17 | - | | stata | ⚠️ Mismatch | 189 | - | | systemd | ⚠️ Mismatch | 32 | - | -| tex | ⚠️ Mismatch | 38 | - | -| yaml | ⚠️ Mismatch | 46 | - | ## Unsupported Languages Languages that throws with the JavaScript RegExp engine (contains syntaxes that we can't polyfill yet). If you need to use these languages, please use the Oniguruma engine. -| Language | Highlight Match | Patterns Parsable | Patterns Failed | -| -------- | :-------------- | ----------------: | --------------: | -| ada | ✅ OK | 199 | 1 | -| csharp | ⚠️ Mismatch | 298 | 1 | -| razor | ⚠️ Mismatch | 83 | 2 | -| swift | ❌ Error | 302 | 4 | -| julia | ❌ Error | 77 | 18 | +| Language | Highlight Match | Patterns Parsable | Patterns Failed | +| ---------- | :-------------- | ----------------: | --------------: | +| ada | ✅ OK | 199 | 1 | +| csharp | ⚠️ Mismatch | 298 | 1 | +| razor | ⚠️ Mismatch | 83 | 2 | +| mdx | ❌ Error | 177 | 4 | +| julia | ❌ Error | 90 | 5 | +| swift | ❌ Error | 301 | 5 | +| purescript | ❌ Error | 64 | 8 | +| haskell | ❌ Error | 113 | 44 | diff --git a/packages/compat/test/fixtures.test.ts b/packages/compat/test/fixtures.test.ts index 134a93e46..76f5c9b22 100644 --- a/packages/compat/test/fixtures.test.ts +++ b/packages/compat/test/fixtures.test.ts @@ -8,7 +8,8 @@ import getHighlighter from '../src' describe('fixtures', () => { const files = import.meta.glob('./input/*.*', { as: 'raw', eager: true }) const filter = process.env.FILTER - Object.entries(files) + Object + .entries(files) .forEach(([path, content]) => { const run = !filter || path.includes(filter) ? it diff --git a/packages/core/src/highlight/code-to-tokens-ansi.ts b/packages/core/src/highlight/code-to-tokens-ansi.ts index 20d1f0b75..b2f658697 100644 --- a/packages/core/src/highlight/code-to-tokens-ansi.ts +++ b/packages/core/src/highlight/code-to-tokens-ansi.ts @@ -70,7 +70,8 @@ function dimColor(color: string) { if (hexMatch) { if (hexMatch[3]) { // convert from #rrggbbaa to #rrggbb(aa/2) - const alpha = Math.round(Number.parseInt(hexMatch[3], 16) / 2) + const alpha = Math + .round(Number.parseInt(hexMatch[3], 16) / 2) .toString(16) .padStart(2, '0') return `#${hexMatch[1]}${hexMatch[2]}${alpha}` @@ -81,7 +82,8 @@ function dimColor(color: string) { } else { // convert from #rgb to #rrggbb80 - return `#${Array.from(hexMatch[1]) + return `#${Array + .from(hexMatch[1]) .map(x => `${x}${x}`) .join('')}80` } diff --git a/packages/core/src/highlight/code-to-tokens-themes.ts b/packages/core/src/highlight/code-to-tokens-themes.ts index fb0f043a8..9f9bfc988 100644 --- a/packages/core/src/highlight/code-to-tokens-themes.ts +++ b/packages/core/src/highlight/code-to-tokens-themes.ts @@ -14,7 +14,8 @@ export function codeToTokensWithThemes( code: string, options: CodeToTokensWithThemesOptions, ): ThemedTokenWithVariants[][] { - const themes = Object.entries(options.themes) + const themes = Object + .entries(options.themes) .filter(i => i[1]) .map(i => ({ color: i[0], theme: i[1]! })) diff --git a/packages/core/src/highlight/code-to-tokens.ts b/packages/core/src/highlight/code-to-tokens.ts index 28aab2c38..7c4ca9376 100644 --- a/packages/core/src/highlight/code-to-tokens.ts +++ b/packages/core/src/highlight/code-to-tokens.ts @@ -26,7 +26,8 @@ export function codeToTokens( cssVariablePrefix = '--shiki-', } = options - const themes = Object.entries(options.themes) + const themes = Object + .entries(options.themes) .filter(i => i[1]) .map(i => ({ color: i[0], theme: i[1]! })) .sort((a, b) => a.color === defaultColor ? -1 : b.color === defaultColor ? 1 : 0) diff --git a/packages/core/src/utils.ts b/packages/core/src/utils.ts index 957a73539..700484ba8 100644 --- a/packages/core/src/utils.ts +++ b/packages/core/src/utils.ts @@ -137,7 +137,8 @@ export function splitToken< export function splitTokens< T extends Pick, >(tokens: T[][], breakpoints: number[] | Set) { - const sorted = Array.from(breakpoints instanceof Set ? breakpoints : new Set(breakpoints)) + const sorted = Array + .from(breakpoints instanceof Set ? breakpoints : new Set(breakpoints)) .sort((a, b) => a - b) if (!sorted.length) diff --git a/packages/rehype/test/core.test.ts b/packages/rehype/test/core.test.ts index 78f1b2dc2..5db5ed93e 100644 --- a/packages/rehype/test/core.test.ts +++ b/packages/rehype/test/core.test.ts @@ -48,7 +48,6 @@ it('run with rehype-raw', async () => { ], }) - // eslint-disable-next-line unicorn/consistent-function-scoping const rehypeMetaString = () => (tree: Root) => { visit(tree, 'element', (node) => { if (node.tagName === 'code' && node.data?.meta) { diff --git a/packages/shiki/scripts/prepare/langs.ts b/packages/shiki/scripts/prepare/langs.ts index 75eeead82..4dd993269 100644 --- a/packages/shiki/scripts/prepare/langs.ts +++ b/packages/shiki/scripts/prepare/langs.ts @@ -118,12 +118,13 @@ export default langs const bundled = Array.from(bundledIds).map(id => grammars.find(i => i.name === id)!).filter(Boolean) - const info = bundled.map(i => ({ - id: i.name, - name: i.displayName || i.name, - aliases: i.aliases, - import: `__(() => import('./langs/${i.name}')) as DynamicImportLanguageRegistration__`, - }) as const) + const info = bundled + .map(i => ({ + id: i.name, + name: i.displayName || i.name, + aliases: i.aliases, + import: `__(() => import('./langs/${i.name}')) as DynamicImportLanguageRegistration__`, + }) as const) .sort((a, b) => a.id.localeCompare(b.id)) const type = info.flatMap(i => [...i.aliases || [], i.id]).sort().map(i => ` | '${i}'`).join('\n') diff --git a/packages/shiki/test/core.test.ts b/packages/shiki/test/core.test.ts index 72bb4155e..5698b5cc0 100644 --- a/packages/shiki/test/core.test.ts +++ b/packages/shiki/test/core.test.ts @@ -158,7 +158,9 @@ describe('errors', () => { }) const code = shiki.codeToHtml('console.log("Hi")', { lang: 'javascript', theme: mtp }) - expect.soft(code) + + expect + .soft(code) .toMatchInlineSnapshot(`"
console.log("Hi")
"`) expect.soft(shiki.getLoadedThemes()).toContain('material-theme-palenight') diff --git a/packages/shiki/test/decorations.test.ts b/packages/shiki/test/decorations.test.ts index 1ffc0c0d5..107b96311 100644 --- a/packages/shiki/test/decorations.test.ts +++ b/packages/shiki/test/decorations.test.ts @@ -105,7 +105,8 @@ describe('decorations errors', () => { { start: 10, end: 0 }, ], }) - }).rejects + }) + .rejects .toThrowErrorMatchingInlineSnapshot(`[ShikiError: Invalid decoration range: {"line":1,"character":6,"offset":10} - {"line":0,"character":0,"offset":0}]`) }) @@ -119,8 +120,7 @@ describe('decorations errors', () => { { start: 5, end: 15 }, ], }) - }).rejects - .toThrowErrorMatchingInlineSnapshot(`[ShikiError: Decorations {"line":0,"character":0,"offset":0} and {"line":1,"character":1,"offset":5} intersect.]`) + }).rejects.toThrowErrorMatchingInlineSnapshot(`[ShikiError: Decorations {"line":0,"character":0,"offset":0} and {"line":1,"character":1,"offset":5} intersect.]`) }) it('throws when lines overflow', async () => { @@ -132,8 +132,7 @@ describe('decorations errors', () => { { start: { line: 100, character: 0 }, end: { line: 100, character: 1 } }, ], }) - }).rejects - .toThrowErrorMatchingInlineSnapshot(`[ShikiError: Invalid decoration position {"line":100,"character":0}. Lines length: 12]`) + }).rejects.toThrowErrorMatchingInlineSnapshot(`[ShikiError: Invalid decoration position {"line":100,"character":0}. Lines length: 12]`) }) it('throws when chars overflow', async () => { @@ -145,8 +144,7 @@ describe('decorations errors', () => { { start: { line: 0, character: 0 }, end: { line: 0, character: 10 } }, ], }) - }).rejects - .toThrowErrorMatchingInlineSnapshot(`[ShikiError: Invalid decoration position {"line":0,"character":10}. Line 0 length: 4]`) + }).rejects.toThrowErrorMatchingInlineSnapshot(`[ShikiError: Invalid decoration position {"line":0,"character":10}. Line 0 length: 4]`) expect(async () => { await codeToHtml(code, { @@ -159,8 +157,7 @@ describe('decorations errors', () => { }, ], }) - }).rejects - .toThrowErrorMatchingInlineSnapshot(`[ShikiError: Invalid decoration position {"line":1,"character":36}. Line 1 length: 33]`) + }).rejects.toThrowErrorMatchingInlineSnapshot(`[ShikiError: Invalid decoration position {"line":1,"character":36}. Line 1 length: 33]`) }) it('throws when offset underflows/overflows', async () => { @@ -170,8 +167,7 @@ describe('decorations errors', () => { lang: 'ts', decorations: [{ start: 1, end: 1000 }], }) - }).rejects - .toThrowErrorMatchingInlineSnapshot(`[ShikiError: Invalid decoration offset: 1000. Code length: 252]`) + }).rejects.toThrowErrorMatchingInlineSnapshot(`[ShikiError: Invalid decoration offset: 1000. Code length: 252]`) expect(async () => { await codeToHtml(code, { @@ -179,7 +175,6 @@ describe('decorations errors', () => { lang: 'ts', decorations: [{ start: -3, end: 5 }], }) - }).rejects - .toThrowErrorMatchingInlineSnapshot(`[ShikiError: Invalid decoration offset: -3. Code length: 252]`) + }).rejects.toThrowErrorMatchingInlineSnapshot(`[ShikiError: Invalid decoration offset: -3. Code length: 252]`) }) }) diff --git a/packages/shiki/test/engine-js/compare.test.ts b/packages/shiki/test/engine-js/compare.test.ts index b49d09269..71f8a605c 100644 --- a/packages/shiki/test/engine-js/compare.test.ts +++ b/packages/shiki/test/engine-js/compare.test.ts @@ -183,7 +183,8 @@ describe('cases', async () => { ]) } - await expect.soft(JSON.stringify(engineWasm.instances, null, 2)) + await expect + .soft(JSON.stringify(engineWasm.instances, null, 2)) .toMatchFileSnapshot(`./__records__/${c.c.name}.json`) compare.forEach(([a, b]) => { diff --git a/packages/shiki/test/grammar-state.test.ts b/packages/shiki/test/grammar-state.test.ts index 7c139edb0..a52cfd1a1 100644 --- a/packages/shiki/test/grammar-state.test.ts +++ b/packages/shiki/test/grammar-state.test.ts @@ -41,13 +41,17 @@ it('getLastGrammarState', async () => { grammarState: state, }) - expect.soft(highlightedNatural) - .not.toEqual(highlightedContext) + expect + .soft(highlightedNatural) + .not + .toEqual(highlightedContext) - expect.soft(highlightedContext) + expect + .soft(highlightedContext) .toEqual(highlightedContext2) - expect.soft(highlightedNatural) + expect + .soft(highlightedNatural) .toMatchInlineSnapshot(` { "bg": "#ffffff", @@ -115,8 +119,7 @@ it('getLastGrammarState', async () => { } `) - expect.soft(highlightedContext) - .toMatchInlineSnapshot(` + expect.soft(highlightedContext).toMatchInlineSnapshot(` { "bg": "#ffffff", "fg": "#393a34", @@ -203,7 +206,8 @@ it('grammarContextCode', async () => { .toMatchInlineSnapshot(`"<div :value="1 + 2"><button /></div>"`) expect(highlightedVueTemplate) - .not.toEqual(highlightedVueBare) + .not + .toEqual(highlightedVueBare) }) describe('errors', () => { diff --git a/packages/shiki/test/wasm4.test.ts b/packages/shiki/test/wasm4.test.ts index a9b53170f..0b09bbabf 100644 --- a/packages/shiki/test/wasm4.test.ts +++ b/packages/shiki/test/wasm4.test.ts @@ -11,7 +11,6 @@ it('wasm', async () => { const shiki = await createHighlighterCore({ themes: [nord], langs: [js as any], - // eslint-disable-next-line unicorn/consistent-function-scoping loadWasm: Promise.resolve().then(() => obj => WebAssembly.instantiate(wasmBinary, obj).then(r => r.instance)), }) diff --git a/packages/transformers/src/transformers/transformer-meta-highlight.ts b/packages/transformers/src/transformers/transformer-meta-highlight.ts index 215780bf7..c494dda35 100644 --- a/packages/transformers/src/transformers/transformer-meta-highlight.ts +++ b/packages/transformers/src/transformers/transformer-meta-highlight.ts @@ -6,7 +6,8 @@ export function parseMetaHighlightString(meta: string) { const match = meta.match(/\{([\d,-]+)\}/) if (!match) return null - const lines = match[1].split(',') + const lines = match[1] + .split(',') .flatMap((v) => { const num = v.split('-').map(v => Number.parseInt(v, 10)) if (num.length === 1) diff --git a/packages/twoslash/src/renderer-rich.ts b/packages/twoslash/src/renderer-rich.ts index 7ac89dda0..7940d3078 100644 --- a/packages/twoslash/src/renderer-rich.ts +++ b/packages/twoslash/src/renderer-rich.ts @@ -419,7 +419,8 @@ export function rendererRich(options: RendererRichOptions = {}): TwoslashRendere if (node.type !== 'text') throw new ShikiTwoslashError(`Renderer hook nodeCompletion only works on text nodes, got ${node.type}`) - const items: Element[] = query.completions + const items: Element[] = query + .completions .map((i) => { const kind = i.kind || 'default' const isDeprecated = 'kindModifiers' in i && typeof i.kindModifiers === 'string' && i.kindModifiers?.split(',').includes('deprecated') diff --git a/packages/twoslash/test/fixtures.test.ts b/packages/twoslash/test/fixtures.test.ts index 76ab0fdde..8a9afc428 100644 --- a/packages/twoslash/test/fixtures.test.ts +++ b/packages/twoslash/test/fixtures.test.ts @@ -30,11 +30,13 @@ describe('fixtures', () => { const html = hastToHtml(hast) - expect.soft(JSON.stringify(hast, null, 2)) + expect + .soft(JSON.stringify(hast, null, 2)) .toMatchFileSnapshot(`./out/${name}.json`) const style = '' - expect.soft(style + html) + expect + .soft(style + html) .toMatchFileSnapshot(`./out/${name}.html`) }) } diff --git a/packages/twoslash/test/out/import-vue.ts.html b/packages/twoslash/test/out/import-vue.ts.html index e60108ad6..f3068017a 100644 --- a/packages/twoslash/test/out/import-vue.ts.html +++ b/packages/twoslash/test/out/import-vue.ts.html @@ -1,6 +1,6 @@ -
import { function ref<T>(value: T): Ref<UnwrapRef<T>> (+1 overload)
Takes an inner value and returns a reactive and mutable ref object, which +
import { function ref<T>(value: T): [T] extends [Ref] ? IfAny<T, Ref<T>, T> : Ref<UnwrapRef<T>, UnwrapRef<T> | T> (+1 overload)
Takes an inner value and returns a reactive and mutable ref object, which has a single property `.value` that points to the inner value.
@paramvalue - The object to wrap in the ref.@see{@link https://vuejs.org/api/reactivity-core.html#ref}
ref
} from "vue"
-const const a: Ref<number>a = ref<number>(value: number): Ref<number> (+1 overload)
Takes an inner value and returns a reactive and mutable ref object, which +const const a: Ref<number, number>a = ref<number>(value: number): Ref<number, number> (+1 overload)
Takes an inner value and returns a reactive and mutable ref object, which has a single property `.value` that points to the inner value.
@paramvalue - The object to wrap in the ref.@see{@link https://vuejs.org/api/reactivity-core.html#ref}
ref
(10)
a.value = 'hi'
Type 'string' is not assignable to type 'number'.
\ No newline at end of file diff --git a/packages/twoslash/test/out/import-vue.ts.json b/packages/twoslash/test/out/import-vue.ts.json index 6ed53d0ab..4faece552 100644 --- a/packages/twoslash/test/out/import-vue.ts.json +++ b/packages/twoslash/test/out/import-vue.ts.json @@ -212,6 +212,253 @@ } ] }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": " [" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": "T" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "]" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#CB7676" + }, + "children": [ + { + "type": "text", + "value": " extends" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": " [" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": "Ref" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "]" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#CB7676" + }, + "children": [ + { + "type": "text", + "value": " ?" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": " IfAny" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "<" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": "T" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "," + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": " Ref" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "<" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": "T" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": ">," + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": " T" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": ">" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#CB7676" + }, + "children": [ + { + "type": "text", + "value": " :" + } + ] + }, { "type": "element", "tagName": "span", @@ -286,7 +533,98 @@ "children": [ { "type": "text", - "value": ">>" + "value": ">," + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": " UnwrapRef" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "<" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": "T" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": ">" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": " |" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": " T" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": ">" } ] }, @@ -669,6 +1007,32 @@ } ] }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": ", " + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": "number" + } + ] + }, { "type": "element", "tagName": "span", @@ -905,6 +1269,32 @@ } ] }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "," + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": " number" + } + ] + }, { "type": "element", "tagName": "span", diff --git a/packages/twoslash/test/target-multi-tokens.test.ts b/packages/twoslash/test/target-multi-tokens.test.ts index c4eaacf01..428a2ab3c 100644 --- a/packages/twoslash/test/target-multi-tokens.test.ts +++ b/packages/twoslash/test/target-multi-tokens.test.ts @@ -11,10 +11,13 @@ it('verify theme behavior', async () => { }) // `vitesse-dark` separates the the quotes ints tokens, where the error is targeting all strings - expect.soft(tokens.find(i => i.find(j => j.content === '"'))) + expect + .soft(tokens.find(i => i.find(j => j.content === '"'))) + .toBeDefined() + expect + .soft(tokens.find(i => i.find(j => j.content === '"ref"'))) + .not .toBeDefined() - expect.soft(tokens.find(i => i.find(j => j.content === '"ref"'))) - .not.toBeDefined() }) it('should split tokens correctly', async () => { diff --git a/packages/twoslash/test/token-split.test.ts b/packages/twoslash/test/token-split.test.ts index db0002343..51b5e8a62 100644 --- a/packages/twoslash/test/token-split.test.ts +++ b/packages/twoslash/test/token-split.test.ts @@ -13,10 +13,13 @@ it('verify theme behavior', async () => { }) // `min-dark` is less fine-grained, so that the import statement is a single token - expect.soft(tokens.find(i => i.find(j => j.content === ' { ref'))) + expect + .soft(tokens.find(i => i.find(j => j.content === ' { ref'))) + .toBeDefined() + expect + .soft(tokens.find(i => i.find(j => j.content === 'ref'))) + .not .toBeDefined() - expect.soft(tokens.find(i => i.find(j => j.content === 'ref'))) - .not.toBeDefined() }) it('should split tokens correctly', async () => { diff --git a/packages/vitepress-twoslash/test/fixtures.test.ts b/packages/vitepress-twoslash/test/fixtures.test.ts index 176c159d7..51cf2c3e0 100644 --- a/packages/vitepress-twoslash/test/fixtures.test.ts +++ b/packages/vitepress-twoslash/test/fixtures.test.ts @@ -32,8 +32,7 @@ describe('fixtures', async () => { ], }) - expect.soft(JSON.stringify(hast, null, 2)) - .toMatchFileSnapshot(`./out/${name}.json`) + expect.soft(JSON.stringify(hast, null, 2)).toMatchFileSnapshot(`./out/${name}.json`) }) } }) diff --git a/packages/vitepress-twoslash/test/out/import-vue.ts.json b/packages/vitepress-twoslash/test/out/import-vue.ts.json index d440dcbbc..ecd632f9e 100644 --- a/packages/vitepress-twoslash/test/out/import-vue.ts.json +++ b/packages/vitepress-twoslash/test/out/import-vue.ts.json @@ -235,6 +235,253 @@ } ] }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": " [" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": "T" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "]" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#CB7676" + }, + "children": [ + { + "type": "text", + "value": " extends" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": " [" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": "Ref" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "]" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#CB7676" + }, + "children": [ + { + "type": "text", + "value": " ?" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": " IfAny" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "<" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": "T" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "," + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": " Ref" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "<" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": "T" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": ">," + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": " T" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": ">" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#CB7676" + }, + "children": [ + { + "type": "text", + "value": " :" + } + ] + }, { "type": "element", "tagName": "span", @@ -309,7 +556,98 @@ "children": [ { "type": "text", - "value": ">>" + "value": ">," + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": " UnwrapRef" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "<" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": "T" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": ">" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": " |" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": " T" + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": ">" } ] }, @@ -853,6 +1191,32 @@ } ] }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": ", " + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": "number" + } + ] + }, { "type": "element", "tagName": "span", @@ -1112,6 +1476,32 @@ } ] }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#666666" + }, + "children": [ + { + "type": "text", + "value": "," + } + ] + }, + { + "type": "element", + "tagName": "span", + "properties": { + "style": "color:#5DA994" + }, + "children": [ + { + "type": "text", + "value": " number" + } + ] + }, { "type": "element", "tagName": "span", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ddc71ed96..17be8fa8a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,8 +7,8 @@ settings: catalogs: default: '@antfu/eslint-config': - specifier: ^3.0.0 - version: 3.0.0 + specifier: ^3.2.0 + version: 3.2.0 '@antfu/ni': specifier: ^0.23.0 version: 0.23.0 @@ -58,8 +58,8 @@ catalogs: specifier: ^1.2.5 version: 1.2.5 '@types/node': - specifier: ^22.5.2 - version: 22.5.2 + specifier: ^22.5.3 + version: 22.5.3 '@unocss/reset': specifier: ^0.62.3 version: 0.62.3 @@ -139,11 +139,11 @@ catalogs: specifier: ^1.3.4 version: 1.3.4 oniguruma-to-js: - specifier: ^0.3.0 - version: 0.3.0 + specifier: ^0.3.1 + version: 0.3.1 picocolors: - specifier: ^1.0.1 - version: 1.0.1 + specifier: ^1.1.0 + version: 1.1.0 pinia: specifier: ^2.2.2 version: 2.2.2 @@ -193,8 +193,8 @@ catalogs: specifier: ^0.16.7 version: 0.16.7 tm-grammars: - specifier: ^1.17.13 - version: 1.17.13 + specifier: ^1.17.15 + version: 1.17.15 tm-themes: specifier: ^1.8.1 version: 1.8.1 @@ -220,8 +220,8 @@ catalogs: specifier: ^0.27.4 version: 0.27.4 vite: - specifier: ^5.4.2 - version: 5.4.2 + specifier: ^5.4.3 + version: 5.4.3 vite-tsconfig-paths: specifier: ^5.0.1 version: 5.0.1 @@ -235,14 +235,14 @@ catalogs: specifier: ^2.0.5 version: 2.0.5 vue: - specifier: ^3.4.38 - version: 3.4.38 + specifier: ^3.5.1 + version: 3.5.1 vue-tsc: - specifier: ^2.1.4 - version: 2.1.4 + specifier: ^2.1.6 + version: 2.1.6 wrangler: - specifier: ^3.73.0 - version: 3.73.0 + specifier: ^3.74.0 + version: 3.74.0 overrides: '@shikijs/compat': workspace:* @@ -265,7 +265,7 @@ importers: devDependencies: '@antfu/eslint-config': specifier: 'catalog:' - version: 3.0.0(@typescript-eslint/utils@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(@vue/compiler-sfc@3.4.38)(eslint-plugin-format@0.1.2(eslint@9.9.1(jiti@1.21.6)))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)(vitest@2.0.5(@types/node@22.5.2)(terser@5.27.0)) + version: 3.2.0(@typescript-eslint/utils@8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(@vue/compiler-sfc@3.5.1)(eslint-plugin-format@0.1.2(eslint@9.9.1(jiti@1.21.6)))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)(vitest@2.0.5(@types/node@22.5.3)(terser@5.27.0)) '@antfu/ni': specifier: 'catalog:' version: 0.23.0 @@ -313,10 +313,10 @@ importers: version: 3.0.4 '@types/node': specifier: 'catalog:' - version: 22.5.2 + version: 22.5.3 '@vitest/coverage-v8': specifier: 'catalog:' - version: 2.0.5(vitest@2.0.5(@types/node@22.5.2)(terser@5.27.0)) + version: 2.0.5(vitest@2.0.5(@types/node@22.5.3)(terser@5.27.0)) ansi-sequence-parser: specifier: 'catalog:' version: 1.1.1 @@ -364,7 +364,7 @@ importers: version: 1.3.4 picocolors: specifier: 'catalog:' - version: 1.0.1 + version: 1.1.0 pnpm: specifier: 'catalog:' version: 9.9.0 @@ -406,22 +406,22 @@ importers: version: 2.0.0(typescript@5.5.4) vite: specifier: 'catalog:' - version: 5.4.2(@types/node@22.5.2)(terser@5.27.0) + version: 5.4.3(@types/node@22.5.3)(terser@5.27.0) vite-tsconfig-paths: specifier: 'catalog:' - version: 5.0.1(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(terser@5.27.0)) + version: 5.0.1(typescript@5.5.4)(vite@5.4.3(@types/node@22.5.3)(terser@5.27.0)) vitepress-plugin-mermaid: specifier: 'catalog:' - version: 2.0.16(mermaid@10.7.0)(vitepress@1.3.4(@algolia/client-search@4.22.1)(@types/node@22.5.2)(fuse.js@7.0.0)(postcss@8.4.41)(search-insights@2.13.0)(terser@5.27.0)(typescript@5.5.4)) + version: 2.0.16(mermaid@10.7.0)(vitepress@1.3.4(@algolia/client-search@4.22.1)(@types/node@22.5.3)(fuse.js@7.0.0)(postcss@8.4.41)(search-insights@2.13.0)(terser@5.27.0)(typescript@5.5.4)) vitest: specifier: 'catalog:' - version: 2.0.5(@types/node@22.5.2)(terser@5.27.0) + version: 2.0.5(@types/node@22.5.3)(terser@5.27.0) vue-tsc: specifier: 'catalog:' - version: 2.1.4(typescript@5.5.4) + version: 2.1.6(typescript@5.5.4) wrangler: specifier: 'catalog:' - version: 3.73.0 + version: 3.74.0 docs: dependencies: @@ -446,28 +446,28 @@ importers: version: 0.62.3 '@vueuse/core': specifier: 'catalog:' - version: 11.0.3(vue@3.4.38(typescript@5.5.4)) + version: 11.0.3(vue@3.5.1(typescript@5.5.4)) floating-vue: specifier: 'catalog:' - version: 5.2.2(vue@3.4.38(typescript@5.5.4)) + version: 5.2.2(vue@3.5.1(typescript@5.5.4)) pinia: specifier: 'catalog:' - version: 2.2.2(typescript@5.5.4)(vue@3.4.38(typescript@5.5.4)) + version: 2.2.2(typescript@5.5.4)(vue@3.5.1(typescript@5.5.4)) shiki: specifier: workspace:* version: link:../packages/shiki unocss: specifier: 'catalog:' - version: 0.62.3(postcss@8.4.41)(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.2)(terser@5.27.0)) + version: 0.62.3(postcss@8.4.44)(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.3)(terser@5.27.0)) unplugin-vue-components: specifier: 'catalog:' - version: 0.27.4(@babel/parser@7.25.3)(rollup@4.21.2)(vue@3.4.38(typescript@5.5.4)) + version: 0.27.4(@babel/parser@7.25.3)(rollup@4.21.2)(vue@3.5.1(typescript@5.5.4)) vitepress: specifier: 'catalog:' - version: 1.3.4(@algolia/client-search@4.22.1)(@types/node@22.5.2)(fuse.js@7.0.0)(postcss@8.4.41)(search-insights@2.13.0)(terser@5.27.0)(typescript@5.5.4) + version: 1.3.4(@algolia/client-search@4.22.1)(@types/node@22.5.3)(fuse.js@7.0.0)(postcss@8.4.44)(search-insights@2.13.0)(terser@5.27.0)(typescript@5.5.4) vue: specifier: 'catalog:' - version: 3.4.38(typescript@5.5.4) + version: 3.5.1(typescript@5.5.4) packages/cli: dependencies: @@ -515,7 +515,7 @@ importers: version: 9.0.2 oniguruma-to-js: specifier: 'catalog:' - version: 0.3.0 + version: 0.3.1 vscode-oniguruma: specifier: ^1.7.0 version: 1.7.0 @@ -556,7 +556,7 @@ importers: version: 5.5.4 vite: specifier: 'catalog:' - version: 5.4.2(@types/node@22.5.2)(terser@5.27.0) + version: 5.4.3(@types/node@22.5.3)(terser@5.27.0) packages/rehype: dependencies: @@ -606,7 +606,7 @@ importers: devDependencies: tm-grammars: specifier: 'catalog:' - version: 1.17.13 + version: 1.17.15 tm-themes: specifier: 'catalog:' version: 1.8.1 @@ -652,7 +652,7 @@ importers: version: link:../twoslash floating-vue: specifier: 'catalog:' - version: 5.2.2(vue@3.4.38(typescript@5.5.4)) + version: 5.2.2(vue@3.5.1(typescript@5.5.4)) mdast-util-from-markdown: specifier: 'catalog:' version: 2.0.1 @@ -673,7 +673,7 @@ importers: version: 0.2.10(typescript@5.5.4) vue: specifier: 'catalog:' - version: 3.4.38(typescript@5.5.4) + version: 3.5.1(typescript@5.5.4) packages: @@ -747,8 +747,8 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} - '@antfu/eslint-config@3.0.0': - resolution: {integrity: sha512-3HC35LrsW5kvHyVY2U6yat3Uz20/9Re5137LAKqAtl2tKictef2CmdYk5z+qK4UsaY32MMfg98MhuBbvAvZF1w==} + '@antfu/eslint-config@3.2.0': + resolution: {integrity: sha512-WdMqNAEXaRtBOual7yhkvVdakgeCJTmnqWwg1rVeiWce3lqRfMnhZocrnvQERR4ps23isHklpxvlYWHUEiYeAA==} hasBin: true peerDependencies: '@eslint-react/eslint-plugin': ^1.5.8 @@ -760,7 +760,7 @@ packages: eslint-plugin-format: '>=0.1.0' eslint-plugin-react-hooks: ^4.6.0 eslint-plugin-react-refresh: ^0.4.4 - eslint-plugin-solid: ^0.13.2 + eslint-plugin-solid: ^0.14.3 eslint-plugin-svelte: '>=2.35.1' prettier-plugin-astro: ^0.13.0 prettier-plugin-slidev: ^1.0.5 @@ -1774,8 +1774,8 @@ packages: '@shikijs/vscode-textmate@9.2.0': resolution: {integrity: sha512-5FinaOp6Vdh/dl4/yaOTh0ZeKch+rYS8DUb38V3GMKYVkdqzxw53lViRKUYkVILRiVQT7dcPC7VvAKOR73zVtQ==} - '@stylistic/eslint-plugin@2.7.1': - resolution: {integrity: sha512-JqnHom8CP14oOgPhwTPbn0QgsBJwgNySQSe00V9GQQDlY1tEqZUlK4jM2DIOJ5nE+oXoy51vZWHnHkfZ6rEruw==} + '@stylistic/eslint-plugin@2.7.2': + resolution: {integrity: sha512-3DVLU5HEuk2pQoBmXJlzvrxbKNpu2mJ0SRqz5O/CJjyNCr12ZiPcYMEtuArTyPOk5i7bsAU44nywh1rGfe3gKQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: '>=8.40.0' @@ -1847,8 +1847,8 @@ packages: '@types/node-forge@1.3.11': resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} - '@types/node@22.5.2': - resolution: {integrity: sha512-acJsPTEqYqulZS/Yp/S3GgeE6GZ0qYODUR8aVr/DkhHQ8l9nd4j5x1/ZJy9/gHrRlFMqkO6i0I3E27Alu4jjPg==} + '@types/node@22.5.3': + resolution: {integrity: sha512-njripolh85IA9SQGTAqbmnNZTdxv7X/4OYGPz8tgy5JDr8MP+uDBa921GpYEoDDnwm0Hmn5ZPeJgiiSTPoOzkQ==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -1862,8 +1862,8 @@ packages: '@types/web-bluetooth@0.0.20': resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} - '@typescript-eslint/eslint-plugin@8.3.0': - resolution: {integrity: sha512-FLAIn63G5KH+adZosDYiutqkOkYEx0nvcwNNfJAf+c7Ae/H35qWwTYvPZUKFj5AS+WfHG/WJJfWnDnyNUlp8UA==} + '@typescript-eslint/eslint-plugin@8.4.0': + resolution: {integrity: sha512-rg8LGdv7ri3oAlenMACk9e+AR4wUV0yrrG+XKsGKOK0EVgeEDqurkXMPILG2836fW4ibokTB5v4b6Z9+GYQDEw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -1873,8 +1873,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.3.0': - resolution: {integrity: sha512-h53RhVyLu6AtpUzVCYLPhZGL5jzTD9fZL+SYf/+hYOx2bDkyQXztXSc4tbvKYHzfMXExMLiL9CWqJmVz6+78IQ==} + '@typescript-eslint/parser@8.4.0': + resolution: {integrity: sha512-NHgWmKSgJk5K9N16GIhQ4jSobBoJwrmURaLErad0qlLjrpP5bECYg+wxVTGlGZmJbU03jj/dfnb6V9bw+5icsA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1887,8 +1887,12 @@ packages: resolution: {integrity: sha512-mz2X8WcN2nVu5Hodku+IR8GgCOl4C0G/Z1ruaWN4dgec64kDBabuXyPAr+/RgJtumv8EEkqIzf3X2U5DUKB2eg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.3.0': - resolution: {integrity: sha512-wrV6qh//nLbfXZQoj32EXKmwHf4b7L+xXLrP3FZ0GOUU72gSvLjeWUl5J5Ue5IwRxIV1TfF73j/eaBapxx99Lg==} + '@typescript-eslint/scope-manager@8.4.0': + resolution: {integrity: sha512-n2jFxLeY0JmKfUqy3P70rs6vdoPjHK8P/w+zJcV3fk0b0BwRXC/zxRTEnAsgYT7MwdQDt/ZEbtdzdVC+hcpF0A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/type-utils@8.4.0': + resolution: {integrity: sha512-pu2PAmNrl9KX6TtirVOrbLPLwDmASpZhK/XU7WvoKoCUkdtq9zF7qQ7gna0GBZFN0hci0vHaSusiL2WpsQk37A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1904,6 +1908,10 @@ packages: resolution: {integrity: sha512-y6sSEeK+facMaAyixM36dQ5NVXTnKWunfD1Ft4xraYqxP0lC0POJmIaL/mw72CUMqjY9qfyVfXafMeaUj0noWw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/types@8.4.0': + resolution: {integrity: sha512-T1RB3KQdskh9t3v/qv7niK6P8yvn7ja1mS7QK7XfRVL6wtZ8/mFs/FHf4fKvTA0rKnqnYxl/uHFNbnEt0phgbw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/typescript-estree@8.3.0': resolution: {integrity: sha512-Mq7FTHl0R36EmWlCJWojIC1qn/ZWo2YiWYc1XVtasJ7FIgjo0MVv9rZWXEE7IK2CGrtwe1dVOxWwqXUdNgfRCA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1913,16 +1921,35 @@ packages: typescript: optional: true + '@typescript-eslint/typescript-estree@8.4.0': + resolution: {integrity: sha512-kJ2OIP4dQw5gdI4uXsaxUZHRwWAGpREJ9Zq6D5L0BweyOrWsL6Sz0YcAZGWhvKnH7fm1J5YFE1JrQL0c9dd53A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/utils@8.3.0': resolution: {integrity: sha512-F77WwqxIi/qGkIGOGXNBLV7nykwfjLsdauRB/DOFPdv6LTF3BHHkBpq81/b5iMPSF055oO2BiivDJV4ChvNtXA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 + '@typescript-eslint/utils@8.4.0': + resolution: {integrity: sha512-swULW8n1IKLjRAgciCkTCafyTHHfwVQFt8DovmaF69sKbOxTSFMmIZaSHjqO9i/RV0wIblaawhzvtva8Nmm7lQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + '@typescript-eslint/visitor-keys@8.3.0': resolution: {integrity: sha512-RmZwrTbQ9QveF15m/Cl28n0LXD6ea2CjkhH5rQ55ewz3H24w+AMCJHPVYaZ8/0HoG8Z3cLLFFycRXxeO2tz9FA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/visitor-keys@8.4.0': + resolution: {integrity: sha512-zTQD6WLNTre1hj5wp09nBIDiOc2U5r/qmzo7wxPn4ZgAjHql09EofqhF9WF+fZHzL5aCyaIpPcT2hyxl73kr9A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript/vfs@1.6.0': resolution: {integrity: sha512-hvJUjNVeBMp77qPINuUvYXj4FyWeeMMKZkxEATEU3hqBAQ7qdTBCUFT7Sp0Zu0faeEtFf+ldXxMEDr/bk73ISg==} peerDependencies: @@ -2074,14 +2101,20 @@ packages: '@vue/compiler-core@3.4.38': resolution: {integrity: sha512-8IQOTCWnLFqfHzOGm9+P8OPSEDukgg3Huc92qSG49if/xI2SAwLHQO2qaPQbjCWPBcQoO1WYfXfTACUrWV3c5A==} + '@vue/compiler-core@3.5.1': + resolution: {integrity: sha512-WdjF+NSgFYdWttHevHw5uaJFtKPalhmxhlu2uREj8cLP0uyKKIR60/JvSZNTp0x+NSd63iTiORQTx3+tt55NWQ==} + '@vue/compiler-dom@3.4.38': resolution: {integrity: sha512-Osc/c7ABsHXTsETLgykcOwIxFktHfGSUDkb05V61rocEfsFDcjDLH/IHJSNJP+/Sv9KeN2Lx1V6McZzlSb9EhQ==} - '@vue/compiler-sfc@3.4.38': - resolution: {integrity: sha512-s5QfZ+9PzPh3T5H4hsQDJtI8x7zdJaew/dCGgqZ2630XdzaZ3AD8xGZfBqpT8oaD/p2eedd+pL8tD5vvt5ZYJQ==} + '@vue/compiler-dom@3.5.1': + resolution: {integrity: sha512-Ao23fB1lINo18HLCbJVApvzd9OQe8MgmQSgyY5+umbWj2w92w9KykVmJ4Iv2US5nak3ixc2B+7Km7JTNhQ8kSQ==} - '@vue/compiler-ssr@3.4.38': - resolution: {integrity: sha512-YXznKFQ8dxYpAz9zLuVvfcXhc31FSPFDcqr0kyujbOwNhlmaNvL2QfIy+RZeJgSn5Fk54CWoEUeW+NVBAogGaw==} + '@vue/compiler-sfc@3.5.1': + resolution: {integrity: sha512-DFizMNH8eDglLhlfwJ0+ciBsztaYe3fY/zcZjrqL1ljXvUw/UpC84M1d7HpBTCW68SNqZyIxrs1XWmf+73Y65w==} + + '@vue/compiler-ssr@3.5.1': + resolution: {integrity: sha512-C1hpSHQgRM8bg+5XWWD7CkFaVpSn9wZHCLRd10AmxqrH17d4EMP6+XcZpwBOM7H1jeStU5naEapZZWX0kso1tQ==} '@vue/compiler-vue2@2.7.16': resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==} @@ -2106,31 +2139,34 @@ packages: typescript: optional: true - '@vue/language-core@2.1.4': - resolution: {integrity: sha512-i8pfAgNjTNjabBX1xRsuV6aRw2E8bdQXwd5H8m3cUkTVJju3QN5nfdoXET0uK+yXsuloNJPzo6PXFujRRPNmMA==} + '@vue/language-core@2.1.6': + resolution: {integrity: sha512-MW569cSky9R/ooKMh6xa2g1D0AtRKbL56k83dzus/bx//RDJk24RHWkMzbAlXjMdDNyxAaagKPRquBIxkxlCkg==} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true - '@vue/reactivity@3.4.38': - resolution: {integrity: sha512-4vl4wMMVniLsSYYeldAKzbk72+D3hUnkw9z8lDeJacTxAkXeDAP1uE9xr2+aKIN0ipOL8EG2GPouVTH6yF7Gnw==} + '@vue/reactivity@3.5.1': + resolution: {integrity: sha512-aFE1nMDfbG7V+U5vdOk/NXxH/WX78XuAfX59vWmCM7Ao4lieoc83RkzOAWun61sQXlzNZ4IgROovFBHg+Iz1+Q==} - '@vue/runtime-core@3.4.38': - resolution: {integrity: sha512-21z3wA99EABtuf+O3IhdxP0iHgkBs1vuoCAsCKLVJPEjpVqvblwBnTj42vzHRlWDCyxu9ptDm7sI2ZMcWrQqlA==} + '@vue/runtime-core@3.5.1': + resolution: {integrity: sha512-Ce92CCholNRHR3ZtzpRp/7CDGIPFxQ7ElXt9iH91ilK5eOrUv3Z582NWJesuM3aYX71BujVG5/4ypUxigGNxjA==} - '@vue/runtime-dom@3.4.38': - resolution: {integrity: sha512-afZzmUreU7vKwKsV17H1NDThEEmdYI+GCAK/KY1U957Ig2NATPVjCROv61R19fjZNzMmiU03n79OMnXyJVN0UA==} + '@vue/runtime-dom@3.5.1': + resolution: {integrity: sha512-B/fUJfBLp5PwE0EWNfBYnA4JUea8Yufb3wN8fN0/HzaqBdkiRHh4sFHOjWqIY8GS75gj//8VqeEqhcU6yUjIkA==} - '@vue/server-renderer@3.4.38': - resolution: {integrity: sha512-NggOTr82FbPEkkUvBm4fTGcwUY8UuTsnWC/L2YZBmvaQ4C4Jl/Ao4HHTB+l7WnFCt5M/dN3l0XLuyjzswGYVCA==} + '@vue/server-renderer@3.5.1': + resolution: {integrity: sha512-C5V/fjQTitgVaRNH5wCoHynaWysjZ+VH68drNsAvQYg4ArHsZUQNz0nHoEWRj41nzqkVn2RUlnWaEOTl2o1Ppg==} peerDependencies: - vue: 3.4.38 + vue: 3.5.1 '@vue/shared@3.4.38': resolution: {integrity: sha512-q0xCiLkuWWQLzVrecPb0RMsNWyxICOjPrcrwxTUEHb1fsnvni4dcuyG7RT/Ie7VPTvnjzIaWzRMUBsrqNj/hhw==} + '@vue/shared@3.5.1': + resolution: {integrity: sha512-NdcTRoO4KuW2RSFgpE2c+E/R/ZHaRzWPxAGxhmxZaaqLh6nYCXx7lc9a88ioqOCxCaV2SFJmujkxbUScW7dNsQ==} + '@vueuse/core@11.0.0': resolution: {integrity: sha512-shibzNGjmRjZucEm97B8V0NO5J3vPHMCE/mltxQ3vHezbDoFQBMtK11XsfwfPionxSbo+buqPmsCljtYuXIBpw==} @@ -2924,8 +2960,8 @@ packages: eslint-parser-plain@0.1.0: resolution: {integrity: sha512-oOeA6FWU0UJT/Rxc3XF5Cq0nbIZbylm7j8+plqq0CZoE6m4u32OXJrR+9iy4srGMmF6v6pmgvP1zPxSRIGh3sg==} - eslint-plugin-antfu@2.3.6: - resolution: {integrity: sha512-31VwbU1Yd4BFNUUPQEazKyP79f3c+ohJtq5iZIuw38JjkRQdQAcF/31Kjr0DOKZXVDkeeNPrttKidrr3xhnhOA==} + eslint-plugin-antfu@2.4.1: + resolution: {integrity: sha512-VfS8kCz4iif43/Ahrnb6XHi4L5evyZEX3URFQJwj55KPBvmhRv4TgBHm7fsfQewJltFFkDRVIC6Vkg5QbS0ZnA==} peerDependencies: eslint: '*' @@ -3025,8 +3061,8 @@ packages: '@typescript-eslint/eslint-plugin': optional: true - eslint-plugin-vue@9.27.0: - resolution: {integrity: sha512-5Dw3yxEyuBSXTzT5/Ge1X5kIkRTQ3nvBn/VwPwInNiZBSJOO/timWMUaflONnFBzU6NhB68lxnCda7ULV5N7LA==} + eslint-plugin-vue@9.28.0: + resolution: {integrity: sha512-ShrihdjIhOTxs+MfWun6oJWuk+g/LAhN+CiuOl/jjkG3l0F2AuK5NMTaWqyvBgkFtpYmyks6P4603mLmhNJW8g==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 @@ -3972,8 +4008,8 @@ packages: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} - miniflare@3.20240821.0: - resolution: {integrity: sha512-4BhLGpssQxM/O6TZmJ10GkT3wBJK6emFkZ3V87/HyvQmVt8zMxEBvyw5uv6kdtp+7F54Nw6IKFJjPUL8rFVQrQ==} + miniflare@3.20240821.1: + resolution: {integrity: sha512-81qdiryDG7VXzZuoa0EwhkaIYYrn7+StRIrd/2i7SPqPUNICUBjbhFFKqTnvE1+fqIPPB6l8ShKFaFvmnZOASg==} engines: {node: '>=16.13'} hasBin: true @@ -4157,8 +4193,8 @@ packages: resolution: {integrity: sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==} engines: {node: '>=18'} - oniguruma-to-js@0.3.0: - resolution: {integrity: sha512-3Tj1J0E8lmJYMp2ICdi64Frcv0cqByzY4HdFf0xA+fV18TujcrmOiiHiXtsfOetXCEl5OZk5LXel3P2RaeFpzg==} + oniguruma-to-js@0.3.1: + resolution: {integrity: sha512-XjN13lwAvfv6fhFYuwN20ni2J6BiuXk5DrSJZU44jDOrvhzliqGAk79gWzdRVaUIXE3Z3Vr1r8mF66+KP9K8Ng==} optionator@0.9.3: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} @@ -4266,6 +4302,9 @@ packages: picocolors@1.0.1: resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + picocolors@1.1.0: + resolution: {integrity: sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==} + picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -4486,6 +4525,10 @@ packages: resolution: {integrity: sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==} engines: {node: ^10 || ^12 || >=14} + postcss@8.4.44: + resolution: {integrity: sha512-Aweb9unOEpQ3ezu4Q00DPvvM2ZTUitJdNKeP/+uQgr1IBIqu574IaZoURId7BKtWMREwzKa9OgzPzezWGPWFQw==} + engines: {node: ^10 || ^12 || >=14} + preact@10.19.3: resolution: {integrity: sha512-nHHTeFVBTHRGxJXKkKu5hT8C/YWBkPso4/Gad6xuj5dbptt9iF9NZr9pHbPhBrnT2klheu7mHTxTZ/LjwJiEiQ==} @@ -4962,8 +5005,8 @@ packages: resolution: {integrity: sha512-q5nmENpTHgiPVd1cJDDc9cVoYN5x4vCvwT3FMilvKPKneCBZAxn2YWQjDF0UMcE9k0Cay1gBiDfTMU0g+mPMQA==} engines: {node: '>=14.0.0'} - tm-grammars@1.17.13: - resolution: {integrity: sha512-I6zX/ulYNjz9BaUGc7qjs+82bLZJJToaR4x+h4NU1ywVOsIOaWOeCnIIBxeeHEr+Z30OSS56TwyYTDC3kRPV4w==} + tm-grammars@1.17.15: + resolution: {integrity: sha512-khEjI+hyw4dGltXw/7SAdUQMa0qucpJ14VddrX6b2nmYGPzg/fYdnnHWwn+fxITAFHS8igLY1ftIB+Ru+8oVhg==} tm-themes@1.8.1: resolution: {integrity: sha512-jTUfDRn5TysYhkxxEWBQDo1C1n4yoHcnfNNqXkVxIMGQCgal/9poGuMBsfbnZCPEmFVcN2rtrUwaOJ8s2hVQXg==} @@ -5238,6 +5281,37 @@ packages: terser: optional: true + vite@5.4.3: + resolution: {integrity: sha512-IH+nl64eq9lJjFqU+/yrRnrHPVTlgy42/+IzbOdaFDVlyLgI/wDlf+FCobXLX1cT0X5+7LMyH1mIy2xJdLfo8Q==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + vitepress-plugin-mermaid@2.0.16: resolution: {integrity: sha512-sW0Eu4+1EzRdwZBMGjzwKDsbQiuJIxCy8BlMw7Ur88p9fXalrFYKqZ3wYWLxsFTBipeooFIeanef/xw1P+v7vQ==} peerDependencies: @@ -5312,14 +5386,14 @@ packages: peerDependencies: vue: ^3.0.0 - vue-tsc@2.1.4: - resolution: {integrity: sha512-XTzMXQcsixAvNbpou/9qngEsZawaiJRZH3Ja+lfgRfv2A1TJv9vnZ/Kyv7XxPqv/TaZVFSnjGpM87VbWIg6yQg==} + vue-tsc@2.1.6: + resolution: {integrity: sha512-f98dyZp5FOukcYmbFpuSCJ4Z0vHSOSmxGttZJCsFeX0M4w/Rsq0s4uKXjcSRsZqsRgQa6z7SfuO+y0HVICE57Q==} hasBin: true peerDependencies: typescript: '>=5.0.0' - vue@3.4.38: - resolution: {integrity: sha512-f0ZgN+mZ5KFgVv9wz0f4OgVKukoXtS3nwET4c2vLBGQR50aI8G0cqbFtLlX9Yiyg3LFGBitruPHt2PxwTduJEw==} + vue@3.5.1: + resolution: {integrity: sha512-k4UNnbPOEskodSxMtv+B9GljdB0C9ubZDOmW6vnXVGIfMqmEsY2+ohasjGguhGkMkrcP/oOrbH0dSD41x5JQFw==} peerDependencies: typescript: '*' peerDependenciesMeta: @@ -5354,8 +5428,8 @@ packages: engines: {node: '>=16'} hasBin: true - wrangler@3.73.0: - resolution: {integrity: sha512-VrdDR2OpvsCQp+r5Of3rDP1W64cNN/LHLVx1roULOlPS8PZiv7rUYgkwhdCQ61+HICAaeSxWYIzkL5+B9+8W3g==} + wrangler@3.74.0: + resolution: {integrity: sha512-wmtb+tQrgb61yN+Wa2JM98G1Gt4tKFRYPw6xwuyzUcA74L+Dum1A13w22/manl9Gq1jA3dPn+7UzT5sYEVHRog==} engines: {node: '>=16.17.0'} hasBin: true peerDependencies: @@ -5537,20 +5611,20 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@antfu/eslint-config@3.0.0(@typescript-eslint/utils@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(@vue/compiler-sfc@3.4.38)(eslint-plugin-format@0.1.2(eslint@9.9.1(jiti@1.21.6)))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)(vitest@2.0.5(@types/node@22.5.2)(terser@5.27.0))': + '@antfu/eslint-config@3.2.0(@typescript-eslint/utils@8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(@vue/compiler-sfc@3.5.1)(eslint-plugin-format@0.1.2(eslint@9.9.1(jiti@1.21.6)))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)(vitest@2.0.5(@types/node@22.5.3)(terser@5.27.0))': dependencies: '@antfu/install-pkg': 0.4.1 '@clack/prompts': 0.7.0 '@eslint-community/eslint-plugin-eslint-comments': 4.4.0(eslint@9.9.1(jiti@1.21.6)) - '@stylistic/eslint-plugin': 2.7.1(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) - '@typescript-eslint/eslint-plugin': 8.3.0(@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) - '@typescript-eslint/parser': 8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) - '@vitest/eslint-plugin': 1.1.0(@typescript-eslint/utils@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)(vitest@2.0.5(@types/node@22.5.2)(terser@5.27.0)) + '@stylistic/eslint-plugin': 2.7.2(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 8.4.0(@typescript-eslint/parser@8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/parser': 8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) + '@vitest/eslint-plugin': 1.1.0(@typescript-eslint/utils@8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)(vitest@2.0.5(@types/node@22.5.3)(terser@5.27.0)) eslint: 9.9.1(jiti@1.21.6) eslint-config-flat-gitignore: 0.3.0(eslint@9.9.1(jiti@1.21.6)) eslint-flat-config-utils: 0.3.1 eslint-merge-processors: 0.1.0(eslint@9.9.1(jiti@1.21.6)) - eslint-plugin-antfu: 2.3.6(eslint@9.9.1(jiti@1.21.6)) + eslint-plugin-antfu: 2.4.1(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-command: 0.2.3(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-import-x: 4.1.1(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) eslint-plugin-jsdoc: 50.2.2(eslint@9.9.1(jiti@1.21.6)) @@ -5562,15 +5636,15 @@ snapshots: eslint-plugin-regexp: 2.6.0(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-toml: 0.11.1(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-unicorn: 55.0.0(eslint@9.9.1(jiti@1.21.6)) - eslint-plugin-unused-imports: 4.1.3(@typescript-eslint/eslint-plugin@8.3.0(@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6)) - eslint-plugin-vue: 9.27.0(eslint@9.9.1(jiti@1.21.6)) + eslint-plugin-unused-imports: 4.1.3(@typescript-eslint/eslint-plugin@8.4.0(@typescript-eslint/parser@8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6)) + eslint-plugin-vue: 9.28.0(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-yml: 1.14.0(eslint@9.9.1(jiti@1.21.6)) - eslint-processor-vue-blocks: 0.1.2(@vue/compiler-sfc@3.4.38)(eslint@9.9.1(jiti@1.21.6)) + eslint-processor-vue-blocks: 0.1.2(@vue/compiler-sfc@3.5.1)(eslint@9.9.1(jiti@1.21.6)) globals: 15.9.0 jsonc-eslint-parser: 2.4.0 local-pkg: 0.5.0 parse-gitignore: 2.0.0 - picocolors: 1.0.1 + picocolors: 1.1.0 toml-eslint-parser: 0.10.0 vue-eslint-parser: 9.4.3(eslint@9.9.1(jiti@1.21.6)) yaml-eslint-parser: 1.2.3 @@ -5597,7 +5671,7 @@ snapshots: '@babel/code-frame@7.24.7': dependencies: '@babel/highlight': 7.24.7 - picocolors: 1.0.1 + picocolors: 1.1.0 '@babel/compat-data@7.25.2': {} @@ -5737,7 +5811,7 @@ snapshots: '@babel/helper-validator-identifier': 7.24.7 chalk: 2.4.2 js-tokens: 4.0.0 - picocolors: 1.0.1 + picocolors: 1.1.0 '@babel/parser@7.25.3': dependencies: @@ -5815,13 +5889,13 @@ snapshots: '@clack/core@0.3.4': dependencies: - picocolors: 1.0.1 + picocolors: 1.1.0 sisteransi: 1.0.5 '@clack/prompts@0.7.0': dependencies: '@clack/core': 0.3.4 - picocolors: 1.0.1 + picocolors: 1.1.0 sisteransi: 1.0.5 '@cloudflare/kv-asset-handler@0.3.4': @@ -6447,7 +6521,7 @@ snapshots: '@shikijs/vscode-textmate@9.2.0': {} - '@stylistic/eslint-plugin@2.7.1(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': + '@stylistic/eslint-plugin@2.7.2(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': dependencies: '@types/eslint': 9.6.1 '@typescript-eslint/utils': 8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) @@ -6489,16 +6563,16 @@ snapshots: '@types/fs-extra@11.0.4': dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 22.5.2 + '@types/node': 22.5.3 '@types/fs-extra@8.1.5': dependencies: - '@types/node': 22.5.2 + '@types/node': 22.5.3 '@types/glob@7.2.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 22.5.2 + '@types/node': 22.5.3 '@types/hast@3.0.4': dependencies: @@ -6508,7 +6582,7 @@ snapshots: '@types/jsonfile@6.1.4': dependencies: - '@types/node': 22.5.2 + '@types/node': 22.5.3 '@types/linkify-it@5.0.0': {} @@ -6531,9 +6605,9 @@ snapshots: '@types/node-forge@1.3.11': dependencies: - '@types/node': 22.5.2 + '@types/node': 22.5.3 - '@types/node@22.5.2': + '@types/node@22.5.3': dependencies: undici-types: 6.19.6 @@ -6545,14 +6619,14 @@ snapshots: '@types/web-bluetooth@0.0.20': {} - '@typescript-eslint/eslint-plugin@8.3.0(@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@8.4.0(@typescript-eslint/parser@8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) - '@typescript-eslint/scope-manager': 8.3.0 - '@typescript-eslint/type-utils': 8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) - '@typescript-eslint/utils': 8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.3.0 + '@typescript-eslint/parser': 8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.4.0 + '@typescript-eslint/type-utils': 8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/utils': 8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.4.0 eslint: 9.9.1(jiti@1.21.6) graphemer: 1.4.0 ignore: 5.3.1 @@ -6563,12 +6637,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/parser@8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': dependencies: - '@typescript-eslint/scope-manager': 8.3.0 - '@typescript-eslint/types': 8.3.0 - '@typescript-eslint/typescript-estree': 8.3.0(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.3.0 + '@typescript-eslint/scope-manager': 8.4.0 + '@typescript-eslint/types': 8.4.0 + '@typescript-eslint/typescript-estree': 8.4.0(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.4.0 debug: 4.3.6 eslint: 9.9.1(jiti@1.21.6) optionalDependencies: @@ -6581,10 +6655,15 @@ snapshots: '@typescript-eslint/types': 8.3.0 '@typescript-eslint/visitor-keys': 8.3.0 - '@typescript-eslint/type-utils@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/scope-manager@8.4.0': dependencies: - '@typescript-eslint/typescript-estree': 8.3.0(typescript@5.5.4) - '@typescript-eslint/utils': 8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/types': 8.4.0 + '@typescript-eslint/visitor-keys': 8.4.0 + + '@typescript-eslint/type-utils@8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': + dependencies: + '@typescript-eslint/typescript-estree': 8.4.0(typescript@5.5.4) + '@typescript-eslint/utils': 8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) debug: 4.3.6 ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: @@ -6597,6 +6676,8 @@ snapshots: '@typescript-eslint/types@8.3.0': {} + '@typescript-eslint/types@8.4.0': {} + '@typescript-eslint/typescript-estree@8.3.0(typescript@5.5.4)': dependencies: '@typescript-eslint/types': 8.3.0 @@ -6612,6 +6693,21 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/typescript-estree@8.4.0(typescript@5.5.4)': + dependencies: + '@typescript-eslint/types': 8.4.0 + '@typescript-eslint/visitor-keys': 8.4.0 + debug: 4.3.6 + fast-glob: 3.3.2 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/utils@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1(jiti@1.21.6)) @@ -6623,11 +6719,27 @@ snapshots: - supports-color - typescript + '@typescript-eslint/utils@8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1(jiti@1.21.6)) + '@typescript-eslint/scope-manager': 8.4.0 + '@typescript-eslint/types': 8.4.0 + '@typescript-eslint/typescript-estree': 8.4.0(typescript@5.5.4) + eslint: 9.9.1(jiti@1.21.6) + transitivePeerDependencies: + - supports-color + - typescript + '@typescript-eslint/visitor-keys@8.3.0': dependencies: '@typescript-eslint/types': 8.3.0 eslint-visitor-keys: 3.4.3 + '@typescript-eslint/visitor-keys@8.4.0': + dependencies: + '@typescript-eslint/types': 8.4.0 + eslint-visitor-keys: 3.4.3 + '@typescript/vfs@1.6.0(typescript@5.5.4)': dependencies: debug: 4.3.6 @@ -6637,13 +6749,13 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@unocss/astro@0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.2)(terser@5.27.0))': + '@unocss/astro@0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.3)(terser@5.27.0))': dependencies: '@unocss/core': 0.62.3 '@unocss/reset': 0.62.3 - '@unocss/vite': 0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.2)(terser@5.27.0)) + '@unocss/vite': 0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.3)(terser@5.27.0)) optionalDependencies: - vite: 5.4.2(@types/node@22.5.2)(terser@5.27.0) + vite: 5.4.2(@types/node@22.5.3)(terser@5.27.0) transitivePeerDependencies: - rollup - supports-color @@ -6687,14 +6799,14 @@ snapshots: gzip-size: 6.0.0 sirv: 2.0.4 - '@unocss/postcss@0.62.3(postcss@8.4.41)': + '@unocss/postcss@0.62.3(postcss@8.4.44)': dependencies: '@unocss/config': 0.62.3 '@unocss/core': 0.62.3 '@unocss/rule-utils': 0.62.3 css-tree: 2.3.1 magic-string: 0.30.11 - postcss: 8.4.41 + postcss: 8.4.44 tinyglobby: 0.2.5 transitivePeerDependencies: - supports-color @@ -6780,7 +6892,7 @@ snapshots: dependencies: '@unocss/core': 0.62.3 - '@unocss/vite@0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.2)(terser@5.27.0))': + '@unocss/vite@0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.3)(terser@5.27.0))': dependencies: '@ampproject/remapping': 2.3.0 '@rollup/pluginutils': 5.1.0(rollup@4.21.2) @@ -6792,17 +6904,17 @@ snapshots: chokidar: 3.6.0 magic-string: 0.30.11 tinyglobby: 0.2.5 - vite: 5.4.2(@types/node@22.5.2)(terser@5.27.0) + vite: 5.4.2(@types/node@22.5.3)(terser@5.27.0) transitivePeerDependencies: - rollup - supports-color - '@vitejs/plugin-vue@5.1.2(vite@5.4.2(@types/node@22.5.2)(terser@5.27.0))(vue@3.4.38(typescript@5.5.4))': + '@vitejs/plugin-vue@5.1.2(vite@5.4.2(@types/node@22.5.3)(terser@5.27.0))(vue@3.5.1(typescript@5.5.4))': dependencies: - vite: 5.4.2(@types/node@22.5.2)(terser@5.27.0) - vue: 3.4.38(typescript@5.5.4) + vite: 5.4.2(@types/node@22.5.3)(terser@5.27.0) + vue: 3.5.1(typescript@5.5.4) - '@vitest/coverage-v8@2.0.5(vitest@2.0.5(@types/node@22.5.2)(terser@5.27.0))': + '@vitest/coverage-v8@2.0.5(vitest@2.0.5(@types/node@22.5.3)(terser@5.27.0))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -6816,17 +6928,17 @@ snapshots: std-env: 3.7.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.0.5(@types/node@22.5.2)(terser@5.27.0) + vitest: 2.0.5(@types/node@22.5.3)(terser@5.27.0) transitivePeerDependencies: - supports-color - '@vitest/eslint-plugin@1.1.0(@typescript-eslint/utils@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)(vitest@2.0.5(@types/node@22.5.2)(terser@5.27.0))': + '@vitest/eslint-plugin@1.1.0(@typescript-eslint/utils@8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)(vitest@2.0.5(@types/node@22.5.3)(terser@5.27.0))': dependencies: eslint: 9.9.1(jiti@1.21.6) optionalDependencies: - '@typescript-eslint/utils': 8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/utils': 8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) typescript: 5.5.4 - vitest: 2.0.5(@types/node@22.5.2)(terser@5.27.0) + vitest: 2.0.5(@types/node@22.5.3)(terser@5.27.0) '@vitest/expect@2.0.5': dependencies: @@ -6881,27 +6993,40 @@ snapshots: estree-walker: 2.0.2 source-map-js: 1.2.0 + '@vue/compiler-core@3.5.1': + dependencies: + '@babel/parser': 7.25.3 + '@vue/shared': 3.5.1 + entities: 4.5.0 + estree-walker: 2.0.2 + source-map-js: 1.2.0 + '@vue/compiler-dom@3.4.38': dependencies: '@vue/compiler-core': 3.4.38 '@vue/shared': 3.4.38 - '@vue/compiler-sfc@3.4.38': + '@vue/compiler-dom@3.5.1': + dependencies: + '@vue/compiler-core': 3.5.1 + '@vue/shared': 3.5.1 + + '@vue/compiler-sfc@3.5.1': dependencies: '@babel/parser': 7.25.3 - '@vue/compiler-core': 3.4.38 - '@vue/compiler-dom': 3.4.38 - '@vue/compiler-ssr': 3.4.38 - '@vue/shared': 3.4.38 + '@vue/compiler-core': 3.5.1 + '@vue/compiler-dom': 3.5.1 + '@vue/compiler-ssr': 3.5.1 + '@vue/shared': 3.5.1 estree-walker: 2.0.2 magic-string: 0.30.11 - postcss: 8.4.41 + postcss: 8.4.44 source-map-js: 1.2.0 - '@vue/compiler-ssr@3.4.38': + '@vue/compiler-ssr@3.5.1': dependencies: - '@vue/compiler-dom': 3.4.38 - '@vue/shared': 3.4.38 + '@vue/compiler-dom': 3.5.1 + '@vue/shared': 3.5.1 '@vue/compiler-vue2@2.7.16': dependencies: @@ -6941,7 +7066,7 @@ snapshots: optionalDependencies: typescript: 5.5.4 - '@vue/language-core@2.1.4(typescript@5.5.4)': + '@vue/language-core@2.1.6(typescript@5.5.4)': dependencies: '@volar/language-core': 2.4.1 '@vue/compiler-dom': 3.4.38 @@ -6954,55 +7079,57 @@ snapshots: optionalDependencies: typescript: 5.5.4 - '@vue/reactivity@3.4.38': + '@vue/reactivity@3.5.1': dependencies: - '@vue/shared': 3.4.38 + '@vue/shared': 3.5.1 - '@vue/runtime-core@3.4.38': + '@vue/runtime-core@3.5.1': dependencies: - '@vue/reactivity': 3.4.38 - '@vue/shared': 3.4.38 + '@vue/reactivity': 3.5.1 + '@vue/shared': 3.5.1 - '@vue/runtime-dom@3.4.38': + '@vue/runtime-dom@3.5.1': dependencies: - '@vue/reactivity': 3.4.38 - '@vue/runtime-core': 3.4.38 - '@vue/shared': 3.4.38 + '@vue/reactivity': 3.5.1 + '@vue/runtime-core': 3.5.1 + '@vue/shared': 3.5.1 csstype: 3.1.3 - '@vue/server-renderer@3.4.38(vue@3.4.38(typescript@5.5.4))': + '@vue/server-renderer@3.5.1(vue@3.5.1(typescript@5.5.4))': dependencies: - '@vue/compiler-ssr': 3.4.38 - '@vue/shared': 3.4.38 - vue: 3.4.38(typescript@5.5.4) + '@vue/compiler-ssr': 3.5.1 + '@vue/shared': 3.5.1 + vue: 3.5.1(typescript@5.5.4) '@vue/shared@3.4.38': {} - '@vueuse/core@11.0.0(vue@3.4.38(typescript@5.5.4))': + '@vue/shared@3.5.1': {} + + '@vueuse/core@11.0.0(vue@3.5.1(typescript@5.5.4))': dependencies: '@types/web-bluetooth': 0.0.20 '@vueuse/metadata': 11.0.0 - '@vueuse/shared': 11.0.0(vue@3.4.38(typescript@5.5.4)) - vue-demi: 0.14.10(vue@3.4.38(typescript@5.5.4)) + '@vueuse/shared': 11.0.0(vue@3.5.1(typescript@5.5.4)) + vue-demi: 0.14.10(vue@3.5.1(typescript@5.5.4)) transitivePeerDependencies: - '@vue/composition-api' - vue - '@vueuse/core@11.0.3(vue@3.4.38(typescript@5.5.4))': + '@vueuse/core@11.0.3(vue@3.5.1(typescript@5.5.4))': dependencies: '@types/web-bluetooth': 0.0.20 '@vueuse/metadata': 11.0.3 - '@vueuse/shared': 11.0.3(vue@3.4.38(typescript@5.5.4)) - vue-demi: 0.14.10(vue@3.4.38(typescript@5.5.4)) + '@vueuse/shared': 11.0.3(vue@3.5.1(typescript@5.5.4)) + vue-demi: 0.14.10(vue@3.5.1(typescript@5.5.4)) transitivePeerDependencies: - '@vue/composition-api' - vue - '@vueuse/integrations@11.0.0(focus-trap@7.5.4)(fuse.js@7.0.0)(vue@3.4.38(typescript@5.5.4))': + '@vueuse/integrations@11.0.0(focus-trap@7.5.4)(fuse.js@7.0.0)(vue@3.5.1(typescript@5.5.4))': dependencies: - '@vueuse/core': 11.0.0(vue@3.4.38(typescript@5.5.4)) - '@vueuse/shared': 11.0.0(vue@3.4.38(typescript@5.5.4)) - vue-demi: 0.14.10(vue@3.4.38(typescript@5.5.4)) + '@vueuse/core': 11.0.0(vue@3.5.1(typescript@5.5.4)) + '@vueuse/shared': 11.0.0(vue@3.5.1(typescript@5.5.4)) + vue-demi: 0.14.10(vue@3.5.1(typescript@5.5.4)) optionalDependencies: focus-trap: 7.5.4 fuse.js: 7.0.0 @@ -7014,16 +7141,16 @@ snapshots: '@vueuse/metadata@11.0.3': {} - '@vueuse/shared@11.0.0(vue@3.4.38(typescript@5.5.4))': + '@vueuse/shared@11.0.0(vue@3.5.1(typescript@5.5.4))': dependencies: - vue-demi: 0.14.10(vue@3.4.38(typescript@5.5.4)) + vue-demi: 0.14.10(vue@3.5.1(typescript@5.5.4)) transitivePeerDependencies: - '@vue/composition-api' - vue - '@vueuse/shared@11.0.3(vue@3.4.38(typescript@5.5.4))': + '@vueuse/shared@11.0.3(vue@3.5.1(typescript@5.5.4))': dependencies: - vue-demi: 0.14.10(vue@3.4.38(typescript@5.5.4)) + vue-demi: 0.14.10(vue@3.5.1(typescript@5.5.4)) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -7114,7 +7241,7 @@ snapshots: caniuse-lite: 1.0.30001638 fraction.js: 4.3.7 normalize-range: 0.1.2 - picocolors: 1.0.1 + picocolors: 1.1.0 postcss: 8.4.41 postcss-value-parser: 4.2.0 @@ -7863,7 +7990,7 @@ snapshots: eslint-parser-plain@0.1.0: {} - eslint-plugin-antfu@2.3.6(eslint@9.9.1(jiti@1.21.6)): + eslint-plugin-antfu@2.4.1(eslint@9.9.1(jiti@1.21.6)): dependencies: '@antfu/utils': 0.7.10 eslint: 9.9.1(jiti@1.21.6) @@ -8012,13 +8139,13 @@ snapshots: semver: 7.6.3 strip-indent: 3.0.0 - eslint-plugin-unused-imports@4.1.3(@typescript-eslint/eslint-plugin@8.3.0(@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6)): + eslint-plugin-unused-imports@4.1.3(@typescript-eslint/eslint-plugin@8.4.0(@typescript-eslint/parser@8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6)): dependencies: eslint: 9.9.1(jiti@1.21.6) optionalDependencies: - '@typescript-eslint/eslint-plugin': 8.3.0(@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 8.4.0(@typescript-eslint/parser@8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) - eslint-plugin-vue@9.27.0(eslint@9.9.1(jiti@1.21.6)): + eslint-plugin-vue@9.28.0(eslint@9.9.1(jiti@1.21.6)): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1(jiti@1.21.6)) eslint: 9.9.1(jiti@1.21.6) @@ -8043,9 +8170,9 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-processor-vue-blocks@0.1.2(@vue/compiler-sfc@3.4.38)(eslint@9.9.1(jiti@1.21.6)): + eslint-processor-vue-blocks@0.1.2(@vue/compiler-sfc@3.5.1)(eslint@9.9.1(jiti@1.21.6)): dependencies: - '@vue/compiler-sfc': 3.4.38 + '@vue/compiler-sfc': 3.5.1 eslint: 9.9.1(jiti@1.21.6) eslint-scope@7.2.2: @@ -8214,11 +8341,11 @@ snapshots: flatted@3.2.9: {} - floating-vue@5.2.2(vue@3.4.38(typescript@5.5.4)): + floating-vue@5.2.2(vue@3.5.1(typescript@5.5.4)): dependencies: '@floating-ui/dom': 1.1.1 - vue: 3.4.38(typescript@5.5.4) - vue-resize: 2.0.0-alpha.1(vue@3.4.38(typescript@5.5.4)) + vue: 3.5.1(typescript@5.5.4) + vue-resize: 2.0.0-alpha.1(vue@3.5.1(typescript@5.5.4)) focus-trap@7.5.4: dependencies: @@ -9311,7 +9438,7 @@ snapshots: min-indent@1.0.1: {} - miniflare@3.20240821.0: + miniflare@3.20240821.1: dependencies: '@cspotcode/source-map-support': 0.8.1 acorn: 8.12.1 @@ -9514,7 +9641,7 @@ snapshots: dependencies: mimic-function: 5.0.1 - oniguruma-to-js@0.3.0: {} + oniguruma-to-js@0.3.1: {} optionator@0.9.3: dependencies: @@ -9616,17 +9743,19 @@ snapshots: picocolors@1.0.1: {} + picocolors@1.1.0: {} + picomatch@2.3.1: {} picomatch@4.0.2: {} pidtree@0.6.0: {} - pinia@2.2.2(typescript@5.5.4)(vue@3.4.38(typescript@5.5.4)): + pinia@2.2.2(typescript@5.5.4)(vue@3.5.1(typescript@5.5.4)): dependencies: '@vue/devtools-api': 6.6.3 - vue: 3.4.38(typescript@5.5.4) - vue-demi: 0.14.10(vue@3.4.38(typescript@5.5.4)) + vue: 3.5.1(typescript@5.5.4) + vue-demi: 0.14.10(vue@3.5.1(typescript@5.5.4)) optionalDependencies: typescript: 5.5.4 @@ -9809,6 +9938,12 @@ snapshots: picocolors: 1.0.1 source-map-js: 1.2.0 + postcss@8.4.44: + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.1 + source-map-js: 1.2.0 + preact@10.19.3: {} prelude-ls@1.2.1: {} @@ -10253,7 +10388,7 @@ snapshots: css-tree: 2.3.1 css-what: 6.1.0 csso: 5.0.5 - picocolors: 1.0.1 + picocolors: 1.1.0 synckit@0.6.2: dependencies: @@ -10320,7 +10455,7 @@ snapshots: tinyspy@3.0.0: {} - tm-grammars@1.17.13: {} + tm-grammars@1.17.15: {} tm-themes@1.8.1: {} @@ -10502,13 +10637,13 @@ snapshots: universalify@2.0.1: {} - unocss@0.62.3(postcss@8.4.41)(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.2)(terser@5.27.0)): + unocss@0.62.3(postcss@8.4.44)(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.3)(terser@5.27.0)): dependencies: - '@unocss/astro': 0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.2)(terser@5.27.0)) + '@unocss/astro': 0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.3)(terser@5.27.0)) '@unocss/cli': 0.62.3(rollup@4.21.2) '@unocss/core': 0.62.3 '@unocss/extractor-arbitrary-variants': 0.62.3 - '@unocss/postcss': 0.62.3(postcss@8.4.41) + '@unocss/postcss': 0.62.3(postcss@8.4.44) '@unocss/preset-attributify': 0.62.3 '@unocss/preset-icons': 0.62.3 '@unocss/preset-mini': 0.62.3 @@ -10523,15 +10658,15 @@ snapshots: '@unocss/transformer-compile-class': 0.62.3 '@unocss/transformer-directives': 0.62.3 '@unocss/transformer-variant-group': 0.62.3 - '@unocss/vite': 0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.2)(terser@5.27.0)) + '@unocss/vite': 0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.3)(terser@5.27.0)) optionalDependencies: - vite: 5.4.2(@types/node@22.5.2)(terser@5.27.0) + vite: 5.4.2(@types/node@22.5.3)(terser@5.27.0) transitivePeerDependencies: - postcss - rollup - supports-color - unplugin-vue-components@0.27.4(@babel/parser@7.25.3)(rollup@4.21.2)(vue@3.4.38(typescript@5.5.4)): + unplugin-vue-components@0.27.4(@babel/parser@7.25.3)(rollup@4.21.2)(vue@3.5.1(typescript@5.5.4)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.0(rollup@4.21.2) @@ -10543,7 +10678,7 @@ snapshots: minimatch: 9.0.5 mlly: 1.7.1 unplugin: 1.12.1 - vue: 3.4.38(typescript@5.5.4) + vue: 3.5.1(typescript@5.5.4) optionalDependencies: '@babel/parser': 7.25.3 transitivePeerDependencies: @@ -10573,7 +10708,7 @@ snapshots: dependencies: browserslist: 4.23.1 escalade: 3.1.2 - picocolors: 1.0.1 + picocolors: 1.1.0 uri-js@4.4.1: dependencies: @@ -10613,13 +10748,13 @@ snapshots: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - vite-node@2.0.5(@types/node@22.5.2)(terser@5.27.0): + vite-node@2.0.5(@types/node@22.5.3)(terser@5.27.0): dependencies: cac: 6.7.14 debug: 4.3.6 pathe: 1.1.2 tinyrainbow: 1.2.0 - vite: 5.4.2(@types/node@22.5.2)(terser@5.27.0) + vite: 5.4.3(@types/node@22.5.3)(terser@5.27.0) transitivePeerDependencies: - '@types/node' - less @@ -10631,52 +10766,62 @@ snapshots: - supports-color - terser - vite-tsconfig-paths@5.0.1(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)(terser@5.27.0)): + vite-tsconfig-paths@5.0.1(typescript@5.5.4)(vite@5.4.3(@types/node@22.5.3)(terser@5.27.0)): dependencies: debug: 4.3.6 globrex: 0.1.2 tsconfck: 3.0.3(typescript@5.5.4) optionalDependencies: - vite: 5.4.2(@types/node@22.5.2)(terser@5.27.0) + vite: 5.4.3(@types/node@22.5.3)(terser@5.27.0) transitivePeerDependencies: - supports-color - typescript - vite@5.4.2(@types/node@22.5.2)(terser@5.27.0): + vite@5.4.2(@types/node@22.5.3)(terser@5.27.0): dependencies: esbuild: 0.21.5 postcss: 8.4.41 rollup: 4.21.2 optionalDependencies: - '@types/node': 22.5.2 + '@types/node': 22.5.3 + fsevents: 2.3.3 + terser: 5.27.0 + + vite@5.4.3(@types/node@22.5.3)(terser@5.27.0): + dependencies: + esbuild: 0.21.5 + postcss: 8.4.44 + rollup: 4.21.2 + optionalDependencies: + '@types/node': 22.5.3 fsevents: 2.3.3 terser: 5.27.0 - vitepress-plugin-mermaid@2.0.16(mermaid@10.7.0)(vitepress@1.3.4(@algolia/client-search@4.22.1)(@types/node@22.5.2)(fuse.js@7.0.0)(postcss@8.4.41)(search-insights@2.13.0)(terser@5.27.0)(typescript@5.5.4)): + vitepress-plugin-mermaid@2.0.16(mermaid@10.7.0)(vitepress@1.3.4(@algolia/client-search@4.22.1)(@types/node@22.5.3)(fuse.js@7.0.0)(postcss@8.4.41)(search-insights@2.13.0)(terser@5.27.0)(typescript@5.5.4)): dependencies: mermaid: 10.7.0 - vitepress: 1.3.4(@algolia/client-search@4.22.1)(@types/node@22.5.2)(fuse.js@7.0.0)(postcss@8.4.41)(search-insights@2.13.0)(terser@5.27.0)(typescript@5.5.4) + vitepress: 1.3.4(@algolia/client-search@4.22.1)(@types/node@22.5.3)(fuse.js@7.0.0)(postcss@8.4.41)(search-insights@2.13.0)(terser@5.27.0)(typescript@5.5.4) optionalDependencies: '@mermaid-js/mermaid-mindmap': 9.3.0 - vitepress@1.3.4(@algolia/client-search@4.22.1)(@types/node@22.5.2)(fuse.js@7.0.0)(postcss@8.4.41)(search-insights@2.13.0)(terser@5.27.0)(typescript@5.5.4): + vitepress@1.3.4(@algolia/client-search@4.22.1)(@types/node@22.5.3)(fuse.js@7.0.0)(postcss@8.4.41)(search-insights@2.13.0)(terser@5.27.0)(typescript@5.5.4): dependencies: '@docsearch/css': 3.6.1 '@docsearch/js': 3.6.1(@algolia/client-search@4.22.1)(search-insights@2.13.0) '@shikijs/core': link:packages/core '@shikijs/transformers': link:packages/transformers '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.1.2(vite@5.4.2(@types/node@22.5.2)(terser@5.27.0))(vue@3.4.38(typescript@5.5.4)) + '@vitejs/plugin-vue': 5.1.2(vite@5.4.2(@types/node@22.5.3)(terser@5.27.0))(vue@3.5.1(typescript@5.5.4)) '@vue/devtools-api': 7.3.8 '@vue/shared': 3.4.38 - '@vueuse/core': 11.0.3(vue@3.4.38(typescript@5.5.4)) - '@vueuse/integrations': 11.0.0(focus-trap@7.5.4)(fuse.js@7.0.0)(vue@3.4.38(typescript@5.5.4)) + '@vueuse/core': 11.0.3(vue@3.5.1(typescript@5.5.4)) + '@vueuse/integrations': 11.0.0(focus-trap@7.5.4)(fuse.js@7.0.0)(vue@3.5.1(typescript@5.5.4)) focus-trap: 7.5.4 mark.js: 8.11.1 minisearch: 7.1.0 shiki: link:packages/shiki - vite: 5.4.2(@types/node@22.5.2)(terser@5.27.0) - vue: 3.4.38(typescript@5.5.4) + vite: 5.4.2(@types/node@22.5.3)(terser@5.27.0) + vue: 3.5.1(typescript@5.5.4) optionalDependencies: postcss: 8.4.41 transitivePeerDependencies: @@ -10707,7 +10852,55 @@ snapshots: - typescript - universal-cookie - vitest@2.0.5(@types/node@22.5.2)(terser@5.27.0): + vitepress@1.3.4(@algolia/client-search@4.22.1)(@types/node@22.5.3)(fuse.js@7.0.0)(postcss@8.4.44)(search-insights@2.13.0)(terser@5.27.0)(typescript@5.5.4): + dependencies: + '@docsearch/css': 3.6.1 + '@docsearch/js': 3.6.1(@algolia/client-search@4.22.1)(search-insights@2.13.0) + '@shikijs/core': link:packages/core + '@shikijs/transformers': link:packages/transformers + '@types/markdown-it': 14.1.2 + '@vitejs/plugin-vue': 5.1.2(vite@5.4.2(@types/node@22.5.3)(terser@5.27.0))(vue@3.5.1(typescript@5.5.4)) + '@vue/devtools-api': 7.3.8 + '@vue/shared': 3.4.38 + '@vueuse/core': 11.0.3(vue@3.5.1(typescript@5.5.4)) + '@vueuse/integrations': 11.0.0(focus-trap@7.5.4)(fuse.js@7.0.0)(vue@3.5.1(typescript@5.5.4)) + focus-trap: 7.5.4 + mark.js: 8.11.1 + minisearch: 7.1.0 + shiki: link:packages/shiki + vite: 5.4.2(@types/node@22.5.3)(terser@5.27.0) + vue: 3.5.1(typescript@5.5.4) + optionalDependencies: + postcss: 8.4.44 + transitivePeerDependencies: + - '@algolia/client-search' + - '@types/node' + - '@types/react' + - '@vue/composition-api' + - async-validator + - axios + - change-case + - drauu + - fuse.js + - idb-keyval + - jwt-decode + - less + - lightningcss + - nprogress + - qrcode + - react + - react-dom + - sass + - sass-embedded + - search-insights + - sortablejs + - stylus + - sugarss + - terser + - typescript + - universal-cookie + + vitest@2.0.5(@types/node@22.5.3)(terser@5.27.0): dependencies: '@ampproject/remapping': 2.3.0 '@vitest/expect': 2.0.5 @@ -10725,11 +10918,11 @@ snapshots: tinybench: 2.8.0 tinypool: 1.0.0 tinyrainbow: 1.2.0 - vite: 5.4.2(@types/node@22.5.2)(terser@5.27.0) - vite-node: 2.0.5(@types/node@22.5.2)(terser@5.27.0) + vite: 5.4.3(@types/node@22.5.3)(terser@5.27.0) + vite-node: 2.0.5(@types/node@22.5.3)(terser@5.27.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.5.2 + '@types/node': 22.5.3 transitivePeerDependencies: - less - lightningcss @@ -10746,9 +10939,9 @@ snapshots: vscode-uri@3.0.8: {} - vue-demi@0.14.10(vue@3.4.38(typescript@5.5.4)): + vue-demi@0.14.10(vue@3.5.1(typescript@5.5.4)): dependencies: - vue: 3.4.38(typescript@5.5.4) + vue: 3.5.1(typescript@5.5.4) vue-eslint-parser@9.4.3(eslint@9.9.1(jiti@1.21.6)): dependencies: @@ -10763,24 +10956,24 @@ snapshots: transitivePeerDependencies: - supports-color - vue-resize@2.0.0-alpha.1(vue@3.4.38(typescript@5.5.4)): + vue-resize@2.0.0-alpha.1(vue@3.5.1(typescript@5.5.4)): dependencies: - vue: 3.4.38(typescript@5.5.4) + vue: 3.5.1(typescript@5.5.4) - vue-tsc@2.1.4(typescript@5.5.4): + vue-tsc@2.1.6(typescript@5.5.4): dependencies: '@volar/typescript': 2.4.1 - '@vue/language-core': 2.1.4(typescript@5.5.4) + '@vue/language-core': 2.1.6(typescript@5.5.4) semver: 7.6.3 typescript: 5.5.4 - vue@3.4.38(typescript@5.5.4): + vue@3.5.1(typescript@5.5.4): dependencies: - '@vue/compiler-dom': 3.4.38 - '@vue/compiler-sfc': 3.4.38 - '@vue/runtime-dom': 3.4.38 - '@vue/server-renderer': 3.4.38(vue@3.4.38(typescript@5.5.4)) - '@vue/shared': 3.4.38 + '@vue/compiler-dom': 3.5.1 + '@vue/compiler-sfc': 3.5.1 + '@vue/runtime-dom': 3.5.1 + '@vue/server-renderer': 3.5.1(vue@3.5.1(typescript@5.5.4)) + '@vue/shared': 3.5.1 optionalDependencies: typescript: 5.5.4 @@ -10809,7 +11002,7 @@ snapshots: '@cloudflare/workerd-linux-arm64': 1.20240821.1 '@cloudflare/workerd-windows-64': 1.20240821.1 - wrangler@3.73.0: + wrangler@3.74.0: dependencies: '@cloudflare/kv-asset-handler': 0.3.4 '@cloudflare/workers-shared': 0.4.1 @@ -10819,7 +11012,7 @@ snapshots: chokidar: 3.6.0 date-fns: 3.6.0 esbuild: 0.17.19 - miniflare: 3.20240821.0 + miniflare: 3.20240821.1 nanoid: 3.3.7 path-to-regexp: 6.2.1 resolve: 1.22.8 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 596784617..a53007c20 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -6,7 +6,7 @@ packages: - docs - packages/@shikijs/core/vendor/* catalog: - '@antfu/eslint-config': ^3.0.0 + '@antfu/eslint-config': ^3.2.0 '@antfu/ni': ^0.23.0 '@antfu/utils': ^0.7.10 '@iconify-json/carbon': ^1.2.1 @@ -24,7 +24,7 @@ catalog: '@types/hast': ^3.0.4 '@types/markdown-it': ^14.1.2 '@types/minimist': ^1.2.5 - '@types/node': ^22.5.2 + '@types/node': ^22.5.3 '@unocss/reset': ^0.62.3 '@vitest/coverage-v8': ^2.0.5 '@vueuse/core': ^11.0.3 @@ -51,8 +51,8 @@ catalog: minimist: ^1.2.8 monaco-editor-core: ^0.51.0 ofetch: ^1.3.4 - oniguruma-to-js: ^0.3.0 - picocolors: ^1.0.1 + oniguruma-to-js: ^0.3.1 + picocolors: ^1.1.0 pinia: ^2.2.2 pnpm: ^9.9.0 prettier: ^3.3.3 @@ -69,7 +69,7 @@ catalog: shiki-legacy: npm:shiki@^0.14.7 simple-git-hooks: ^2.11.1 taze: ^0.16.7 - tm-grammars: ^1.17.13 + tm-grammars: ^1.17.15 tm-themes: ^1.8.1 twoslash: ^0.2.10 twoslash-vue: ^0.2.10 @@ -79,12 +79,12 @@ catalog: unist-util-visit: ^5.0.0 unocss: ^0.62.3 unplugin-vue-components: ^0.27.4 - vite: ^5.4.2 + vite: ^5.4.3 vite-tsconfig-paths: ^5.0.1 vitepress: ^1.3.4 vitepress-plugin-mermaid: ^2.0.16 vitest: ^2.0.5 vscode-oniguruma: ^1.7.0 - vue: ^3.4.38 - vue-tsc: ^2.1.4 - wrangler: ^3.73.0 + vue: ^3.5.1 + vue-tsc: ^2.1.6 + wrangler: ^3.74.0 diff --git a/scripts/report-engine-js-compat.ts b/scripts/report-engine-js-compat.ts index 1d75a087d..00954e797 100644 --- a/scripts/report-engine-js-compat.ts +++ b/scripts/report-engine-js-compat.ts @@ -25,7 +25,8 @@ async function run() { await fs.rm(new URL('./compares', import.meta.url), { recursive: true, force: true }) for (const lang of Object.keys(bundledLanguages)) { - const sample = await fs.readFile(`../tm-grammars-themes/samples/${lang}.sample`, 'utf-8') + const sample = await fs + .readFile(`../tm-grammars-themes/samples/${lang}.sample`, 'utf-8') .catch(() => '') if (!sample) { @@ -96,9 +97,9 @@ async function run() { console.log(c.green(`[${lang}] OK`)) } } - catch (e) { + catch (e: any) { highlightMatch = 'error' - console.log(c.red(`[${lang}] Error ${e}`)) + console.log(c.red(`[${lang}] Error ${e} ${e.cause || ''}`)) } finally { report.push({