Skip to content

Commit

Permalink
Merge pull request #16 from ssssota/bumpup-svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
ssssota authored May 25, 2024
2 parents cfa89e5 + 9d04e77 commit 92e9a13
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 49 deletions.
5 changes: 5 additions & 0 deletions .changeset/famous-bulldogs-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"svelte-twc": patch
---

Bumpup svelte(next.141)
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@
"url": "https://github.com/ssssota/svelte-twc/issues"
},
"homepage": "https://github.com/ssssota/svelte-twc#readme",
"packageManager": "pnpm@9.1.1",
"packageManager": "pnpm@9.1.2",
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@types/node": "^20.12.7",
"esbuild": "^0.20.2",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.2.3",
"svelte": "5.0.0-next.136",
"svelte": "5.0.0-next.141",
"tsx": "^4.7.2",
"typescript": "^5.4.5",
"vite": "^5.2.10"
},
"peerDependencies": {
"svelte": ">=5.0.0-next.136",
"svelte": ">=5.0.0-next.141",
"vite": ">=2.0.0"
},
"files": [
Expand Down
72 changes: 36 additions & 36 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.136",
"svelte": "5.0.0-next.141",
"svelte-check": "^3.6.9",
"svelte-twc": "workspace:*",
"tailwindcss": "^3.4.3",
Expand Down
13 changes: 4 additions & 9 deletions src/internal/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,10 @@ return function TwcComponent($$payload, $$props) {

let { children, class: className, ...props } = $$props;

$$payload.out += `<${el}${$.spread_attributes(
[
props,
{ "class": options.compose(className, cls) }
],
true,
true,
""
)}><!--[-->`;
$$payload.out += `<${el}${$.spread_attributes({
...props,
class: options.compose(className, cls)
})}><!--[-->`;

children?.($$payload);
$$payload.out += `<!--]--></${el}>`;
Expand Down

0 comments on commit 92e9a13

Please sign in to comment.