@ngrok/mantle-server-syntax-highlighter 1.1.20 → 1.1.22

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/README.md CHANGED
@@ -6,7 +6,7 @@ Use this package to highlight code in API routes, server actions, or any Node.js
6
6
 
7
7
  ## Requirements
8
8
 
9
- - Node.js 24+
9
+ - Node.js 26 LTS
10
10
  - `@ngrok/mantle` installed in the same project
11
11
 
12
12
  ## Installation
package/dist/index.d.ts CHANGED
@@ -290,5 +290,4 @@ declare function computeKeywordFoldRanges({ language, tokens }: {
290
290
  /** Shiki-tokenized lines, with scope explanations populated. */
291
291
  tokens: FoldLine[];
292
292
  }): FoldableRange[];
293
- export { type HtmlFoldLanguage, type JsxFoldLanguage, type KeywordFoldLanguage, type MantleHighlightInput, type MantleHighlightResult, type MantleServerHighlighter, type ServerFoldStrategy, computeCssFoldRanges, computeHtmlFoldRanges, computeJsxFoldRanges, computeKeywordFoldRanges, computeServerFoldRanges, createMantleServerSyntaxHighlighter, getMantleShikiHighlighter, highlightWithMantleShiki, mantleHighlightCacheMaxEntries, mantleShikiLanguageGrammarIds, mantleShikiThemeName, serverFoldNeedsTokens, serverFoldStrategyFor };
294
- //# sourceMappingURL=index.d.ts.map
293
+ export { type HtmlFoldLanguage, type JsxFoldLanguage, type KeywordFoldLanguage, type MantleHighlightInput, type MantleHighlightResult, type MantleServerHighlighter, type ServerFoldStrategy, computeCssFoldRanges, computeHtmlFoldRanges, computeJsxFoldRanges, computeKeywordFoldRanges, computeServerFoldRanges, createMantleServerSyntaxHighlighter, getMantleShikiHighlighter, highlightWithMantleShiki, mantleHighlightCacheMaxEntries, mantleShikiLanguageGrammarIds, mantleShikiThemeName, serverFoldNeedsTokens, serverFoldStrategyFor };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngrok/mantle-server-syntax-highlighter",
3
- "version": "1.1.20",
3
+ "version": "1.1.22",
4
4
  "description": "Server-side syntax highlighting for @ngrok/mantle, powered by Shiki.",
5
5
  "homepage": "https://mantle.ngrok.com",
6
6
  "license": "MIT",
@@ -19,14 +19,14 @@
19
19
  "./package.json": "./package.json"
20
20
  },
21
21
  "dependencies": {
22
- "oxc-parser": "0.156.0",
23
- "parse5": "8.0.1",
24
- "shiki": "4.5.0"
22
+ "oxc-parser": "0.158.0",
23
+ "parse5": "8.1.1",
24
+ "shiki": "4.6.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@ngrok/mantle": "*"
28
28
  },
29
29
  "engines": {
30
- "node": "^24.0.0"
30
+ "node": "^26.0.0"
31
31
  }
32
32
  }