@tsrx/core 0.1.57 → 0.1.58
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/package.json +3 -3
- package/types/parse.d.ts +6 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core compiler infrastructure for TSRX syntax",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Dominic Gannaway",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.58",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -71,11 +71,11 @@
|
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@jridgewell/sourcemap-codec": "^1.5.5",
|
|
73
73
|
"@noble/hashes": "^2.2.0",
|
|
74
|
-
"@sveltejs/acorn-typescript": "^1.0.
|
|
74
|
+
"@sveltejs/acorn-typescript": "^1.0.13",
|
|
75
75
|
"@types/estree-jsx": "^1.0.5",
|
|
76
76
|
"@types/estree": "^1.0.8",
|
|
77
77
|
"acorn": "^8.17.0",
|
|
78
|
-
"esrap": "^2.3.
|
|
78
|
+
"esrap": "^2.3.2",
|
|
79
79
|
"is-reference": "^3.0.3",
|
|
80
80
|
"magic-string": "^0.30.18",
|
|
81
81
|
"zimmerframe": "^1.1.2"
|
package/types/parse.d.ts
CHANGED
|
@@ -679,6 +679,12 @@ export namespace Parse {
|
|
|
679
679
|
*/
|
|
680
680
|
getTokenFromCodeInType(code: number): void;
|
|
681
681
|
|
|
682
|
+
/**
|
|
683
|
+
* Get the current tokenizer state used by lookahead parsing.
|
|
684
|
+
* Added by @sveltejs/acorn-typescript.
|
|
685
|
+
*/
|
|
686
|
+
getCurLookaheadState(): LookaheadState;
|
|
687
|
+
|
|
682
688
|
/**
|
|
683
689
|
* Get current position as Position object
|
|
684
690
|
* @returns { line: number, column: number, index: number }
|