Rich Harris
a4f6fed0e2
-> v1.53.0
7 years ago
Rich Harris
050ed5d0b5
Merge pull request #1119 from sveltejs/gh-1091
...
Base stylesheet.id on CSS contents
7 years ago
Rich Harris
6b32e44819
-> v1.52.0
7 years ago
Rich Harris
f61acd06c6
fix test failure
7 years ago
Rich Harris
9fbcddf338
base stylesheet.hash on css content, and revert parsed.hash
7 years ago
Rich Harris
df5a32a577
Merge branch 'issue-1091' of https://github.com/emilos/svelte into emilos-issue-1091
7 years ago
Rich Harris
d0be845190
Merge pull request #1106 from sveltejs/gh-1083
...
Enforce valid names for computed properties
7 years ago
Rich Harris
80c55b1e51
oops
7 years ago
Rich Harris
a85b09ea97
handle wacky identifier names in templates
7 years ago
Rich Harris
66b64e254d
types
7 years ago
Rich Harris
24ea1afe78
Merge pull request #1112 from sveltejs/gh-1110
...
do not run a11y validation on child component elements
7 years ago
Rich Harris
7bf743ca96
Merge pull request #1116 from UnwrittenFun/fix/ssr-nested-store
...
Fix passing a store to nested components on server side
7 years ago
James Birtles
b180f8a67b
create store in _render, fixes #1107
7 years ago
James Birtles
6596913da3
addd failing nested store test
7 years ago
Conduitry
49135161bc
do not run a11y validation on child component elements ( #1110 )
7 years ago
Rich Harris
1833bc194f
use acorn.isIdentifierStart and isIdentifierChar to determine validity
7 years ago
Rich Harris
b19303679d
simplify test slightly, add test for reserved words
7 years ago
Rich Harris
146327e87f
fix expected error position, tweak expected message to include suggested alternative
7 years ago
Rich Harris
cfdc8902ab
run prettier (spaces -> tabs)
7 years ago
Rich Harris
25a18ab495
Merge branch 'master' of https://github.com/asweingarten/svelte into asweingarten-master
7 years ago
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