ripple 0.3.97 → 0.3.99
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,16 @@
|
|
|
1
1
|
# ripple
|
|
2
2
|
|
|
3
|
+
## 0.3.99
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
[[`5f5726d`](https://github.com/Ripple-TS/ripple/commit/5f5726d164926f480454143895bf035c9c30929b)]:
|
|
9
|
+
- @tsrx/core@0.1.41
|
|
10
|
+
- @tsrx/ripple@0.1.42
|
|
11
|
+
|
|
12
|
+
## 0.3.98
|
|
13
|
+
|
|
3
14
|
## 0.3.97
|
|
4
15
|
|
|
5
16
|
### 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.
|
|
6
|
+
"version": "0.3.99",
|
|
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.
|
|
77
|
-
"@tsrx/ripple": "0.1.
|
|
76
|
+
"@tsrx/core": "0.1.41",
|
|
77
|
+
"@tsrx/ripple": "0.1.42"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@types/estree": "^1.0.8",
|
|
@@ -175,7 +175,7 @@ export function set_class(dom, value, hash, is_html = true) {
|
|
|
175
175
|
|
|
176
176
|
// Removing the attribute when the value is only an empty string causes
|
|
177
177
|
// performance issues vs simply making the className an empty string. So
|
|
178
|
-
// we should only remove the class if the
|
|
178
|
+
// we should only remove the class if the value is nullish.
|
|
179
179
|
if (value == null && hash === undefined) {
|
|
180
180
|
dom.removeAttribute('class');
|
|
181
181
|
} else {
|
|
@@ -1150,8 +1150,8 @@ export async function render(component, passed_in_options = {}) {
|
|
|
1150
1150
|
output._finishSyncRun();
|
|
1151
1151
|
},
|
|
1152
1152
|
(error) => {
|
|
1153
|
-
// We're not going to send the error in the stream stream.error()
|
|
1154
|
-
// as we should send
|
|
1153
|
+
// We're not going to send the error in the stream via stream.error()
|
|
1154
|
+
// as we should send the error template
|
|
1155
1155
|
|
|
1156
1156
|
// store the error to be returned
|
|
1157
1157
|
top_level_error = error;
|
|
@@ -110,7 +110,7 @@ describe('RippleArray > static', () => {
|
|
|
110
110
|
expect(container.querySelector('pre').textContent).toBe('[2,4,6,8]');
|
|
111
111
|
});
|
|
112
112
|
|
|
113
|
-
// TODO: Fix this test case, needs some async love around try statements being
|
|
113
|
+
// TODO: Fix this test case, needs some async love around try statements being used in a non-template way
|
|
114
114
|
('fromAsync' in Array.prototype ? it : it.skip)(
|
|
115
115
|
'handles error in fromAsync method',
|
|
116
116
|
async () => {
|