Commit Graph

2835 Commits (eb1d4f2c469b4dd1f1357083f87cfa2bfb74df0d)

Author SHA1 Message Date
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
Aria Stewart 57269b9b2c work around Edge issue when removing attributes during hydration (#4911)
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
Antony Jones c99b277dba use common linting configuration (#4942)
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
Pat Cavit 347eaffd4a WIP: Don't attempt to unsub if the iframe is destroyed (#4782)
6 years ago
Richard Harris d5b58bb394 dont coerce all falsy values to empty strings
6 years ago
Jeremy Bernier 6a0224cece Fix input with bind:value displaying "undefined"
6 years ago
Billy Levin 060ea4c493 update for ARIA 1.2 working draft (#4845)
6 years ago
Pat Cavit 8771d17d24 fix: cache value & cancel tween for instant-set (#4847)
6 years ago
Daniel Imfeld ada0d15eec fix check for uninitialized `condition` (#4841)
6 years ago
Daniel Imfeld c2e22229f9 set .value while setting .__value during spread (#4809)
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
Pat Cavit 7a79a28cf6 make setting tweened with duration=0 instantly update (#4766)
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
Tan Li Hau b712ab0c04 fix mutation to imported variable (#4713)
6 years ago
pushkin 411d506996 add if_block existence check in block.p (#4633)
6 years ago
pushkin b09d61fce2 ensure if_block dependency is dirty to cancel outro (#4634)
6 years ago
Daniel Imfeld b8564ed657 prevent illegal attribute names at compile time (#4650)
6 years ago
pushkin f2bd347266 use value check instead of guard for number inputs (#4689)
6 years ago
pushkin 29e03d2a9f fix parent in slot wrapper (#4705)
6 years ago
Tan Li Hau b957b5d1a0 add await catch shorthand (#4490)
6 years ago
Maurício Kishi fab8f2d5ff support dimension bindings in cross-origin mode (#2989)
6 years ago
pushkin fca285a187 remove unused variable (#4638)
6 years ago
Игорь Фролов 255a18f654 feat(internal): Support globalThis in modern environments (#4628)
6 years ago
Tan Li Hau 2501ba3d74 remove unneeded fragment block (#4568)
7 years ago
Tan Li Hau f0f4118c8a fix creating debugging comment for HTML comment (#4567)
7 years ago
Tan Li Hau d0924fbfb4 fix deconflicting variable name for slot fallback (#4564)
7 years ago
Tan Li Hau 5cea55ecb8 clean up event handlers on re-mount (#4493)
7 years ago
Tan Li Hau 1bae772d0a support destructuring in await (#4548)
7 years ago
Tan Li Hau 5da0de4ce0 complain if named slots other than direct descendant of component (#4509)
7 years ago
Tan Li Hau 8025246550 do not initialise slot fallback fragment unless necessary (#4514)
7 years ago
Jacob Wright 6c81672712 allow transitions and animations to work within iframes (#3625)
7 years ago
vlasy c2e090e651 throw compiler error when binding directly to const variables (#4506)
7 years ago
Tan Li Hau 1f5af90f74 fix else-block update in keyed each-block (#4558)
7 years ago
Tan Li Hau d98cdf2242 fix hydration of top-level content (#4550)
7 years ago
Tan Li Hau 0672678e64 allow <svelte:self> to be part of a slot (#4532)
7 years ago
Tan Li Hau ee10effb0f introduce $$restProps (#4489)
7 years ago
Tan Li Hau b5fe3c999b fix lazy code breaks in build
7 years ago
Conduitry a63bcba8d1 fit bitmask overflow initial dirty value in 'if' blocks (#4507)
7 years ago
Conduitry 45790bc15f add dev runtime warning for unknown slot names (#4501)
7 years ago
Tan Li Hau 5e6dc186c3 fix render fallback slot content due to whitespace (#4500)
7 years ago
Tan Li Hau 05270ff1a2 in spread, distinguish never-updating and always-updating props (#4487)
7 years ago
Brian Takita f1b4ed80f8 chore: more specific typings, and add README note about Yarn (#4483)
7 years ago
pushkin f636bd8a7b check for unknown props even if component doesn't have writable props (#4454)
7 years ago
Tan Li Hau 330f6c3127 fix bitmask overflow for slot (#4485)
7 years ago
Tan Li Hau 88eb91c600 mark module variables as mutated or reassigned (#4469)
7 years ago
rixo 96388e6166 exclude global variables from $capture_state (#4475)
7 years ago
Conduitry 7c455a3cb7 don't treat $$-names as stores during invalidation (#4453)
7 years ago
Conduitry 95995482e3 deconflict `value` parameter in contextual bindings (#4452)
7 years ago
Conduitry 78d5d1a8c8 fix dev mode each block validation when using strings (#4451)
7 years ago
rixo 8930ecf59c make $capture_state/$inject_state act on entire state (#3822)
7 years ago
swyx 5a880ecd28 implement Dev mode validation of {#each} block argument (#4419)
7 years ago
Tan Li Hau 533d9ac909 warn if component is expected to be reactive (#4409)
7 years ago
Tan Li Hau 8102c4d2e2 perform dirty check before updating keyed each blocks (#4413)
7 years ago
Conduitry d41d4d50ab fix indirect bindings on elements with spreads (#4398)
7 years ago
Conduitry 88f85890ce fix event handlers that are dynamic via reactive declarations or stores (#4394)
7 years ago
Conduitry 4f6e25b9bb fix invalidation in ++foo.bar (#4395)
7 years ago
Conduitry c1cd4a63e2 fix handling of reserved keywords when parsing (#4390)
7 years ago
Tan Li Hau 8cc782c6b2 better error messages for else, elseif, then, catch with unclosed tag (#4136)
7 years ago
Jordan Gensler aa9e245f02 avoid using .shift() in flush() (#4356)
7 years ago
Conduitry cbfed9614b fix arrow function precedence (#4385)
7 years ago
Conduitry f5922f7cee fix binding to module-level variables (#4352)
7 years ago
Conduitry 3581bed534 disallow simultaneous foo / {foo} / bind:foo (#4343)
7 years ago
Conduitry f6920b1449 fix detection of unused partially global CSS selectors (#4332)
7 years ago
David Kondrad 7acea7a94d Internals: Scheduler: Fix infinite loop in flush (#4316)
7 years ago
Dave Lunny 56772b24c1 [Internals] Improve unit tests (#4262)
7 years ago
Conduitry 14555bf203 make autosubscribing to a nullish store a no-op (#4304)
7 years ago
Conduitry f498127d33 fix hydration of <title> (#4311)
7 years ago
Conduitry e11f8da5e2 disallow duplicate each keys in dev mode (#4303)
7 years ago
Conduitry 32d28312f5 fix deriving from RxJS observables (#4300)
7 years ago
Tan Li Hau a9298d0ebd fix nested block not reactive (#4294)
7 years ago
Conduitry 4edddcf705 preserve js comments where possible (#4293)
7 years ago
Conduitry 4d14236214 fix removing attributes during hydration (#1733)
7 years ago