shiki 3.22.0 → 3.23.0

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.
@@ -0,0 +1 @@
1
+ import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
@@ -0,0 +1 @@
1
+ export { default } from '@shikijs/langs/bird'
@@ -0,0 +1 @@
1
+ import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
@@ -0,0 +1 @@
1
+ export { default } from '@shikijs/langs/bird2'
@@ -0,0 +1 @@
1
+ import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
@@ -0,0 +1 @@
1
+ export { default } from '@shikijs/langs/just'
@@ -0,0 +1 @@
1
+ import { LanguageRegistration } from '@shikijs/core';declare const reg: LanguageRegistration[];export default reg
@@ -0,0 +1 @@
1
+ export { default } from '@shikijs/langs/nextflow-groovy'
package/dist/langs.d.mts CHANGED
@@ -7,7 +7,7 @@ declare const bundledLanguagesBase: {
7
7
  declare const bundledLanguagesAlias: {
8
8
  [k: string]: DynamicImportLanguageRegistration;
9
9
  };
10
- 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++' | 'c3' | 'cadence' | 'cairo' | 'cdc' | 'cjs' | 'clarity' | 'clj' | 'clojure' | 'closure-templates' | 'cmake' | 'cmd' | 'cobol' | 'codeowners' | 'codeql' | 'coffee' | 'coffeescript' | 'common-lisp' | 'console' | 'coq' | 'cpp' | 'cql' | 'crystal' | 'cs' | 'csharp' | 'css' | 'csv' | 'cts' | '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' | 'gd' | 'gdresource' | 'gdscript' | 'gdshader' | 'genie' | 'gherkin' | 'git-commit' | 'git-rebase' | 'gjs' | 'gleam' | 'glimmer-js' | 'glimmer-ts' | 'glsl' | 'gn' | 'gnuplot' | 'go' | 'gql' | 'graphql' | 'groovy' | 'gts' | 'hack' | 'haml' | 'handlebars' | 'haskell' | 'haxe' | 'hbs' | 'hcl' | 'hjson' | 'hlsl' | 'hs' | 'html' | 'html-derivative' | 'http' | 'hurl' | 'hxml' | 'hy' | 'imba' | 'ini' | 'jade' | 'java' | 'javascript' | 'jinja' | 'jison' | 'jl' | 'js' | 'json' | 'json5' | 'jsonc' | 'jsonl' | 'jsonnet' | 'jssm' | 'jsx' | 'julia' | 'kdl' | 'kotlin' | 'kql' | 'kt' | 'kts' | 'kusto' | 'latex' | 'lean' | 'lean4' | 'less' | 'liquid' | 'lisp' | 'lit' | 'llvm' | 'log' | 'logo' | 'lua' | 'luau' | 'make' | 'makefile' | 'markdown' | 'marko' | 'matlab' | 'mbt' | 'mbti' | 'md' | 'mdc' | 'mdx' | 'mediawiki' | 'mermaid' | 'mips' | 'mipsasm' | 'mjs' | 'mmd' | 'mojo' | 'moonbit' | 'move' | 'mts' | 'nar' | 'narrat' | 'nextflow' | 'nf' | 'nginx' | 'nim' | 'nix' | 'nu' | 'nushell' | 'objc' | 'objective-c' | 'objective-cpp' | 'ocaml' | 'odin' | 'openscad' | 'pascal' | 'perl' | 'perl6' | 'php' | 'pkl' | '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' | 'ron' | 'rosmsg' | 'rs' | 'rst' | 'ruby' | 'rust' | 'sas' | 'sass' | 'scad' | 'scala' | 'scheme' | 'scss' | 'sdbl' | 'sh' | 'shader' | 'shaderlab' | 'shell' | 'shellscript' | 'shellsession' | 'smalltalk' | 'solidity' | 'soy' | 'sparql' | 'spl' | 'splunk' | 'sql' | 'ssh-config' | 'stata' | 'styl' | 'stylus' | 'surql' | 'surrealql' | 'svelte' | 'swift' | 'system-verilog' | 'systemd' | 'talon' | 'talonscript' | 'tasl' | 'tcl' | 'templ' | 'terraform' | 'tex' | 'tf' | 'tfvars' | 'toml' | 'tres' | 'ts' | 'ts-tags' | 'tscn' | 'tsp' | 'tsv' | 'tsx' | 'turtle' | 'twig' | 'typ' | 'typescript' | 'typespec' | 'typst' | 'v' | 'vala' | 'vb' | 'verilog' | 'vhdl' | 'vim' | 'viml' | 'vimscript' | 'vue' | 'vue-html' | 'vue-vine' | 'vy' | 'vyper' | 'wasm' | 'wenyan' | 'wgsl' | 'wiki' | 'wikitext' | 'wit' | 'wl' | 'wolfram' | 'xml' | 'xsl' | 'yaml' | 'yml' | 'zenscript' | 'zig' | 'zsh' | '文言';
10
+ 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' | 'bird' | 'bird2' | 'blade' | 'bsl' | 'c' | 'c#' | 'c++' | 'c3' | 'cadence' | 'cairo' | 'cdc' | 'cjs' | 'clarity' | 'clj' | 'clojure' | 'closure-templates' | 'cmake' | 'cmd' | 'cobol' | 'codeowners' | 'codeql' | 'coffee' | 'coffeescript' | 'common-lisp' | 'console' | 'coq' | 'cpp' | 'cql' | 'crystal' | 'cs' | 'csharp' | 'css' | 'csv' | 'cts' | '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' | 'gd' | 'gdresource' | 'gdscript' | 'gdshader' | 'genie' | 'gherkin' | 'git-commit' | 'git-rebase' | 'gjs' | 'gleam' | 'glimmer-js' | 'glimmer-ts' | 'glsl' | 'gn' | 'gnuplot' | 'go' | 'gql' | 'graphql' | 'groovy' | 'gts' | 'hack' | 'haml' | 'handlebars' | 'haskell' | 'haxe' | 'hbs' | 'hcl' | 'hjson' | 'hlsl' | 'hs' | 'html' | 'html-derivative' | 'http' | 'hurl' | 'hxml' | 'hy' | 'imba' | 'ini' | 'jade' | 'java' | 'javascript' | 'jinja' | 'jison' | 'jl' | 'js' | 'json' | 'json5' | 'jsonc' | 'jsonl' | 'jsonnet' | 'jssm' | 'jsx' | 'julia' | 'just' | 'kdl' | 'kotlin' | 'kql' | 'kt' | 'kts' | 'kusto' | 'latex' | 'lean' | 'lean4' | 'less' | 'liquid' | 'lisp' | 'lit' | 'llvm' | 'log' | 'logo' | 'lua' | 'luau' | 'make' | 'makefile' | 'markdown' | 'marko' | 'matlab' | 'mbt' | 'mbti' | 'md' | 'mdc' | 'mdx' | 'mediawiki' | 'mermaid' | 'mips' | 'mipsasm' | 'mjs' | 'mmd' | 'mojo' | 'moonbit' | 'move' | 'mts' | 'nar' | 'narrat' | 'nextflow' | 'nextflow-groovy' | 'nf' | 'nginx' | 'nim' | 'nix' | 'nu' | 'nushell' | 'objc' | 'objective-c' | 'objective-cpp' | 'ocaml' | 'odin' | 'openscad' | 'pascal' | 'perl' | 'perl6' | 'php' | 'pkl' | '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' | 'ron' | 'rosmsg' | 'rs' | 'rst' | 'ruby' | 'rust' | 'sas' | 'sass' | 'scad' | 'scala' | 'scheme' | 'scss' | 'sdbl' | 'sh' | 'shader' | 'shaderlab' | 'shell' | 'shellscript' | 'shellsession' | 'smalltalk' | 'solidity' | 'soy' | 'sparql' | 'spl' | 'splunk' | 'sql' | 'ssh-config' | 'stata' | 'styl' | 'stylus' | 'surql' | 'surrealql' | 'svelte' | 'swift' | 'system-verilog' | 'systemd' | 'talon' | 'talonscript' | 'tasl' | 'tcl' | 'templ' | 'terraform' | 'tex' | 'tf' | 'tfvars' | 'toml' | 'tres' | 'ts' | 'ts-tags' | 'tscn' | 'tsp' | 'tsv' | 'tsx' | 'turtle' | 'twig' | 'typ' | 'typescript' | 'typespec' | 'typst' | 'v' | 'vala' | 'vb' | 'verilog' | 'vhdl' | 'vim' | 'viml' | 'vimscript' | 'vue' | 'vue-html' | 'vue-vine' | 'vy' | 'vyper' | 'wasm' | 'wenyan' | 'wgsl' | 'wiki' | 'wikitext' | 'wit' | 'wl' | 'wolfram' | 'xml' | 'xsl' | 'yaml' | 'yml' | 'zenscript' | 'zig' | 'zsh' | '文言';
11
11
  declare const bundledLanguages: Record<BundledLanguage, DynamicImportLanguageRegistration>;
12
12
 
13
13
  export { bundledLanguages, bundledLanguagesAlias, bundledLanguagesBase, bundledLanguagesInfo };
package/dist/langs.mjs CHANGED
@@ -108,6 +108,14 @@ const bundledLanguagesInfo = [
108
108
  "name": "Bicep",
109
109
  "import": (() => import('@shikijs/langs/bicep'))
110
110
  },
111
+ {
112
+ "id": "bird2",
113
+ "name": "BIRD2 Configuration",
114
+ "aliases": [
115
+ "bird"
116
+ ],
117
+ "import": (() => import('@shikijs/langs/bird2'))
118
+ },
111
119
  {
112
120
  "id": "blade",
113
121
  "name": "Blade",
@@ -630,6 +638,11 @@ const bundledLanguagesInfo = [
630
638
  ],
631
639
  "import": (() => import('@shikijs/langs/julia'))
632
640
  },
641
+ {
642
+ "id": "just",
643
+ "name": "Just",
644
+ "import": (() => import('@shikijs/langs/just'))
645
+ },
633
646
  {
634
647
  "id": "kdl",
635
648
  "name": "KDL",
@@ -787,6 +800,11 @@ const bundledLanguagesInfo = [
787
800
  ],
788
801
  "import": (() => import('@shikijs/langs/nextflow'))
789
802
  },
803
+ {
804
+ "id": "nextflow-groovy",
805
+ "name": "nextflow-groovy",
806
+ "import": (() => import('@shikijs/langs/nextflow-groovy'))
807
+ },
790
808
  {
791
809
  "id": "nginx",
792
810
  "name": "Nginx",
@@ -0,0 +1 @@
1
+ import { ThemeRegistrationRaw } from '@shikijs/core';declare const reg: ThemeRegistrationRaw;export default reg
@@ -0,0 +1 @@
1
+ export { default } from '@shikijs/themes/horizon-bright'
package/dist/themes.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { DynamicImportThemeRegistration, BundledThemeInfo } from '@shikijs/core';
2
2
 
3
3
  declare const bundledThemesInfo: BundledThemeInfo[];
4
- type BundledTheme = 'andromeeda' | 'aurora-x' | 'ayu-dark' | 'ayu-light' | 'ayu-mirage' | 'catppuccin-frappe' | 'catppuccin-latte' | 'catppuccin-macchiato' | 'catppuccin-mocha' | 'dark-plus' | 'dracula' | 'dracula-soft' | 'everforest-dark' | 'everforest-light' | 'github-dark' | 'github-dark-default' | 'github-dark-dimmed' | 'github-dark-high-contrast' | 'github-light' | 'github-light-default' | 'github-light-high-contrast' | 'gruvbox-dark-hard' | 'gruvbox-dark-medium' | 'gruvbox-dark-soft' | 'gruvbox-light-hard' | 'gruvbox-light-medium' | 'gruvbox-light-soft' | 'horizon' | 'houston' | 'kanagawa-dragon' | 'kanagawa-lotus' | 'kanagawa-wave' | 'laserwave' | 'light-plus' | 'material-theme' | 'material-theme-darker' | 'material-theme-lighter' | 'material-theme-ocean' | 'material-theme-palenight' | 'min-dark' | 'min-light' | 'monokai' | 'night-owl' | 'night-owl-light' | 'nord' | 'one-dark-pro' | 'one-light' | 'plastic' | 'poimandres' | 'red' | 'rose-pine' | 'rose-pine-dawn' | 'rose-pine-moon' | 'slack-dark' | 'slack-ochin' | 'snazzy-light' | 'solarized-dark' | 'solarized-light' | 'synthwave-84' | 'tokyo-night' | 'vesper' | 'vitesse-black' | 'vitesse-dark' | 'vitesse-light';
4
+ type BundledTheme = 'andromeeda' | 'aurora-x' | 'ayu-dark' | 'ayu-light' | 'ayu-mirage' | 'catppuccin-frappe' | 'catppuccin-latte' | 'catppuccin-macchiato' | 'catppuccin-mocha' | 'dark-plus' | 'dracula' | 'dracula-soft' | 'everforest-dark' | 'everforest-light' | 'github-dark' | 'github-dark-default' | 'github-dark-dimmed' | 'github-dark-high-contrast' | 'github-light' | 'github-light-default' | 'github-light-high-contrast' | 'gruvbox-dark-hard' | 'gruvbox-dark-medium' | 'gruvbox-dark-soft' | 'gruvbox-light-hard' | 'gruvbox-light-medium' | 'gruvbox-light-soft' | 'horizon' | 'horizon-bright' | 'houston' | 'kanagawa-dragon' | 'kanagawa-lotus' | 'kanagawa-wave' | 'laserwave' | 'light-plus' | 'material-theme' | 'material-theme-darker' | 'material-theme-lighter' | 'material-theme-ocean' | 'material-theme-palenight' | 'min-dark' | 'min-light' | 'monokai' | 'night-owl' | 'night-owl-light' | 'nord' | 'one-dark-pro' | 'one-light' | 'plastic' | 'poimandres' | 'red' | 'rose-pine' | 'rose-pine-dawn' | 'rose-pine-moon' | 'slack-dark' | 'slack-ochin' | 'snazzy-light' | 'solarized-dark' | 'solarized-light' | 'synthwave-84' | 'tokyo-night' | 'vesper' | 'vitesse-black' | 'vitesse-dark' | 'vitesse-light';
5
5
  declare const bundledThemes: Record<BundledTheme, DynamicImportThemeRegistration>;
6
6
 
7
7
  export { bundledThemes, bundledThemesInfo };
package/dist/themes.mjs CHANGED
@@ -167,6 +167,12 @@ const bundledThemesInfo = [
167
167
  "type": "dark",
168
168
  "import": (() => import('@shikijs/themes/horizon'))
169
169
  },
170
+ {
171
+ "id": "horizon-bright",
172
+ "displayName": "Horizon Bright",
173
+ "type": "dark",
174
+ "import": (() => import('@shikijs/themes/horizon-bright'))
175
+ },
170
176
  {
171
177
  "id": "houston",
172
178
  "displayName": "Houston",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shiki",
3
3
  "type": "module",
4
- "version": "3.22.0",
4
+ "version": "3.23.0",
5
5
  "description": "A beautiful Syntax Highlighter.",
6
6
  "author": "Pine Wu <octref@gmail.com>; Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -48,17 +48,17 @@
48
48
  "dependencies": {
49
49
  "@shikijs/vscode-textmate": "^10.0.2",
50
50
  "@types/hast": "^3.0.4",
51
- "@shikijs/core": "3.22.0",
52
- "@shikijs/engine-oniguruma": "3.22.0",
53
- "@shikijs/engine-javascript": "3.22.0",
54
- "@shikijs/langs": "3.22.0",
55
- "@shikijs/themes": "3.22.0",
56
- "@shikijs/types": "3.22.0"
51
+ "@shikijs/core": "3.23.0",
52
+ "@shikijs/engine-javascript": "3.23.0",
53
+ "@shikijs/themes": "3.23.0",
54
+ "@shikijs/langs": "3.23.0",
55
+ "@shikijs/types": "3.23.0",
56
+ "@shikijs/engine-oniguruma": "3.23.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "rollup-plugin-copy": "^3.5.0",
60
- "tm-grammars": "^1.30.0",
61
- "tm-themes": "^1.11.0",
60
+ "tm-grammars": "^1.31.0",
61
+ "tm-themes": "^1.12.0",
62
62
  "vscode-oniguruma": "1.7.0"
63
63
  },
64
64
  "scripts": {