@tsrx/core 0.1.6 → 0.1.8

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 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",
6
+ "version": "0.1.8",
7
7
  "type": "module",
8
8
  "repository": {
9
9
  "type": "git",
@@ -31,11 +31,26 @@
31
31
  "types": "./types/runtime/ref.d.ts",
32
32
  "default": "./src/runtime/ref.js"
33
33
  },
34
- "./runtime": {
35
- "types": "./types/runtime/index.d.ts",
36
- "default": "./src/runtime/index.js"
34
+ "./runtime/events": {
35
+ "types": "./types/runtime/events.d.ts",
36
+ "default": "./src/runtime/events.js"
37
+ },
38
+ "./runtime/hash": {
39
+ "types": "./types/runtime/hash.d.ts",
40
+ "default": "./src/runtime/hash.js"
41
+ },
42
+ "./runtime/html": {
43
+ "types": "./types/runtime/html.d.ts",
44
+ "default": "./src/runtime/html.js"
45
+ },
46
+ "./runtime/language-helpers": {
47
+ "types": "./types/runtime/language-helpers.d.ts",
48
+ "default": "./src/runtime/language-helpers.js"
49
+ },
50
+ "./runtime/iterable": {
51
+ "types": "./types/runtime/iterable.d.ts",
52
+ "default": "./src/runtime/iterable.js"
37
53
  },
38
- "./runtime/*": "./src/runtime/*.js",
39
54
  "./test-harness/source-mappings": "./tests/shared/source-mappings.js",
40
55
  "./test-harness/compile": "./tests/shared/compile.js",
41
56
  "./test-harness/runtime/*": "./tests/shared/runtime/*.js",
@@ -49,7 +64,7 @@
49
64
  "@types/estree-jsx": "^1.0.5",
50
65
  "@types/estree": "^1.0.8",
51
66
  "acorn": "^8.15.0",
52
- "esrap": "^2.2.7",
67
+ "esrap": "^2.2.8",
53
68
  "is-reference": "^3.0.3",
54
69
  "magic-string": "^0.30.18",
55
70
  "zimmerframe": "^1.1.2"
@@ -67,10 +82,10 @@
67
82
  "vscode-languageserver-types": "^3.17.5",
68
83
  "vue": "3.6.0-beta.10",
69
84
  "vue-jsx-vapor": "^3.2.12",
70
- "@tsrx/preact": "0.1.6",
71
- "@tsrx/react": "0.2.6",
72
- "@tsrx/solid": "0.1.6",
73
- "@tsrx/vue": "0.1.6"
85
+ "@tsrx/preact": "0.1.8",
86
+ "@tsrx/react": "0.2.8",
87
+ "@tsrx/solid": "0.1.8",
88
+ "@tsrx/vue": "0.1.8"
74
89
  },
75
90
  "files": [
76
91
  "src",
package/src/index.js CHANGED
@@ -88,6 +88,7 @@ export {
88
88
  is_class_node as isClassNode,
89
89
  is_component_node as isComponentNode,
90
90
  is_function_node as isFunctionNode,
91
+ is_function_or_component_node as isFunctionOrComponentNode,
91
92
  is_inside_component as isInsideComponent,
92
93
  } from './utils/ast.js';
93
94
 
@@ -205,11 +206,9 @@ export {
205
206
  export {
206
207
  create_lazy_context as createLazyContext,
207
208
  collect_lazy_bindings as collectLazyBindings,
208
- collect_lazy_bindings_from_component as collectLazyBindingsFromComponent,
209
209
  collect_lazy_bindings_from_statements as collectLazyBindingsFromStatements,
210
210
  preallocate_lazy_ids as preallocateLazyIds,
211
211
  apply_lazy_transforms as applyLazyTransforms,
212
- replace_lazy_params as replaceLazyParams,
213
212
  } from './transform/lazy.js';
214
213
  export {
215
214
  find_first_top_level_await as findFirstTopLevelAwait,