@shikijs/engine-javascript 3.2.1 → 3.2.2
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,4 +1,4 @@
|
|
|
1
1
|
import '@shikijs/types';
|
|
2
2
|
import 'oniguruma-to-es';
|
|
3
|
-
export { J as JavaScriptRegexEngineOptions, c as createJavaScriptRegexEngine, d as defaultJavaScriptRegexConstructor } from './shared/engine-javascript.
|
|
3
|
+
export { J as JavaScriptRegexEngineOptions, c as createJavaScriptRegexEngine, d as defaultJavaScriptRegexConstructor } from './shared/engine-javascript.CDEDnU-m.mjs';
|
|
4
4
|
import '@shikijs/vscode-textmate';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { J as JavaScriptRegexEngineOptions, a as JavaScriptRegexScannerOptions, b as JavaScriptScanner, c as createJavaScriptRegexEngine, d as defaultJavaScriptRegexConstructor } from './shared/engine-javascript.
|
|
1
|
+
export { J as JavaScriptRegexEngineOptions, a as JavaScriptRegexScannerOptions, b as JavaScriptScanner, c as createJavaScriptRegexEngine, d as defaultJavaScriptRegexConstructor } from './shared/engine-javascript.CDEDnU-m.mjs';
|
|
2
2
|
export { createJavaScriptRawEngine } from './engine-raw.mjs';
|
|
3
3
|
import '@shikijs/types';
|
|
4
4
|
import 'oniguruma-to-es';
|
|
@@ -59,4 +59,5 @@ declare function defaultJavaScriptRegexConstructor(pattern: string, options?: To
|
|
|
59
59
|
*/
|
|
60
60
|
declare function createJavaScriptRegexEngine(options?: JavaScriptRegexEngineOptions): RegexEngine;
|
|
61
61
|
|
|
62
|
-
export {
|
|
62
|
+
export { JavaScriptScanner as b, createJavaScriptRegexEngine as c, defaultJavaScriptRegexConstructor as d };
|
|
63
|
+
export type { JavaScriptRegexEngineOptions as J, JavaScriptRegexScannerOptions as a };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shikijs/engine-javascript",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.2",
|
|
5
5
|
"description": "Engine for Shiki using JavaScript's native RegExp",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@shikijs/vscode-textmate": "^10.0.2",
|
|
32
32
|
"oniguruma-to-es": "^4.1.0",
|
|
33
|
-
"@shikijs/types": "3.2.
|
|
33
|
+
"@shikijs/types": "3.2.2"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "unbuild",
|