Commit Graph

169 Commits (16d562fcf651d5b501cb81c9502ca7400d6d888f)

Author SHA1 Message Date
Simon H a8c35daa9a
[fix] be able to silence more warnings (#6504)
3 years ago
Tan Li Hau 23f8f4ba6d
[feat] centralise parse errors (#6519)
3 years ago
Tan Li Hau 6a582af839
[fix] script style end parsing (#6511)
3 years ago
Mohammed Al-Qurafi 1b33248ead
#6299 - Throw a compile error when passing an empty directive name (#6300)
3 years ago
Tan Li Hau 3acaa03f6f
fix textarea end tag parsing (#6424)
3 years ago
Bjørn de6d0c66d3
Add a more descriptive message for the error generated by an empty shorthand attribute (#6217)
3 years ago
Conduitry 286c60da4d
fix missing slotted elements in AST (#6148)
4 years ago
Tan Li Hau 1d6e20f2a9
implement <svelte:fragment> (#4556)
4 years ago
Tan Li Hau 8867bc31c2
update css-tree@^1.1.2 (#5958)
4 years ago
Anders Lorentsen acf60d88a0
error on empty name in `class:` directive (#5939)
4 years ago
pushkine 13e3d755da
allow duplicates of the same action on an element (#5875)
4 years ago
Andreas Ehrencrona aa759f44fc
add missing end AST property to non-top-level <style> tags (#5487)
4 years ago
Andreas Ehrencrona e508fb7b8b
fix indentation and remove unused variables (#5479)
4 years ago
Ben McCann 229a16d6e7
upgrade ESLint config (#5472)
4 years ago
Ben McCann 0645631b28
Use TypeScript in tests (#5433)
4 years ago
Tan Li Hau 3dad14f0e1
better error message for mismatched tags due to autoclosing (#5060)
4 years ago
Tan Li Hau 2450dd1ff0
update acorn@^7.3.1 for optional chaining support (#5013)
4 years ago
Cameron Messinides e46e1afea5
throw parser error when :global() appears without a selector (#4936)
4 years ago
pushkin 0da70f46b9
handle line ending differences in tests (#4915)
5 years ago
Tan Li Hau 37cc5888f8
dry {#each}/{#await} destructuring (#4596)
5 years ago
Tan Li Hau 7d1e4e82ff
support destructuring in await (#4548)
5 years ago
Tan Li Hau a66437b3c1
allow <svelte:self> to be part of a slot (#4532)
5 years ago
Conduitry 59a5d4a52c fix tests
5 years ago
Conduitry f5f489984f
fix handling of reserved keywords when parsing (#4390)
5 years ago
Tan Li Hau 2195832ecc better error messages for else, elseif, then, catch with unclosed tag (#4136)
5 years ago
Conduitry 5076613256
disallow simultaneous foo / {foo} / bind:foo (#4343)
5 years ago
Conduitry f12340acf0
preserve js comments where possible (#4293)
5 years ago
Tan Li Hau d8b9274697 update test snapshot with --update flag
5 years ago
Tan Li Hau 3d46405481 skip missing input files
5 years ago
Tan Li Hau 5dbb08d19b allow solo for test suite (#3747)
5 years ago
Li Hau Tan a31fea139b then and catch block expect await, optional then block
5 years ago
Rich Harris b9f14846b0
Structured code generation (#3539)
5 years ago
Rich Harris 961021a73b
Merge pull request #2809 from mrkishi/closing-tags
5 years ago
Conduitry 71be8a6683 update dependencies
5 years ago
Richard Harris 506e2da680 update test
5 years ago
Richard Harris 5648269485 Merge branch 'master' of github.com:sveltejs/svelte into closing-tags
5 years ago
Thomas Ghysels c9e3762638 Fix parsing ambiguous HTML entities (#3071)
5 years ago
Mikhail Korepanov ea74bfec55 Allow whitespace after = in attributes (#3026)
5 years ago
Richard Harris b7f9c9c954 always add raw property to text nodes
6 years ago
Timothy Johnson ef59c32099 Fixes #2714
6 years ago
mrkishi af85d14557
allow end tag omission in blocks
6 years ago
Rich Harris 5a536aafa2
Merge pull request #2658 from MikeMatrix/each-block-rest-destructuring
6 years ago
Michael Braun c477f50b9a Experimenting with array destructuring in each-blocks
6 years ago
Emil Tholin 7ec1bdb712 Don't show 'Empty block' warnings for non-existent await branches
6 years ago
Richard Harris ca0e5df0d8 update parser and js tests
6 years ago
Conduitry bee6fe7ebc require whitespace after `{@html` (#2154)
6 years ago
Richard Harris 6c85f6a6b5 change :elseif to :else if - fixes #2137
6 years ago
Richard Harris 3953c2dbfc error on invalid compiler options — closes #2094
6 years ago
Rich Harris 206a3d0131 update tests
6 years ago
Rich Harris 687e352209 rename .html files to .svelte
6 years ago