rn-shiki 0.0.26 → 0.0.28
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/commonjs/components/syntax/SyntaxHighlighter.js +1 -78
- package/lib/commonjs/components/syntax/SyntaxHighlighter.js.map +1 -1
- package/lib/commonjs/components/syntax/SyntaxLine.js +1 -35
- package/lib/commonjs/components/syntax/SyntaxLine.js.map +1 -1
- package/lib/commonjs/components/syntax/index.js +1 -20
- package/lib/commonjs/components/syntax/index.js.map +1 -1
- package/lib/commonjs/hooks/useSyntaxHighlighter.js +1 -63
- package/lib/commonjs/hooks/useSyntaxHighlighter.js.map +1 -1
- package/lib/commonjs/index.js +1 -36
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/syntax/highlighter/index.js +1 -37
- package/lib/commonjs/syntax/highlighter/index.js.map +1 -1
- package/lib/commonjs/syntax/index.js +1 -18
- package/lib/commonjs/syntax/index.js.map +1 -1
- package/lib/commonjs/types/index.js +1 -1
- package/lib/commonjs/types/shiki.d.js +1 -5
- package/lib/commonjs/types/shiki.js +1 -5
- package/lib/commonjs/utils/index.js +1 -16
- package/lib/commonjs/utils/index.js.map +1 -1
- package/lib/commonjs/utils/string.js +1 -27
- package/lib/commonjs/utils/string.js.map +1 -1
- package/lib/commonjs/vendor/shiki/core/core.d.js +1 -1
- package/lib/commonjs/vendor/shiki/core/core.js +9 -8758
- package/lib/commonjs/vendor/shiki/core/core.js.map +1 -1
- package/lib/commonjs/vendor/shiki/core/engine-javascript.d.js +1 -1
- package/lib/commonjs/vendor/shiki/core/engine-javascript.js +8 -1515
- package/lib/commonjs/vendor/shiki/core/engine-javascript.js.map +1 -1
- package/lib/commonjs/vendor/shiki/index.d.js +1 -19
- package/lib/commonjs/vendor/shiki/index.d.js.map +1 -1
- package/lib/commonjs/vendor/shiki/index.js +1 -9
- package/lib/commonjs/vendor/shiki/index.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/abap.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/abap.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/abap.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/actionscript-3.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/actionscript-3.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/actionscript-3.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/ada.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/ada.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/ada.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/adoc.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/adoc.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/adoc.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/angular-expression.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/angular-expression.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/angular-expression.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/angular-html.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/angular-html.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/angular-html.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/angular-inline-style.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/angular-inline-style.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/angular-inline-style.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/angular-inline-template.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/angular-inline-template.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/angular-inline-template.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/angular-let-declaration.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/angular-let-declaration.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/angular-let-declaration.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/angular-template-blocks.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/angular-template-blocks.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/angular-template-blocks.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/angular-template.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/angular-template.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/angular-template.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/angular-ts.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/angular-ts.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/angular-ts.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/apache.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/apache.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/apache.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/apex.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/apex.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/apex.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/apl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/apl.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/apl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/applescript.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/applescript.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/applescript.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/ara.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/ara.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/ara.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/asciidoc.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/asciidoc.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/asciidoc.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/asm.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/asm.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/asm.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/astro.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/astro.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/astro.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/awk.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/awk.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/awk.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/ballerina.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/ballerina.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/ballerina.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/bash.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/bash.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/bash.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/bat.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/bat.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/bat.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/batch.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/batch.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/batch.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/be.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/be.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/be.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/beancount.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/beancount.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/beancount.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/berry.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/berry.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/berry.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/bibtex.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/bibtex.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/bibtex.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/bicep.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/bicep.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/bicep.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/blade.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/blade.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/blade.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/c.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/c.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/c.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/cadence.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/cadence.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/cadence.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/cdc.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/cdc.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/cdc.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/clarity.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/clarity.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/clarity.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/clj.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/clj.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/clj.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/clojure.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/clojure.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/clojure.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/closure-templates.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/closure-templates.js +1 -50
- package/lib/commonjs/vendor/shiki/langs/closure-templates.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/cmake.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/cmake.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/cmake.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/cmd.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/cmd.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/cmd.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/cobol.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/cobol.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/cobol.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/codeowners.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/codeowners.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/codeowners.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/codeql.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/codeql.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/codeql.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/coffee.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/coffee.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/coffee.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/coffeescript.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/coffeescript.js +1 -42
- package/lib/commonjs/vendor/shiki/langs/coffeescript.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/common-lisp.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/common-lisp.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/common-lisp.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/console.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/console.js +1 -42
- package/lib/commonjs/vendor/shiki/langs/console.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/coq.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/coq.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/coq.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/cpp-macro.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/cpp-macro.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/cpp-macro.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/cpp.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/cpp.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/cpp.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/cql.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/cql.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/cql.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/crystal.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/crystal.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/crystal.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/cs.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/cs.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/cs.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/csharp.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/csharp.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/csharp.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/css.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/css.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/css.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/csv.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/csv.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/csv.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/cue.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/cue.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/cue.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/cypher.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/cypher.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/cypher.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/d.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/d.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/d.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/dart.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/dart.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/dart.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/dax.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/dax.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/dax.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/desktop.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/desktop.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/desktop.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/diff.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/diff.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/diff.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/docker.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/docker.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/docker.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/dockerfile.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/dockerfile.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/dockerfile.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/dotenv.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/dotenv.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/dotenv.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/dream-maker.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/dream-maker.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/dream-maker.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/edge.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/edge.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/edge.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/elisp.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/elisp.js +1 -3
- package/lib/commonjs/vendor/shiki/langs/elisp.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/elixir.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/elixir.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/elixir.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/elm.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/elm.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/elm.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/emacs-lisp.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/emacs-lisp.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/emacs-lisp.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/erb.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/erb.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/erb.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/erl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/erl.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/erl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/erlang.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/erlang.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/erlang.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/es-tag-css.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/es-tag-css.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/es-tag-css.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/es-tag-glsl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/es-tag-glsl.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/es-tag-glsl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/es-tag-html.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/es-tag-html.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/es-tag-html.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/es-tag-sql.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/es-tag-sql.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/es-tag-sql.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/es-tag-xml.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/es-tag-xml.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/es-tag-xml.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/f.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/f.js +1 -42
- package/lib/commonjs/vendor/shiki/langs/f.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/f03.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/f03.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/f03.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/f08.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/f08.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/f08.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/f18.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/f18.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/f18.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/f77.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/f77.js +1 -42
- package/lib/commonjs/vendor/shiki/langs/f77.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/f90.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/f90.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/f90.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/f95.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/f95.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/f95.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/fennel.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/fennel.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/fennel.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/fish.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/fish.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/fish.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/fluent.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/fluent.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/fluent.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/for.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/for.js +1 -42
- package/lib/commonjs/vendor/shiki/langs/for.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/fortran-fixed-form.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/fortran-fixed-form.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/fortran-fixed-form.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/fortran-free-form.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/fortran-free-form.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/fortran-free-form.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/fs.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/fs.js +1 -42
- package/lib/commonjs/vendor/shiki/langs/fs.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/fsharp.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/fsharp.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/fsharp.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/fsl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/fsl.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/fsl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/ftl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/ftl.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/ftl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/gdresource.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/gdresource.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/gdresource.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/gdscript.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/gdscript.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/gdscript.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/gdshader.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/gdshader.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/gdshader.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/genie.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/genie.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/genie.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/gherkin.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/gherkin.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/gherkin.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/git-commit.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/git-commit.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/git-commit.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/git-rebase.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/git-rebase.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/git-rebase.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/gjs.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/gjs.js +1 -7
- package/lib/commonjs/vendor/shiki/langs/gjs.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/gleam.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/gleam.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/gleam.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/glimmer-js.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/glimmer-js.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/glimmer-js.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/glimmer-ts.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/glimmer-ts.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/glimmer-ts.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/glsl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/glsl.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/glsl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/gnuplot.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/gnuplot.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/gnuplot.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/go.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/go.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/go.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/gql.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/gql.js +1 -7
- package/lib/commonjs/vendor/shiki/langs/gql.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/graphql.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/graphql.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/graphql.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/groovy.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/groovy.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/groovy.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/gts.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/gts.js +1 -7
- package/lib/commonjs/vendor/shiki/langs/gts.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/hack.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/hack.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/hack.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/haml.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/haml.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/haml.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/handlebars.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/handlebars.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/handlebars.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/haskell.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/haskell.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/haskell.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/haxe.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/haxe.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/haxe.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/hbs.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/hbs.js +1 -54
- package/lib/commonjs/vendor/shiki/langs/hbs.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/hcl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/hcl.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/hcl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/hjson.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/hjson.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/hjson.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/hlsl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/hlsl.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/hlsl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/hs.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/hs.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/hs.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/html-derivative.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/html-derivative.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/html-derivative.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/html.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/html.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/html.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/http.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/http.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/http.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/hxml.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/hxml.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/hxml.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/hy.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/hy.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/hy.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/imba.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/imba.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/imba.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/ini.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/ini.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/ini.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/jade.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/jade.js +1 -50
- package/lib/commonjs/vendor/shiki/langs/jade.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/java.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/java.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/java.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/javascript.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/javascript.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/javascript.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/jinja-html.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/jinja-html.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/jinja-html.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/jinja.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/jinja.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/jinja.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/jison.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/jison.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/jison.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/jl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/jl.js +1 -12
- package/lib/commonjs/vendor/shiki/langs/jl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/js.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/js.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/js.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/json.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/json.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/json.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/json5.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/json5.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/json5.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/jsonc.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/jsonc.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/jsonc.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/jsonl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/jsonl.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/jsonl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/jsonnet.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/jsonnet.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/jsonnet.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/jssm.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/jssm.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/jssm.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/jsx.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/jsx.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/jsx.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/julia.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/julia.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/julia.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/kotlin.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/kotlin.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/kotlin.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/kql.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/kql.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/kql.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/kt.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/kt.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/kt.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/kts.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/kts.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/kts.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/kusto.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/kusto.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/kusto.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/latex.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/latex.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/latex.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/lean.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/lean.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/lean.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/lean4.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/lean4.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/lean4.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/less.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/less.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/less.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/liquid.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/liquid.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/liquid.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/lisp.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/lisp.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/lisp.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/lit.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/lit.js +1 -17
- package/lib/commonjs/vendor/shiki/langs/lit.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/log.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/log.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/log.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/logo.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/logo.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/logo.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/lua.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/lua.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/lua.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/luau.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/luau.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/luau.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/make.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/make.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/make.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/makefile.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/makefile.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/makefile.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/markdown-vue.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/markdown-vue.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/markdown-vue.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/markdown.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/markdown.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/markdown.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/marko.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/marko.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/marko.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/matlab.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/matlab.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/matlab.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/md.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/md.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/md.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/mdc.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/mdc.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/mdc.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/mdx.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/mdx.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/mdx.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/mediawiki.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/mediawiki.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/mediawiki.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/mermaid.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/mermaid.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/mermaid.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/mips.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/mips.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/mips.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/mipsasm.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/mipsasm.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/mipsasm.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/mmd.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/mmd.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/mmd.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/mojo.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/mojo.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/mojo.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/move.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/move.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/move.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/nar.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/nar.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/nar.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/narrat.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/narrat.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/narrat.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/nextflow.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/nextflow.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/nextflow.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/nf.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/nf.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/nf.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/nginx.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/nginx.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/nginx.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/nim.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/nim.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/nim.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/nix.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/nix.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/nix.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/nu.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/nu.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/nu.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/nushell.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/nushell.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/nushell.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/objc.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/objc.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/objc.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/objective-c.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/objective-c.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/objective-c.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/objective-cpp.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/objective-cpp.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/objective-cpp.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/ocaml.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/ocaml.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/ocaml.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/pascal.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/pascal.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/pascal.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/perl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/perl.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/perl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/perl6.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/perl6.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/perl6.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/php.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/php.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/php.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/plsql.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/plsql.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/plsql.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/po.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/po.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/po.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/postcss.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/postcss.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/postcss.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/pot.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/pot.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/pot.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/potx.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/potx.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/potx.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/powerquery.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/powerquery.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/powerquery.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/powershell.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/powershell.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/powershell.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/prisma.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/prisma.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/prisma.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/prolog.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/prolog.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/prolog.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/properties.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/properties.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/properties.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/proto.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/proto.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/proto.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/protobuf.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/protobuf.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/protobuf.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/ps.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/ps.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/ps.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/ps1.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/ps1.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/ps1.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/pug.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/pug.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/pug.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/puppet.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/puppet.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/puppet.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/purescript.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/purescript.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/purescript.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/py.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/py.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/py.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/python.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/python.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/python.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/ql.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/ql.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/ql.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/qml.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/qml.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/qml.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/qmldir.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/qmldir.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/qmldir.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/qss.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/qss.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/qss.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/r.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/r.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/r.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/racket.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/racket.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/racket.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/raku.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/raku.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/raku.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/razor.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/razor.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/razor.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/rb.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/rb.js +1 -12
- package/lib/commonjs/vendor/shiki/langs/rb.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/reg.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/reg.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/reg.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/regex.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/regex.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/regex.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/regexp.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/regexp.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/regexp.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/rel.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/rel.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/rel.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/riscv.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/riscv.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/riscv.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/rs.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/rs.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/rs.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/rst.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/rst.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/rst.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/ruby.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/ruby.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/ruby.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/rust.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/rust.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/rust.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/sas.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/sas.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/sas.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/sass.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/sass.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/sass.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/scala.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/scala.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/scala.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/scheme.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/scheme.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/scheme.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/scss.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/scss.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/scss.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/sh.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/sh.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/sh.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/shader.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/shader.js +1 -42
- package/lib/commonjs/vendor/shiki/langs/shader.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/shaderlab.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/shaderlab.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/shaderlab.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/shell.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/shell.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/shell.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/shellscript.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/shellscript.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/shellscript.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/shellsession.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/shellsession.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/shellsession.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/smalltalk.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/smalltalk.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/smalltalk.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/solidity.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/solidity.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/solidity.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/soy.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/soy.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/soy.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/sparql.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/sparql.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/sparql.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/spl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/spl.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/spl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/splunk.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/splunk.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/splunk.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/sql.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/sql.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/sql.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/ssh-config.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/ssh-config.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/ssh-config.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/stata.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/stata.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/stata.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/styl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/styl.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/styl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/stylus.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/stylus.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/stylus.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/svelte.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/svelte.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/svelte.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/swift.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/swift.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/swift.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/system-verilog.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/system-verilog.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/system-verilog.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/systemd.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/systemd.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/systemd.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/tasl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/tasl.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/tasl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/tcl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/tcl.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/tcl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/templ.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/templ.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/templ.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/terraform.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/terraform.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/terraform.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/tex.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/tex.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/tex.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/tf.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/tf.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/tf.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/tfvars.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/tfvars.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/tfvars.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/toml.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/toml.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/toml.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/ts-tags.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/ts-tags.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/ts-tags.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/ts.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/ts.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/ts.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/tsp.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/tsp.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/tsp.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/tsv.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/tsv.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/tsv.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/tsx.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/tsx.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/tsx.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/turtle.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/turtle.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/turtle.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/twig.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/twig.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/twig.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/typ.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/typ.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/typ.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/typescript.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/typescript.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/typescript.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/typespec.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/typespec.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/typespec.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/typst.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/typst.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/typst.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/v.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/v.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/v.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/vala.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/vala.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/vala.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/vb.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/vb.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/vb.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/verilog.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/verilog.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/verilog.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/vhdl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/vhdl.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/vhdl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/vim.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/vim.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/vim.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/viml.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/viml.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/viml.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/vimscript.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/vimscript.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/vimscript.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/vue-directives.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/vue-directives.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/vue-directives.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/vue-html.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/vue-html.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/vue-html.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/vue-interpolations.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/vue-interpolations.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/vue-interpolations.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/vue-sfc-style-variable-injection.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/vue-sfc-style-variable-injection.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/vue-sfc-style-variable-injection.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/vue.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/vue.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/vue.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/vy.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/vy.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/vy.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/vyper.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/vyper.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/vyper.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/wasm.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/wasm.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/wasm.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/wenyan.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/wenyan.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/wenyan.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/wgsl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/wgsl.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/wgsl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/wiki.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/wiki.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/wiki.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/wikitext.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/wikitext.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/wikitext.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/wl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/wl.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/wl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/wolfram.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/wolfram.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/wolfram.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/xml.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/xml.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/xml.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/xsl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/xsl.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/xsl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/yaml.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/yaml.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/yaml.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/yml.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/yml.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/yml.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/zenscript.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/zenscript.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/zenscript.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/zig.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/zig.js +1 -6
- package/lib/commonjs/vendor/shiki/langs/zig.js.map +1 -1
- package/lib/commonjs/vendor/shiki/langs/zsh.d.js +1 -5
- package/lib/commonjs/vendor/shiki/langs/zsh.js +1 -38
- package/lib/commonjs/vendor/shiki/langs/zsh.js.map +1 -1
- package/lib/commonjs/vendor/shiki/manifest.json +365 -365
- package/lib/commonjs/vendor/shiki/themes/andromeeda.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/andromeeda.js +1 -222
- package/lib/commonjs/vendor/shiki/themes/andromeeda.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/aurora-x.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/aurora-x.js +1 -429
- package/lib/commonjs/vendor/shiki/themes/aurora-x.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/ayu-dark.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/ayu-dark.js +1 -573
- package/lib/commonjs/vendor/shiki/themes/ayu-dark.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/catppuccin-frappe.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/catppuccin-frappe.js +1 -1552
- package/lib/commonjs/vendor/shiki/themes/catppuccin-frappe.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/catppuccin-latte.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/catppuccin-latte.js +1 -1552
- package/lib/commonjs/vendor/shiki/themes/catppuccin-latte.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/catppuccin-macchiato.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/catppuccin-macchiato.js +1 -1552
- package/lib/commonjs/vendor/shiki/themes/catppuccin-macchiato.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/catppuccin-mocha.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/catppuccin-mocha.js +1 -1552
- package/lib/commonjs/vendor/shiki/themes/catppuccin-mocha.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/dark-plus.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/dark-plus.js +1 -372
- package/lib/commonjs/vendor/shiki/themes/dark-plus.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/dracula-soft.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/dracula-soft.js +1 -658
- package/lib/commonjs/vendor/shiki/themes/dracula-soft.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/dracula.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/dracula.js +1 -658
- package/lib/commonjs/vendor/shiki/themes/dracula.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/everforest-dark.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/everforest-dark.js +1 -1885
- package/lib/commonjs/vendor/shiki/themes/everforest-dark.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/everforest-light.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/everforest-light.js +1 -1885
- package/lib/commonjs/vendor/shiki/themes/everforest-light.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/github-dark-default.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/github-dark-default.js +1 -517
- package/lib/commonjs/vendor/shiki/themes/github-dark-default.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/github-dark-dimmed.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/github-dark-dimmed.js +1 -517
- package/lib/commonjs/vendor/shiki/themes/github-dark-dimmed.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/github-dark-high-contrast.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/github-dark-high-contrast.js +1 -521
- package/lib/commonjs/vendor/shiki/themes/github-dark-high-contrast.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/github-dark.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/github-dark.js +1 -440
- package/lib/commonjs/vendor/shiki/themes/github-dark.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/github-light-default.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/github-light-default.js +1 -513
- package/lib/commonjs/vendor/shiki/themes/github-light-default.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/github-light-high-contrast.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/github-light-high-contrast.js +1 -516
- package/lib/commonjs/vendor/shiki/themes/github-light-high-contrast.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/github-light.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/github-light.js +1 -436
- package/lib/commonjs/vendor/shiki/themes/github-light.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/houston.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/houston.js +1 -1502
- package/lib/commonjs/vendor/shiki/themes/houston.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/kanagawa-dragon.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/kanagawa-dragon.js +1 -577
- package/lib/commonjs/vendor/shiki/themes/kanagawa-dragon.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/kanagawa-lotus.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/kanagawa-lotus.js +1 -577
- package/lib/commonjs/vendor/shiki/themes/kanagawa-lotus.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/kanagawa-wave.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/kanagawa-wave.js +1 -577
- package/lib/commonjs/vendor/shiki/themes/kanagawa-wave.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/laserwave.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/laserwave.js +1 -190
- package/lib/commonjs/vendor/shiki/themes/laserwave.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/light-plus.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/light-plus.js +1 -372
- package/lib/commonjs/vendor/shiki/themes/light-plus.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/material-theme-darker.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/material-theme-darker.js +1 -648
- package/lib/commonjs/vendor/shiki/themes/material-theme-darker.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/material-theme-lighter.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/material-theme-lighter.js +1 -648
- package/lib/commonjs/vendor/shiki/themes/material-theme-lighter.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/material-theme-ocean.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/material-theme-ocean.js +1 -648
- package/lib/commonjs/vendor/shiki/themes/material-theme-ocean.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/material-theme-palenight.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/material-theme-palenight.js +1 -648
- package/lib/commonjs/vendor/shiki/themes/material-theme-palenight.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/material-theme.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/material-theme.js +1 -648
- package/lib/commonjs/vendor/shiki/themes/material-theme.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/min-dark.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/min-dark.js +1 -214
- package/lib/commonjs/vendor/shiki/themes/min-dark.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/min-light.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/min-light.js +1 -230
- package/lib/commonjs/vendor/shiki/themes/min-light.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/monokai.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/monokai.js +1 -382
- package/lib/commonjs/vendor/shiki/themes/monokai.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/night-owl.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/night-owl.js +1 -1224
- package/lib/commonjs/vendor/shiki/themes/night-owl.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/nord.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/nord.js +1 -1027
- package/lib/commonjs/vendor/shiki/themes/nord.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/one-dark-pro.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/one-dark-pro.js +1 -1564
- package/lib/commonjs/vendor/shiki/themes/one-dark-pro.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/one-light.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/one-light.js +1 -1151
- package/lib/commonjs/vendor/shiki/themes/one-light.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/plastic.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/plastic.js +1 -267
- package/lib/commonjs/vendor/shiki/themes/plastic.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/poimandres.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/poimandres.js +1 -977
- package/lib/commonjs/vendor/shiki/themes/poimandres.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/red.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/red.js +1 -296
- package/lib/commonjs/vendor/shiki/themes/red.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/rose-pine-dawn.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/rose-pine-dawn.js +1 -648
- package/lib/commonjs/vendor/shiki/themes/rose-pine-dawn.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/rose-pine-moon.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/rose-pine-moon.js +1 -648
- package/lib/commonjs/vendor/shiki/themes/rose-pine-moon.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/rose-pine.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/rose-pine.js +1 -648
- package/lib/commonjs/vendor/shiki/themes/rose-pine.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/slack-dark.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/slack-dark.js +1 -394
- package/lib/commonjs/vendor/shiki/themes/slack-dark.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/slack-ochin.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/slack-ochin.js +1 -394
- package/lib/commonjs/vendor/shiki/themes/slack-ochin.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/snazzy-light.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/snazzy-light.js +1 -945
- package/lib/commonjs/vendor/shiki/themes/snazzy-light.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/solarized-dark.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/solarized-dark.js +1 -313
- package/lib/commonjs/vendor/shiki/themes/solarized-dark.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/solarized-light.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/solarized-light.js +1 -305
- package/lib/commonjs/vendor/shiki/themes/solarized-light.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/synthwave-84.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/synthwave-84.js +1 -35
- package/lib/commonjs/vendor/shiki/themes/synthwave-84.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/tokyo-night.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/tokyo-night.js +1 -951
- package/lib/commonjs/vendor/shiki/themes/tokyo-night.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/vesper.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/vesper.js +1 -380
- package/lib/commonjs/vendor/shiki/themes/vesper.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/vitesse-black.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/vitesse-black.js +1 -504
- package/lib/commonjs/vendor/shiki/themes/vitesse-black.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/vitesse-dark.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/vitesse-dark.js +1 -504
- package/lib/commonjs/vendor/shiki/themes/vitesse-dark.js.map +1 -1
- package/lib/commonjs/vendor/shiki/themes/vitesse-light.d.js +1 -5
- package/lib/commonjs/vendor/shiki/themes/vitesse-light.js +1 -502
- package/lib/commonjs/vendor/shiki/themes/vitesse-light.js.map +1 -1
- package/lib/typescript/components/syntax/SyntaxHighlighter.d.ts.map +1 -1
- package/lib/typescript/syntax/highlighter/index.d.ts +1 -1
- package/lib/typescript/syntax/highlighter/index.d.ts.map +1 -1
- package/package.json +12 -2
- package/src/vendor/shiki/index.d.ts +10 -1
- package/src/vendor/shiki/index.js +14 -3
- package/src/vendor/shiki/manifest.json +365 -365
- package/.babelrc +0 -13
- package/babel.config.js +0 -19
- package/eslint.config.mjs +0 -6
- package/scripts/build.js +0 -259
- package/tsconfig.json +0 -26
package/.babelrc
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"presets": [
|
3
|
-
["module:metro-react-native-babel-preset"],
|
4
|
-
["@babel/preset-typescript", { "allowNamespaces": true }]
|
5
|
-
],
|
6
|
-
"generatorOpts": {
|
7
|
-
"compact": false,
|
8
|
-
"retainLines": true,
|
9
|
-
"concise": false,
|
10
|
-
"minified": false
|
11
|
-
},
|
12
|
-
"comments": true
|
13
|
-
}
|
package/babel.config.js
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
module.exports = {
|
2
|
-
presets: [['module:metro-react-native-babel-preset'], ['@babel/preset-typescript', { allowNamespaces: true }]],
|
3
|
-
plugins: [
|
4
|
-
[
|
5
|
-
'module-resolver',
|
6
|
-
{
|
7
|
-
root: ['./src'],
|
8
|
-
extensions: ['.js', '.jsx', '.ts', '.tsx', '.json'],
|
9
|
-
},
|
10
|
-
],
|
11
|
-
],
|
12
|
-
generatorOpts: {
|
13
|
-
compact: false,
|
14
|
-
retainLines: true,
|
15
|
-
concise: false,
|
16
|
-
minified: false,
|
17
|
-
},
|
18
|
-
comments: true,
|
19
|
-
}
|
package/eslint.config.mjs
DELETED
package/scripts/build.js
DELETED
@@ -1,259 +0,0 @@
|
|
1
|
-
import fs from 'node:fs'
|
2
|
-
import path from 'node:path'
|
3
|
-
import { fileURLToPath } from 'node:url'
|
4
|
-
|
5
|
-
import esbuild from 'esbuild'
|
6
|
-
|
7
|
-
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
8
|
-
const VENDOR_DIR = path.join(__dirname, '../src/vendor/shiki')
|
9
|
-
|
10
|
-
async function buildModule(inputPath, outputPath, name) {
|
11
|
-
try {
|
12
|
-
const result = await esbuild.build({
|
13
|
-
entryPoints: [inputPath],
|
14
|
-
bundle: true,
|
15
|
-
write: false,
|
16
|
-
format: 'cjs',
|
17
|
-
platform: 'node',
|
18
|
-
external: ['react', 'react-native'],
|
19
|
-
define: {
|
20
|
-
'process.env.NODE_ENV': '"production"',
|
21
|
-
},
|
22
|
-
banner: {
|
23
|
-
js: `"use strict";\nObject.defineProperty(exports, "__esModule", { value: true });\n`,
|
24
|
-
},
|
25
|
-
})
|
26
|
-
|
27
|
-
let outputText = result.outputFiles[0].text
|
28
|
-
|
29
|
-
// Helper function to clean up escaped strings
|
30
|
-
const cleanEscapedStrings = (str) => {
|
31
|
-
return str
|
32
|
-
.replace(/\\\\/g, '\\') // Convert double backslashes to single
|
33
|
-
.replace(/\\"/g, '"') // Convert escaped quotes to regular quotes
|
34
|
-
.replace(/\r\n/g, '\n') // Normalize line endings
|
35
|
-
}
|
36
|
-
|
37
|
-
// Process themes
|
38
|
-
if (inputPath.includes('/themes/')) {
|
39
|
-
const themePatterns = [/export\s+default\s+(\{[\s\S]*?\});?\s*$/, /JSON\.parse\('(.+?)'\)/, /exports\.default\s*=\s*(\{[\s\S]*?\});?\s*$/, /module\.exports\s*=\s*(\{[\s\S]*?\});?\s*$/]
|
40
|
-
|
41
|
-
let themeData = null
|
42
|
-
for (const pattern of themePatterns) {
|
43
|
-
const match = outputText.match(pattern)
|
44
|
-
if (match) {
|
45
|
-
themeData = cleanEscapedStrings(match[1])
|
46
|
-
break
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
if (themeData) {
|
51
|
-
outputText = `"use strict";\nObject.defineProperty(exports, "__esModule", { value: true });\nexports.default = ${themeData};`
|
52
|
-
}
|
53
|
-
}
|
54
|
-
// Process languages
|
55
|
-
else if (inputPath.includes('/langs/')) {
|
56
|
-
// First try to load the original source
|
57
|
-
const originalSource = await fs.promises.readFile(inputPath, 'utf8')
|
58
|
-
const directExportMatch = originalSource.match(/export\s+default\s+(\[[\s\S]*?\])/)
|
59
|
-
|
60
|
-
if (directExportMatch) {
|
61
|
-
// Use the original source if we can find the export
|
62
|
-
const langData = cleanEscapedStrings(directExportMatch[1])
|
63
|
-
outputText = `"use strict";\nObject.defineProperty(exports, "__esModule", { value: true });\nexports.default = ${langData};`
|
64
|
-
}
|
65
|
-
else {
|
66
|
-
// Fall back to processing the bundle
|
67
|
-
const langPatterns = [/export\s+default\s+(\[[\s\S]*?\]);?\s*$/m, /exports\.default\s*=\s*(\[[\s\S]*?\]);?\s*$/m, /module\.exports\s*=\s*(\[[\s\S]*?\]);?\s*$/m]
|
68
|
-
|
69
|
-
let langData = null
|
70
|
-
for (const pattern of langPatterns) {
|
71
|
-
const match = outputText.match(pattern)
|
72
|
-
if (match) {
|
73
|
-
langData = cleanEscapedStrings(match[1])
|
74
|
-
break
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
if (langData) {
|
79
|
-
outputText = `"use strict";\nObject.defineProperty(exports, "__esModule", { value: true });\nexports.default = ${langData};`
|
80
|
-
}
|
81
|
-
}
|
82
|
-
}
|
83
|
-
|
84
|
-
fs.writeFileSync(outputPath, outputText)
|
85
|
-
createDeclarationFile(outputPath, name || path.basename(outputPath, '.js'))
|
86
|
-
return true
|
87
|
-
}
|
88
|
-
catch (error) {
|
89
|
-
console.error(`Failed to build ${inputPath}:`, error)
|
90
|
-
return false
|
91
|
-
}
|
92
|
-
}
|
93
|
-
|
94
|
-
function createDeclarationFile(outputPath, name) {
|
95
|
-
if (!outputPath.includes('/themes/') && !outputPath.includes('/langs/') && !outputPath.includes('/core/')) {
|
96
|
-
return
|
97
|
-
}
|
98
|
-
|
99
|
-
const dtsPath = outputPath.replace('.js', '.d.ts')
|
100
|
-
const safeName = name.replace(/-/g, '_')
|
101
|
-
const reservedWords = ['for', 'switch', 'case', 'break', 'default', 'else', 'var', 'const', 'let', 'function', 'class']
|
102
|
-
const finalName = reservedWords.includes(safeName) ? `_${safeName}` : safeName
|
103
|
-
|
104
|
-
let dtsContent = ''
|
105
|
-
|
106
|
-
if (outputPath.includes('/core/')) {
|
107
|
-
if (outputPath.includes('core.js')) {
|
108
|
-
dtsContent = `\
|
109
|
-
import type { LanguageInput, ThemeInput } from 'shiki'
|
110
|
-
|
111
|
-
export interface HighlighterCoreOptions {
|
112
|
-
engine: any
|
113
|
-
langs: LanguageInput[]
|
114
|
-
themes: ThemeInput[]
|
115
|
-
}
|
116
|
-
|
117
|
-
export function createHighlighterCore(options: HighlighterCoreOptions): Promise<{
|
118
|
-
codeToTokens: (code: string, options: { lang: string; theme: string }) => any
|
119
|
-
}>`
|
120
|
-
}
|
121
|
-
else if (outputPath.includes('engine-javascript.js')) {
|
122
|
-
dtsContent = `\
|
123
|
-
export function createJavaScriptRegexEngine(): {
|
124
|
-
grammar: any
|
125
|
-
getRuleStack: (line: string) => any
|
126
|
-
tokenizeLine: (line: string, stack: any) => any
|
127
|
-
}`
|
128
|
-
}
|
129
|
-
}
|
130
|
-
else {
|
131
|
-
dtsContent = `\
|
132
|
-
import type { ${outputPath.includes('/themes/') ? 'ThemeInput' : 'LanguageInput'} } from 'shiki'
|
133
|
-
|
134
|
-
declare const ${finalName}: ${outputPath.includes('/themes/') ? 'ThemeInput' : 'LanguageInput'}
|
135
|
-
export default ${finalName}`
|
136
|
-
}
|
137
|
-
|
138
|
-
fs.writeFileSync(dtsPath, dtsContent)
|
139
|
-
}
|
140
|
-
|
141
|
-
const shikiDir = path.join(__dirname, '../node_modules/shiki/dist')
|
142
|
-
const langFiles = fs
|
143
|
-
.readdirSync(path.join(shikiDir, 'langs'))
|
144
|
-
.filter(file => file.endsWith('.mjs'))
|
145
|
-
.map(file => ({
|
146
|
-
input: `shiki/dist/langs/${file}`,
|
147
|
-
output: `src/vendor/shiki/langs/${file.replace('.mjs', '.js')}`,
|
148
|
-
name: file.replace('.mjs', ''),
|
149
|
-
}))
|
150
|
-
|
151
|
-
const themeFiles = fs
|
152
|
-
.readdirSync(path.join(shikiDir, 'themes'))
|
153
|
-
.filter(file => file.endsWith('.mjs'))
|
154
|
-
.map(file => ({
|
155
|
-
input: `shiki/dist/themes/${file}`,
|
156
|
-
output: `src/vendor/shiki/themes/${file.replace('.mjs', '.js')}`,
|
157
|
-
name: file.replace('.mjs', ''),
|
158
|
-
}))
|
159
|
-
|
160
|
-
const modules = [
|
161
|
-
{
|
162
|
-
input: 'shiki/dist/core.mjs',
|
163
|
-
output: 'src/vendor/shiki/core/core.js',
|
164
|
-
},
|
165
|
-
{
|
166
|
-
input: 'shiki/dist/engine-javascript.mjs',
|
167
|
-
output: 'src/vendor/shiki/core/engine-javascript.js',
|
168
|
-
},
|
169
|
-
...langFiles,
|
170
|
-
...themeFiles,
|
171
|
-
]
|
172
|
-
|
173
|
-
function createVendorIndex() {
|
174
|
-
const vendorIndexPath = path.join(VENDOR_DIR, 'index.js')
|
175
|
-
const vendorIndexContent = `\
|
176
|
-
"use strict";
|
177
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
178
|
-
|
179
|
-
exports.createHighlighterCore = require('./core/core').createHighlighterCore;
|
180
|
-
exports.createJavaScriptRegexEngine = require('./core/engine-javascript').createJavaScriptRegexEngine;
|
181
|
-
|
182
|
-
exports.themes = {};
|
183
|
-
exports.languages = {};
|
184
|
-
`
|
185
|
-
fs.writeFileSync(vendorIndexPath, vendorIndexContent)
|
186
|
-
|
187
|
-
const vendorDtsPath = path.join(VENDOR_DIR, 'index.d.ts')
|
188
|
-
const vendorDtsContent = `\
|
189
|
-
import type { ThemeInput, LanguageInput } from 'shiki'
|
190
|
-
|
191
|
-
export { createHighlighterCore } from './core/core'
|
192
|
-
export { createJavaScriptRegexEngine } from './core/engine-javascript'
|
193
|
-
|
194
|
-
export declare const themes: Record<string, ThemeInput>
|
195
|
-
export declare const languages: Record<string, LanguageInput>
|
196
|
-
`
|
197
|
-
fs.writeFileSync(vendorDtsPath, vendorDtsContent)
|
198
|
-
}
|
199
|
-
|
200
|
-
// Initialize manifest
|
201
|
-
const manifest = {
|
202
|
-
version: JSON.parse(fs.readFileSync(path.join(__dirname, '../node_modules/shiki/package.json'), 'utf8')).version,
|
203
|
-
buildDate: new Date().toISOString(),
|
204
|
-
core: [],
|
205
|
-
langs: {},
|
206
|
-
themes: {},
|
207
|
-
}
|
208
|
-
|
209
|
-
// Ensure vendor directory exists
|
210
|
-
if (!fs.existsSync(VENDOR_DIR)) {
|
211
|
-
fs.mkdirSync(VENDOR_DIR, { recursive: true })
|
212
|
-
}
|
213
|
-
|
214
|
-
// Create necessary subdirectories
|
215
|
-
;['core', 'langs', 'themes'].forEach((dir) => {
|
216
|
-
const fullPath = path.join(VENDOR_DIR, dir)
|
217
|
-
if (!fs.existsSync(fullPath)) {
|
218
|
-
fs.mkdirSync(fullPath, { recursive: true })
|
219
|
-
}
|
220
|
-
})
|
221
|
-
|
222
|
-
// Build modules
|
223
|
-
for (const module of modules) {
|
224
|
-
const inputPath = path.join(__dirname, '../node_modules', module.input)
|
225
|
-
const outputPath = path.join(__dirname, '..', module.output)
|
226
|
-
|
227
|
-
const dir = path.dirname(outputPath)
|
228
|
-
if (!fs.existsSync(dir)) {
|
229
|
-
fs.mkdirSync(dir, { recursive: true })
|
230
|
-
}
|
231
|
-
|
232
|
-
await buildModule(inputPath, outputPath, module.name)
|
233
|
-
|
234
|
-
// Update manifest
|
235
|
-
if (module.input.includes('/langs/')) {
|
236
|
-
manifest.langs[module.name] = {
|
237
|
-
file: path.relative(VENDOR_DIR, outputPath),
|
238
|
-
built: new Date().toISOString(),
|
239
|
-
}
|
240
|
-
}
|
241
|
-
else if (module.input.includes('/themes/')) {
|
242
|
-
manifest.themes[module.name] = {
|
243
|
-
file: path.relative(VENDOR_DIR, outputPath),
|
244
|
-
built: new Date().toISOString(),
|
245
|
-
}
|
246
|
-
}
|
247
|
-
else {
|
248
|
-
manifest.core.push({
|
249
|
-
name: module.name || path.basename(module.output, '.js'),
|
250
|
-
file: path.relative(VENDOR_DIR, outputPath),
|
251
|
-
built: new Date().toISOString(),
|
252
|
-
})
|
253
|
-
}
|
254
|
-
}
|
255
|
-
|
256
|
-
createVendorIndex()
|
257
|
-
|
258
|
-
// Write manifest
|
259
|
-
fs.writeFileSync(path.join(VENDOR_DIR, 'manifest.json'), JSON.stringify(manifest, null, 2))
|
package/tsconfig.json
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"target": "esnext",
|
4
|
-
"jsx": "react-native",
|
5
|
-
"lib": ["esnext"],
|
6
|
-
"baseUrl": "./",
|
7
|
-
"module": "esnext",
|
8
|
-
"moduleResolution": "node",
|
9
|
-
"resolveJsonModule": true,
|
10
|
-
"allowJs": false,
|
11
|
-
"strict": true,
|
12
|
-
"allowUnreachableCode": false,
|
13
|
-
"allowUnusedLabels": false,
|
14
|
-
"noFallthroughCasesInSwitch": true,
|
15
|
-
"noImplicitReturns": true,
|
16
|
-
"noUncheckedIndexedAccess": true,
|
17
|
-
"noUnusedLocals": true,
|
18
|
-
"noUnusedParameters": true,
|
19
|
-
"esModuleInterop": true,
|
20
|
-
"forceConsistentCasingInFileNames": true,
|
21
|
-
"noStrictGenericChecks": false,
|
22
|
-
"skipLibCheck": true
|
23
|
-
},
|
24
|
-
"include": ["src"],
|
25
|
-
"exclude": ["node_modules", "lib", "src/vendor/*", "babel.config.js", "metro.config.js", "jest.config.js"]
|
26
|
-
}
|