Skip to content

Commit

Permalink
Merge pull request #26 from ssssota/bumpup-svelte
Browse files Browse the repository at this point in the history
chore: bumpup svelte
  • Loading branch information
ssssota authored Oct 18, 2024
2 parents 7111157 + 0bdb00e commit 27a61a5
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 65 deletions.
5 changes: 5 additions & 0 deletions .changeset/khaki-dogs-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"svelte-twc": patch
---

Bumpup svelte
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@
"esbuild": "^0.20.2",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.2.3",
"svelte": "5.0.0-next.238",
"svelte": "5.0.0-next.269",
"tsx": "^4.7.2",
"typescript": "^5.4.5",
"vite": "^5.2.10"
},
"peerDependencies": {
"svelte": ">=5.0.0-next.238",
"svelte": ">=5.0.0-next.269",
"vite": ">=2.0.0"
},
"files": [
"dist"
],
"packageManager": "pnpm@9.8.0+sha512.8e4c3550fb500e808dbc30bb0ce4dd1eb614e30b1c55245f211591ec2cdf9c611cabd34e1364b42f564bd54b3945ed0f49d61d1bbf2ec9bd74b866fcdc723276"
"packageManager": "pnpm@9.12.2+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228"
}
128 changes: 69 additions & 59 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"highlight.js": "^11.9.0",
"postcss": "^8.4.38",
"rehype-highlight": "^7.0.0",
"svelte": "5.0.0-next.238",
"svelte": "5.0.0-next.269",
"svelte-check": "^3.6.9",
"svelte-twc": "workspace:*",
"tailwindcss": "^3.4.3",
Expand Down
2 changes: 1 addition & 1 deletion src/internal/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ return function TwcComponent($$anchor, $$props) {
let attributes;
var node = $.child(div);

$.snippet(node, () => $$props.children);
$.snippet(node, () => $$props.children ?? $.noop);
$.reset(div);

$.template_effect(() => attributes = $.set_attributes(div, attributes, {
Expand Down
Loading

0 comments on commit 27a61a5

Please sign in to comment.