Conduitry
f606aee209
do not escape html characters in tags in non-root <style> in SSR mode
7 years ago
Rich Harris
a33dfe5bf3
Merge pull request #1160 from sveltejs/gh-1108
...
remove <noscript> elements in DOM mode (#1108 )
7 years ago
Rich Harris
90f6f660e7
Merge pull request #1163 from sveltejs/non-root-rework
...
Rework handling of non-root <script> and <style>
7 years ago
Conduitry
fc34792743
expand escape-template-literals test
7 years ago
Conduitry
205bb37d2d
fix escaping of template string characters
7 years ago
Conduitry
132901bbe7
fix escaping of sigils in component attribute values in SSR
7 years ago
Jacob Wright
d2f8e472a5
Add support to computed and store for immutable structures
...
Adds optional performance support for apps using an immutable data structure such as redux. Adds the `immutable` boolean option for compile and an `immutable` option to store as well. When these options are used, computed will not recompute if the object has not changed. If your data structure is not immutable you should not use this as svelte cannot know if a mutation was made on objects.
This PR also adds support for Dates and NaN values so computed properties will not recompute if a date has not changed or a value did not change from NaN.
This closes out these issues:
* https://github.com/sveltejs/svelte/issues/1146
* https://github.com/sveltejs/svelte/issues/1161
This is my first PR for Svelte. Any feedback would be appreciated!
7 years ago
Conduitry
7d51484631
simplify toHTML by relying on node.parent
7 years ago
Conduitry
fc2ecce4ef
make test more robust
7 years ago
Conduitry
cf3705dc11
add test
7 years ago
Conduitry
5d0f44ef41
rework handling of non-root <script> and <style>
7 years ago
Rich Harris
1719a318ad
failing test for #1082
7 years ago
Conduitry
50d95e1642
remove <noscript> elements in DOM mode ( #1108 )
7 years ago
Rich Harris
a4d08c205a
error on unclosed comments and blocks with only whitespace
7 years ago
Rich Harris
620badc9d0
Merge branch 'empty-each-blocks' of https://github.com/Crisfole/svelte into Crisfole-empty-each-blocks
7 years ago
Rich Harris
0ef8229077
Merge pull request #1155 from sveltejs/ssr-escape-attribute-values
...
escape attribute values in SSR
7 years ago
Rich Harris
5b9f254087
Merge pull request #1149 from sveltejs/gh-1138
...
remove empty style blocks in prod mode
7 years ago
Christopher Pfohl
b55ccc6d9f
Make sure scripts are passing good data so it's only the parse that can go wrong
7 years ago
Christopher Pfohl
c62f77a5d2
Empty Each Blocks should have consistent behavior.
...
Here the `error-each-blocks-empty` behaves as expected. It throws a ParseError.
I can't get the whitespace errors to repro in the tests. They're easily seen
here: https://svelte.technology/repl?version=1.51.0&gist=e1596f9631619a689e85c80e46506692
If you uncomment each section in sequence it demonstrates the behavior. I can't
quite figure out why my examples don't work.
7 years ago
Conduitry
c481c8d2b3
escape attribute values in SSR
7 years ago
Rich Harris
9dda4b0563
prevent erroneous missing data warnings for custom elements - fixes #1065
7 years ago
Rich Harris
99fbb69c74
component store bindings - fixes #1100
7 years ago
Rich Harris
29a156957f
Merge pull request #1150 from sveltejs/gh-1131
...
prevent await blocks using stale state
7 years ago
Rich Harris
009c082d23
in custom elements, call oncreate in connectedCallback - fixes #1117
7 years ago
Rich Harris
bf25248f9e
prevent await blocks using stale state - fixes #1131
7 years ago
Rich Harris
37d5260036
-> v1.54.1
7 years ago
Rich Harris
cfd43f4fa7
remove empty style blocks in prod mode - fixes #1138
7 years ago
Rich Harris
ca779a452d
Merge pull request #1145 from jacobmischka/fix-destructured-hoisting
...
Add destructured context container to usedContexts
7 years ago
Jacob Mischka
b5a3e2224d
Add audio video volume binding ( #1148 )
...
* Add audio/video volume binding
Fixes #1143
* Update test and add volumechange event
* Set volume on initial update
* Update test after setting volume initially
Oops.
7 years ago
Jacob Mischka
2635de84a8
Further improve a block with useless variables
7 years ago
Jacob Mischka
31de60ece6
Add destructured context container to usedContexts
...
Fixes #1139
7 years ago
Rich Harris
56e9343294
update lockfile
7 years ago
Rich Harris
7d9b89b033
-> v1.54.0
7 years ago
Rich Harris
3cd9779b37
Merge pull request #1137 from sveltejs/gh-1135
...
Fix order of `oncreate` in sibling components
7 years ago
Rich Harris
935d4a2955
Merge pull request #1134 from sveltejs/gh-1132
...
fix handling of CRs in debugging comments (#1132 )
7 years ago
Rich Harris
9f088fe259
Merge pull request #1126 from sveltejs/gh-1062-again
...
Fix attribute casing better
7 years ago
Rich Harris
6f5b6ddda9
Merge branch 'master' into gh-1135
7 years ago
Rich Harris
1bb275bc55
Merge branch 'master' into gh-1132
7 years ago
Rich Harris
c3bec8f632
Merge branch 'master' into gh-1062-again
7 years ago
Rich Harris
86a07652d8
Merge pull request #1124 from nolanlawson/patch-1
...
Add "feed" aria role
7 years ago
Rich Harris
53217bd9a9
Merge pull request #1128 from sveltejs/gh-1127
...
update jsdom; update `window.performance.now` test shim
7 years ago
Rich Harris
2d0f01e49d
change test outcome for uninitialised component bindings inside conditionals
7 years ago
Rich Harris
d411a82a32
update snapshot tests
7 years ago
Rich Harris
5e41ecb34a
run oncreate functions in sensible order ( #1135 )
7 years ago
Conduitry
7fa293ee6b
fix handling of CRs in debugging comments ( #1132 )
7 years ago
Conduitry
0a6ffb769c
update jsdom; update `window.performance.now` test shim
7 years ago
Conduitry
94da329305
another stab at #1062 ; also fix attribute case in static HTML
7 years ago
Nolan Lawson
0a0b8bf7cb
Add "feed" aria role
...
This role is defined in https://www.w3.org/TR/wai-aria-practices-1.1/#feed
7 years ago
Rich Harris
c35eb67af2
Merge pull request #1123 from sveltejs/gh-1109
...
fix handling of boolean attributes in SSR (#1109 )
7 years ago
Conduitry
57b737b3bc
fix handling of boolean attributes in SSR ( #1109 )
7 years ago