@shikijs/core 1.16.0 → 1.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.mts CHANGED
@@ -1,6 +1,8 @@
1
1
  import { Root, Element } from 'hast';
2
- import { I as IGrammar, b as MaybeGetter, M as MaybeArray, c as IRawGrammar, d as IRawTheme, e as IRawThemeSetting, j as StateStack, a as RegexEngine, A as Awaitable, L as LoadWasmOptions, S as StringLiteralUnion } from './chunk-engines.mjs';
3
- export { J as JavaScriptRegexEngineOptions, i as LoadWasmOptionsPlain, f as MaybeModule, O as OnigurumaLoadOptions, P as PatternScanner, g as RegexEngineString, R as RequireKeys, h as WebAssemblyInstance, W as WebAssemblyInstantiator } from './chunk-engines.mjs';
2
+ import { IGrammar, IRawGrammar, IRawTheme, IRawThemeSetting, StateStack } from '@shikijs/vscode-textmate';
3
+ export { IRawGrammar as RawGrammar, IRawTheme as RawTheme, IRawThemeSetting as RawThemeSetting } from '@shikijs/vscode-textmate';
4
+ import { b as MaybeGetter, M as MaybeArray, a as RegexEngine, A as Awaitable, L as LoadWasmOptions, S as StringLiteralUnion } from './chunk-engines.mjs';
5
+ export { J as JavaScriptRegexEngineOptions, f as LoadWasmOptionsPlain, c as MaybeModule, O as OnigurumaLoadOptions, P as PatternScanner, d as RegexEngineString, R as RequireKeys, e as WebAssemblyInstance, W as WebAssemblyInstantiator } from './chunk-engines.mjs';
4
6
 
5
7
  interface Grammar extends IGrammar {
6
8
  name: string;
@@ -761,4 +763,4 @@ interface CreatedBundledHighlighterOptions<BundledLangs extends string, BundledT
761
763
  engine: () => Awaitable<RegexEngine>;
762
764
  }
763
765
 
764
- export { type AnsiLanguage, Awaitable, type BundledHighlighterOptions, type BundledLanguageInfo, type BundledThemeInfo, type CodeOptionsMeta, type CodeOptionsMultipleThemes, type CodeOptionsSingleTheme, type CodeOptionsThemes, type CodeToHastOptions, type CodeToHastOptionsCommon, type CodeToHastRenderOptions, type CodeToHastRenderOptionsCommon, type CodeToTokensBaseOptions, type CodeToTokensOptions, type CodeToTokensWithThemesOptions, type CreatedBundledHighlighterOptions, type DecorationItem, type DecorationOptions, type DecorationTransformType, type DynamicImportLanguageRegistration, type DynamicImportThemeRegistration, FontStyle, type Grammar, GrammarState, type HighlighterCore, type HighlighterCoreOptions, type HighlighterGeneric, type LanguageInput, type LanguageRegistration, LoadWasmOptions, MaybeArray, MaybeGetter, type Offset, type OffsetOrPosition, type PlainTextLanguage, type Position, IRawGrammar as RawGrammar, IRawTheme as RawTheme, IRawThemeSetting as RawThemeSetting, RegexEngine, type ResolveBundleKey, type ResolvedDecorationItem, type ResolvedPosition, type ShikiInternal, type ShikiTransformer, type ShikiTransformerContext, type ShikiTransformerContextCommon, type ShikiTransformerContextMeta, type ShikiTransformerContextSource, type SpecialLanguage, type SpecialTheme, StringLiteralUnion, type ThemeInput, type ThemeRegistration, type ThemeRegistrationAny, type ThemeRegistrationRaw, type ThemeRegistrationResolved, type ThemedToken, type ThemedTokenExplanation, type ThemedTokenScopeExplanation, type ThemedTokenWithVariants, type TokenBase, type TokenStyles, type TokenizeWithThemeOptions, type TokensResult, type TransformerOptions };
766
+ export { type AnsiLanguage, Awaitable, type BundledHighlighterOptions, type BundledLanguageInfo, type BundledThemeInfo, type CodeOptionsMeta, type CodeOptionsMultipleThemes, type CodeOptionsSingleTheme, type CodeOptionsThemes, type CodeToHastOptions, type CodeToHastOptionsCommon, type CodeToHastRenderOptions, type CodeToHastRenderOptionsCommon, type CodeToTokensBaseOptions, type CodeToTokensOptions, type CodeToTokensWithThemesOptions, type CreatedBundledHighlighterOptions, type DecorationItem, type DecorationOptions, type DecorationTransformType, type DynamicImportLanguageRegistration, type DynamicImportThemeRegistration, FontStyle, type Grammar, GrammarState, type HighlighterCore, type HighlighterCoreOptions, type HighlighterGeneric, type LanguageInput, type LanguageRegistration, LoadWasmOptions, MaybeArray, MaybeGetter, type Offset, type OffsetOrPosition, type PlainTextLanguage, type Position, RegexEngine, type ResolveBundleKey, type ResolvedDecorationItem, type ResolvedPosition, type ShikiInternal, type ShikiTransformer, type ShikiTransformerContext, type ShikiTransformerContextCommon, type ShikiTransformerContextMeta, type ShikiTransformerContextSource, type SpecialLanguage, type SpecialTheme, StringLiteralUnion, type ThemeInput, type ThemeRegistration, type ThemeRegistrationAny, type ThemeRegistrationRaw, type ThemeRegistrationResolved, type ThemedToken, type ThemedTokenExplanation, type ThemedTokenScopeExplanation, type ThemedTokenWithVariants, type TokenBase, type TokenStyles, type TokenizeWithThemeOptions, type TokensResult, type TransformerOptions };
@@ -1,4 +1,5 @@
1
1
  import { W as WebAssemblyInstantiator } from './chunk-engines.mjs';
2
+ import '@shikijs/vscode-textmate';
2
3
 
3
4
  declare const wasmBinary: ArrayBuffer;
4
5
  declare const getWasmInstance: WebAssemblyInstantiator;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/core",
3
3
  "type": "module",
4
- "version": "1.16.0",
4
+ "version": "1.16.1",
5
5
  "description": "Core of Shiki",
6
6
  "author": "Pine Wu <octref@gmail.com>; Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -60,7 +60,7 @@
60
60
  "dist"
61
61
  ],
62
62
  "dependencies": {
63
- "@shikijs/vscode-textmate": "^9.1.1",
63
+ "@shikijs/vscode-textmate": "^9.2.0",
64
64
  "@types/hast": "^3.0.4"
65
65
  },
66
66
  "devDependencies": {