0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
Commit Graph

2143 Commits

Author SHA1 Message Date
Rich Harris
56e9343294 update lockfile 2018-01-26 14:04:33 -05:00
Rich Harris
7d9b89b033 -> v1.54.0 2018-01-26 14:00:38 -05:00
Rich Harris
3cd9779b37
Merge pull request #1137 from sveltejs/gh-1135
Fix order of `oncreate` in sibling components
2018-01-26 13:53:59 -05:00
Rich Harris
935d4a2955
Merge pull request #1134 from sveltejs/gh-1132
fix handling of CRs in debugging comments (#1132)
2018-01-26 13:49:29 -05:00
Rich Harris
9f088fe259
Merge pull request #1126 from sveltejs/gh-1062-again
Fix attribute casing better
2018-01-26 13:47:45 -05:00
Rich Harris
6f5b6ddda9 Merge branch 'master' into gh-1135 2018-01-26 13:39:27 -05:00
Rich Harris
1bb275bc55 Merge branch 'master' into gh-1132 2018-01-26 13:39:00 -05:00
Rich Harris
c3bec8f632 Merge branch 'master' into gh-1062-again 2018-01-26 13:38:32 -05:00
Rich Harris
86a07652d8
Merge pull request #1124 from nolanlawson/patch-1
Add "feed" aria role
2018-01-26 13:38:04 -05:00
Rich Harris
53217bd9a9
Merge pull request #1128 from sveltejs/gh-1127
update jsdom; update `window.performance.now` test shim
2018-01-26 13:37:41 -05:00
Rich Harris
2d0f01e49d change test outcome for uninitialised component bindings inside conditionals 2018-01-26 13:30:59 -05:00
Rich Harris
d411a82a32 update snapshot tests 2018-01-26 13:29:21 -05:00
Rich Harris
5e41ecb34a run oncreate functions in sensible order (#1135) 2018-01-26 13:27:58 -05:00
Conduitry
7fa293ee6b fix handling of CRs in debugging comments (#1132) 2018-01-25 12:34:07 -05:00
Conduitry
0a6ffb769c update jsdom; update window.performance.now test shim 2018-01-24 22:52:20 -05:00
Conduitry
94da329305 another stab at #1062; also fix attribute case in static HTML 2018-01-24 17:43:51 -05:00
Nolan Lawson
0a0b8bf7cb
Add "feed" aria role
This role is defined in https://www.w3.org/TR/wai-aria-practices-1.1/#feed
2018-01-20 23:35:14 -08:00
Rich Harris
c35eb67af2
Merge pull request #1123 from sveltejs/gh-1109
fix handling of boolean attributes in SSR (#1109)
2018-01-20 12:05:37 -05:00
Conduitry
57b737b3bc fix handling of boolean attributes in SSR (#1109) 2018-01-20 11:42:19 -05:00
Rich Harris
a4f6fed0e2 -> v1.53.0 2018-01-20 10:21:34 -05:00
Rich Harris
050ed5d0b5
Merge pull request #1119 from sveltejs/gh-1091
Base stylesheet.id on CSS contents
2018-01-20 10:19:25 -05:00
Rich Harris
6b32e44819 -> v1.52.0 2018-01-18 21:50:29 -05:00
Rich Harris
f61acd06c6 fix test failure 2018-01-18 21:31:38 -05:00
Rich Harris
9fbcddf338 base stylesheet.hash on css content, and revert parsed.hash 2018-01-18 20:49:40 -05:00
Rich Harris
df5a32a577 Merge branch 'issue-1091' of https://github.com/emilos/svelte into emilos-issue-1091 2018-01-18 20:15:29 -05:00
Rich Harris
d0be845190
Merge pull request #1106 from sveltejs/gh-1083
Enforce valid names for computed properties
2018-01-18 11:48:40 -05:00
Rich Harris
80c55b1e51 oops 2018-01-18 10:35:25 -05:00
Rich Harris
a85b09ea97 handle wacky identifier names in templates 2018-01-18 09:25:50 -05:00
Rich Harris
66b64e254d types 2018-01-18 08:20:14 -05:00
Rich Harris
24ea1afe78
Merge pull request #1112 from sveltejs/gh-1110
do not run a11y validation on child component elements
2018-01-18 08:14:11 -05:00
Rich Harris
7bf743ca96
Merge pull request #1116 from UnwrittenFun/fix/ssr-nested-store
Fix passing a store to nested components on server side
2018-01-18 08:12:44 -05:00
James Birtles
b180f8a67b create store in _render, fixes #1107 2018-01-17 18:07:08 +00:00
James Birtles
6596913da3 addd failing nested store test 2018-01-17 18:06:04 +00:00
Conduitry
49135161bc do not run a11y validation on child component elements (#1110) 2018-01-16 14:39:56 -05:00
Rich Harris
1833bc194f use acorn.isIdentifierStart and isIdentifierChar to determine validity 2018-01-13 22:45:15 -05:00
Rich Harris
b19303679d simplify test slightly, add test for reserved words 2018-01-13 22:44:45 -05:00
Rich Harris
146327e87f fix expected error position, tweak expected message to include suggested alternative 2018-01-13 20:06:29 -05:00
Rich Harris
cfdc8902ab run prettier (spaces -> tabs) 2018-01-13 20:05:27 -05:00
Rich Harris
25a18ab495 Merge branch 'master' of https://github.com/asweingarten/svelte into asweingarten-master 2018-01-13 19:54:50 -05:00
Rich Harris
8057884cb6
Merge pull request #1097 from sveltejs/gh-1082-b
fix escaping of sigils in SSR non-top-level <script> and <style>
2018-01-13 18:08:06 -05:00
Rich Harris
49bc092db6
Merge pull request #1094 from sveltejs/gh-1061-b
fire oncreate handlers for components inside await blocks
2018-01-13 18:06:30 -05:00
Emil Ajdyna
f9fc7c9e91 Base scoping hashes on CSS content rather than entire file 2018-01-13 18:05:01 +01:00
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"
2018-01-11 17:48:25 -08:00
Conduitry
7ee44af6b5 fix escaping of sigils in SSR non-top-level <script> and <style> 2018-01-11 15:04:17 -05:00
Rich Harris
2537db90be
Merge pull request #1093 from sveltejs/gh-1061-a
validate contents of await blocks
2018-01-11 13:43:01 -05:00
Rich Harris
664da84c5a
Merge pull request #1095 from sveltejs/gh-1062
be more relaxed about attribute casing
2018-01-11 13:42:48 -05:00
Rich Harris
ba770b69bc
Merge pull request #1092 from sveltejs/gh-1079-alt
deconflict referenced globals
2018-01-11 09:07:52 -05:00
Rich Harris
4f1bba3be1 make is-reference a devDependency 2018-01-10 22:49:29 -05:00
Rich Harris
2781968e43 be more relaxed about attribute casing - fixes #1062 2018-01-10 22:32:58 -05:00
Rich Harris
c1b5bed6d2 fire oncreate handlers for components inside await blocks (#1061) 2018-01-10 22:17:01 -05:00