ripple 0.3.24 → 1.0.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# ripple
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies []:
|
|
8
|
+
- ripple@1.0.0
|
|
9
|
+
- @tsrx/ripple@0.0.7
|
|
10
|
+
|
|
11
|
+
## 0.3.25
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies []:
|
|
16
|
+
- ripple@0.3.25
|
|
17
|
+
|
|
3
18
|
## 0.3.24
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Ripple is an elegant TypeScript UI framework",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Dominic Gannaway",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "1.0.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"module": "src/runtime/index-client.js",
|
|
9
9
|
"main": "src/runtime/index-client.js",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"esm-env": "^1.2.2",
|
|
77
77
|
"@types/estree": "^1.0.8",
|
|
78
78
|
"@types/estree-jsx": "^1.0.5",
|
|
79
|
-
"@tsrx/ripple": "0.0.
|
|
79
|
+
"@tsrx/ripple": "0.0.7"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@types/node": "^24.3.0",
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
"typescript": "^5.9.3",
|
|
85
85
|
"@volar/language-core": "~2.4.28",
|
|
86
86
|
"vscode-languageserver-types": "^3.17.5",
|
|
87
|
-
"@tsrx/core": "0.0.
|
|
87
|
+
"@tsrx/core": "0.0.6"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
|
-
"ripple": "0.
|
|
90
|
+
"ripple": "1.0.0"
|
|
91
91
|
}
|
|
92
92
|
}
|
|
@@ -725,4 +725,19 @@ export component App() {
|
|
|
725
725
|
|
|
726
726
|
expect(result).toContain('_$_.spread_props(');
|
|
727
727
|
});
|
|
728
|
+
|
|
729
|
+
it('parses less-than comparisons at line start in element children without whitespace', () => {
|
|
730
|
+
const source = `component TodoList({ items }: { items: { text: string }[] }) {
|
|
731
|
+
<ul>var a = 3
|
|
732
|
+
<4;</ul>
|
|
733
|
+
}`;
|
|
734
|
+
|
|
735
|
+
const ast = parse(source);
|
|
736
|
+
const comp = ast.body[0] as unknown as AST.Component;
|
|
737
|
+
const ul = comp.body.find((n) => n.type === 'Element') as AST.Element;
|
|
738
|
+
expect(ul.id.name).toBe('ul');
|
|
739
|
+
expect(ul.children.length).toBeGreaterThanOrEqual(1);
|
|
740
|
+
const decl = ul.children[0] as unknown as AST.VariableDeclaration;
|
|
741
|
+
expect(decl.type).toBe('VariableDeclaration');
|
|
742
|
+
});
|
|
728
743
|
});
|