@danielblomma/cortex-mcp 1.3.1 → 1.4.0

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.
Files changed (154) hide show
  1. package/README.md +62 -14
  2. package/package.json +2 -2
  3. package/scaffold/mcp/package-lock.json +3 -7
  4. package/scaffold/mcp/package.json +1 -1
  5. package/scaffold/scripts/dashboard.mjs +15 -1
  6. package/scaffold/scripts/doctor.sh +64 -10
  7. package/scaffold/scripts/ingest.mjs +323 -50
  8. package/scaffold/scripts/parsers/bash-treesitter.mjs +229 -0
  9. package/scaffold/scripts/parsers/cpp-dispatch.mjs +56 -0
  10. package/scaffold/scripts/parsers/cpp-treesitter.mjs +333 -0
  11. package/scaffold/scripts/parsers/csharp.mjs +197 -10
  12. package/scaffold/scripts/parsers/dotnet/CSharpParser/CSharpParser.csproj +1 -0
  13. package/scaffold/scripts/parsers/dotnet/CSharpParser/Program.cs +126 -21
  14. package/scaffold/scripts/parsers/go-treesitter.mjs +283 -0
  15. package/scaffold/scripts/parsers/java-treesitter.mjs +250 -0
  16. package/scaffold/scripts/parsers/javascript/ast.mjs +118 -12
  17. package/scaffold/scripts/parsers/javascript/chunks.mjs +4 -0
  18. package/scaffold/scripts/parsers/javascript/patterns.mjs +6 -0
  19. package/scaffold/scripts/parsers/javascript.mjs +4 -19
  20. package/scaffold/scripts/parsers/node_modules/.package-lock.json +57 -0
  21. package/scaffold/scripts/parsers/node_modules/acorn/CHANGELOG.md +972 -0
  22. package/scaffold/scripts/parsers/node_modules/acorn/LICENSE +21 -0
  23. package/scaffold/scripts/parsers/node_modules/acorn/README.md +301 -0
  24. package/scaffold/scripts/parsers/node_modules/acorn/bin/acorn +4 -0
  25. package/scaffold/scripts/parsers/node_modules/acorn/dist/acorn.d.mts +883 -0
  26. package/scaffold/scripts/parsers/node_modules/acorn/dist/acorn.d.ts +883 -0
  27. package/scaffold/scripts/parsers/node_modules/acorn/dist/acorn.js +6295 -0
  28. package/scaffold/scripts/parsers/node_modules/acorn/dist/acorn.mjs +6266 -0
  29. package/scaffold/scripts/parsers/node_modules/acorn/dist/bin.js +90 -0
  30. package/scaffold/scripts/parsers/node_modules/acorn/package.json +50 -0
  31. package/scaffold/scripts/parsers/node_modules/acorn-typescript/CHANGELOG.md +421 -0
  32. package/scaffold/scripts/parsers/node_modules/acorn-typescript/LICENSE +21 -0
  33. package/scaffold/scripts/parsers/node_modules/acorn-typescript/README.md +81 -0
  34. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/error.d.ts +103 -0
  35. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/error.js +78 -0
  36. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/error.js.map +1 -0
  37. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/extentions/decorators.d.ts +167 -0
  38. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/extentions/decorators.js +75 -0
  39. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/extentions/decorators.js.map +1 -0
  40. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/extentions/import-assertions.d.ts +177 -0
  41. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/extentions/import-assertions.js +56 -0
  42. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/extentions/import-assertions.js.map +1 -0
  43. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/extentions/jsx/index.d.ts +198 -0
  44. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/extentions/jsx/index.js +327 -0
  45. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/extentions/jsx/index.js.map +1 -0
  46. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/extentions/jsx/xhtml.d.ts +256 -0
  47. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/extentions/jsx/xhtml.js +256 -0
  48. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/extentions/jsx/xhtml.js.map +1 -0
  49. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/index.d.ts +472 -0
  50. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/index.js +1 -0
  51. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/index.js.map +1 -0
  52. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/index.mjs +1 -0
  53. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/middleware.d.ts +159 -0
  54. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/middleware.js +2 -0
  55. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/middleware.js.map +1 -0
  56. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/parseutil.d.ts +10 -0
  57. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/parseutil.js +38 -0
  58. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/parseutil.js.map +1 -0
  59. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/scopeflags.d.ts +12 -0
  60. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/scopeflags.js +29 -0
  61. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/scopeflags.js.map +1 -0
  62. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/tokenType.d.ts +2 -0
  63. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/tokenType.js +118 -0
  64. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/tokenType.js.map +1 -0
  65. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/types.d.ts +60 -0
  66. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/types.js +2 -0
  67. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/types.js.map +1 -0
  68. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/whitespace.d.ts +2 -0
  69. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/whitespace.js +19 -0
  70. package/scaffold/scripts/parsers/node_modules/acorn-typescript/lib/whitespace.js.map +1 -0
  71. package/scaffold/scripts/parsers/node_modules/acorn-typescript/package.json +53 -0
  72. package/scaffold/scripts/parsers/node_modules/acorn-typescript/tsconfig.json +19 -0
  73. package/scaffold/scripts/parsers/node_modules/acorn-walk/CHANGELOG.md +209 -0
  74. package/scaffold/scripts/parsers/node_modules/acorn-walk/LICENSE +21 -0
  75. package/scaffold/scripts/parsers/node_modules/acorn-walk/README.md +124 -0
  76. package/scaffold/scripts/parsers/node_modules/acorn-walk/dist/walk.d.mts +152 -0
  77. package/scaffold/scripts/parsers/node_modules/acorn-walk/dist/walk.d.ts +152 -0
  78. package/scaffold/scripts/parsers/node_modules/acorn-walk/dist/walk.js +485 -0
  79. package/scaffold/scripts/parsers/node_modules/acorn-walk/dist/walk.mjs +467 -0
  80. package/scaffold/scripts/parsers/node_modules/acorn-walk/package.json +50 -0
  81. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/LICENSE +24 -0
  82. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/README.md +23 -0
  83. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-bash.wasm +0 -0
  84. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-c.wasm +0 -0
  85. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-c_sharp.wasm +0 -0
  86. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-cpp.wasm +0 -0
  87. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-css.wasm +0 -0
  88. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-dart.wasm +0 -0
  89. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-elisp.wasm +0 -0
  90. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-elixir.wasm +0 -0
  91. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-elm.wasm +0 -0
  92. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-embedded_template.wasm +0 -0
  93. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-go.wasm +0 -0
  94. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-html.wasm +0 -0
  95. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-java.wasm +0 -0
  96. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-javascript.wasm +0 -0
  97. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-json.wasm +0 -0
  98. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-kotlin.wasm +0 -0
  99. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-lua.wasm +0 -0
  100. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-objc.wasm +0 -0
  101. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-ocaml.wasm +0 -0
  102. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-php.wasm +0 -0
  103. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-python.wasm +0 -0
  104. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-ql.wasm +0 -0
  105. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-rescript.wasm +0 -0
  106. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-ruby.wasm +0 -0
  107. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-rust.wasm +0 -0
  108. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-scala.wasm +0 -0
  109. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-solidity.wasm +0 -0
  110. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-swift.wasm +0 -0
  111. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-systemrdl.wasm +0 -0
  112. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-tlaplus.wasm +0 -0
  113. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-toml.wasm +0 -0
  114. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-tsx.wasm +0 -0
  115. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-typescript.wasm +0 -0
  116. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-vue.wasm +0 -0
  117. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-yaml.wasm +0 -0
  118. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/out/tree-sitter-zig.wasm +0 -0
  119. package/scaffold/scripts/parsers/node_modules/tree-sitter-wasms/package.json +64 -0
  120. package/scaffold/scripts/parsers/node_modules/web-tree-sitter/LICENSE +21 -0
  121. package/scaffold/scripts/parsers/node_modules/web-tree-sitter/README.md +198 -0
  122. package/scaffold/scripts/parsers/node_modules/web-tree-sitter/package.json +37 -0
  123. package/scaffold/scripts/parsers/node_modules/web-tree-sitter/tree-sitter-web.d.ts +242 -0
  124. package/scaffold/scripts/parsers/node_modules/web-tree-sitter/tree-sitter.js +1 -0
  125. package/scaffold/scripts/parsers/node_modules/web-tree-sitter/tree-sitter.wasm +0 -0
  126. package/scaffold/scripts/parsers/package-lock.json +19 -1
  127. package/scaffold/scripts/parsers/package.json +3 -1
  128. package/scaffold/scripts/parsers/python-treesitter.mjs +271 -0
  129. package/scaffold/scripts/parsers/ruby-treesitter.mjs +271 -0
  130. package/scaffold/scripts/parsers/rust-dispatch.mjs +43 -0
  131. package/scaffold/scripts/parsers/rust-treesitter.mjs +291 -0
  132. package/scaffold/scripts/parsers/tree-sitter/base.mjs +163 -0
  133. package/scaffold/scripts/parsers/tree-sitter/queries/bash.calls.scm +7 -0
  134. package/scaffold/scripts/parsers/tree-sitter/queries/bash.chunks.scm +6 -0
  135. package/scaffold/scripts/parsers/tree-sitter/queries/bash.imports.scm +5 -0
  136. package/scaffold/scripts/parsers/tree-sitter/queries/cpp.calls.scm +17 -0
  137. package/scaffold/scripts/parsers/tree-sitter/queries/cpp.chunks.scm +30 -0
  138. package/scaffold/scripts/parsers/tree-sitter/queries/cpp.imports.scm +6 -0
  139. package/scaffold/scripts/parsers/tree-sitter/queries/go.calls.scm +11 -0
  140. package/scaffold/scripts/parsers/tree-sitter/queries/go.chunks.scm +19 -0
  141. package/scaffold/scripts/parsers/tree-sitter/queries/go.imports.scm +6 -0
  142. package/scaffold/scripts/parsers/tree-sitter/queries/java.calls.scm +6 -0
  143. package/scaffold/scripts/parsers/tree-sitter/queries/java.chunks.scm +23 -0
  144. package/scaffold/scripts/parsers/tree-sitter/queries/java.imports.scm +6 -0
  145. package/scaffold/scripts/parsers/tree-sitter/queries/python.calls.scm +11 -0
  146. package/scaffold/scripts/parsers/tree-sitter/queries/python.chunks.scm +11 -0
  147. package/scaffold/scripts/parsers/tree-sitter/queries/python.imports.scm +13 -0
  148. package/scaffold/scripts/parsers/tree-sitter/queries/ruby.calls.scm +6 -0
  149. package/scaffold/scripts/parsers/tree-sitter/queries/ruby.chunks.scm +16 -0
  150. package/scaffold/scripts/parsers/tree-sitter/queries/ruby.imports.scm +8 -0
  151. package/scaffold/scripts/parsers/tree-sitter/queries/rust.calls.scm +31 -0
  152. package/scaffold/scripts/parsers/tree-sitter/queries/rust.chunks.scm +29 -0
  153. package/scaffold/scripts/parsers/tree-sitter/queries/rust.imports.scm +5 -0
  154. package/scaffold/scripts/parsers/vb6.mjs +395 -0
@@ -0,0 +1,90 @@
1
+ 'use strict';
2
+
3
+ var path = require('path');
4
+ var fs = require('fs');
5
+ var acorn = require('./acorn.js');
6
+
7
+ function _interopNamespaceDefault(e) {
8
+ var n = Object.create(null);
9
+ if (e) {
10
+ Object.keys(e).forEach(function (k) {
11
+ if (k !== 'default') {
12
+ var d = Object.getOwnPropertyDescriptor(e, k);
13
+ Object.defineProperty(n, k, d.get ? d : {
14
+ enumerable: true,
15
+ get: function () { return e[k]; }
16
+ });
17
+ }
18
+ });
19
+ }
20
+ n.default = e;
21
+ return Object.freeze(n);
22
+ }
23
+
24
+ var acorn__namespace = /*#__PURE__*/_interopNamespaceDefault(acorn);
25
+
26
+ var inputFilePaths = [], forceFileName = false, fileMode = false, silent = false, compact = false, tokenize = false;
27
+ var options = {};
28
+
29
+ function help(status) {
30
+ var print = (status === 0) ? console.log : console.error;
31
+ print("usage: " + path.basename(process.argv[1]) + " [--ecma3|--ecma5|--ecma6|--ecma7|--ecma8|--ecma9|...|--ecma2015|--ecma2016|--ecma2017|--ecma2018|...]");
32
+ print(" [--tokenize] [--locations] [--allow-hash-bang] [--allow-await-outside-function] [--compact] [--silent] [--module] [--help] [--] [<infile>...]");
33
+ process.exit(status);
34
+ }
35
+
36
+ for (var i = 2; i < process.argv.length; ++i) {
37
+ var arg = process.argv[i];
38
+ if (arg[0] !== "-" || arg === "-") { inputFilePaths.push(arg); }
39
+ else if (arg === "--") {
40
+ inputFilePaths.push.apply(inputFilePaths, process.argv.slice(i + 1));
41
+ forceFileName = true;
42
+ break
43
+ } else if (arg === "--locations") { options.locations = true; }
44
+ else if (arg === "--allow-hash-bang") { options.allowHashBang = true; }
45
+ else if (arg === "--allow-await-outside-function") { options.allowAwaitOutsideFunction = true; }
46
+ else if (arg === "--silent") { silent = true; }
47
+ else if (arg === "--compact") { compact = true; }
48
+ else if (arg === "--help") { help(0); }
49
+ else if (arg === "--tokenize") { tokenize = true; }
50
+ else if (arg === "--module") { options.sourceType = "module"; }
51
+ else {
52
+ var match = arg.match(/^--ecma(\d+)$/);
53
+ if (match)
54
+ { options.ecmaVersion = +match[1]; }
55
+ else
56
+ { help(1); }
57
+ }
58
+ }
59
+
60
+ function run(codeList) {
61
+ var result = [], fileIdx = 0;
62
+ try {
63
+ codeList.forEach(function (code, idx) {
64
+ fileIdx = idx;
65
+ if (!tokenize) {
66
+ result = acorn__namespace.parse(code, options);
67
+ options.program = result;
68
+ } else {
69
+ var tokenizer = acorn__namespace.tokenizer(code, options), token;
70
+ do {
71
+ token = tokenizer.getToken();
72
+ result.push(token);
73
+ } while (token.type !== acorn__namespace.tokTypes.eof)
74
+ }
75
+ });
76
+ } catch (e) {
77
+ console.error(fileMode ? e.message.replace(/\(\d+:\d+\)$/, function (m) { return m.slice(0, 1) + inputFilePaths[fileIdx] + " " + m.slice(1); }) : e.message);
78
+ process.exit(1);
79
+ }
80
+ if (!silent) { console.log(JSON.stringify(result, function (_, value) { return typeof value === "bigint" ? null : value; }, compact ? null : 2)); }
81
+ }
82
+
83
+ if (fileMode = inputFilePaths.length && (forceFileName || !inputFilePaths.includes("-") || inputFilePaths.length !== 1)) {
84
+ run(inputFilePaths.map(function (path) { return fs.readFileSync(path, "utf8"); }));
85
+ } else {
86
+ var code = "";
87
+ process.stdin.resume();
88
+ process.stdin.on("data", function (chunk) { return code += chunk; });
89
+ process.stdin.on("end", function () { return run([code]); });
90
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "acorn",
3
+ "description": "ECMAScript parser",
4
+ "homepage": "https://github.com/acornjs/acorn",
5
+ "main": "dist/acorn.js",
6
+ "types": "dist/acorn.d.ts",
7
+ "module": "dist/acorn.mjs",
8
+ "exports": {
9
+ ".": [
10
+ {
11
+ "import": "./dist/acorn.mjs",
12
+ "require": "./dist/acorn.js",
13
+ "default": "./dist/acorn.js"
14
+ },
15
+ "./dist/acorn.js"
16
+ ],
17
+ "./package.json": "./package.json"
18
+ },
19
+ "version": "8.16.0",
20
+ "engines": {
21
+ "node": ">=0.4.0"
22
+ },
23
+ "maintainers": [
24
+ {
25
+ "name": "Marijn Haverbeke",
26
+ "email": "marijnh@gmail.com",
27
+ "web": "https://marijnhaverbeke.nl"
28
+ },
29
+ {
30
+ "name": "Ingvar Stepanyan",
31
+ "email": "me@rreverser.com",
32
+ "web": "https://rreverser.com/"
33
+ },
34
+ {
35
+ "name": "Adrian Heine",
36
+ "web": "http://adrianheine.de"
37
+ }
38
+ ],
39
+ "repository": {
40
+ "type": "git",
41
+ "url": "git+https://github.com/acornjs/acorn.git"
42
+ },
43
+ "license": "MIT",
44
+ "scripts": {
45
+ "prepare": "cd ..; npm run build:main"
46
+ },
47
+ "bin": {
48
+ "acorn": "bin/acorn"
49
+ }
50
+ }
@@ -0,0 +1,421 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
+
5
+ ### [1.4.13](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.12...v1.4.13) (2024-01-03)
6
+
7
+
8
+ ### ✨ Features
9
+
10
+ * 🐛support satisfies ([21baa52](https://github.com/TyrealHu/acorn-typescript/commit/21baa522732d93fb010b95622dd30f016f0ce814))
11
+
12
+ ### [1.4.12](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.11...v1.4.12) (2023-12-05)
13
+
14
+
15
+ ### 🐛 Bug Fixes
16
+
17
+ * 🐛the scope flag between type value and ident ([da26d27](https://github.com/TyrealHu/acorn-typescript/commit/da26d27a181d18ff615cd078459b0d4847c5faee))
18
+
19
+ ### [1.4.11](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.10...v1.4.11) (2023-11-10)
20
+
21
+
22
+ ### 🐛 Bug Fixes
23
+
24
+ * 🐛parse tagged template expression with type ([575ab8c](https://github.com/TyrealHu/acorn-typescript/commit/575ab8cb3e209d45fa09e8dba784b18ec734783f))
25
+
26
+ ### [1.4.10](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.9...v1.4.10) (2023-10-20)
27
+
28
+
29
+ ### 🐛 Bug Fixes
30
+
31
+ * 🐛bugs of left relational and right relational ([de5984c](https://github.com/TyrealHu/acorn-typescript/commit/de5984c67eec2e46d199067a6691557cd6923a21))
32
+
33
+ ### [1.4.9](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.8...v1.4.9) (2023-10-18)
34
+
35
+
36
+ ### ♻️ Code Refactoring
37
+
38
+ * 🌟set jsx options to true, while its empty ([77e26cd](https://github.com/TyrealHu/acorn-typescript/commit/77e26cd54947242b6b994cd24e4ff476422edeb9))
39
+
40
+ ### [1.4.8](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.7...v1.4.8) (2023-10-09)
41
+
42
+
43
+ ### 🐛 Bug Fixes
44
+
45
+ * 🐛 parse import specifier with keyword ([91a27a9](https://github.com/TyrealHu/acorn-typescript/commit/91a27a90800e37a41a650ba71be6b891128e9f83))
46
+
47
+ ### [1.4.7](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.6...v1.4.7) (2023-09-21)
48
+
49
+
50
+ ### 🐛 Bug Fixes
51
+
52
+ * 🐛 JSX token parse in ! > ! case ([a519fab](https://github.com/TyrealHu/acorn-typescript/commit/a519fab69a9d8e16af95f97265d53a6f19cc2f0b))
53
+
54
+ ### [1.4.6](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.5...v1.4.6) (2023-09-20)
55
+
56
+
57
+ ### ✨ Features
58
+
59
+ * 🚀 support import assertions and type check ([e6d286d](https://github.com/TyrealHu/acorn-typescript/commit/e6d286d0f2ba5b63413d6a4b1062f955756dc0a5))
60
+
61
+ ### [1.4.5](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.4...v1.4.5) (2023-09-06)
62
+
63
+
64
+ ### 🐛 Bug Fixes
65
+
66
+ * 🐛checkLValInnerPattern in TSParameterProperty ([6de3ebd](https://github.com/TyrealHu/acorn-typescript/commit/6de3ebd0773f8051598fde971b313859564d34c0))
67
+
68
+ ### [1.4.4](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.3...v1.4.4) (2023-08-30)
69
+
70
+
71
+ ### 🐛 Bug Fixes
72
+
73
+ * 🐛bugs of TSTypeCastExpression ([22be8a3](https://github.com/TyrealHu/acorn-typescript/commit/22be8a33bf09f49966e33e352d27a9f93fd9ae9e))
74
+
75
+ ### [1.4.3](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.2...v1.4.3) (2023-08-25)
76
+
77
+
78
+ ### 🐛 Bug Fixes
79
+
80
+ * 🐛 optional class property & class method generic types & arrow function generic type ([998969a](https://github.com/TyrealHu/acorn-typescript/commit/998969a5f86a0c032e9422f3bb33791d49c7214d))
81
+
82
+ ### [1.4.2](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.1...v1.4.2) (2023-08-24)
83
+
84
+
85
+ ### 🐛 Bug Fixes
86
+
87
+ * 🐛modifier params in class method ([5a06b09](https://github.com/TyrealHu/acorn-typescript/commit/5a06b09b488d0c66454f736490949a5b4b3c71c7))
88
+
89
+ ### [1.4.1](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.0...v1.4.1) (2023-07-26)
90
+
91
+
92
+ ### 🐛 Bug Fixes
93
+
94
+ * 🐛bugs in parseExprList ([399f38e](https://github.com/TyrealHu/acorn-typescript/commit/399f38e03611710b29ad844c94cb674a54e345a7))
95
+
96
+ ## [1.4.0](https://github.com/TyrealHu/acorn-typescript/compare/v1.3.7...v1.4.0) (2023-07-03)
97
+
98
+
99
+ ### ✨ Features
100
+
101
+ * 🚀rewrite some methonds in acorn 8.9.0 ([8666259](https://github.com/TyrealHu/acorn-typescript/commit/8666259cf6665bb7ac2459089422530641992451))
102
+
103
+ ### [1.3.7](https://github.com/TyrealHu/acorn-typescript/compare/v1.3.6...v1.3.7) (2023-06-14)
104
+
105
+
106
+ ### ✨ Features
107
+
108
+ * 🚀add locations validating in static method ([e707b64](https://github.com/TyrealHu/acorn-typescript/commit/e707b642141bb4ad10572d18c78b4ee2be4d27a5))
109
+
110
+ ### [1.3.6](https://github.com/TyrealHu/acorn-typescript/compare/v1.3.5...v1.3.6) (2023-06-08)
111
+
112
+
113
+ ### 🐛 Bug Fixes
114
+
115
+ * 🐛error dependencies in index.d.ts ([0a04e07](https://github.com/TyrealHu/acorn-typescript/commit/0a04e07048070e6a0d97c3c5c85d1a7463bbfc5f))
116
+
117
+ ### [1.3.5](https://github.com/TyrealHu/acorn-typescript/compare/v1.3.4...v1.3.5) (2023-06-06)
118
+
119
+
120
+ ### ♻️ Code Refactoring
121
+
122
+ * position checkLValSimple in function ([038e588](https://github.com/TyrealHu/acorn-typescript/commit/038e588f4ad99ec3fca16e5d7753e8b967de230f))
123
+
124
+ ### [1.3.4](https://github.com/TyrealHu/acorn-typescript/compare/v1.3.3...v1.3.4) (2023-06-06)
125
+
126
+
127
+ ### 🐛 Bug Fixes
128
+
129
+ * 🐛duplicate name in dts ([d608373](https://github.com/TyrealHu/acorn-typescript/commit/d60837307df9c3559512f39524d6bd0dd1c48ba4))
130
+
131
+ ### [1.3.3](https://github.com/TyrealHu/acorn-typescript/compare/v1.3.2...v1.3.3) (2023-06-02)
132
+
133
+
134
+ ### 🐛 Bug Fixes
135
+
136
+ * 🐛condition expression dont throw error ([1779760](https://github.com/TyrealHu/acorn-typescript/commit/177976095cba46efcfc03659c0be3c857c01bee4))
137
+
138
+ ### [1.3.2](https://github.com/TyrealHu/acorn-typescript/compare/v1.3.1...v1.3.2) (2023-06-01)
139
+
140
+
141
+ ### 🐛 Bug Fixes
142
+
143
+ * 🐛arrow function with optinal param ([163f0cf](https://github.com/TyrealHu/acorn-typescript/commit/163f0cf5a2275a22959ba7b94b507a68ade3ec6a))
144
+
145
+ ### [1.3.1](https://github.com/TyrealHu/acorn-typescript/compare/v1.3.0...v1.3.1) (2023-05-31)
146
+
147
+
148
+ ### ♻️ Code Refactoring
149
+
150
+ * allow comma at the end of generics ([3e0bf3d](https://github.com/TyrealHu/acorn-typescript/commit/3e0bf3d60a1ea090288a297e1c562d631177ea53))
151
+ * allow comma at the end of generics ([fa1b6cf](https://github.com/TyrealHu/acorn-typescript/commit/fa1b6cfc826d10325854a50850a3f7329189dbf3))
152
+
153
+ ## [1.3.0](https://github.com/TyrealHu/acorn-typescript/compare/v1.2.10...v1.3.0) (2023-05-31)
154
+
155
+
156
+ ### 🐛 Bug Fixes
157
+
158
+ * parse generics with trailing comma ([028d787](https://github.com/TyrealHu/acorn-typescript/commit/028d787dc463a34a821f8fc415b3399abb1f40e9))
159
+
160
+ ### [1.2.10](https://github.com/TyrealHu/acorn-typescript/compare/v1.2.9...v1.2.10) (2023-05-29)
161
+
162
+
163
+ ### ♻️ Code Refactoring
164
+
165
+ * async arrow function with one param ([2cd5a29](https://github.com/TyrealHu/acorn-typescript/commit/2cd5a29c61f5c2248eb84d74d1b84c9752777f97))
166
+
167
+
168
+ ### 🐛 Bug Fixes
169
+
170
+ * async in for of without decl ([c73f2f0](https://github.com/TyrealHu/acorn-typescript/commit/c73f2f0e9eb0e7762171da97722f87c25408d2da))
171
+
172
+ ### [1.2.9](https://github.com/TyrealHu/acorn-typescript/compare/v1.2.8...v1.2.9) (2023-05-29)
173
+
174
+
175
+ ### 🐛 Bug Fixes
176
+
177
+ * eatContextual and reduce keywords ([d280912](https://github.com/TyrealHu/acorn-typescript/commit/d2809122f4d89013c89c00234926dc1f24ede606))
178
+ * syntax error in async arrow function with one param ([d13794e](https://github.com/TyrealHu/acorn-typescript/commit/d13794e168a57d90e96d06c2a69279490636e73c))
179
+ * syntax error in catch redeclared var statement captured ([cd6f0de](https://github.com/TyrealHu/acorn-typescript/commit/cd6f0ded06f22169eb360c9a053a1976ca41fd3a))
180
+ * syntax error in escaped keyword property ([2c11ea9](https://github.com/TyrealHu/acorn-typescript/commit/2c11ea98d5f1aa601ee619a7b5b213c880a98b63))
181
+ * syntax error in identifier named `as` in export and import declarations ([ad797e8](https://github.com/TyrealHu/acorn-typescript/commit/ad797e8a4761e24b25ce2192bf6f333870ea9e1c))
182
+ * to raise error in escaped static method ([0c3f381](https://github.com/TyrealHu/acorn-typescript/commit/0c3f381198a191a9d3b6ecb422f69dc0e81afb77))
183
+ * to raise error in multiple constructors ([20ab1bd](https://github.com/TyrealHu/acorn-typescript/commit/20ab1bdd5c85dc767ef4126a758f921eca60192a))
184
+
185
+ ### [1.2.8](https://github.com/TyrealHu/acorn-typescript/compare/v1.2.7...v1.2.8) (2023-05-26)
186
+
187
+
188
+ ### 🐛 Bug Fixes
189
+
190
+ * syntax error in async generator function ([94c3cfa](https://github.com/TyrealHu/acorn-typescript/commit/94c3cfabd54e360f45dc7e78f076d59e8a8646c0))
191
+ * syntax error in export default anonymous class ([af10901](https://github.com/TyrealHu/acorn-typescript/commit/af10901ebd1306289d020c4b5ca4615b23ab01d0))
192
+ * syntax error in for-in without decl ([c544039](https://github.com/TyrealHu/acorn-typescript/commit/c5440398da480de7ef8f421495ed9fb7cf826593))
193
+ * syntax error in static async methods ([eba80f4](https://github.com/TyrealHu/acorn-typescript/commit/eba80f48c5e92c42fe594c9ada7dfc831b0386bc))
194
+ * syntax error in static getter/setter ([e8fb775](https://github.com/TyrealHu/acorn-typescript/commit/e8fb77586897610b7fc893b1eb275c92910c1af2))
195
+ * syntax error when arrow function parameter is assignment pattern ([7f84e5c](https://github.com/TyrealHu/acorn-typescript/commit/7f84e5c29afdf74a0306547072cde2156c02a76d))
196
+
197
+ ### [1.2.7](https://github.com/TyrealHu/acorn-typescript/compare/v1.2.6...v1.2.7) (2023-05-25)
198
+
199
+
200
+ ### ♻️ Code Refactoring
201
+
202
+ * use mjs instead of esm ([8700da9](https://github.com/TyrealHu/acorn-typescript/commit/8700da9e7bda11043a39329a7693a8b85c5eec45))
203
+
204
+ ### [1.2.6](https://github.com/TyrealHu/acorn-typescript/compare/v1.2.5...v1.2.6) (2023-05-25)
205
+
206
+
207
+ ### ✨ Features
208
+
209
+ * add exports in pkg ([3707c21](https://github.com/TyrealHu/acorn-typescript/commit/3707c21b9366eb7bdbfa4b7529876b8a4bf96109))
210
+
211
+ ### [1.2.5](https://github.com/TyrealHu/acorn-typescript/compare/v1.2.4...v1.2.5) (2023-05-25)
212
+
213
+
214
+ ### 🐛 Bug Fixes
215
+
216
+ * parseExpressionAt ([57fe8bb](https://github.com/TyrealHu/acorn-typescript/commit/57fe8bbc1e020774deffe1ff5a12045666cd83f5))
217
+
218
+ ### [1.2.4](https://github.com/TyrealHu/acorn-typescript/compare/v1.2.3...v1.2.4) (2023-05-18)
219
+
220
+
221
+ ### 🐛 Bug Fixes
222
+
223
+ * bugs of exports ([ca33992](https://github.com/TyrealHu/acorn-typescript/commit/ca339928e51df18805078801681025b31169982a))
224
+ * support import default in commonjs tsc ([bb69884](https://github.com/TyrealHu/acorn-typescript/commit/bb69884dd47b636096c41a3ffd021dde84703c1f))
225
+
226
+ ### [1.2.3](https://github.com/TyrealHu/acorn-typescript/compare/v1.2.2...v1.2.3) (2023-05-18)
227
+
228
+
229
+ ### 🐛 Bug Fixes
230
+
231
+ * support import default in commonjs tsc ([bf219cf](https://github.com/TyrealHu/acorn-typescript/commit/bf219cff0e79632bbfc3835e7b626d4af41b4223))
232
+
233
+ ### [1.2.2](https://github.com/TyrealHu/acorn-typescript/compare/v1.2.1...v1.2.2) (2023-05-18)
234
+
235
+
236
+ ### 🐛 Bug Fixes
237
+
238
+ * use export instead of export default ([8984560](https://github.com/TyrealHu/acorn-typescript/commit/89845609d010f1844c0792c3cfa0f88ac72a5023))
239
+
240
+ ### [1.2.1](https://github.com/TyrealHu/acorn-typescript/compare/v1.2.0...v1.2.1) (2023-05-18)
241
+
242
+
243
+ ### ✨ Features
244
+
245
+ * 🚀 support parse accessor modifier ([ac1e54b](https://github.com/TyrealHu/acorn-typescript/commit/ac1e54b48f33699a1f2aac871e659e41c1bcd9ed))
246
+
247
+ ## [1.2.0](https://github.com/TyrealHu/acorn-typescript/compare/v1.1.2...v1.2.0) (2023-04-03)
248
+
249
+
250
+ ### ✨ Features
251
+
252
+ * 🚀 support parse jsx and tsx ([0e5974c](https://github.com/TyrealHu/acorn-typescript/commit/0e5974ce0505cb56422d6d6db1e76652c17415bc))
253
+
254
+ ### [1.1.2](https://github.com/TyrealHu/acorn-typescript/compare/v1.1.1...v1.1.2) (2023-03-23)
255
+
256
+
257
+ ### 🐛 Bug Fixes
258
+
259
+ * 🐛the bugs of isContextual ([fcf13f3](https://github.com/TyrealHu/acorn-typescript/commit/fcf13f3634788055d1ef02cfd7aff4c6a7ce7e4d))
260
+
261
+ ### [1.1.1](https://github.com/TyrealHu/acorn-typescript/compare/v1.1.0...v1.1.1) (2023-03-23)
262
+
263
+
264
+ ### 🐛 Bug Fixes
265
+
266
+ * 🐛 throw error while parsing for...of ([26495a5](https://github.com/TyrealHu/acorn-typescript/commit/26495a56b346278ea12c6db13fab5f92e0981392))
267
+
268
+ ## [1.1.0](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.13...v1.1.0) (2023-03-22)
269
+
270
+
271
+ ### ✨ Features
272
+
273
+ * 🚀 support parse typescript decorators ([01e0ef8](https://github.com/TyrealHu/acorn-typescript/commit/01e0ef878b34080f6aac867c80e3dcff6b2f79c0))
274
+
275
+ ### [1.0.13](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.12...v1.0.13) (2023-03-08)
276
+
277
+
278
+ ### ✨ Features
279
+
280
+ * 🚀 add acornTypeScript in runtime ([26414f5](https://github.com/TyrealHu/acorn-typescript/commit/26414f5779df124b92e9330b239acc915d970296))
281
+ * 🚀 get acornJsx from Parser ([bd3dd82](https://github.com/TyrealHu/acorn-typescript/commit/bd3dd822a95721e7e2eae9d9842c5a14b4ad2242))
282
+
283
+ ### [1.0.12](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.11...v1.0.12) (2023-03-06)
284
+
285
+
286
+ ### ✨ Features
287
+
288
+ * 🚀add acornTypeScript to export some methods and tokenTypes ([a113a0e](https://github.com/TyrealHu/acorn-typescript/commit/a113a0e0573c8e30cf76b259e0f9c6aaf5d0fd41))
289
+
290
+ ### [1.0.11](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.10...v1.0.11) (2023-03-02)
291
+
292
+
293
+ ### 🐛 Bug Fixes
294
+
295
+ * 🐛parse definite assignment ([710773b](https://github.com/TyrealHu/acorn-typescript/commit/710773b4368151329166ce2775a139ddcfbf1aa0))
296
+
297
+ ### [1.0.10](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.9...v1.0.10) (2023-03-01)
298
+
299
+
300
+ ### 🐛 Bug Fixes
301
+
302
+ * parse async arrow in subscript ([f9beb65](https://github.com/TyrealHu/acorn-typescript/commit/f9beb650d8ffc6ee6def8b9f76fda0b68ecd213b))
303
+
304
+ ### [1.0.9](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.8...v1.0.9) (2023-02-28)
305
+
306
+
307
+ ### 🐛 Bug Fixes
308
+
309
+ * 🐛 return type location and expr and distinguish arrow function parse ([ffbc4ee](https://github.com/TyrealHu/acorn-typescript/commit/ffbc4ee4415b384fc22209c5e406f1d2816a95e6))
310
+
311
+
312
+ ### ✨ Features
313
+
314
+ * 🚀 unit test of express arrow function and expression with paren ([e77b2e9](https://github.com/TyrealHu/acorn-typescript/commit/e77b2e960839c8177e3b5d73a23229527e0822b1))
315
+
316
+ ### [1.0.8](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.7...v1.0.8) (2023-02-23)
317
+
318
+
319
+ ### ✨ Features
320
+
321
+ * 🚀add outer kind variable to help parse import or export ([65bd2ad](https://github.com/TyrealHu/acorn-typescript/commit/65bd2ad8190ef11f5454158c10ad101728323fe6))
322
+
323
+
324
+ ### 🐛 Bug Fixes
325
+
326
+ * 🐛 check comma while parse binding list & methods abstract ([ccc7866](https://github.com/TyrealHu/acorn-typescript/commit/ccc7866163a718749e577c6c1e4edf6135fd64a9))
327
+ * 🐛 check the position number while raise error ([55dd763](https://github.com/TyrealHu/acorn-typescript/commit/55dd763a9e9e7a81ede7956d97a84347a30dd605))
328
+
329
+ ### [1.0.7](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.6...v1.0.7) (2023-02-20)
330
+
331
+
332
+ ### ✨ Features
333
+
334
+ * 🚀acorn middleware class and delete ts-ignore ([7d05f36](https://github.com/TyrealHu/acorn-typescript/commit/7d05f36b355da00e309c39c61c62b9b206d7d7da))
335
+
336
+ ### [1.0.6](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.5...v1.0.6) (2023-02-15)
337
+
338
+
339
+ ### ✨ Features
340
+
341
+ * parser of ClassMethods ([2218d77](https://github.com/TyrealHu/acorn-typescript/commit/2218d775703da57100620073b60bef01822b6040))
342
+
343
+ ### [1.0.5](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.4...v1.0.5) (2023-01-12)
344
+
345
+
346
+ ### ✨ Features
347
+
348
+ * **tyreal:** only export cjs and esm, minimum the pkg ([1c46756](https://github.com/TyrealHu/acorn-typescript/commit/1c467569523b79ec4b590a8025f989dc966abea8))
349
+
350
+ ### [1.0.4](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.3...v1.0.4) (2023-01-11)
351
+
352
+
353
+ ### ✨ Features
354
+
355
+ * **tyreal:** package desc and change test file ([5ca6959](https://github.com/TyrealHu/acorn-typescript/commit/5ca6959b626fc71822dd9fe5c8b7db1b69e40da1))
356
+
357
+ ### [1.0.3](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.2...v1.0.3) (2023-01-11)
358
+
359
+
360
+ ### ✨ Features
361
+
362
+ * add CHANGELOG jump ([ccdaa25](https://github.com/TyrealHu/acorn-typescript/commit/ccdaa2575dbf70c5bdcdb3c523555e34d08faf3c))
363
+
364
+ ### [1.0.2](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.1...v1.0.2) (2023-01-11)
365
+
366
+
367
+ ### ✨ Features
368
+
369
+ * minimum package ([5efe8d3](https://github.com/TyrealHu/acorn-typescript/commit/5efe8d304e71463b4a8cc3bc0e2f016809a9b01b))
370
+
371
+ ### [1.0.1](https://github.com/TyrealHu/acorn-typescript/compare/v1.0.0...v1.0.1) (2023-01-11)
372
+
373
+
374
+ ### ✨ Features
375
+
376
+ * minimum package ([7eaa353](https://github.com/TyrealHu/acorn-typescript/commit/7eaa3535295ff446bab3d351cd98b64041926519))
377
+
378
+ ## 1.0.0 (2023-01-11)
379
+
380
+
381
+ ### 🐛 Bug Fixes
382
+
383
+ * **tyreal:** reset location ([b74bc04](https://github.com/TyrealHu/acorn-typescript/commit/b74bc044505d26cd5dc064ac295fed420f429a7d))
384
+
385
+
386
+ ### ✨ Features
387
+
388
+ * 🚀complete parseMaybeDecoratorArguments and ts class ([b5eb8c8](https://github.com/TyrealHu/acorn-typescript/commit/b5eb8c8bea837151c121a29262af50ec1aefdf03))
389
+ * 🚀support ts parse default import ([93de410](https://github.com/TyrealHu/acorn-typescript/commit/93de41060b2485de0e0ee1307153580acfe172e0))
390
+ * add import and export type as ([8a27090](https://github.com/TyrealHu/acorn-typescript/commit/8a270902058dc141c9b03d693bf7b33dfacc51c0))
391
+ * complete parse middleware ([dfb76ab](https://github.com/TyrealHu/acorn-typescript/commit/dfb76ab74f77bdfea85fee01a96ab30425f78475))
392
+ * origin export ([5a4cefa](https://github.com/TyrealHu/acorn-typescript/commit/5a4cefaf9d8035b27fa36bdb314bc95de7671797))
393
+ * parseArrayLiker ([c40fb84](https://github.com/TyrealHu/acorn-typescript/commit/c40fb84b8249c57911b1d03710e835d159fa6258))
394
+ * parseClassId ([76f1459](https://github.com/TyrealHu/acorn-typescript/commit/76f1459957863cbd2be81cd73effdd520b0eda5a))
395
+ * parseImport ([d2eab00](https://github.com/TyrealHu/acorn-typescript/commit/d2eab00b295e5de6e1f56e485c11f91477f5b713))
396
+ * parseNew ([9f55c7d](https://github.com/TyrealHu/acorn-typescript/commit/9f55c7dabd934e752e595b6005b93f3136c61884))
397
+ * parseSubscript ([1d55b72](https://github.com/TyrealHu/acorn-typescript/commit/1d55b723189d9fcb3ec67d06dab5520d6c254ff8))
398
+ * parseVarId ([7c21967](https://github.com/TyrealHu/acorn-typescript/commit/7c219670737a5b7bac6da930a01f2329100115c0))
399
+ * reportReservedArrowTypeParam, next parseMaybeAssign ([037b675](https://github.com/TyrealHu/acorn-typescript/commit/037b675a0710179ddc36f62e196e80f36a8b6747))
400
+ * support declare and export/import type ([a745431](https://github.com/TyrealHu/acorn-typescript/commit/a745431105703669541818e659b5092d9c375123))
401
+ * **tyreal:** 'let contextual is false ([bf9e593](https://github.com/TyrealHu/acorn-typescript/commit/bf9e5935fa27a0e2693aa3ef1ad87f29e815ccbc))
402
+ * **tyreal:** add jest and bundler ([d0212b7](https://github.com/TyrealHu/acorn-typescript/commit/d0212b7dca75a45f8566caf3c0b963013673d888))
403
+ * **tyreal:** add ts jest ([96459f0](https://github.com/TyrealHu/acorn-typescript/commit/96459f09e94921aab7275407a21e98d07854ef10))
404
+ * **tyreal:** class method, and normal property ([fbf22ec](https://github.com/TyrealHu/acorn-typescript/commit/fbf22eccc9c691f58d461c960d1aa0ee4085f6f1))
405
+ * **tyreal:** class modifiers ([23510de](https://github.com/TyrealHu/acorn-typescript/commit/23510deb7d6e7afb95956b3cd72a788758847f9f))
406
+ * **tyreal:** class support abstract and add unit test ([5b7b9b5](https://github.com/TyrealHu/acorn-typescript/commit/5b7b9b535f85652b1d6c621d5f356d67529fb63a))
407
+ * **tyreal:** export test ([9889601](https://github.com/TyrealHu/acorn-typescript/commit/98896013ec50d5a4c0883eb75074426857bddb7b))
408
+ * **tyreal:** finish import normal test ([146e0d6](https://github.com/TyrealHu/acorn-typescript/commit/146e0d644896b96dafd71e1f81801aa3941b1b8e))
409
+ * **tyreal:** finish no parameters function test ([647032e](https://github.com/TyrealHu/acorn-typescript/commit/647032e27cfa7950421e051cc23671fe3716529d))
410
+ * **tyreal:** finish the development of export unit test ([e71b85e](https://github.com/TyrealHu/acorn-typescript/commit/e71b85ef6f77e8c0ed041ab408b4fbe2f60dbbb8))
411
+ * **tyreal:** function with paramaters ([59814c5](https://github.com/TyrealHu/acorn-typescript/commit/59814c55feee873eb842904c302405b6325a0b8f))
412
+ * **tyreal:** generate snapshot ([abe8198](https://github.com/TyrealHu/acorn-typescript/commit/abe81989013a89bb457940461a29baf31796bbab))
413
+ * **tyrealhu:** WIP parseClassElement ([369c2c7](https://github.com/TyrealHu/acorn-typescript/commit/369c2c70a36972fdeab977a01110ccc43b50e3fb))
414
+ * **tyreal:** import type ut ([5cf8686](https://github.com/TyrealHu/acorn-typescript/commit/5cf86868593858508a069b63a6a2dcf40070fefa))
415
+ * **tyreal:** interface and type unit test ([b010bca](https://github.com/TyrealHu/acorn-typescript/commit/b010bcabc1a249f81f2503092e1fd41e487b734f))
416
+ * **tyreal:** remove ignore file ([a3ea153](https://github.com/TyrealHu/acorn-typescript/commit/a3ea153e812d41f8e3db2ca813da90be20668fe0))
417
+ * **tyreal:** snapshot map structure ([0ee2778](https://github.com/TyrealHu/acorn-typescript/commit/0ee27781c1b396f0763b27b9c32a923dc7999816))
418
+ * **tyreal:** support class static ([ac450e4](https://github.com/TyrealHu/acorn-typescript/commit/ac450e4654cd2d35ee335875bbba9b9d9971a86f))
419
+ * **tyreal:** type identifier and export type unit test ([6ac96da](https://github.com/TyrealHu/acorn-typescript/commit/6ac96da1c7499d653ad5ab1e7fc0e5e20753d99e))
420
+ * **tyreal:** variables test ([35bf1a9](https://github.com/TyrealHu/acorn-typescript/commit/35bf1a909a98f901f5097414f95f214123c07806))
421
+ * **tyreal:** write one test and fix parameters of typescript parser ([cdbbd6c](https://github.com/TyrealHu/acorn-typescript/commit/cdbbd6c8d7ec8ffbbb162218a3cb013d0abb8001))
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Tyreal Hu
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,81 @@
1
+ # acorn-typescript
2
+ [![npm version](https://img.shields.io/npm/v/acorn-typescript.svg?style=flat)](https://www.npmjs.com/package/acorn-typescript)[![Coverage Status](https://codecov.io/gh/TyrealHu/acorn-typescript/branch/master/graph/badge.svg)](https://codecov.io/gh/TyrealHu/acorn-typescript)
3
+ ---
4
+
5
+ This is plugin for [Acorn](http://marijnhaverbeke.nl/acorn/) - a tiny, fast JavaScript parser, written completely in JavaScript.
6
+
7
+ It was created as an experimental alternative, faster [TypeScript](https://www.typescriptlang.org/) parser. It will help you to parse
8
+ typescript script into typeScript AST.
9
+
10
+ ## Usage
11
+
12
+ Requiring this module provides you with an Acorn plugin that you can use like this:
13
+
14
+ ```typescript
15
+ import * as acorn from 'acorn'
16
+ import tsPlugin from 'acorn-typescript'
17
+
18
+ /*
19
+ *
20
+ * */
21
+ const node = acorn.Parser.extend(tsPlugin()).parse(`
22
+ const a = 1
23
+ type A = number
24
+ export {
25
+ a,
26
+ type A as B
27
+ }
28
+ `, {
29
+ sourceType: 'module',
30
+ ecmaVersion: 'latest',
31
+ locations: true
32
+ })
33
+ ```
34
+
35
+ If you want to enable parsing within a TypeScript ambient context, where certain syntax have different rules (like .d.ts files and inside [declare module blocks](https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html)).
36
+ ```typescript
37
+ import * as acorn from 'acorn'
38
+ import tsPlugin from 'acorn-typescript'
39
+
40
+ /*
41
+ *
42
+ * */
43
+ const node = acorn.Parser.extend(tsPlugin({ dts: true })).parse(`
44
+ const a = 1
45
+ type A = number
46
+ export {
47
+ a,
48
+ type A as B
49
+ }
50
+ `, {
51
+ sourceType: 'module',
52
+ ecmaVersion: 'latest',
53
+ locations: true
54
+ })
55
+ ```
56
+
57
+ ## Notice
58
+ - You have to enable options.locations while using acorn-typescript
59
+ ```ts
60
+ acorn.parse(input, {
61
+ sourceType: 'module',
62
+ ecmaVersion: 'latest',
63
+ // here
64
+ locations: true
65
+ })
66
+ ```
67
+
68
+ ## SUPPORTED
69
+ - Typescript normal syntax
70
+ - Support to parse TypeScript [Decorators](https://www.typescriptlang.org/docs/handbook/decorators.html)
71
+ - Support to parse JSX & TSX
72
+
73
+ ## CHANGELOG
74
+
75
+ [click](./CHANGELOG.md)
76
+
77
+ ## RoadMap
78
+ - support import-assertions
79
+
80
+ ## License
81
+ [MIT](https://couto.mit-license.org/)