shiki 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,5 @@
1
- import { n as __reExport, t as __exportAll } from "./chunk-CtajNgzt.mjs";
2
1
  import { a as bundledLanguagesInfo, i as bundledLanguagesBase, n as bundledLanguages, r as bundledLanguagesAlias, t as BundledLanguage } from "./langs-bundle-full-C-zczmvu.mjs";
3
2
  import { BundledTheme, bundledThemes, bundledThemesInfo } from "./themes.mjs";
4
- import "./core.mjs";
5
3
  import * as _shikijs_types0 from "@shikijs/types";
6
4
  import { HighlighterGeneric } from "@shikijs/types";
7
5
  import * as hast from "hast";
@@ -1,6 +1,4 @@
1
- import { n as __reExport, t as __exportAll } from "./chunk-CtajNgzt.mjs";
2
1
  import { BundledTheme, bundledThemes, bundledThemesInfo } from "./themes.mjs";
3
- import "./core.mjs";
4
2
  import * as _shikijs_types0 from "@shikijs/types";
5
3
  import { BundledLanguageInfo, DynamicImportLanguageRegistration, HighlighterGeneric } from "@shikijs/types";
6
4
  import * as hast from "hast";
package/dist/core.d.mts CHANGED
@@ -1,2 +1 @@
1
- import { n as __reExport, t as __exportAll } from "./chunk-CtajNgzt.mjs";
2
1
  export * from "@shikijs/core";
package/dist/index.d.mts CHANGED
@@ -1,4 +1,3 @@
1
- import { n as __reExport, t as __exportAll } from "./chunk-CtajNgzt.mjs";
2
1
  import { a as bundledLanguagesInfo, i as bundledLanguagesBase, n as bundledLanguages, r as bundledLanguagesAlias, t as BundledLanguage } from "./langs-bundle-full-C-zczmvu.mjs";
3
2
  import { BundledTheme, bundledThemes, bundledThemesInfo } from "./themes.mjs";
4
3
  import { Highlighter, codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createHighlighter, getLastGrammarState, getSingletonHighlighter, t as bundle_full_d_exports } from "./bundle-full.mjs";
package/dist/themes.mjs CHANGED
@@ -171,7 +171,7 @@ const bundledThemesInfo = [
171
171
  {
172
172
  "id": "horizon-bright",
173
173
  "displayName": "Horizon Bright",
174
- "type": "dark",
174
+ "type": "light",
175
175
  "import": (() => import("@shikijs/themes/horizon-bright"))
176
176
  },
177
177
  {
package/dist/types.d.mts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { t as BundledLanguage } from "./langs-bundle-full-C-zczmvu.mjs";
2
2
  import { BundledTheme } from "./themes.mjs";
3
- import "./langs.mjs";
4
3
  export * from "@shikijs/core/types";
5
4
 
6
5
  //#region src/types.d.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shiki",
3
3
  "type": "module",
4
- "version": "4.0.0",
4
+ "version": "4.0.1",
5
5
  "description": "A beautiful Syntax Highlighter.",
6
6
  "author": "Pine Wu <octref@gmail.com>; Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -51,17 +51,17 @@
51
51
  "dependencies": {
52
52
  "@shikijs/vscode-textmate": "^10.0.2",
53
53
  "@types/hast": "^3.0.4",
54
- "@shikijs/core": "4.0.0",
55
- "@shikijs/engine-oniguruma": "4.0.0",
56
- "@shikijs/langs": "4.0.0",
57
- "@shikijs/engine-javascript": "4.0.0",
58
- "@shikijs/themes": "4.0.0",
59
- "@shikijs/types": "4.0.0"
54
+ "@shikijs/core": "4.0.1",
55
+ "@shikijs/engine-javascript": "4.0.1",
56
+ "@shikijs/engine-oniguruma": "4.0.1",
57
+ "@shikijs/langs": "4.0.1",
58
+ "@shikijs/types": "4.0.1",
59
+ "@shikijs/themes": "4.0.1"
60
60
  },
61
61
  "devDependencies": {
62
62
  "rollup-plugin-copy": "^3.5.0",
63
- "tm-grammars": "^1.31.0",
64
- "tm-themes": "^1.12.0",
63
+ "tm-grammars": "^1.31.2",
64
+ "tm-themes": "^1.12.1",
65
65
  "vscode-oniguruma": "1.7.0"
66
66
  },
67
67
  "scripts": {