Tan Li Hau
|
37cc5888f8
|
dry {#each}/{#await} destructuring (#4596)
|
2020-05-11 11:37:27 -04:00 |
|
Conduitry
|
bdabd89f09
|
fix exception with empty alt attribute (#4778)
|
2020-05-04 11:23:04 -04:00 |
|
Doga Genc
|
ba89c29b98
|
fix img-reduntant-alt bug (#4771)
|
2020-05-03 16:28:53 -04:00 |
|
André Lins
|
153b128fe2
|
a11y: implement img-redundant-alt (#4750)
|
2020-05-03 12:06:10 -04:00 |
|
André Lins
|
07242f994c
|
a11y: do not warn about <a name> / <a id> (#4739)
|
2020-04-29 15:42:11 -04:00 |
|
Kalan
|
56d1af493b
|
a11y: warn about href="javascript:..." (#4733)
|
2020-04-28 17:03:31 -04:00 |
|
Daniel Imfeld
|
ddfb751fc9
|
prevent illegal attribute names at compile time (#4650)
|
2020-04-23 10:18:03 -04:00 |
|
Tan Li Hau
|
77ec48deba
|
add await catch shorthand (#4490)
|
2020-04-20 09:27:21 -04:00 |
|
Tan Li Hau
|
5bb5ba4c76
|
complain if named slots other than direct descendant of component (#4509)
|
2020-03-15 05:54:06 -04:00 |
|
vlasy
|
e06a900b23
|
throw compiler error when binding directly to const variables (#4506)
|
2020-03-14 16:15:37 -04:00 |
|
Tan Li Hau
|
fdc89ebb62
|
warn if component is expected to be reactive (#4409)
|
2020-02-15 12:33:33 -05:00 |
|
Conduitry
|
f5f489984f
|
fix handling of reserved keywords when parsing (#4390)
|
2020-02-09 00:04:21 -05:00 |
|
Tan Li Hau
|
527ddea289
|
disallow binding variables declared in await and catch
|
2020-01-16 22:16:06 -05:00 |
|
burningTyger
|
b9368d5de4
|
remove quotes from code suggestion
|
2020-01-08 10:07:10 -05:00 |
|
David Kondrad
|
6b5a4870df
|
tests: validator: add support for customElement compile option + test cases (#4133)
|
2019-12-23 14:06:41 -05:00 |
|
Benjamin W. Broersma
|
3433418dce
|
Skip JS globals for InlineComponent nodes in warn_if_undefined. (#4071)
|
2019-12-09 09:15:49 -05:00 |
|
Conduitry
|
e996ef750d
|
fix warnings for props that are only used as stores (#4021)
|
2019-12-04 13:05:29 -05:00 |
|
Richard Harris
|
74fa2447b1
|
error on empty css declarations - fixes #3801
|
2019-10-28 10:38:46 -04:00 |
|
Tan Li Hau
|
81c5c480e8
|
feat: warn unused exports
|
2019-10-27 13:42:50 +08:00 |
|
Richard Harris
|
ad0e8670ca
|
tweak text of warning
|
2019-10-24 21:47:05 -04:00 |
|
Tan Li Hau
|
cfd3b63b9b
|
warn if using svelte:options tag without compile_options.customElement
|
2019-10-24 11:54:50 +08:00 |
|
Tan Li Hau
|
5dbb08d19b
|
allow solo for test suite (#3747)
|
2019-10-23 14:52:49 -04:00 |
|
Colin Casey
|
ee8825d34f
|
fix reactive declaration cycle detection + clearer error on cycle
- fixes #3459
- uses DFS traversal to inspect reactive declarations for cycles
- returns the cycle detected (e.g.; `a → b → a`) for error messaging
|
2019-09-06 10:12:40 -03:00 |
|
Samuel Elgozi
|
7342d484f1
|
feat: #3372 added a new self event modifier
|
2019-08-08 01:57:47 +03:00 |
|
Rich Harris
|
e41a4846c3
|
Merge pull request #3348 from sveltejs/gh-3272
throw error if $ is referenced as global
|
2019-08-04 17:51:37 -04:00 |
|
Richard Harris
|
e3e3ad9be0
|
disable validation with magic comments
|
2019-08-04 10:58:43 -04:00 |
|
Richard Harris
|
46cd6ff370
|
disallow global references to $$-prefixed vars
|
2019-08-04 09:22:14 -04:00 |
|
Richard Harris
|
4c8f3a296c
|
throw error if $ is referenced as global - fixes #3272
|
2019-08-03 21:19:40 -04:00 |
|
Rich Harris
|
cf24dbd6a9
|
Merge pull request #3336 from Conduitry/gh-3274
don't warn when using each index in key
|
2019-08-03 12:30:21 -04:00 |
|
Conduitry
|
c04def9081
|
don't warn when using each index in key (#3274)
|
2019-08-03 00:30:38 -04:00 |
|
Conduitry
|
276eb8e553
|
fix erroneous a11y warning with input type='image' (#3331)
|
2019-08-02 12:24:07 -04:00 |
|
Rich Harris
|
1fc4b1c867
|
add Error to known globals, declare catch block parameter. fixes #3064
|
2019-06-24 18:09:01 -04:00 |
|
Rich Harris
|
4e8755338a
|
oops
|
2019-06-24 13:34:18 -04:00 |
|
Rich Harris
|
86c5086c54
|
add some docs, rename to textContent and innerHTML
|
2019-06-24 13:00:16 -04:00 |
|
Richard Harris
|
8d25f5da0a
|
Merge branch 'master' of https://github.com/leporo/svelte
|
2019-06-09 17:48:27 -04:00 |
|
Rich Harris
|
1102ff6426
|
support once modifier on component events, fail on others (#2987)
* support once modifier on component events, fail on others. fixes #2654
* appease the gods of typescript
|
2019-06-09 17:34:02 -04:00 |
|
Rich Harris
|
c1960f9ef8
|
Merge branch 'master' into master
|
2019-06-09 16:39:30 -04:00 |
|
James Garbutt
|
caebe0deb8
|
Introduce ESLint to svelte sources (#2958)
* introduce eslint
* add lint npm script
* first eslint run
* use tsc stronger checks for unused vars
* fix strict typescript unused checks
* reintroduce unicode oddities
* revert ordering changes
* revert whitespace changes
* set indent lint rule as error and ignore outliers
* revert some more unicode
* reintroduce scissors unicode again
|
2019-06-09 11:31:28 -04:00 |
|
Vlad Glushchuk
|
450464f014
|
Add bind:text and bind:html support for contenteditable elements
Fixes #310
|
2019-06-06 10:38:45 +02:00 |
|
Emil Tholin
|
3f31223186
|
Add error for missing equals after attribute name
|
2019-05-15 18:11:27 +02:00 |
|
Rich Harris
|
f9a66e558b
|
failing missing-declaration test
|
2019-05-12 14:25:44 -04:00 |
|
Emil Tholin
|
0286dce026
|
Warn on improper use of reactive declarations
|
2019-05-05 15:34:57 +02:00 |
|
Rich Harris
|
78332cf5b0
|
Merge pull request #2664 from EmilTholin/each-block-destructuring-rest
Add support for object-rest in each destructuring
|
2019-05-04 11:34:37 -04:00 |
|
Rich Harris
|
16dbb8f437
|
Merge pull request #2607 from EmilTholin/figcaption_figure_first_element_ancestor
Check if a figcaption's first element ancestor is a figure
|
2019-05-04 11:21:39 -04:00 |
|
Emil Tholin
|
97ee67c08f
|
Add support for object-rest in each destructuring
|
2019-05-03 12:00:16 +02:00 |
|
Emil Tholin
|
6ebd72fc22
|
Check if a figcaption's first element ancestor is a figure
|
2019-04-28 19:15:56 +02:00 |
|
Emil Tholin
|
7ec1bdb712
|
Don't show 'Empty block' warnings for non-existent await branches
|
2019-04-27 21:49:55 +02:00 |
|
Richard Harris
|
cd0f535d83
|
better error for bindings to let: values - fixes #2301
|
2019-04-13 16:12:06 -04:00 |
|
Richard Harris
|
30c8fe0c6e
|
allow reactive declarations without dependencies - fixes #2285
|
2019-04-11 23:29:02 -04:00 |
|
Rich Harris
|
a59cd36a39
|
Merge pull request #2321 from sveltejs/gh-2295
Fix exception and warning for global variables
|
2019-03-27 08:21:48 -04:00 |
|
Conduitry
|
ecd7c6e9aa
|
warn on template references to global variables (#2295)
|
2019-03-26 13:51:44 -04:00 |
|
Conduitry
|
fa79a72348
|
disallow bindings to global variables (#2295)
|
2019-03-26 13:46:28 -04:00 |
|
Rich Harris
|
16106d113d
|
handle foreignObject correctly, default to svg namespace for top-level svg elements - fixes #2298
|
2019-03-26 12:10:41 -04:00 |
|
Richard Harris
|
34c4f79998
|
augment warnings to help people figure out they need to add a <script>
|
2019-03-16 10:19:25 -04:00 |
|
Richard Harris
|
73e45ab483
|
update validate tests
|
2019-03-15 22:44:30 -04:00 |
|
Conduitry
|
a26b276c5e
|
update tests
|
2019-03-15 18:39:02 -04:00 |
|
Rich Harris
|
4541d58798
|
Add a tutorial (#2132)
|
2019-03-10 09:30:29 -04:00 |
|
Richard Harris
|
248f55a574
|
move warnings out of stats
|
2019-02-18 13:54:27 -05:00 |
|
Richard Harris
|
f1d4ff6268
|
remove onwarn option, just use stats.warnings instead
|
2019-02-17 12:42:48 -05:00 |
|
Richard Harris
|
871147260c
|
always warn on empty block - fixes #2042
|
2019-02-17 12:35:17 -05:00 |
|
Rich Harris
|
206a3d0131
|
update tests
|
2019-02-08 09:32:36 -05:00 |
|
Rich Harris
|
687e352209
|
rename .html files to .svelte
|
2019-02-08 08:48:10 -05:00 |
|
Rich Harris
|
f64a661fa5
|
better cyclical dependency detection - fixes #2055
|
2019-02-07 11:11:14 -05:00 |
|
Conduitry
|
a270661d20
|
rename <svelte:meta> to <svelte:options> (#2017)
|
2019-01-29 17:59:40 -05:00 |
|
Conduitry
|
67af1a203e
|
disallow slot as a prop name in inline components (#2019)
|
2019-01-29 11:25:40 -05:00 |
|
Rich Harris
|
b1d919f3f2
|
Overhaul stats — closes #1891
|
2019-01-29 09:10:10 -05:00 |
|
Rich Harris
|
c2e6d1bf0d
|
Better composition — implements https://github.com/sveltejs/rfcs/pull/12
|
2019-01-26 18:53:47 -05:00 |
|
Richard Harris
|
88c674079b
|
always use stats.warn instead of options.onwarn - fixes #1918
|
2018-12-28 22:19:25 -05:00 |
|
Rich Harris
|
48f1f6b4d0
|
implement bind:this
|
2018-12-16 09:26:53 -05:00 |
|
Rich Harris
|
f45e2b70fd
|
Implement reactive assignments (#1839)
This also includes elements of RFCs 2 and 3
|
2018-12-15 19:18:03 -05:00 |
|
Rich Harris
|
b3b95d4ee6
|
disallow passive|preventDefault combo
|
2018-10-28 13:58:43 -04:00 |
|
Rich Harris
|
8ec02b336d
|
disallow once/passive in legacy mode, for now
|
2018-10-28 13:24:09 -04:00 |
|
Rich Harris
|
aa203973e0
|
add some more modifier validation tests
|
2018-10-28 12:33:21 -04:00 |
|
Rich Harris
|
769e03296f
|
merge master -> gh-1088
|
2018-10-28 11:29:08 -04:00 |
|
Rich Harris
|
945134bc81
|
warn on unused helpers - fixes #1704
|
2018-09-15 17:47:16 -04:00 |
|
Rich Harris
|
c52a6f011b
|
dont warn on empty block for nbsp - fixes #1658
|
2018-08-24 08:22:41 -04:00 |
|
Admin
|
7c4b9a5a41
|
Changes stop and prevent to stopPropagation and preventDefault
|
2018-08-11 21:16:42 -05:00 |
|
Rich Harris
|
401a6fea5d
|
handle single identifiers in {@debug} tags
|
2018-08-11 17:18:43 -04:00 |
|
Admin
|
4004a569e1
|
Adds tests for valid and invalid debug tag usage.
|
2018-08-11 00:26:24 -05:00 |
|
Admin
|
adfc0e3e45
|
Adds invalid test for event-modifiers.
|
2018-08-09 22:05:31 -05:00 |
|
Admin
|
a3c71af5c5
|
Changes {@debug _ } to {@debug}
|
2018-08-08 18:21:33 -05:00 |
|
Admin
|
622e7b0190
|
Adds debug all option to debug tag
|
2018-08-08 00:36:52 -05:00 |
|
Admin
|
89412e370e
|
Adds validation for invalid reference names like foo-bar.
|
2018-08-05 00:29:38 -05:00 |
|
Christian Kaisermann
|
19d541ab77
|
Add refs.* to valid event handler callees warning message
|
2018-06-06 14:32:34 -03:00 |
|
Conduitry
|
5e8a8b95e5
|
update some stray references to v1 syntax
|
2018-05-27 15:48:21 -04:00 |
|
Rich Harris
|
94206ca439
|
add animation validation tests
|
2018-05-13 18:43:48 -04:00 |
|
Rich Harris
|
4a67542bec
|
prevent bind:offsetWidth etc on void elements
|
2018-04-30 08:57:50 -04:00 |
|
Rich Harris
|
fe4637305b
|
add validation logic, error on dimension bindings for SVG elements
|
2018-04-29 20:00:02 -04:00 |
|
Rich Harris
|
aaab6853ce
|
support $method(...) calls, and warn on store.method(...)
|
2018-04-18 23:35:22 -04:00 |
|
Rich Harris
|
5a457bfb87
|
rename loc to start, include character info in locations
|
2018-04-16 21:50:57 -04:00 |
|
Rich Harris
|
b9fcc16d68
|
update test
|
2018-04-16 20:53:17 -04:00 |
|
Rich Harris
|
73e83e5571
|
tidy up
|
2018-04-16 00:05:51 -04:00 |
|
Rich Harris
|
cae4dd93bf
|
fix some more tests
|
2018-04-16 00:03:22 -04:00 |
|
Rich Harris
|
39ad124c99
|
update validation tests
|
2018-04-15 23:06:57 -04:00 |
|
Rich Harris
|
1143b0a991
|
remove v1 tests
|
2018-04-15 22:19:05 -04:00 |
|
Rich Harris
|
80e0dceb9a
|
remove validate and Stylesheet from public API
|
2018-04-15 19:57:12 -04:00 |
|
Rich Harris
|
c1573dbf2c
|
implement onstate and onupdate
|
2018-04-15 13:09:59 -04:00 |
|
Rich Harris
|
410f44dced
|
Merge branch 'master' into gh-1197
|
2018-04-15 11:30:48 -04:00 |
|
Rich Harris
|
33afb7e49a
|
add some onstate/onupdate tests
|
2018-04-15 11:30:36 -04:00 |
|
Rich Harris
|
35f4a1f063
|
add codes to errors
|
2018-04-15 10:31:23 -04:00 |
|