Commit Graph

106 Commits (a991ac48ba798f8fcefc034d13e69dc8b4bab896)

Author SHA1 Message Date
Tan Li Hau 64b882e3c5
[feat] improve parser errors () 4 years ago
Yuichiro Yamashita fd8c5885c8
[fix] create AST node of empty string for empty attribute values () 4 years ago
Yuichiro Yamashita d9da22ac04
fix AST .end index for expressions in attributes () 4 years ago
Simon H a8c35daa9a
[fix] be able to silence more warnings () 4 years ago
Tan Li Hau 23f8f4ba6d
[feat] centralise parse errors () 4 years ago
Tan Li Hau 6a582af839
[fix] script style end parsing () 4 years ago
Mohammed Al-Qurafi 1b33248ead
- Throw a compile error when passing an empty directive name () 4 years ago
Tan Li Hau 3acaa03f6f
fix textarea end tag parsing () 4 years ago
Bjørn de6d0c66d3
Add a more descriptive message for the error generated by an empty shorthand attribute () 4 years ago
Conduitry 286c60da4d
fix missing slotted elements in AST () 4 years ago
Tan Li Hau 1d6e20f2a9
implement <svelte:fragment> () 4 years ago
Tan Li Hau 8867bc31c2
update css-tree@^1.1.2 () 4 years ago
Anders Lorentsen acf60d88a0
error on empty name in `class:` directive () 4 years ago
pushkine 13e3d755da
allow duplicates of the same action on an element () 4 years ago
Andreas Ehrencrona aa759f44fc
add missing end AST property to non-top-level <style> tags () 5 years ago
Tan Li Hau 3dad14f0e1
better error message for mismatched tags due to autoclosing () 5 years ago
Tan Li Hau 2450dd1ff0
update acorn@^7.3.1 for optional chaining support () 5 years ago
Cameron Messinides e46e1afea5
throw parser error when :global() appears without a selector () 5 years ago
Tan Li Hau 37cc5888f8
dry {#each}/{#await} destructuring () 5 years ago
Tan Li Hau 7d1e4e82ff
support destructuring in await () 5 years ago
Tan Li Hau a66437b3c1
allow <svelte:self> to be part of a slot () 5 years ago
Conduitry 59a5d4a52c fix tests 5 years ago
Conduitry f5f489984f
fix handling of reserved keywords when parsing () 5 years ago
Tan Li Hau 2195832ecc better error messages for else, elseif, then, catch with unclosed tag () 5 years ago
Conduitry 5076613256
disallow simultaneous foo / {foo} / bind:foo () 5 years ago
Conduitry f12340acf0
preserve js comments where possible () 5 years ago
Li Hau Tan a31fea139b then and catch block expect await, optional then block 6 years ago
Rich Harris b9f14846b0
Structured code generation () 6 years ago
Rich Harris 961021a73b
Merge pull request from mrkishi/closing-tags 6 years ago
Conduitry 71be8a6683 update dependencies 6 years ago
Richard Harris 506e2da680 update test 6 years ago
Richard Harris 5648269485 Merge branch 'master' of github.com:sveltejs/svelte into closing-tags 6 years ago
Thomas Ghysels c9e3762638 Fix parsing ambiguous HTML entities () 6 years ago
Mikhail Korepanov ea74bfec55 Allow whitespace after = in attributes () 6 years ago
Richard Harris b7f9c9c954 always add raw property to text nodes 6 years ago
Timothy Johnson ef59c32099 Fixes 6 years ago
mrkishi af85d14557
allow end tag omission in blocks 6 years ago
Rich Harris 5a536aafa2
Merge pull request 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` () 6 years ago
Richard Harris 6c85f6a6b5 change :elseif to :else if - fixes 6 years ago
Richard Harris 3953c2dbfc error on invalid compiler options — closes 6 years ago
Rich Harris 687e352209 rename .html files to .svelte 6 years ago
Conduitry a270661d20 rename `<svelte:meta>` to `<svelte:options>` () 6 years ago
Rich Harris b1d919f3f2
Overhaul stats — closes 6 years ago
Conduitry f8d69e296f replace <svelte:document> with <svelte:body> () 6 years ago
Richard Harris 2eb881dcb6 prevent invalid svelte: tags - fixes 6 years ago
Rich Harris 48f1f6b4d0
implement `bind:this` 6 years ago