Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.

This commit is contained in:
becarta
2025-05-23 12:43:00 +02:00
parent f40db0f5c9
commit a544759a3b
11127 changed files with 1647032 additions and 0 deletions

36
node_modules/shiki/dist/bundle-full.d.mts generated vendored Normal file
View File

@@ -0,0 +1,36 @@
import { R as Root } from './types/index.d.mjs';
import * as _shikijs_types from '@shikijs/types';
import { HighlighterGeneric, CreateHighlighterFactory } from '@shikijs/types';
import { BundledLanguage } from './langs.mjs';
export { bundledLanguages, bundledLanguagesAlias, bundledLanguagesBase, bundledLanguagesInfo } from './langs.mjs';
import { BundledTheme } from './themes.mjs';
export { bundledThemes, bundledThemesInfo } from './themes.mjs';
export * from '@shikijs/core';
export { g as getWasmInlined } from './types/wasm-dynamic.mjs';
import '@shikijs/core/types';
type Highlighter = HighlighterGeneric<BundledLanguage, BundledTheme>;
/**
* Initiate a highlighter instance and load the specified languages and themes.
* Later it can be used synchronously to highlight code.
*
* Importing this function will bundle all languages and themes.
* @see https://shiki.style/guide/bundles#shiki-bundle-full
*
* For granular control over the bundle, check:
* @see https://shiki.style/guide/bundles#fine-grained-bundle
*/
declare const createHighlighter: CreateHighlighterFactory<BundledLanguage, BundledTheme>;
declare const codeToHtml: (code: string, options: _shikijs_types.CodeToHastOptions<BundledLanguage, BundledTheme>) => Promise<string>;
declare const codeToHast: (code: string, options: _shikijs_types.CodeToHastOptions<BundledLanguage, BundledTheme>) => Promise<Root>;
declare const codeToTokens: (code: string, options: _shikijs_types.CodeToTokensOptions<BundledLanguage, BundledTheme>) => Promise<_shikijs_types.TokensResult>;
declare const codeToTokensBase: (code: string, options: _shikijs_types.RequireKeys<_shikijs_types.CodeToTokensBaseOptions<BundledLanguage, BundledTheme>, "lang" | "theme">) => Promise<_shikijs_types.ThemedToken[][]>;
declare const codeToTokensWithThemes: (code: string, options: _shikijs_types.RequireKeys<_shikijs_types.CodeToTokensWithThemesOptions<BundledLanguage, BundledTheme>, "lang" | "themes">) => Promise<_shikijs_types.ThemedTokenWithVariants[][]>;
declare const getSingletonHighlighter: (options?: Partial<_shikijs_types.BundledHighlighterOptions<BundledLanguage, BundledTheme>> | undefined) => Promise<HighlighterGeneric<BundledLanguage, BundledTheme>>;
declare const getLastGrammarState: ((element: _shikijs_types.ThemedToken[][] | Root) => _shikijs_types.GrammarState) | ((code: string, options: _shikijs_types.CodeToTokensBaseOptions<BundledLanguage, BundledTheme>) => Promise<_shikijs_types.GrammarState>);
/**
* @deprecated Use `createHighlighter` or `getSingletonHighlighter` instead.
*/
declare const getHighlighter: CreateHighlighterFactory<BundledLanguage, BundledTheme>;
export { BundledLanguage, BundledTheme, type Highlighter, codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createHighlighter, getHighlighter, getLastGrammarState, getSingletonHighlighter };

31
node_modules/shiki/dist/bundle-full.mjs generated vendored Normal file
View File

@@ -0,0 +1,31 @@
import { bundledLanguages } from './langs.mjs';
export { bundledLanguagesAlias, bundledLanguagesBase, bundledLanguagesInfo } from './langs.mjs';
import { bundledThemes } from './themes.mjs';
export { bundledThemesInfo } from './themes.mjs';
export { g as getWasmInlined } from './wasm-dynamic-K7LwWlz7.js';
import { createdBundledHighlighter, createSingletonShorthands, warnDeprecated } from '@shikijs/core';
export * from '@shikijs/core';
import { createOnigurumaEngine } from '@shikijs/engine-oniguruma';
const createHighlighter = /* @__PURE__ */ createdBundledHighlighter({
langs: bundledLanguages,
themes: bundledThemes,
engine: () => createOnigurumaEngine(import('shiki/wasm'))
});
const {
codeToHtml,
codeToHast,
codeToTokens,
codeToTokensBase,
codeToTokensWithThemes,
getSingletonHighlighter,
getLastGrammarState
} = /* @__PURE__ */ createSingletonShorthands(
createHighlighter
);
const getHighlighter = (options) => {
warnDeprecated("`getHighlighter` is deprecated. Use `createHighlighter` or `getSingletonHighlighter` instead.");
return createHighlighter(options);
};
export { bundledLanguages, bundledThemes, codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createHighlighter, getHighlighter, getLastGrammarState, getSingletonHighlighter };

44
node_modules/shiki/dist/bundle-web.d.mts generated vendored Normal file
View File

@@ -0,0 +1,44 @@
import { R as Root } from './types/index.d.mjs';
import * as _shikijs_types from '@shikijs/types';
import { BundledLanguageInfo, DynamicImportLanguageRegistration, HighlighterGeneric, CreateHighlighterFactory } from '@shikijs/types';
import { BundledTheme } from './themes.mjs';
export { bundledThemes, bundledThemesInfo } from './themes.mjs';
export * from '@shikijs/core';
export { g as getWasmInlined } from './types/wasm-dynamic.mjs';
import '@shikijs/core/types';
declare const bundledLanguagesInfo: BundledLanguageInfo[];
declare const bundledLanguagesBase: {
[k: string]: DynamicImportLanguageRegistration;
};
declare const bundledLanguagesAlias: {
[k: string]: DynamicImportLanguageRegistration;
};
type BundledLanguage = 'angular-html' | 'angular-ts' | 'astro' | 'bash' | 'blade' | 'c' | 'c++' | 'coffee' | 'coffeescript' | 'cpp' | 'css' | 'glsl' | 'gql' | 'graphql' | 'haml' | 'handlebars' | 'hbs' | 'html' | 'html-derivative' | 'http' | 'imba' | 'jade' | 'java' | 'javascript' | 'jinja' | 'jison' | 'jl' | 'js' | 'json' | 'json5' | 'jsonc' | 'jsonl' | 'jsx' | 'julia' | 'less' | 'lit' | 'markdown' | 'marko' | 'md' | 'mdc' | 'mdx' | 'php' | 'postcss' | 'pug' | 'py' | 'python' | 'r' | 'regex' | 'regexp' | 'sass' | 'scss' | 'sh' | 'shell' | 'shellscript' | 'sql' | 'styl' | 'stylus' | 'svelte' | 'ts' | 'ts-tags' | 'tsx' | 'typescript' | 'vue' | 'vue-html' | 'wasm' | 'wgsl' | 'xml' | 'yaml' | 'yml' | 'zsh';
declare const bundledLanguages: Record<BundledLanguage, DynamicImportLanguageRegistration>;
type Highlighter = HighlighterGeneric<BundledLanguage, BundledTheme>;
/**
* Initiate a highlighter instance and load the specified languages and themes.
* Later it can be used synchronously to highlight code.
*
* Importing this function will bundle all languages and themes.
* @see https://shiki.style/guide/bundles#shiki-bundle-web
*
* For granular control over the bundle, check:
* @see https://shiki.style/guide/bundles#fine-grained-bundle
*/
declare const createHighlighter: CreateHighlighterFactory<BundledLanguage, BundledTheme>;
declare const codeToHtml: (code: string, options: _shikijs_types.CodeToHastOptions<BundledLanguage, BundledTheme>) => Promise<string>;
declare const codeToHast: (code: string, options: _shikijs_types.CodeToHastOptions<BundledLanguage, BundledTheme>) => Promise<Root>;
declare const codeToTokensBase: (code: string, options: _shikijs_types.RequireKeys<_shikijs_types.CodeToTokensBaseOptions<BundledLanguage, BundledTheme>, "lang" | "theme">) => Promise<_shikijs_types.ThemedToken[][]>;
declare const codeToTokens: (code: string, options: _shikijs_types.CodeToTokensOptions<BundledLanguage, BundledTheme>) => Promise<_shikijs_types.TokensResult>;
declare const codeToTokensWithThemes: (code: string, options: _shikijs_types.RequireKeys<_shikijs_types.CodeToTokensWithThemesOptions<BundledLanguage, BundledTheme>, "lang" | "themes">) => Promise<_shikijs_types.ThemedTokenWithVariants[][]>;
declare const getSingletonHighlighter: (options?: Partial<_shikijs_types.BundledHighlighterOptions<BundledLanguage, BundledTheme>> | undefined) => Promise<HighlighterGeneric<BundledLanguage, BundledTheme>>;
declare const getLastGrammarState: ((element: _shikijs_types.ThemedToken[][] | Root) => _shikijs_types.GrammarState) | ((code: string, options: _shikijs_types.CodeToTokensBaseOptions<BundledLanguage, BundledTheme>) => Promise<_shikijs_types.GrammarState>);
/**
* @deprecated Use `createHighlighter` or `getSingletonHighlighter` instead.
*/
declare const getHighlighter: CreateHighlighterFactory<BundledLanguage, BundledTheme>;
export { type BundledLanguage, BundledTheme, type Highlighter, bundledLanguages, bundledLanguagesAlias, bundledLanguagesBase, bundledLanguagesInfo, codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createHighlighter, getHighlighter, getLastGrammarState, getSingletonHighlighter };

346
node_modules/shiki/dist/bundle-web.mjs generated vendored Normal file
View File

@@ -0,0 +1,346 @@
import { bundledThemes } from './themes.mjs';
export { bundledThemesInfo } from './themes.mjs';
export { g as getWasmInlined } from './wasm-dynamic-K7LwWlz7.js';
import { createdBundledHighlighter, createSingletonShorthands, warnDeprecated } from '@shikijs/core';
export * from '@shikijs/core';
import { createOnigurumaEngine } from '@shikijs/engine-oniguruma';
const bundledLanguagesInfo = [
{
"id": "angular-html",
"name": "Angular HTML",
"import": () => import('@shikijs/langs/angular-html')
},
{
"id": "angular-ts",
"name": "Angular TypeScript",
"import": () => import('@shikijs/langs/angular-ts')
},
{
"id": "astro",
"name": "Astro",
"import": () => import('@shikijs/langs/astro')
},
{
"id": "blade",
"name": "Blade",
"import": () => import('@shikijs/langs/blade')
},
{
"id": "c",
"name": "C",
"import": () => import('@shikijs/langs/c')
},
{
"id": "coffee",
"name": "CoffeeScript",
"aliases": [
"coffeescript"
],
"import": () => import('@shikijs/langs/coffee')
},
{
"id": "cpp",
"name": "C++",
"aliases": [
"c++"
],
"import": () => import('@shikijs/langs/cpp')
},
{
"id": "css",
"name": "CSS",
"import": () => import('@shikijs/langs/css')
},
{
"id": "glsl",
"name": "GLSL",
"import": () => import('@shikijs/langs/glsl')
},
{
"id": "graphql",
"name": "GraphQL",
"aliases": [
"gql"
],
"import": () => import('@shikijs/langs/graphql')
},
{
"id": "haml",
"name": "Ruby Haml",
"import": () => import('@shikijs/langs/haml')
},
{
"id": "handlebars",
"name": "Handlebars",
"aliases": [
"hbs"
],
"import": () => import('@shikijs/langs/handlebars')
},
{
"id": "html",
"name": "HTML",
"import": () => import('@shikijs/langs/html')
},
{
"id": "html-derivative",
"name": "HTML (Derivative)",
"import": () => import('@shikijs/langs/html-derivative')
},
{
"id": "http",
"name": "HTTP",
"import": () => import('@shikijs/langs/http')
},
{
"id": "imba",
"name": "Imba",
"import": () => import('@shikijs/langs/imba')
},
{
"id": "java",
"name": "Java",
"import": () => import('@shikijs/langs/java')
},
{
"id": "javascript",
"name": "JavaScript",
"aliases": [
"js"
],
"import": () => import('@shikijs/langs/javascript')
},
{
"id": "jinja",
"name": "Jinja",
"import": () => import('@shikijs/langs/jinja')
},
{
"id": "jison",
"name": "Jison",
"import": () => import('@shikijs/langs/jison')
},
{
"id": "json",
"name": "JSON",
"import": () => import('@shikijs/langs/json')
},
{
"id": "json5",
"name": "JSON5",
"import": () => import('@shikijs/langs/json5')
},
{
"id": "jsonc",
"name": "JSON with Comments",
"import": () => import('@shikijs/langs/jsonc')
},
{
"id": "jsonl",
"name": "JSON Lines",
"import": () => import('@shikijs/langs/jsonl')
},
{
"id": "jsx",
"name": "JSX",
"import": () => import('@shikijs/langs/jsx')
},
{
"id": "julia",
"name": "Julia",
"aliases": [
"jl"
],
"import": () => import('@shikijs/langs/julia')
},
{
"id": "less",
"name": "Less",
"import": () => import('@shikijs/langs/less')
},
{
"id": "markdown",
"name": "Markdown",
"aliases": [
"md"
],
"import": () => import('@shikijs/langs/markdown')
},
{
"id": "marko",
"name": "Marko",
"import": () => import('@shikijs/langs/marko')
},
{
"id": "mdc",
"name": "MDC",
"import": () => import('@shikijs/langs/mdc')
},
{
"id": "mdx",
"name": "MDX",
"import": () => import('@shikijs/langs/mdx')
},
{
"id": "php",
"name": "PHP",
"import": () => import('@shikijs/langs/php')
},
{
"id": "postcss",
"name": "PostCSS",
"import": () => import('@shikijs/langs/postcss')
},
{
"id": "pug",
"name": "Pug",
"aliases": [
"jade"
],
"import": () => import('@shikijs/langs/pug')
},
{
"id": "python",
"name": "Python",
"aliases": [
"py"
],
"import": () => import('@shikijs/langs/python')
},
{
"id": "r",
"name": "R",
"import": () => import('@shikijs/langs/r')
},
{
"id": "regexp",
"name": "RegExp",
"aliases": [
"regex"
],
"import": () => import('@shikijs/langs/regexp')
},
{
"id": "sass",
"name": "Sass",
"import": () => import('@shikijs/langs/sass')
},
{
"id": "scss",
"name": "SCSS",
"import": () => import('@shikijs/langs/scss')
},
{
"id": "shellscript",
"name": "Shell",
"aliases": [
"bash",
"sh",
"shell",
"zsh"
],
"import": () => import('@shikijs/langs/shellscript')
},
{
"id": "sql",
"name": "SQL",
"import": () => import('@shikijs/langs/sql')
},
{
"id": "stylus",
"name": "Stylus",
"aliases": [
"styl"
],
"import": () => import('@shikijs/langs/stylus')
},
{
"id": "svelte",
"name": "Svelte",
"import": () => import('@shikijs/langs/svelte')
},
{
"id": "ts-tags",
"name": "TypeScript with Tags",
"aliases": [
"lit"
],
"import": () => import('@shikijs/langs/ts-tags')
},
{
"id": "tsx",
"name": "TSX",
"import": () => import('@shikijs/langs/tsx')
},
{
"id": "typescript",
"name": "TypeScript",
"aliases": [
"ts"
],
"import": () => import('@shikijs/langs/typescript')
},
{
"id": "vue",
"name": "Vue",
"import": () => import('@shikijs/langs/vue')
},
{
"id": "vue-html",
"name": "Vue HTML",
"import": () => import('@shikijs/langs/vue-html')
},
{
"id": "wasm",
"name": "WebAssembly",
"import": () => import('@shikijs/langs/wasm')
},
{
"id": "wgsl",
"name": "WGSL",
"import": () => import('@shikijs/langs/wgsl')
},
{
"id": "xml",
"name": "XML",
"import": () => import('@shikijs/langs/xml')
},
{
"id": "yaml",
"name": "YAML",
"aliases": [
"yml"
],
"import": () => import('@shikijs/langs/yaml')
}
];
const bundledLanguagesBase = Object.fromEntries(bundledLanguagesInfo.map((i) => [i.id, i.import]));
const bundledLanguagesAlias = Object.fromEntries(bundledLanguagesInfo.flatMap((i) => i.aliases?.map((a) => [a, i.import]) || []));
const bundledLanguages = {
...bundledLanguagesBase,
...bundledLanguagesAlias
};
const createHighlighter = /* @__PURE__ */ createdBundledHighlighter({
langs: bundledLanguages,
themes: bundledThemes,
engine: () => createOnigurumaEngine(import('shiki/wasm'))
});
const {
codeToHtml,
codeToHast,
codeToTokensBase,
codeToTokens,
codeToTokensWithThemes,
getSingletonHighlighter,
getLastGrammarState
} = /* @__PURE__ */ createSingletonShorthands(
createHighlighter
);
const getHighlighter = (options) => {
warnDeprecated("`getHighlighter` is deprecated. Use `createHighlighter` or `getSingletonHighlighter` instead.");
return createHighlighter(options);
};
export { bundledLanguages, bundledLanguagesAlias, bundledLanguagesBase, bundledLanguagesInfo, bundledThemes, codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createHighlighter, getHighlighter, getLastGrammarState, getSingletonHighlighter };

550
node_modules/shiki/dist/core-unwasm.d.mts generated vendored Normal file
View File

@@ -0,0 +1,550 @@
import { CreatedBundledHighlighterOptions, CreateHighlighterFactory, LanguageInput, ThemeInput, HighlighterCoreOptions, CodeToHastOptions, CodeToTokensOptions, TokensResult, RequireKeys, CodeToTokensBaseOptions, ThemedToken, CodeToTokensWithThemesOptions, ThemedTokenWithVariants, BundledHighlighterOptions, HighlighterGeneric, GrammarState, HighlighterCore, ShikiInternal, RegexEngine, LoadWasmOptions, ShikiTransformerContextCommon, CodeToHastRenderOptions, ShikiTransformerContextSource, ThemeRegistrationResolved, TokenizeWithThemeOptions, Grammar, ThemeRegistrationAny, ThemeRegistration, ShikiTransformer, MaybeArray, PlainTextLanguage, SpecialLanguage, SpecialTheme, MaybeGetter, TokenStyles, Position } from '@shikijs/types';
export * from '@shikijs/types';
import { a as RootContent, N as Nodes, R as Root, E as Element } from './types/index.d.mjs';
import { JavaScriptRegexEngineOptions } from '@shikijs/engine-javascript';
declare const enum FontStyle {
NotSet = -1,
None = 0,
Italic = 1,
Bold = 2,
Underline = 4,
Strikethrough = 8
}
type EncodedTokenAttributes = number;
declare class EncodedTokenMetadata {
static toBinaryStr(encodedTokenAttributes: EncodedTokenAttributes): string;
static print(encodedTokenAttributes: EncodedTokenAttributes): void;
static getLanguageId(encodedTokenAttributes: EncodedTokenAttributes): number;
static getTokenType(encodedTokenAttributes: EncodedTokenAttributes): StandardTokenType;
static containsBalancedBrackets(encodedTokenAttributes: EncodedTokenAttributes): boolean;
static getFontStyle(encodedTokenAttributes: EncodedTokenAttributes): number;
static getForeground(encodedTokenAttributes: EncodedTokenAttributes): number;
static getBackground(encodedTokenAttributes: EncodedTokenAttributes): number;
/**
* Updates the fields in `metadata`.
* A value of `0`, `NotSet` or `null` indicates that the corresponding field should be left as is.
*/
static set(encodedTokenAttributes: EncodedTokenAttributes, languageId: number | 0, tokenType: OptionalStandardTokenType | OptionalStandardTokenType.NotSet, containsBalancedBrackets: boolean | null, fontStyle: FontStyle | FontStyle.NotSet, foreground: number | 0, background: number | 0): number;
}
declare const enum StandardTokenType {
Other = 0,
Comment = 1,
String = 2,
RegEx = 3
}
declare const enum OptionalStandardTokenType {
Other = 0,
Comment = 1,
String = 2,
RegEx = 3,
NotSet = 8
}
type FormatSmartOptions = {
/**
* Prefer named character references (`&amp;`) where possible.
*/
useNamedReferences?: boolean;
/**
* Prefer the shortest possible reference, if that results in less bytes.
* **Note**: `useNamedReferences` can be omitted when using `useShortestReferences`.
*/
useShortestReferences?: boolean;
/**
* Whether to omit semicolons when possible.
* **Note**: This creates what HTML calls “parse errors” but is otherwise still valid HTML — dont use this except when building a minifier.
* Omitting semicolons is possible for certain named and numeric references in some cases.
*/
omitOptionalSemicolons?: boolean;
/**
* Create character references which dont fail in attributes.
* **Note**: `attribute` only applies when operating dangerously with
* `omitOptionalSemicolons: true`.
*/
attribute?: boolean;
};
type CoreOptions = {
/**
* Whether to only escape the given subset of characters.
*/
subset?: ReadonlyArray<string>;
/**
* Whether to only escape possibly dangerous characters.
* Those characters are `"`, `&`, `'`, `<`, `>`, and `` ` ``.
*/
escapeOnly?: boolean;
};
type Options$2 = CoreOptions & FormatSmartOptions;
type Options$1 = Options$2;
/**
* Serialize hast as HTML.
*
* @param {Array<RootContent> | Nodes} tree
* Tree to serialize.
* @param {Options | null | undefined} [options]
* Configuration (optional).
* @returns {string}
* Serialized HTML.
*/
declare function toHtml(tree: Array<RootContent> | Nodes, options?: Options | null | undefined): string;
type CharacterReferences = Omit<Options$1, "attribute" | "escapeOnly" | "subset">;
/**
* Configuration.
*/
type Options = {
/**
* Do not encode some characters which cause XSS vulnerabilities in older
* browsers (default: `false`).
*
* > ⚠️ **Danger**: only set this if you completely trust the content.
*/
allowDangerousCharacters?: boolean | null | undefined;
/**
* Allow `raw` nodes and insert them as raw HTML (default: `false`).
*
* When `false`, `Raw` nodes are encoded.
*
* > ⚠️ **Danger**: only set this if you completely trust the content.
*/
allowDangerousHtml?: boolean | null | undefined;
/**
* Do not encode characters which cause parse errors (even though they work),
* to save bytes (default: `false`).
*
* Not used in the SVG space.
*
* > 👉 **Note**: intentionally creates parse errors in markup (how parse
* > errors are handled is well defined, so this works but isnt pretty).
*/
allowParseErrors?: boolean | null | undefined;
/**
* Use “bogus comments” instead of comments to save byes: `<?charlie>`
* instead of `<!--charlie-->` (default: `false`).
*
* > 👉 **Note**: intentionally creates parse errors in markup (how parse
* > errors are handled is well defined, so this works but isnt pretty).
*/
bogusComments?: boolean | null | undefined;
/**
* Configure how to serialize character references (optional).
*/
characterReferences?: CharacterReferences | null | undefined;
/**
* Close SVG elements without any content with slash (`/`) on the opening tag
* instead of an end tag: `<circle />` instead of `<circle></circle>`
* (default: `false`).
*
* See `tightSelfClosing` to control whether a space is used before the
* slash.
*
* Not used in the HTML space.
*/
closeEmptyElements?: boolean | null | undefined;
/**
* Close self-closing nodes with an extra slash (`/`): `<img />` instead of
* `<img>` (default: `false`).
*
* See `tightSelfClosing` to control whether a space is used before the
* slash.
*
* Not used in the SVG space.
*/
closeSelfClosing?: boolean | null | undefined;
/**
* Collapse empty attributes: get `class` instead of `class=""` (default:
* `false`).
*
* Not used in the SVG space.
*
* > 👉 **Note**: boolean attributes (such as `hidden`) are always collapsed.
*/
collapseEmptyAttributes?: boolean | null | undefined;
/**
* Omit optional opening and closing tags (default: `false`).
*
* For example, in `<ol><li>one</li><li>two</li></ol>`, both `</li>` closing
* tags can be omitted.
* The first because its followed by another `li`, the last because its
* followed by nothing.
*
* Not used in the SVG space.
*/
omitOptionalTags?: boolean | null | undefined;
/**
* Leave attributes unquoted if that results in less bytes (default: `false`).
*
* Not used in the SVG space.
*/
preferUnquoted?: boolean | null | undefined;
/**
* Use the other quote if that results in less bytes (default: `false`).
*/
quoteSmart?: boolean | null | undefined;
/**
* Preferred quote to use (default: `'"'`).
*/
quote?: Quote | null | undefined;
/**
* When an `<svg>` element is found in the HTML space, this package already
* automatically switches to and from the SVG space when entering and exiting
* it (default: `'html'`).
*
* > 👉 **Note**: hast is not XML.
* > It supports SVG as embedded in HTML.
* > It does not support the features available in XML.
* > Passing SVG might break but fragments of modern SVG should be fine.
* > Use [`xast`][xast] if you need to support SVG as XML.
*/
space?: Space | null | undefined;
/**
* Join attributes together, without whitespace, if possible: get
* `class="a b"title="c d"` instead of `class="a b" title="c d"` to save
* bytes (default: `false`).
*
* Not used in the SVG space.
*
* > 👉 **Note**: intentionally creates parse errors in markup (how parse
* > errors are handled is well defined, so this works but isnt pretty).
*/
tightAttributes?: boolean | null | undefined;
/**
* Join known comma-separated attribute values with just a comma (`,`),
* instead of padding them on the right as well (`,␠`, where `␠` represents a
* space) (default: `false`).
*/
tightCommaSeparatedLists?: boolean | null | undefined;
/**
* Drop unneeded spaces in doctypes: `<!doctypehtml>` instead of
* `<!doctype html>` to save bytes (default: `false`).
*
* > 👉 **Note**: intentionally creates parse errors in markup (how parse
* > errors are handled is well defined, so this works but isnt pretty).
*/
tightDoctype?: boolean | null | undefined;
/**
* Do not use an extra space when closing self-closing elements: `<img/>`
* instead of `<img />` (default: `false`).
*
* > 👉 **Note**: only used if `closeSelfClosing: true` or
* > `closeEmptyElements: true`.
*/
tightSelfClosing?: boolean | null | undefined;
/**
* Use a `<!DOCTYPE…` instead of `<!doctype…` (default: `false`).
*
* Useless except for XHTML.
*/
upperDoctype?: boolean | null | undefined;
/**
* Tag names of elements to serialize without closing tag (default: `html-void-elements`).
*
* Not used in the SVG space.
*
* > 👉 **Note**: Its highly unlikely that you want to pass this, because
* > hast is not for XML, and HTML will not add more void elements.
*/
voids?: ReadonlyArray<string> | null | undefined;
};
/**
* HTML quotes for attribute values.
*/
type Quote = "\"" | "'";
/**
* Namespace.
*/
type Space = "html" | "svg";
/**
* Create a `createHighlighter` function with bundled themes, languages, and engine.
*
* @example
* ```ts
* const createHighlighter = createdBundledHighlighter({
* langs: {
* typescript: () => import('@shikijs/langs/typescript'),
* // ...
* },
* themes: {
* nord: () => import('@shikijs/themes/nord'),
* // ...
* },
* engine: () => createOnigurumaEngine(), // or createJavaScriptRegexEngine()
* })
* ```
*
* @param options
*/
declare function createdBundledHighlighter<BundledLangs extends string, BundledThemes extends string>(options: CreatedBundledHighlighterOptions<BundledLangs, BundledThemes>): CreateHighlighterFactory<BundledLangs, BundledThemes>;
/**
* Create a `createHighlighter` function with bundled themes and languages.
*
* @deprecated Use `createdBundledHighlighter({ langs, themes, engine })` signature instead.
*/
declare function createdBundledHighlighter<BundledLangs extends string, BundledThemes extends string>(bundledLanguages: Record<BundledLangs, LanguageInput>, bundledThemes: Record<BundledThemes, ThemeInput>, loadWasm: HighlighterCoreOptions['loadWasm']): CreateHighlighterFactory<BundledLangs, BundledThemes>;
interface ShorthandsBundle<L extends string, T extends string> {
/**
* Shorthand for `codeToHtml` with auto-loaded theme and language.
* A singleton highlighter it maintained internally.
*
* Differences from `highlighter.codeToHtml()`, this function is async.
*/
codeToHtml: (code: string, options: CodeToHastOptions<L, T>) => Promise<string>;
/**
* Shorthand for `codeToHtml` with auto-loaded theme and language.
* A singleton highlighter it maintained internally.
*
* Differences from `highlighter.codeToHtml()`, this function is async.
*/
codeToHast: (code: string, options: CodeToHastOptions<L, T>) => Promise<Root>;
/**
* Shorthand for `codeToTokens` with auto-loaded theme and language.
* A singleton highlighter it maintained internally.
*
* Differences from `highlighter.codeToTokens()`, this function is async.
*/
codeToTokens: (code: string, options: CodeToTokensOptions<L, T>) => Promise<TokensResult>;
/**
* Shorthand for `codeToTokensBase` with auto-loaded theme and language.
* A singleton highlighter it maintained internally.
*
* Differences from `highlighter.codeToTokensBase()`, this function is async.
*/
codeToTokensBase: (code: string, options: RequireKeys<CodeToTokensBaseOptions<L, T>, 'theme' | 'lang'>) => Promise<ThemedToken[][]>;
/**
* Shorthand for `codeToTokensWithThemes` with auto-loaded theme and language.
* A singleton highlighter it maintained internally.
*
* Differences from `highlighter.codeToTokensWithThemes()`, this function is async.
*/
codeToTokensWithThemes: (code: string, options: RequireKeys<CodeToTokensWithThemesOptions<L, T>, 'themes' | 'lang'>) => Promise<ThemedTokenWithVariants[][]>;
/**
* Get the singleton highlighter.
*/
getSingletonHighlighter: (options?: Partial<BundledHighlighterOptions<L, T>>) => Promise<HighlighterGeneric<L, T>>;
/**
* Shorthand for `getLastGrammarState` with auto-loaded theme and language.
* A singleton highlighter it maintained internally.
*/
getLastGrammarState: ((element: ThemedToken[][] | Root) => GrammarState) | ((code: string, options: CodeToTokensBaseOptions<L, T>) => Promise<GrammarState>);
}
declare function makeSingletonHighlighter<L extends string, T extends string>(createHighlighter: CreateHighlighterFactory<L, T>): (options?: Partial<BundledHighlighterOptions<L, T>>) => Promise<HighlighterGeneric<L, T>>;
declare function createSingletonShorthands<L extends string, T extends string>(createHighlighter: CreateHighlighterFactory<L, T>): ShorthandsBundle<L, T>;
/**
* Create a Shiki core highlighter instance, with no languages or themes bundled.
* Wasm and each language and theme must be loaded manually.
*
* @see http://shiki.style/guide/bundles#fine-grained-bundle
*/
declare function createHighlighterCore(options?: HighlighterCoreOptions): Promise<HighlighterCore>;
/**
* Create a Shiki core highlighter instance, with no languages or themes bundled.
* Wasm and each language and theme must be loaded manually.
*
* Synchronous version of `createHighlighterCore`, which requires to provide the engine and all themes and languages upfront.
*
* @see http://shiki.style/guide/bundles#fine-grained-bundle
*/
declare function createHighlighterCoreSync(options?: HighlighterCoreOptions<true>): HighlighterCore;
declare function makeSingletonHighlighterCore(createHighlighter: typeof createHighlighterCore): (options?: Partial<HighlighterCoreOptions>) => Promise<HighlighterCore>;
declare const getSingletonHighlighterCore: (options?: Partial<HighlighterCoreOptions>) => Promise<HighlighterCore>;
/**
* @deprecated Use `createHighlighterCore` or `getSingletonHighlighterCore` instead.
*/
declare function getHighlighterCore(options?: HighlighterCoreOptions): Promise<HighlighterCore>;
/**
* Get the minimal shiki context for rendering.
*/
declare function createShikiInternal(options?: HighlighterCoreOptions): Promise<ShikiInternal>;
/**
* @deprecated Use `createShikiInternal` instead.
*/
declare function getShikiInternal(options?: HighlighterCoreOptions): Promise<ShikiInternal>;
/**
* Get the minimal shiki context for rendering.
*
* Synchronous version of `createShikiInternal`, which requires to provide the engine and all themes and languages upfront.
*/
declare function createShikiInternalSync(options: HighlighterCoreOptions<true>): ShikiInternal;
/**
* @deprecated Import `createJavaScriptRegexEngine` from `@shikijs/engine-javascript` or `shiki/engine/javascript` instead.
*/
declare function createJavaScriptRegexEngine(options?: JavaScriptRegexEngineOptions): RegexEngine;
/**
* @deprecated Import `defaultJavaScriptRegexConstructor` from `@shikijs/engine-javascript` or `shiki/engine/javascript` instead.
*/
declare function defaultJavaScriptRegexConstructor(pattern: string): RegExp;
/**
* @deprecated Import `createOnigurumaEngine` from `@shikijs/engine-oniguruma` or `shiki/engine/oniguruma` instead.
*/
declare function createOnigurumaEngine(options?: LoadWasmOptions | null): Promise<RegexEngine>;
/**
* @deprecated Import `createOnigurumaEngine` from `@shikijs/engine-oniguruma` or `shiki/engine/oniguruma` instead.
*/
declare function createWasmOnigEngine(options?: LoadWasmOptions | null): Promise<RegexEngine>;
/**
* @deprecated Import `loadWasm` from `@shikijs/engine-oniguruma` or `shiki/engine/oniguruma` instead.
*/
declare function loadWasm(options: LoadWasmOptions): Promise<void>;
declare function codeToHast(internal: ShikiInternal, code: string, options: CodeToHastOptions, transformerContext?: ShikiTransformerContextCommon): Root;
declare function tokensToHast(tokens: ThemedToken[][], options: CodeToHastRenderOptions, transformerContext: ShikiTransformerContextSource, grammarState?: GrammarState | undefined): Root;
/**
* Get highlighted code in HTML.
*/
declare function codeToHtml(internal: ShikiInternal, code: string, options: CodeToHastOptions): string;
/**
* High-level code-to-tokens API.
*
* It will use `codeToTokensWithThemes` or `codeToTokensBase` based on the options.
*/
declare function codeToTokens(internal: ShikiInternal, code: string, options: CodeToTokensOptions): TokensResult;
declare function tokenizeAnsiWithTheme(theme: ThemeRegistrationResolved, fileContents: string, options?: TokenizeWithThemeOptions): ThemedToken[][];
/**
* Code to tokens, with a simple theme.
*/
declare function codeToTokensBase(internal: ShikiInternal, code: string, options?: CodeToTokensBaseOptions): ThemedToken[][];
declare function tokenizeWithTheme(code: string, grammar: Grammar, theme: ThemeRegistrationResolved, colorMap: string[], options: TokenizeWithThemeOptions): ThemedToken[][];
/**
* Get tokens with multiple themes
*/
declare function codeToTokensWithThemes(internal: ShikiInternal, code: string, options: CodeToTokensWithThemesOptions): ThemedTokenWithVariants[][];
/**
* Normalize a textmate theme to shiki theme
*/
declare function normalizeTheme(rawTheme: ThemeRegistrationAny): ThemeRegistrationResolved;
interface CssVariablesThemeOptions {
/**
* Theme name. Need to unique if multiple css variables themes are created
*
* @default 'css-variables'
*/
name?: string;
/**
* Prefix for css variables
*
* @default '--shiki-'
*/
variablePrefix?: string;
/**
* Default value for css variables, the key is without the prefix
*
* @example `{ 'token-comment': '#888' }` will generate `var(--shiki-token-comment, #888)` for comments
*/
variableDefaults?: Record<string, string>;
/**
* Enable font style
*
* @default true
*/
fontStyle?: boolean;
}
/**
* A factory function to create a css-variable-based theme
*
* @see https://shiki.style/guide/theme-colors#css-variables-theme
*/
declare function createCssVariablesTheme(options?: CssVariablesThemeOptions): ThemeRegistration;
/**
* A built-in transformer to add decorations to the highlighted code.
*/
declare function transformerDecorations(): ShikiTransformer;
declare function toArray<T>(x: MaybeArray<T>): T[];
/**
* Split a string into lines, each line preserves the line ending.
*/
declare function splitLines(code: string, preserveEnding?: boolean): [string, number][];
/**
* Check if the language is plaintext that is ignored by Shiki.
*
* Hard-coded plain text languages: `plaintext`, `txt`, `text`, `plain`.
*/
declare function isPlainLang(lang: string | null | undefined): lang is PlainTextLanguage;
/**
* Check if the language is specially handled or bypassed by Shiki.
*
* Hard-coded languages: `ansi` and plaintexts like `plaintext`, `txt`, `text`, `plain`.
*/
declare function isSpecialLang(lang: any): lang is SpecialLanguage;
/**
* Check if the theme is specially handled or bypassed by Shiki.
*
* Hard-coded themes: `none`.
*/
declare function isNoneTheme(theme: string | ThemeInput | null | undefined): theme is 'none';
/**
* Check if the theme is specially handled or bypassed by Shiki.
*
* Hard-coded themes: `none`.
*/
declare function isSpecialTheme(theme: string | ThemeInput | null | undefined): theme is SpecialTheme;
/**
* Utility to append class to a hast node
*
* If the `property.class` is a string, it will be splitted by space and converted to an array.
*/
declare function addClassToHast(node: Element, className: string | string[]): Element;
/**
* Split a token into multiple tokens by given offsets.
*
* The offsets are relative to the token, and should be sorted.
*/
declare function splitToken<T extends Pick<ThemedToken, 'content' | 'offset'>>(token: T, offsets: number[]): T[];
/**
* Split 2D tokens array by given breakpoints.
*/
declare function splitTokens<T extends Pick<ThemedToken, 'content' | 'offset'>>(tokens: T[][], breakpoints: number[] | Set<number>): T[][];
/**
* Normalize a getter to a promise.
*/
declare function normalizeGetter<T>(p: MaybeGetter<T>): Promise<T>;
declare function resolveColorReplacements(theme: ThemeRegistrationAny | string, options?: TokenizeWithThemeOptions): Record<string, string | undefined>;
declare function applyColorReplacements(color: string, replacements?: Record<string, string | undefined>): string;
declare function applyColorReplacements(color?: string | undefined, replacements?: Record<string, string | undefined>): string | undefined;
declare function getTokenStyleObject(token: TokenStyles): Record<string, string>;
declare function stringifyTokenStyle(token: string | Record<string, string>): string;
/**
* Creates a converter between index and position in a code block.
*
* Overflow/underflow are unchecked.
*/
declare function createPositionConverter(code: string): {
lines: string[];
indexToPos: (index: number) => Position;
posToIndex: (line: number, character: number) => number;
};
type DeprecationTarget = 3;
/**
* Enable runtime warning for deprecated APIs, for the future versions of Shiki.
*
* You can pass a major version to only warn for deprecations that will be removed in that version.
*
* By default, deprecation warning is set to 3 since Shiki v2.0.0
*/
declare function enableDeprecationWarnings(emitDeprecation?: DeprecationTarget | boolean, emitError?: boolean): void;
/**
* @internal
*/
declare function warnDeprecated(message: string, version?: DeprecationTarget): void;
export { type CssVariablesThemeOptions, FontStyle, type ShorthandsBundle, EncodedTokenMetadata as StackElementMetadata, addClassToHast, applyColorReplacements, codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createCssVariablesTheme, createHighlighterCore, createHighlighterCoreSync, createJavaScriptRegexEngine, createOnigurumaEngine, createPositionConverter, createShikiInternal, createShikiInternalSync, createSingletonShorthands, createWasmOnigEngine, createdBundledHighlighter, defaultJavaScriptRegexConstructor, enableDeprecationWarnings, getHighlighterCore, getShikiInternal, getSingletonHighlighterCore, getTokenStyleObject, toHtml as hastToHtml, isNoneTheme, isPlainLang, isSpecialLang, isSpecialTheme, loadWasm, makeSingletonHighlighter, makeSingletonHighlighterCore, normalizeGetter, normalizeTheme, resolveColorReplacements, splitLines, splitToken, splitTokens, stringifyTokenStyle, toArray, tokenizeAnsiWithTheme, tokenizeWithTheme, tokensToHast, transformerDecorations, warnDeprecated };

1
node_modules/shiki/dist/core-unwasm.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export * from '@shikijs/core';

4
node_modules/shiki/dist/core.d.mts generated vendored Normal file
View File

@@ -0,0 +1,4 @@
export * from '@shikijs/core';
import '@shikijs/engine-oniguruma/wasm-inlined';
import '@shikijs/engine-javascript';
import '@shikijs/vscode-textmate';

1
node_modules/shiki/dist/core.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export * from '@shikijs/core';

1
node_modules/shiki/dist/engine-javascript.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
export * from '@shikijs/engine-javascript';

1
node_modules/shiki/dist/engine-javascript.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export * from '@shikijs/engine-javascript';

87
node_modules/shiki/dist/engine-oniguruma.d.mts generated vendored Normal file
View File

@@ -0,0 +1,87 @@
interface IOnigCaptureIndex {
start: number;
end: number;
length: number;
}
interface IOnigMatch {
index: number;
captureIndices: IOnigCaptureIndex[];
}
declare const enum FindOption {
None = 0,
/**
* equivalent of ONIG_OPTION_NOT_BEGIN_STRING: (str) isn't considered as begin of string (* fail \A)
*/
NotBeginString = 1,
/**
* equivalent of ONIG_OPTION_NOT_END_STRING: (end) isn't considered as end of string (* fail \z, \Z)
*/
NotEndString = 2,
/**
* equivalent of ONIG_OPTION_NOT_BEGIN_POSITION: (start) isn't considered as start position of search (* fail \G)
*/
NotBeginPosition = 4,
/**
* used for debugging purposes.
*/
DebugCall = 8
}
interface OnigScanner {
findNextMatchSync(string: string | OnigString, startPosition: number, options: OrMask<FindOption>): IOnigMatch | null;
dispose?(): void;
}
interface OnigString {
readonly content: string;
dispose?(): void;
}
/**
* A union of given const enum values.
*/
type OrMask<T extends number> = number;
type Awaitable<T> = T | Promise<T>;
interface PatternScanner extends OnigScanner {
}
interface RegexEngineString extends OnigString {
}
/**
* Engine for RegExp matching and scanning.
*/
interface RegexEngine {
createScanner: (patterns: (string | RegExp)[]) => PatternScanner;
createString: (s: string) => RegexEngineString;
}
interface WebAssemblyInstantiator {
(importObject: Record<string, Record<string, WebAssembly.ImportValue>> | undefined): Promise<WebAssemblyInstance>;
}
type WebAssemblyInstance = WebAssembly.WebAssemblyInstantiatedSource | WebAssembly.Instance | WebAssembly.Instance['exports'];
type OnigurumaLoadOptions = {
instantiator: WebAssemblyInstantiator;
} | {
default: WebAssemblyInstantiator;
} | {
data: ArrayBufferView | ArrayBuffer | Response;
};
type LoadWasmOptionsPlain = OnigurumaLoadOptions | WebAssemblyInstantiator | ArrayBufferView | ArrayBuffer | Response;
type LoadWasmOptions = Awaitable<LoadWasmOptionsPlain> | (() => Awaitable<LoadWasmOptionsPlain>);
declare function loadWasm(options: LoadWasmOptions): Promise<void>;
/**
* Set the default wasm loader for `loadWasm`.
* @internal
*/
declare function setDefaultWasmLoader(_loader: LoadWasmOptions): void;
/**
* @internal
*/
declare function getDefaultWasmLoader(): LoadWasmOptions | undefined;
declare function createOnigurumaEngine(options?: LoadWasmOptions | null): Promise<RegexEngine>;
/**
* Deprecated. Use `createOnigurumaEngine` instead.
*/
declare function createWasmOnigEngine(options?: LoadWasmOptions | null): Promise<RegexEngine>;
export { createOnigurumaEngine, createWasmOnigEngine, getDefaultWasmLoader, loadWasm, setDefaultWasmLoader };

1
node_modules/shiki/dist/engine-oniguruma.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export * from '@shikijs/engine-oniguruma';

11
node_modules/shiki/dist/index.d.mts generated vendored Normal file
View File

@@ -0,0 +1,11 @@
export { Highlighter, codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createHighlighter, getHighlighter, getLastGrammarState, getSingletonHighlighter } from './bundle-full.mjs';
export { BuiltinLanguage, BuiltinTheme } from './types.mjs';
export { createJavaScriptRegexEngine, defaultJavaScriptRegexConstructor } from '@shikijs/engine-javascript';
export { createOnigurumaEngine, loadWasm } from './engine-oniguruma.mjs';
export { g as getWasmInlined } from './types/wasm-dynamic.mjs';
export * from '@shikijs/core';
export { BundledLanguage, bundledLanguages, bundledLanguagesAlias, bundledLanguagesBase, bundledLanguagesInfo } from './langs.mjs';
export { BundledTheme, bundledThemes, bundledThemesInfo } from './themes.mjs';
import './types/index.d.mjs';
import '@shikijs/types';
import '@shikijs/core/types';

7
node_modules/shiki/dist/index.mjs generated vendored Normal file
View File

@@ -0,0 +1,7 @@
export { codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createHighlighter, getHighlighter, getLastGrammarState, getSingletonHighlighter } from './bundle-full.mjs';
export { createJavaScriptRegexEngine, defaultJavaScriptRegexConstructor } from '@shikijs/engine-javascript';
export { createOnigurumaEngine, loadWasm } from '@shikijs/engine-oniguruma';
export { g as getWasmInlined } from './wasm-dynamic-K7LwWlz7.js';
export * from '@shikijs/core';
export { bundledLanguages, bundledLanguagesAlias, bundledLanguagesBase, bundledLanguagesInfo } from './langs.mjs';
export { bundledThemes, bundledThemesInfo } from './themes.mjs';

13
node_modules/shiki/dist/langs.d.mts generated vendored Normal file
View File

@@ -0,0 +1,13 @@
import { BundledLanguageInfo, DynamicImportLanguageRegistration } from '@shikijs/types';
declare const bundledLanguagesInfo: BundledLanguageInfo[];
declare const bundledLanguagesBase: {
[k: string]: DynamicImportLanguageRegistration;
};
declare const bundledLanguagesAlias: {
[k: string]: DynamicImportLanguageRegistration;
};
type BundledLanguage = '1c' | '1c-query' | 'abap' | 'actionscript-3' | 'ada' | 'adoc' | 'angular-html' | 'angular-ts' | 'apache' | 'apex' | 'apl' | 'applescript' | 'ara' | 'asciidoc' | 'asm' | 'astro' | 'awk' | 'ballerina' | 'bash' | 'bat' | 'batch' | 'be' | 'beancount' | 'berry' | 'bibtex' | 'bicep' | 'blade' | 'bsl' | 'c' | 'c#' | 'c++' | 'cadence' | 'cairo' | 'cdc' | 'clarity' | 'clj' | 'clojure' | 'closure-templates' | 'cmake' | 'cmd' | 'cobol' | 'codeowners' | 'codeql' | 'coffee' | 'coffeescript' | 'common-lisp' | 'console' | 'coq' | 'cpp' | 'cql' | 'crystal' | 'cs' | 'csharp' | 'css' | 'csv' | 'cue' | 'cypher' | 'd' | 'dart' | 'dax' | 'desktop' | 'diff' | 'docker' | 'dockerfile' | 'dotenv' | 'dream-maker' | 'edge' | 'elisp' | 'elixir' | 'elm' | 'emacs-lisp' | 'erb' | 'erl' | 'erlang' | 'f' | 'f#' | 'f03' | 'f08' | 'f18' | 'f77' | 'f90' | 'f95' | 'fennel' | 'fish' | 'fluent' | 'for' | 'fortran-fixed-form' | 'fortran-free-form' | 'fs' | 'fsharp' | 'fsl' | 'ftl' | 'gdresource' | 'gdscript' | 'gdshader' | 'genie' | 'gherkin' | 'git-commit' | 'git-rebase' | 'gjs' | 'gleam' | 'glimmer-js' | 'glimmer-ts' | 'glsl' | 'gnuplot' | 'go' | 'gql' | 'graphql' | 'groovy' | 'gts' | 'hack' | 'haml' | 'handlebars' | 'haskell' | 'haxe' | 'hbs' | 'hcl' | 'hjson' | 'hlsl' | 'hs' | 'html' | 'html-derivative' | 'http' | 'hxml' | 'hy' | 'imba' | 'ini' | 'jade' | 'java' | 'javascript' | 'jinja' | 'jison' | 'jl' | 'js' | 'json' | 'json5' | 'jsonc' | 'jsonl' | 'jsonnet' | 'jssm' | 'jsx' | 'julia' | 'kotlin' | 'kql' | 'kt' | 'kts' | 'kusto' | 'latex' | 'lean' | 'lean4' | 'less' | 'liquid' | 'lisp' | 'lit' | 'log' | 'logo' | 'lua' | 'luau' | 'make' | 'makefile' | 'markdown' | 'marko' | 'matlab' | 'md' | 'mdc' | 'mdx' | 'mediawiki' | 'mermaid' | 'mips' | 'mipsasm' | 'mmd' | 'mojo' | 'move' | 'nar' | 'narrat' | 'nextflow' | 'nf' | 'nginx' | 'nim' | 'nix' | 'nu' | 'nushell' | 'objc' | 'objective-c' | 'objective-cpp' | 'ocaml' | 'pascal' | 'perl' | 'perl6' | 'php' | 'plsql' | 'po' | 'polar' | 'postcss' | 'pot' | 'potx' | 'powerquery' | 'powershell' | 'prisma' | 'prolog' | 'properties' | 'proto' | 'protobuf' | 'ps' | 'ps1' | 'pug' | 'puppet' | 'purescript' | 'py' | 'python' | 'ql' | 'qml' | 'qmldir' | 'qss' | 'r' | 'racket' | 'raku' | 'razor' | 'rb' | 'reg' | 'regex' | 'regexp' | 'rel' | 'riscv' | 'rs' | 'rst' | 'ruby' | 'rust' | 'sas' | 'sass' | 'scala' | 'scheme' | 'scss' | 'sdbl' | 'sh' | 'shader' | 'shaderlab' | 'shell' | 'shellscript' | 'shellsession' | 'smalltalk' | 'solidity' | 'soy' | 'sparql' | 'spl' | 'splunk' | 'sql' | 'ssh-config' | 'stata' | 'styl' | 'stylus' | 'svelte' | 'swift' | 'system-verilog' | 'systemd' | 'talon' | 'talonscript' | 'tasl' | 'tcl' | 'templ' | 'terraform' | 'tex' | 'tf' | 'tfvars' | 'toml' | 'ts' | 'ts-tags' | 'tsp' | 'tsv' | 'tsx' | 'turtle' | 'twig' | 'typ' | 'typescript' | 'typespec' | 'typst' | 'v' | 'vala' | 'vb' | 'verilog' | 'vhdl' | 'vim' | 'viml' | 'vimscript' | 'vue' | 'vue-html' | 'vy' | 'vyper' | 'wasm' | 'wenyan' | 'wgsl' | 'wiki' | 'wikitext' | 'wl' | 'wolfram' | 'xml' | 'xsl' | 'yaml' | 'yml' | 'zenscript' | 'zig' | 'zsh' | '文言';
declare const bundledLanguages: Record<BundledLanguage, DynamicImportLanguageRegistration>;
export { type BundledLanguage, bundledLanguages, bundledLanguagesAlias, bundledLanguagesBase, bundledLanguagesInfo };

1321
node_modules/shiki/dist/langs.mjs generated vendored Normal file

File diff suppressed because it is too large Load Diff

1
node_modules/shiki/dist/langs/1c-query.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/1c-query.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/1c-query'

1
node_modules/shiki/dist/langs/1c.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/1c.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/1c'

1
node_modules/shiki/dist/langs/abap.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/abap.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/abap'

1
node_modules/shiki/dist/langs/actionscript-3.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/actionscript-3.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/actionscript-3'

1
node_modules/shiki/dist/langs/ada.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/ada.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/ada'

1
node_modules/shiki/dist/langs/adoc.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/adoc.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/adoc'

View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/angular-expression.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/angular-expression'

1
node_modules/shiki/dist/langs/angular-html.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/angular-html.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/angular-html'

View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/angular-inline-style'

View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/angular-inline-template'

View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/angular-let-declaration'

View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/angular-template-blocks'

1
node_modules/shiki/dist/langs/angular-template.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/angular-template.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/angular-template'

1
node_modules/shiki/dist/langs/angular-ts.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/angular-ts.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/angular-ts'

1
node_modules/shiki/dist/langs/apache.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/apache.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/apache'

1
node_modules/shiki/dist/langs/apex.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/apex.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/apex'

1
node_modules/shiki/dist/langs/apl.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/apl.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/apl'

1
node_modules/shiki/dist/langs/applescript.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/applescript.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/applescript'

1
node_modules/shiki/dist/langs/ara.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/ara.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/ara'

1
node_modules/shiki/dist/langs/asciidoc.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/asciidoc.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/asciidoc'

1
node_modules/shiki/dist/langs/asm.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/asm.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/asm'

1
node_modules/shiki/dist/langs/astro.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/astro.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/astro'

1
node_modules/shiki/dist/langs/awk.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/awk.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/awk'

1
node_modules/shiki/dist/langs/ballerina.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/ballerina.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/ballerina'

1
node_modules/shiki/dist/langs/bash.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/bash.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/bash'

1
node_modules/shiki/dist/langs/bat.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/bat.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/bat'

1
node_modules/shiki/dist/langs/batch.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/batch.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/batch'

1
node_modules/shiki/dist/langs/be.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/be.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/be'

1
node_modules/shiki/dist/langs/beancount.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/beancount.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/beancount'

1
node_modules/shiki/dist/langs/berry.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/berry.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/berry'

1
node_modules/shiki/dist/langs/bibtex.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/bibtex.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/bibtex'

1
node_modules/shiki/dist/langs/bicep.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/bicep.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/bicep'

1
node_modules/shiki/dist/langs/blade.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/blade.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/blade'

1
node_modules/shiki/dist/langs/bsl.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/bsl.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/bsl'

1
node_modules/shiki/dist/langs/c.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/c.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/c'

1
node_modules/shiki/dist/langs/cadence.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/cadence.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/cadence'

1
node_modules/shiki/dist/langs/cairo.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/cairo.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/cairo'

1
node_modules/shiki/dist/langs/cdc.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/cdc.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/cdc'

1
node_modules/shiki/dist/langs/clarity.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/clarity.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/clarity'

1
node_modules/shiki/dist/langs/clj.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/clj.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/clj'

1
node_modules/shiki/dist/langs/clojure.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/clojure.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/clojure'

View File

@@ -0,0 +1 @@
import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg

1
node_modules/shiki/dist/langs/closure-templates.mjs generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from '@shikijs/langs/closure-templates'

Some files were not shown because too many files have changed in this diff Show More