Skip to content

feat: add print(...) function #16188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 40 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
a0f86c5
use local version of esrap, for now
Rich-Harris Jun 15, 2025
486d10c
WIP
Rich-Harris Jun 16, 2025
97c5d98
WIP
Rich-Harris Jun 16, 2025
74ec766
fixes
Rich-Harris Jun 16, 2025
3026a37
more
Rich-Harris Jun 17, 2025
683ac71
add `Declaration` visitor
Ocean-OS Jun 17, 2025
45755ea
add `TransitionDirective`
Ocean-OS Jun 17, 2025
222dd41
`UseDirective`, `OnDirective`
Ocean-OS Jun 17, 2025
1e7b439
more directives
Ocean-OS Jun 17, 2025
afd3cb4
`SpreadAttribute`, directive shorthands
Ocean-OS Jun 17, 2025
4c404ac
`{#if ...} {:else ...}`
Ocean-OS Jun 17, 2025
c646f97
fix
Ocean-OS Jun 17, 2025
d96412b
more
Ocean-OS Jun 17, 2025
566da5b
add tags, `AnimateDirective`
Ocean-OS Jun 17, 2025
0b9f560
`KeyBlock`
Ocean-OS Jun 17, 2025
0de2182
`SelectorList`, `<svelte:whatever />`
Ocean-OS Jun 17, 2025
bfcec71
Merge branch 'main' into print
Ocean-OS Jun 17, 2025
e41bbe7
quote text in `Attribute` visitor
Ocean-OS Jun 21, 2025
0a61c80
tweak test logic to reduce false negatives
Rich-Harris Jun 23, 2025
5db4ea8
fix
Rich-Harris Jun 23, 2025
b80eb3e
fix
Rich-Harris Jun 23, 2025
4018b50
add separate test suite
Rich-Harris Jun 23, 2025
1ca1be5
fix
Rich-Harris Jun 23, 2025
80370e3
more
Rich-Harris Jun 23, 2025
4538f80
slightly nicer printing
Rich-Harris Jun 23, 2025
e47f579
install from pkg.pr.new
Rich-Harris Jun 23, 2025
203c321
Merge branch 'main' into print
Rich-Harris Jun 23, 2025
df3be44
merge main
Rich-Harris Jun 23, 2025
c474d67
bump
Rich-Harris Jun 23, 2025
e904753
fix
Rich-Harris Jun 23, 2025
7bf7f56
remove any
Rich-Harris Jun 23, 2025
700260b
fix indentation
Rich-Harris Jun 23, 2025
b4dde24
replace TODO with a type error
Rich-Harris Jun 23, 2025
e4c6d4e
bump
Rich-Harris Jun 23, 2025
132d84d
fix
Rich-Harris Jun 24, 2025
226b4ca
esrap@2
Rich-Harris Jun 25, 2025
9f42c0b
merge main
Rich-Harris Jun 25, 2025
85ee437
lockfile
Rich-Harris Jun 25, 2025
64bfedb
try this
Rich-Harris Jun 25, 2025
a39ab49
regenerate
Rich-Harris Jun 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,14 @@
"dependencies": {
"@ampproject/remapping": "^2.3.0",
"@jridgewell/sourcemap-codec": "^1.5.0",
"@sveltejs/acorn-typescript": "^1.0.5",
"@types/estree": "^1.0.5",
"acorn": "^8.12.1",
"@sveltejs/acorn-typescript": "^1.0.5",
"aria-query": "^5.3.1",
"axobject-query": "^4.1.0",
"clsx": "^2.1.1",
"esm-env": "^1.2.1",
"esrap": "^1.4.8",
"esrap": "^2.0.0",
"is-reference": "^3.0.3",
"locate-character": "^3.0.0",
"magic-string": "^0.30.11",
Expand Down
Loading