@ngrok/mantle-server-syntax-highlighter 1.0.0 → 1.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.
- package/dist/index.d.ts +2 -2
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Indentation, LineRange, SupportedLanguage } from "@ngrok/mantle/highlight-utils";
|
|
2
|
-
import * as shiki from "shiki";
|
|
2
|
+
import * as _$shiki from "shiki";
|
|
3
3
|
|
|
4
4
|
//#region src/engine.d.ts
|
|
5
5
|
/**
|
|
@@ -12,7 +12,7 @@ declare const mantleShikiLanguageGrammarIds: ["bash", "csharp", "css", "go", "ht
|
|
|
12
12
|
*/
|
|
13
13
|
declare const mantleShikiThemeName: "mantle-css-variables";
|
|
14
14
|
declare const mantleHighlightCacheMaxEntries = 1000;
|
|
15
|
-
type ShikiHighlighter = Awaited<ReturnType<(typeof shiki)["createHighlighter"]>>;
|
|
15
|
+
type ShikiHighlighter = Awaited<ReturnType<(typeof _$shiki)["createHighlighter"]>>;
|
|
16
16
|
type MantleHighlightInput = {
|
|
17
17
|
/**
|
|
18
18
|
* Raw code string to highlight.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngrok/mantle-server-syntax-highlighter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Server-side syntax highlighting for @ngrok/mantle, powered by Shiki.",
|
|
5
5
|
"homepage": "https://mantle.ngrok.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@testing-library/jest-dom": "6.9.1",
|
|
30
|
-
"@types/node": "24.12.
|
|
31
|
-
"tsdown": "0.21.
|
|
32
|
-
"typescript": "
|
|
30
|
+
"@types/node": "24.12.2",
|
|
31
|
+
"tsdown": "0.21.7",
|
|
32
|
+
"typescript": "6.0.2",
|
|
33
33
|
"@cfg/tsconfig": "1.0.0",
|
|
34
|
-
"@ngrok/mantle": "0.
|
|
34
|
+
"@ngrok/mantle": "0.68.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@ngrok/mantle": "*"
|