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

5527 Commits

Author SHA1 Message Date
Rich Harris
0588783038
Merge pull request #3814 from tanhauhau/tanhauhau/unify-solo-for-test-folder
look for test folder name for solo mode as well
2019-10-28 10:25:07 -04:00
Rich Harris
4c5dd9f1a7
Merge pull request #3816 from tanhauhau/tanhauhau/text-content-instead-of-inner-html
use textContent instead of innerHtml, preventing XSS
2019-10-28 10:19:31 -04:00
Richard Harris
de2b1a6a0d use hasOwnProperty, simplify prop object construction 2019-10-28 10:14:28 -04:00
Tan Li Hau
da4bd41d40 add a xss test case 2019-10-28 20:48:52 +08:00
Tan Li Hau
2b2f40d32a use textContent instead of innerHtml, preventing XSS 2019-10-28 20:38:54 +08:00
Rich Harris
e931a56854
Merge pull request #3762 from sveltejs/gh-3761
allow spring/tweened values to be initially undefined
2019-10-28 07:18:12 -04:00
Tan Li Hau
8d722ae1aa look for test folder name for solo mode as well 2019-10-28 12:41:53 +08:00
Tan Li Hau
a92aa89b83 fix css-vars case 2019-10-28 10:40:06 +08:00
Tan Li Hau
1a476d4580 remove empty value declaration from style tree 2019-10-28 10:08:20 +08:00
Richard Harris
e8f5b24143 docs and a fix for #3761 2019-10-27 21:10:12 -04:00
Rich Harris
292017c8d4
Merge pull request #3810 from Joxtacy/add_event_to_globals_list
Add Event to globals list
2019-10-27 20:35:54 -04:00
Richard Harris
47a9811c1e alternative fix for #3508 2019-10-27 20:27:37 -04:00
Richard Harris
1c7d61ed05 Merge branch 'gh-3508' of https://github.com/Conduitry/svelte into Conduitry-gh-3508 2019-10-27 19:51:09 -04:00
Richard Harris
e55bf4013d remove some unused code 2019-10-27 18:36:19 -04:00
Richard Harris
33858a389b Merge branch 'master' of github.com:sveltejs/svelte 2019-10-27 18:26:20 -04:00
Richard Harris
fe3412828c make modal more accessible 2019-10-27 18:26:06 -04:00
Richard Harris
1b245a48c2 Merge branch 'patch-1' of https://github.com/SteveALee/svelte into SteveALee-patch-1 2019-10-27 18:24:32 -04:00
Jesper Hasselquist
192c1bbafa Add Event to globals list 2019-10-27 21:20:21 +01:00
Steve Lee
1668316621
Fix script end tag 2019-10-27 18:44:57 +00:00
Conduitry
dbdcb60f29 update changelog 2019-10-27 14:24:10 -04:00
Conduitry
8797df921f add test 2019-10-27 14:24:10 -04:00
Conduitry
2b71798dd2 fix binding to aliased props (#3508) 2019-10-27 14:24:10 -04:00
Rich Harris
d03a5de6f6
Merge pull request #3802 from tanhauhau/tanhauhau/warn-unused-exports
feat: warn unused exports
2019-10-27 11:54:14 -04:00
Rich Harris
67bcc05740
Merge pull request #3808 from tanhauhau/tanhauhau/mustache-tag-can-use-inner-html
feat: allow innerHtml if no dynamic dependencies
2019-10-27 11:19:42 -04:00
Tan Li Hau
60b240bf69 fix lint 2019-10-27 21:29:45 +08:00
Tan Li Hau
464868bb6c feat: allow innerHtml if no dynamic dependencies 2019-10-27 21:26:34 +08:00
pngwn
7c445093fb Document bind:playbackRate in the API documentation. Closes #3806. 2019-10-27 09:13:33 -04:00
Conduitry
9f48d1a5fd
fix SSR spread with boolean attributes (#3797)
* in SSR, adjust spread with boolean attributes (#2916)

* add tests

* update changelog
2019-10-27 08:53:01 -04:00
Tan Li Hau
9f7565cf19 fix changelog issue link 2019-10-27 08:48:45 -04:00
Tan Li Hau
81c5c480e8 feat: warn unused exports 2019-10-27 13:42:50 +08:00
Steve Lee
1e55d46bc0
Add Key handling to modal example
This is a basic accessibility requirement for key access
2019-10-26 23:53:13 +01:00
Conduitry
b8107e7fa7 update changelog 2019-10-26 17:05:10 -04:00
Conduitry
3f6b743dd0 site: add REPL imports to .zip's pkg.devDependencies (#3795) 2019-10-26 16:22:10 -04:00
Conduitry
4c239974c3 alpha.2 2019-10-25 13:04:18 -04:00
Conduitry
85692cbd5a
fix handling of style scoping and class: with spread scopes (#3792) 2019-10-25 13:03:09 -04:00
Rich Harris
33c8cd3329
Merge pull request #3765 from tanhauhau/tanhauhau/contributing-md
Adding contributing.md
2019-10-24 22:12:30 -04:00
Rich Harris
9f83a2ad23
address a few nits 2019-10-24 22:12:21 -04:00
Richard Harris
ad0e8670ca tweak text of warning 2019-10-24 21:47:05 -04:00
Richard Harris
a097b079f2 Merge branch 'tanhauhau/warn-when-using-tag-without-compile-options' of https://github.com/tanhauhau/svelte into tanhauhau-tanhauhau/warn-when-using-tag-without-compile-options 2019-10-24 21:44:35 -04:00
Rich Harris
ede5e8ec36
Merge pull request #3789 from mustafa0x/patch-1
reduce confusion mentioned in #2452
2019-10-24 21:35:12 -04:00
Rich Harris
d4fd91cbb9
tweak 'show me' styles 2019-10-24 15:06:01 -04:00
Conduitry
aa3dab93db fix running tests on github actions 2019-10-24 13:55:53 -04:00
Conduitry
07b9d0378e update changelog 2019-10-24 13:36:28 -04:00
Jesse Skinner
b6798e5221 allow multiple ancestors to be scoped with class (#3544) 2019-10-24 13:34:58 -04:00
mustafa0x
b605f3867e
reduce confusion mentioned in #2452 2019-10-24 18:34:23 +03:00
Mike Lewis
af0557a2d4 add regression test for missing class on elem with bind and spread (#3668)
relates to #2707
2019-10-24 08:45:03 -04:00
Conduitry
0419039d26
Don't lose class: directive classes on an element with {...spread} attributes when updating (#3781)
* include all class: directive updates on elements with spreads (#3421)

* add test

* update changelog
2019-10-24 08:18:33 -04:00
Alessandro (Ale) Segala
8c0c15c3aa Fixed anchor link in documentation 2019-10-24 08:14:47 -04:00
Tan Li Hau
cfd3b63b9b warn if using svelte:options tag without compile_options.customElement 2019-10-24 11:54:50 +08:00
mrkishi
1f6e0eb316 improve derived store typing for users 2019-10-23 17:07:44 -04:00