Commit Graph

2567 Commits (af6d0108442bf2a7d7eec2fe3f36b2e3a5d1c28e)

Author SHA1 Message Date
Rich Harris af6d010844 Merge pull request #3811 from sveltejs/gh-3508-alt
7 years ago
Rich Harris 66de45a085 Merge pull request #3818 from sveltejs/gh-3801
7 years ago
Richard Harris 46b4478d05 add has_prop helper
7 years ago
Richard Harris 334a5ce7a7 error on empty css declarations - fixes #3801
7 years ago
Rich Harris 9d7e826624 Revert "remove empty value declaration from style tree"
7 years ago
Rich Harris bc31a93c17 Merge pull request #3812 from tanhauhau/tanhauhau/remove-empty-value-declaration
7 years ago
Rich Harris 661b474ef3 Merge pull request #3816 from tanhauhau/tanhauhau/text-content-instead-of-inner-html
7 years ago
Richard Harris 490b9387ee use hasOwnProperty, simplify prop object construction
7 years ago
Tan Li Hau 948527a609 use textContent instead of innerHtml, preventing XSS
7 years ago
Rich Harris 28a277bb91 Merge pull request #3762 from sveltejs/gh-3761
7 years ago
Tan Li Hau 856fe4027c fix css-vars case
7 years ago
Tan Li Hau 7b1e4dac3f remove empty value declaration from style tree
7 years ago
Richard Harris fc99985ec5 docs and a fix for #3761
7 years ago
Richard Harris a28badcc06 alternative fix for #3508
7 years ago
Jesper Hasselquist 2bcb82ed01 Add Event to globals list
7 years ago
Conduitry e4d47aa570 fix binding to aliased props (#3508)
7 years ago
Rich Harris 2e4db17303 Merge pull request #3802 from tanhauhau/tanhauhau/warn-unused-exports
7 years ago
Rich Harris 8a3239b6ba Merge pull request #3808 from tanhauhau/tanhauhau/mustache-tag-can-use-inner-html
7 years ago
Tan Li Hau 20d2dcd4a6 fix lint
7 years ago
Tan Li Hau c5c5822f9a feat: allow innerHtml if no dynamic dependencies
7 years ago
Conduitry d42a09440b fix SSR spread with boolean attributes (#3797)
7 years ago
Tan Li Hau 7c037a304d feat: warn unused exports
7 years ago
Conduitry 409fab4966 fix handling of style scoping and `class:` with spread scopes (#3792)
7 years ago
Richard Harris 2fb869deab tweak text of warning
7 years ago
Richard Harris c0116dee30 Merge branch 'tanhauhau/warn-when-using-tag-without-compile-options' of https://github.com/tanhauhau/svelte into tanhauhau-tanhauhau/warn-when-using-tag-without-compile-options
7 years ago
Jesse Skinner 0cf18ead30 allow multiple ancestors to be scoped with class (#3544)
7 years ago
Conduitry 42427e86b1 Don't lose `class:` directive classes on an element with `{...spread}` attributes when updating (#3781)
7 years ago
Tan Li Hau 1d0bd1a802 warn if using svelte:options tag without compile_options.customElement
7 years ago
mrkishi 2e732dc0e2 improve derived store typing for users
7 years ago
Conduitry 8741a65c16 Fix boolean attributes in presence of spread attributes (#3775)
7 years ago
Rich Harris 276bcb879a allow spring/tweened values to be initially undefined - closes #3761
7 years ago
Conduitry a0960d0ee4 update code-red etc (#3752)
7 years ago
Tan Li Hau 3ff5eb78d1 deconflict with builtins (#3724)
7 years ago
Conduitry 4d1cacf1ab produce better code for <slot/> (#3631)
7 years ago
Conduitry e213d32af5 don't consult known globals when walking Expression nodes (#3708)
7 years ago
Conduitry e102c68ddd hoist globals even if they are mentioned in a script block (#3607)
7 years ago
Conduitry a9d7ef4804 fix compound ifs with outros and no dependencies (#3595)
7 years ago
Maurício Kishi 32808fd11f fix store validation code generation (#3735)
7 years ago
Conduitry 58a92fc38b fix `bind:this` binding to a store (#3591)
7 years ago
Richard Harris 7c28fb830e snake_case
7 years ago
Richard Harris 16eac1aa02 Merge branch 'tanhauhau/await-then-catch-block' of https://github.com/tanhauhau/svelte into tanhauhau-tanhauhau/await-then-catch-block
7 years ago
Richard Harris 99554404e6 Merge branch 'tanhauhau/exported-variable-could-be-reassigned' of https://github.com/tanhauhau/svelte into tanhauhau-tanhauhau/exported-variable-could-be-reassigned
7 years ago
Rich Harris bdb299e719 simplify
7 years ago
Tan Li Hau 56c439e57d remove component locator
7 years ago
Tan Li Hau 9ab565039e name.slice to slug
7 years ago
Tan Li Hau 9f30c1fb43 DRY out :then and :catch
7 years ago
Li Hau Tan 6e18359992 then and catch block expect await, optional then block
7 years ago
Conduitry f531c65df2 preserve `$:` label in reactive blocks in SSR mode (#2828) (#3469)
7 years ago
Tan Li Hau 29aef02d6c fix typescript error
7 years ago
Tan Li Hau 3c48191b11 resubscribe props if reassigned
7 years ago