Skip to content

Commit b6bfdfc

Browse files
committed
Merge remote-tracking branch 'origin/master' into vue-jsx-vapor-core
2 parents dbf9282 + 2820735 commit b6bfdfc

File tree

9 files changed

+348
-343
lines changed

9 files changed

+348
-343
lines changed

frameworks/keyed/ivi/package-lock.json

Lines changed: 111 additions & 108 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frameworks/keyed/ivi/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
},
2323
"devDependencies": {
2424
"@ivi/rollup-plugin": "4.0.0",
25-
"@rollup/plugin-node-resolve": "15.3.0",
25+
"@rollup/plugin-node-resolve": "16.0.0",
2626
"@rollup/plugin-terser": "0.4.4",
27-
"@rollup/plugin-typescript": "12.1.1",
28-
"rollup": "4.28.1",
27+
"@rollup/plugin-typescript": "12.1.2",
28+
"rollup": "4.34.9",
2929
"tslib": "2.8.1",
30-
"typescript": "5.7.2"
30+
"typescript": "5.8.2"
3131
}
3232
}

frameworks/keyed/ivi/src/main.ts

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ interface RowProps {
6565
const Row = component<RowProps>((c) => {
6666
const onSelect = () => { dispatch(c, { type: ActionType.Select, entry: getProps(c).entry }); };
6767
const onRemove = () => { dispatch(c, { type: ActionType.Remove, entry: getProps(c).entry }); };
68+
6869
return ({ entry, selected }) => html`
6970
<tr class=${selected === true ? "danger" : ""}>
7071
<td class="col-md-1" .textContent=${entry.id}/>
@@ -81,28 +82,32 @@ const Row = component<RowProps>((c) => {
8182
`;
8283
});
8384

84-
const Button = (text: string, id: string, onClick: () => void) => /* preventClone */ html`
85+
const Button = (text: string, id: string, onClick: () => void) => html`
8586
<div class="col-sm-6 smallpad">
86-
<button class="btn btn-primary btn-block" type="button" id=${id} @click=${onClick} .textContent=${text}/>
87+
<button class="btn btn-primary btn-block" type="button" id=${id} @click=${onClick}>
88+
${text}
89+
</button>
8790
</div>
8891
`;
8992

9093
const App = component((c) => {
9194
const [_state, _dispatch] = useReducer(c, INITIAL_STATE, appStateReducer);
9295

9396
const onDispatch = (ev: CustomEvent<Action>) => { _dispatch(ev.detail); };
97+
9498
const buttons = [
95-
Button("Create 1,000 rows", "run", () => { _dispatch({ type: ActionType.Run }); }),
96-
Button("Create 10,000 rows", "runlots", () => { _dispatch({ type: ActionType.RunLots }); }),
97-
Button("Append 1,000 rows", "add", () => { _dispatch({ type: ActionType.Add }); }),
98-
Button("Update every 10th row", "update", () => { _dispatch({ type: ActionType.Update }); }),
99-
Button("Clear", "clear", () => { _dispatch({ type: ActionType.Clear }); }),
100-
Button("Swap Rows", "swaprows", () => { _dispatch({ type: ActionType.SwapRows }); }),
99+
Button("Create 1,000 rows", "run", () => { _dispatch({ type: ActionType.Run }); }),
100+
Button("Create 10,000 rows", "runlots", () => { _dispatch({ type: ActionType.RunLots }); }),
101+
Button("Append 1,000 rows", "add", () => { _dispatch({ type: ActionType.Add }); }),
102+
Button("Update every 10th row", "update", () => { _dispatch({ type: ActionType.Update }); }),
103+
Button("Clear", "clear", () => { _dispatch({ type: ActionType.Clear }); }),
104+
Button("Swap Rows", "swaprows", () => { _dispatch({ type: ActionType.SwapRows }); }),
101105
];
102106

103107
return () => {
104108
const { data, selected } = _state();
105-
return /* preventClone */ html`
109+
110+
return html`
106111
<div class="container">
107112
<div class="jumbotron">
108113
<div class="row">
@@ -117,10 +122,9 @@ const App = component((c) => {
117122
</div>
118123
</div>
119124
<table class="table table-hover table-striped test-data" @dispatch=${onDispatch}>
120-
${data.length
121-
? html`<tbody>${List(data, getEntryId, (entry) => Row({ entry, selected: selected === entry.id }))}</tbody>`
122-
: html`<tbody/>`
123-
}
125+
<tbody>
126+
${List(data, getEntryId, (entry) => Row({ entry, selected: selected === entry.id }))}
127+
</tbody>
124128
</table>
125129
<span class="preloadicon glyphicon glyphicon-remove" aria-hidden="true"/>
126130
</div>

frameworks/keyed/viewfly/package-lock.json

Lines changed: 9 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frameworks/keyed/viewfly/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"url": "https://github.com/krausest/js-framework-benchmark.git"
2424
},
2525
"dependencies": {
26-
"@viewfly/core": "^1.1.2",
27-
"@viewfly/platform-browser": "^1.1.5"
26+
"@viewfly/core": "^1.2.3",
27+
"@viewfly/platform-browser": "^1.2.3"
2828
},
2929
"devDependencies": {
3030
"html-webpack-plugin": "^5.6.3",

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"license": "ISC",
4444
"homepage": "https://github.com/krausest/js-framework-benchmark",
4545
"dependencies": {
46-
"@esbuild/linux-x64": "0.23.1",
4746
"adm-zip": "^0.5.16",
4847
"commander": "^12.1.0",
4948
"cross-env": "^7.0.3",

webdriver-ts-results/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const KnownIssuesList = () => {
3030

3131
const App = () => {
3232
// eslint-disable-next-line no-constant-condition
33-
const version = "Chrome 133.0.6943.142"
33+
const version = "Chrome 134.0.6998.45"
3434
const disclaimer = false ? (
3535
<div>
3636
<h2>js-framework-benchmark results for {version}</h2>

0 commit comments

Comments
 (0)