@scalar/code-highlight 0.4.2 → 0.4.5

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,3 +1,2 @@
1
- import "../chunks/lib.js";
2
1
  import { t as syntaxHighlight } from "../chunks/code.js";
3
2
  export { syntaxHighlight };
package/dist/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import { i as lowlightLanguageMappings, t as rehypeHighlight } from "./chunks/rehype-highlight.js";
2
- import "./chunks/lib.js";
3
2
  import { n as jsonYamlLanguages, r as basicLanguages, t as standardLanguages } from "./chunks/languages.js";
4
3
  import { t as syntaxHighlight } from "./chunks/code.js";
5
4
  import { a as textFromNode, n as htmlFromMarkdown, r as isHeading } from "./chunks/markdown.js";
@@ -40,6 +40,7 @@ export declare const standardLanguages: {
40
40
  readonly java: LanguageFn;
41
41
  readonly javascript: LanguageFn;
42
42
  readonly json: LanguageFn;
43
+ readonly julia: LanguageFn;
43
44
  readonly kotlin: LanguageFn;
44
45
  readonly less: LanguageFn;
45
46
  readonly lua: LanguageFn;
@@ -1 +1 @@
1
- {"version":3,"file":"standard.d.ts","sourceRoot":"","sources":["../../src/languages/standard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAkD9C;;;;;;;;;;;;;;GAcG;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDiB,CAAA"}
1
+ {"version":3,"file":"standard.d.ts","sourceRoot":"","sources":["../../src/languages/standard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAmD9C;;;;;;;;;;;;;;GAcG;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDiB,CAAA"}
@@ -1,3 +1,2 @@
1
- import "../chunks/lib.js";
2
1
  import { a as textFromNode, i as splitContent, n as htmlFromMarkdown, r as isHeading, t as getHeadings } from "../chunks/markdown.js";
3
2
  export { getHeadings, htmlFromMarkdown, isHeading, splitContent, textFromNode };
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "lowlight",
17
17
  "highlightjs"
18
18
  ],
19
- "version": "0.4.2",
19
+ "version": "0.4.5",
20
20
  "engines": {
21
21
  "node": ">=22"
22
22
  },
@@ -91,8 +91,8 @@
91
91
  "@types/hast": "^3.0.4",
92
92
  "@types/mdast": "^4.0.4",
93
93
  "vfile": "^6.0.3",
94
- "vite": "8.0.0",
95
- "@scalar/themes": "0.16.3"
94
+ "vite": "8.1.5",
95
+ "@scalar/themes": "0.17.3"
96
96
  },
97
97
  "scripts": {
98
98
  "build": "vite build && tsc -p tsconfig.build.json --emitDeclarationOnly && tsc-alias -p tsconfig.build.json && shx cp -r src/css dist/css",