File tree 7 files changed +10
-9
lines changed
dev-warning-missing-data-computed
7 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 4
4
5
5
* Disallow two-way binding to a variable declared by an ` {#await} ` block ([ #4012 ] ( https://github.com/sveltejs/svelte/issues/4012 ) )
6
6
* Allow access to ` let: ` variables in sibling attributes on slot root ([ #4173 ] ( https://github.com/sveltejs/svelte/issues/4173 ) )
7
+ * Fix code generation for ` await ` ed expressions that need parentheses ([ #4267 ] ( https://github.com/sveltejs/svelte/issues/4267 ) )
7
8
* Add some more known globals ([ #4276 ] ( https://github.com/sveltejs/svelte/pull/4276 ) )
8
9
* Correctly apply event modifiers to ` <svelte:body> ` events ([ #4278 ] ( https://github.com/sveltejs/svelte/issues/4278 ) )
9
10
Original file line number Diff line number Diff line change 70
70
"acorn" : " ^7.1.0" ,
71
71
"agadoo" : " ^1.1.0" ,
72
72
"c8" : " ^5.0.1" ,
73
- "code-red" : " 0.0.28 " ,
73
+ "code-red" : " 0.0.30 " ,
74
74
"codecov" : " ^3.5.0" ,
75
75
"css-tree" : " 1.0.0-alpha22" ,
76
76
"eslint" : " ^6.3.0" ,
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ class Component extends SvelteComponentDev {
103
103
} ) ;
104
104
105
105
const { ctx } = this . $$ ;
106
- const props = options . props || ( { } ) ;
106
+ const props = options . props || { } ;
107
107
108
108
if ( /*name*/ ctx [ 0 ] === undefined && ! ( "name" in props ) ) {
109
109
console . warn ( "<Component> was created without expected prop 'name'" ) ;
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ class Component extends SvelteComponentDev {
210
210
} ) ;
211
211
212
212
const { ctx } = this . $$ ;
213
- const props = options . props || ( { } ) ;
213
+ const props = options . props || { } ;
214
214
215
215
if ( /*things*/ ctx [ 0 ] === undefined && ! ( "things" in props ) ) {
216
216
console . warn ( "<Component> was created without expected prop 'things'" ) ;
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ class Component extends SvelteComponentDev {
198
198
} ) ;
199
199
200
200
const { ctx } = this . $$ ;
201
- const props = options . props || ( { } ) ;
201
+ const props = options . props || { } ;
202
202
203
203
if ( /*things*/ ctx [ 0 ] === undefined && ! ( "things" in props ) ) {
204
204
console . warn ( "<Component> was created without expected prop 'things'" ) ;
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ class Component extends SvelteComponentDev {
107
107
} ) ;
108
108
109
109
const { ctx } = this . $$ ;
110
- const props = options . props || ( { } ) ;
110
+ const props = options . props || { } ;
111
111
112
112
if ( /*foo*/ ctx [ 0 ] === undefined && ! ( "foo" in props ) ) {
113
113
console . warn ( "<Component> was created without expected prop 'foo'" ) ;
You can’t perform that action at this time.
0 commit comments