Rich Harris
8057884cb6
Merge pull request #1097 from sveltejs/gh-1082-b
...
fix escaping of sigils in SSR non-top-level <script> and <style>
7 years ago
Rich Harris
49bc092db6
Merge pull request #1094 from sveltejs/gh-1061-b
...
fire oncreate handlers for components inside await blocks
7 years ago
Emil Ajdyna
f9fc7c9e91
Base scoping hashes on CSS content rather than entire file
7 years ago
asweingarten
02afdb03fa
[1083] Svelte should throw a compile time error when illegal characters are used in computed names
...
Approach:
For each property name, construct a string that defines a function and see if parsing that string with Acorn throws an exception.
If it does, assemble an informative error message that states which property is invalid, the first invalid character, and the location of that character within the name.
Changes to codebase:
- Added new validator test
"properties-computed-must-be-valid-function-names"
- Added new check into src/validate/js/propValidators/computed.ts,
"checkForValidIdentifiers"
- this check was added to
src/validate/js/utils/checkForValidIdentifiers.ts like the other
checks in "computed.ts"
7 years ago
Conduitry
7ee44af6b5
fix escaping of sigils in SSR non-top-level <script> and <style>
7 years ago
Rich Harris
2537db90be
Merge pull request #1093 from sveltejs/gh-1061-a
...
validate contents of await blocks
7 years ago
Rich Harris
664da84c5a
Merge pull request #1095 from sveltejs/gh-1062
...
be more relaxed about attribute casing
7 years ago
Rich Harris
ba770b69bc
Merge pull request #1092 from sveltejs/gh-1079-alt
...
deconflict referenced globals
7 years ago
Rich Harris
4f1bba3be1
make is-reference a devDependency
7 years ago
Rich Harris
2781968e43
be more relaxed about attribute casing - fixes #1062
7 years ago
Rich Harris
c1b5bed6d2
fire oncreate handlers for components inside await blocks ( #1061 )
7 years ago
Rich Harris
5fea63a5de
validate contents of await blocks ( #1061 )
7 years ago
Rich Harris
728d2fa9fb
deconflict referenced globals - fixes #1079
7 years ago
Rich Harris
9cfa174703
-> v1.51.1
7 years ago
Rich Harris
8d04da6839
Merge pull request #1086 from sveltejs/gh-1082
...
[WIP] Fix HTML escaping and non-top-level <script> and <style> issues
7 years ago
Rich Harris
f6e6cb6988
add test to ensure only <, > and & are escaped
7 years ago
Conduitry
fbb856ebbd
update test
7 years ago
Conduitry
00a0445cc9
update DOM rendering of <script> and <style>
7 years ago
Conduitry
1f229cfed5
update SSR rendering of <script> and <style>
7 years ago
Conduitry
c42e6f9d71
store <script> and <style> contents on Element node itself
7 years ago
Conduitry
41744e25fc
parse non-top-level <script> and <style> tags as one piece of Text
7 years ago
Conduitry
8c8f9703a0
in stringified Text nodes, only escape &, <, >
7 years ago
Rich Harris
dbe8105a07
-> v1.51.0
7 years ago
Rich Harris
135ba93342
Merge pull request #1076 from emilos/a11y
...
Allow xlink:href attribute
7 years ago
Rich Harris
a3f5952121
Merge pull request #1072 from sveltejs/gh-1071
...
lock scroll bindings to allow tweening
7 years ago
Emil Ajdyna
5659d10d7c
Allow xlink:href attribute
7 years ago
Rich Harris
6b956fb2bd
Merge pull request #1075 from ekhaled/patch-1
...
Add svelte-hot-loader to the Tools section
7 years ago
Khaled Ahmed
cb56e574c3
Add svelte-hot-loader to the Tools section
7 years ago
Rich Harris
6ccc7b812b
reuse timeout function
7 years ago
Rich Harris
521fd74e8b
Merge pull request #1073 from sveltejs/gh-1066
...
Escape entities correctly when compiling to static HTML
7 years ago
Rich Harris
7026222792
escape HTML - fixes #1066
7 years ago
Rich Harris
d280d1d458
remove incorrect test
7 years ago
Rich Harris
d4d7ef9c04
failing tests for #1066
7 years ago
Rich Harris
297ea67ebe
lock scroll bindings to allow tweening - fixes #1071
7 years ago
Rich Harris
70ce51df5c
-> v1.50.1
7 years ago
Rich Harris
8d0b4a17e4
Merge pull request #1064 from sveltejs/gh-1063
...
prevent main fragment being created twice
7 years ago
Rich Harris
976c278d37
prevent main fragment being created twice - fixes #1063
7 years ago
Rich Harris
b036b16a88
propagate console events inside nightmare
7 years ago
Rich Harris
b0d7dbcbad
-> v1.50.0
7 years ago
Rich Harris
0df6cfa3d6
Merge pull request #1053 from sveltejs/gh-1027
...
optimise <title>
7 years ago
Rich Harris
3a9b3ea31e
Merge pull request #1059 from sveltejs/gh-54
...
add option to disable two-way binding
7 years ago
Rich Harris
f5aebaebeb
fix README
7 years ago
Rich Harris
a8f7d57c3a
only optimise <title> inside <:Head>
7 years ago
Rich Harris
b7d8c49dc8
Merge branch 'master' into gh-1027
7 years ago
Rich Harris
57ec514654
Merge pull request #1052 from sveltejs/gh-1051
...
Warn on unused events/transitions
7 years ago
Rich Harris
316d32b08d
Merge pull request #1054 from sveltejs/gh-1026
...
don't create text nodes inside <:Head>
7 years ago
Rich Harris
f7c68be15d
Merge pull request #1050 from sveltejs/gh-1039
...
detect unused/misplaced components
7 years ago
Rich Harris
4ae0d64724
update README
7 years ago
Rich Harris
20962f9d82
add option to disable two-way binding ( #54 )
7 years ago
Rich Harris
8b5dba9f4a
remove TODO
7 years ago