Commit Graph

597 Commits (456dc162d322546b764d68f99fc859b1c35eb8c4)

Author SHA1 Message Date
Tan Li Hau 2be7e38128 reactive dependency not referenced can't set to undefined initially (#5600)
6 years ago
Tan Li Hau 7cde44eb96 fix order of html tags with {#if} in {#key} block (#5685)
6 years ago
Ben McCann 27aff7e562 Fix eslint issue (#5698)
6 years ago
halfnelson 55fab215f9 Preprocessor sourcemap support (#5584)
6 years ago
Tan Li Hau 28068f62d5 support $$slots in custom elements (#5619)
6 years ago
Ben McCann 64634b5913 Curly brace cleanup and enforcement (#5647)
6 years ago
Mikail Khan bb2d94c587 fixed typo in each loop animation error (#5648)
6 years ago
Tan Li Hau 43cfa895ae fix else block transition update (#5591)
6 years ago
Tan Li Hau 18dfeafb7b fix function slot props based on context (#5607)
6 years ago
Tan Li Hau 0e290a2eb9 support $$props and $$restProps for custom elements (#5608)
6 years ago
Tan Li Hau 802a71e42d add Node and Element as known globals (#5601)
6 years ago
Ben McCann 647e3359cc Curly braces linting fixes (#5585)
6 years ago
Jesse Skinner 434799e672 get context at start of {#if} update block instead of at the end (#5531)
6 years ago
Damián Pumar 96d8eaa842 fix compiler hanging on <slot slot="..."> (#5536)
6 years ago
Andreas Ehrencrona 7cbf66ecee Updated to ESLint config 5.4.0 (#5541)
6 years ago
Oscar Mattsson 8f682fd8a3 Fixed outdated typescriptlang.org link in comment (#5544)
6 years ago
Andreas Ehrencrona c3a86911de add missing end AST property to non-top-level <style> tags (#5487)
6 years ago
Andreas Ehrencrona 96c51400d9 fix indentation and remove unused variables (#5479)
6 years ago
Ben McCann b68fc1526e upgrade ESLint config (#5472)
6 years ago
Tan Li Hau a75228a652 warn for possible use of component without uppercase tag name (#5302)
6 years ago
Tan Li Hau 060781cea1 add typings to `get_store_value` (#5269)
6 years ago
Tan Li Hau 5097a5191c allow <slot> to be part of a slot (#4295)
6 years ago
Tan Li Hau 74e61b69f3 fix sibling combinators with spread attributes (#5467)
6 years ago
Tan Li Hau 5c76788804 add EventSource to the known globals (#5468)
6 years ago
Tan Li Hau f675f8583d {#key} block (#5397)
6 years ago
Tan Li Hau eb1d4f2c46 scope CSS sibling combinators (#5427)
6 years ago
Tan Li Hau e5ca2067df add nonpassive event modifier (#5442)
6 years ago
Tan Li Hau 54698ebce1 update keyed each when key expression changes (#5447)
6 years ago
Tan Li Hau 4966378cf8 handle destructuring to a store value (#5452)
6 years ago
Tan Li Hau 28d0868f81 fix missing-declaration warning for use:obj.method (#5454)
6 years ago
Tan Li Hau 98d35143e7 whitelist [open] attribute selector for <details> (#5425)
6 years ago
Tan Li Hau 8c299f7f3c support methods as actions (#5398)
6 years ago
Tan Li Hau ca6af7ee88 fix store direct property assignment (#5416)
6 years ago
Tan Li Hau e420488769 update acorn and parse expression as module script (#5423)
6 years ago
Tan Li Hau 3b79fcdf7e fix destructuring to get multiple stores (#5390)
6 years ago
Tan Li Hau 3a84b2e1ba maintain context for transition (#5392)
6 years ago
Tan Li Hau 2380cb4830 fix css specificity for child combinator (#5399)
6 years ago
Tan Li Hau 92e7aa40b4 fix style scoping with > * (#5400)
6 years ago
Tan Li Hau 999f8a0a72 valid XHTML syntax in innerHTML for static elements (#5317)
6 years ago
Tan Li Hau 507e579954 fix $$props reactivity in fallback of a slot (#5375)
6 years ago
Ben McCann e0cbd59df2 fix(types): specify `CompleOptions.generate` values (#5321)
6 years ago
Tan Li Hau 62d85ec14d each binding with store props (#5289)
6 years ago
Tan Li Hau 8295ec3dfe handle undefined input value with spread (#5291)
6 years ago
Antony Jones 710237d548 Fix lint warnings (#5263)
6 years ago
Irshad PI 408d09a803 Await: re-throw error when there is no catch block and promise is rejected (#5149)
6 years ago
Teymour Aldridge f1ed14fcb6 Minor code simplification (#5065)
6 years ago
Tan Li Hau 82a6d30c28 expose which slots are present in $$slots (#4602)
6 years ago
Tan Li Hau ce29091cf8 fix not passing child_ctx for catch block (#5261)
6 years ago
Zachiah 6b8ea61c0d add selector to message of css-unused-selector warning (#5253)
6 years ago
Tan Li Hau 3e00514345 fix reference for namespaced component (#5256)
6 years ago
Tan Li Hau b3bdc869e5 do not declare variable for member assignment in reactive declaration in SSR (#5251)
6 years ago
Bassam Ismail 09aafa6444 add a11y-media-has-caption check (#5075)
6 years ago
Bassam Ismail 622f09ae48 add a11y-label-has-associated-control check (#5074)
6 years ago
Carlos Roso 338312bfd6 Fix transitions for each-else blocks (#5179)
6 years ago
Tan Li Hau 7d6d17c8d1 fix bind:group contextual reference (#5199)
6 years ago
Tan Li Hau c998b1677c better error message for mismatched tags due to autoclosing (#5060)
6 years ago
Tan Li Hau cb40eb7cb6 add updating guard to binding callback (#5126)
6 years ago
Tan Li Hau 1256e44807 invalidate $$props and $$restProps only when there are changes (#5123)
6 years ago
Tan Li Hau 87cd165134 fix $$props reactive for slots (#5125)
6 years ago
Tan Li Hau 655ad6c3ab spread condition for input element (#5004)
6 years ago
Tan Li Hau 9153c11a87 html anchor in head (#5071)
6 years ago
Tan Li Hau 524df97dc8 error on expression scope store (#5079)
6 years ago
Lukas Möller 8324658cc6 preprocess self-closing script and style tags (#5082)
6 years ago
Tan Li Hau 2cde304db4 update acorn@^7.3.1 for optional chaining support (#5013)
6 years ago
Tan Li Hau b4fb50d8da fix collapsing HTML with static content (#5059)
6 years ago
Tan Li Hau 475a759bb6 fix bind:this, skip checking before adding to binding_callbacks (#5072)
6 years ago
Tan Li Hau 694e352980 add further cases where {@html} uses an anchor (#5061)
6 years ago
Bassam Ismail 5035a2995f fix hoisting of imported, mutated stores (#5022)
6 years ago
Bassam Ismail 5fd448d3ec skip a11y-missing-content check with contenteditable bindings (#5023)
6 years ago
Tan Li Hau 24f8c2ab78 fix <select> one-way bind when options change (#5054)
6 years ago
Tan Li Hau 95d4913ed8 fix extracting names from ThisExpression (#5036)
6 years ago
Tan Li Hau fd1e7e9964 deconflict bind:this variable (#4949)
6 years ago
Tan Li Hau 8728a9df8c fix bind:group in each (#4868)
6 years ago
Tan Li Hau ab561238a8 fix bind:group with duplicated values (#4877)
6 years ago
Cameron Messinides 4422873964 throw parser error when :global() appears without a selector (#4936)
6 years ago
Tan Li Hau 805a28d434 remove unreferenced variable from initial context (#4941)
6 years ago
Tan Li Hau 73b86b4e00 fix reactivity with assigning item in each block (#4945)
6 years ago
Tan Li Hau 1e1939dd82 fix binding for each block local variable (#4861)
6 years ago
Ben McCann ebad857fc4 Use namespaces.svg constant (#4952)
6 years ago
pushkin 75764955b1 handle line ending differences in tests (#4915)
6 years ago
Rich Harris 4ebb4a5395 fix `{@html}` assuming it lives inside a <div> (#4863)
6 years ago
Tan Li Hau fadb58f093 fix reactivity when binding to each context (#4878)
6 years ago
Rich Harris 3fc04c63f9 only add event listeners when a block is first mounted (#4860)
6 years ago
Tan Li Hau 92689d7a6c set select multiple value with spread (#4894)
6 years ago
Tan Li Hau f898769386 reselect <select> when the option values change (#4885)
6 years ago
Tan Li Hau 0a37211793 fix slot with context overflow + without let (#4862)
6 years ago
Robert Hall f083a1bb0a Property "muted" for <audio> and <video> (#4690)
6 years ago
André Lins 4486480150 A11y rule no-onchange (#4788)
6 years ago
Billy Levin 060ea4c493 update for ARIA 1.2 working draft (#4845)
6 years ago
Daniel Imfeld ada0d15eec fix check for uninitialized `condition` (#4841)
6 years ago
Tan Li Hau 4597d72460 dry {#each}/{#await} destructuring (#4596)
6 years ago
Conduitry f5f1903826 fix exception with empty alt attribute (#4778)
6 years ago
Doga Genc f1968460bb fix img-reduntant-alt bug (#4771)
6 years ago
Th0rN13 109e99ad3b fix contextual dynamic bind:this in {#each} (#4759)
6 years ago
André Lins 709c9aa8e8 a11y: implement img-redundant-alt (#4750)
6 years ago
Conduitry 938869e03f deconflict `anchor` variable name (#4769)
6 years ago
Billy Levin 21a8eda8fb disable loop protection inside generators (#4716)
6 years ago
André Lins 75b8ac3719 a11y: do not warn about <a name> / <a id> (#4739)
6 years ago
Kalan 5a7737b2d6 a11y: warn about href="javascript:..." (#4733)
6 years ago
nomnomnomnom 9916a80cd7 fix misaligned line numbers in sourcemaps (#4738)
6 years ago