ripple 0.3.86 → 0.3.88

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,17 @@
1
1
  # ripple
2
2
 
3
+ ## 0.3.88
4
+
5
+ ## 0.3.87
6
+
7
+ ### Patch Changes
8
+
9
+ - Updated dependencies
10
+ [[`cc95ffa`](https://github.com/Ripple-TS/ripple/commit/cc95ffaef3f3d3cd252176ea94308f89739f0212),
11
+ [`6f78b7f`](https://github.com/Ripple-TS/ripple/commit/6f78b7ff5a5e1f9873a839b709f38e9506545a63)]:
12
+ - @tsrx/core@0.1.34
13
+ - @tsrx/ripple@0.1.35
14
+
3
15
  ## 0.3.86
4
16
 
5
17
  ### 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.3.86",
6
+ "version": "0.3.88",
7
7
  "type": "module",
8
8
  "module": "src/runtime/index-client.js",
9
9
  "main": "src/runtime/index-client.js",
@@ -73,8 +73,8 @@
73
73
  "clsx": "^2.1.1",
74
74
  "devalue": "^5.8.1",
75
75
  "esm-env": "^1.2.2",
76
- "@tsrx/core": "0.1.33",
77
- "@tsrx/ripple": "0.1.34"
76
+ "@tsrx/core": "0.1.34",
77
+ "@tsrx/ripple": "0.1.35"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@types/estree": "^1.0.8",
@@ -13,6 +13,28 @@ describe('basic client > rendering & text', () => {
13
13
  expect(container).toMatchSnapshot();
14
14
  });
15
15
 
16
+ it('renders a bare `@` text child as literal text', () => {
17
+ function Basic() @{
18
+ <>@</>
19
+ }
20
+
21
+ render(Basic);
22
+
23
+ expect(container.textContent).toBe('@');
24
+ });
25
+
26
+ it('renders nothing for a whitespace-only fragment', () => {
27
+ function Basic() @{
28
+ // prettier-ignore
29
+ <>
30
+ </>
31
+ }
32
+
33
+ render(Basic);
34
+
35
+ expect(container.textContent).toBe('');
36
+ });
37
+
16
38
  it('renders semi-dynamic text', () => {
17
39
  function Basic() @{
18
40
  let message = 'Hello World';