AjiTae
fa1f81e910
fix(props): support BigInt in props type validation ( #11191 )
4 years ago
shadowings-zy
c42b7066ca
fix(compiler): Allow BigInt usage in templates ( #11152 )
4 years ago
Mohammad Albakri
69401311f4
fix(warn): better message with no constructors props ( #9241 )
Co-authored-by: Siddhesh Mhadnak <siddhesh.mhadnak@outlook.com>
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
4 years ago
Des Preston
55a30cf9db
fix(compiler): avoid converting &nbps; to spaces ( #11065 )
4 years ago
Andrzej Swaton
3d46692ee4
feat(warns): avoid warning native modifiers on dynamic components ( #11052 )
Co-authored-by: Andrzej Swaton <andrzej@diligen.com>
4 years ago
Alex Addams
0664cb0143
fix(v-pre): do not alter attributes ( #10088 )
* fix(v-pre): do not alter attributes
close #10087
* fix(v-pre): do not alter attributes
remove component and replace option from unit test
* refactor: use or
* perf: check boolean before index
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
4 years ago
Des Preston
862070662d
fix(compiler): event handlers with modifiers swallowing arguments ( fix #10867 ) ( #10958 )
Pass full parent argument list to the event handler when there are event
modifiers present.
4 years ago
Daniel Jun Suguimoto
b8bd149d8a
fix(ssr): textarea keeps undefined/null values ( #11121 )
* fix(ssr): textarea keeps undefined/null values
* refactor(ssr): Code review changes for null values in textareas
4 years ago
DSha
67825c24bc
fix(parser): allow multiple slots with new syntax ( #9785 )
* fix(#9781 ): non greedy `dynamicArgAttribute` RegExp
* test(parser): add test case for multiple dynamic slot names
* test: add test with value
Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
4 years ago
Eduardo San Martin Morote
abb5ef35dd
fix(props): correctly warn when a provided prop is Symbol ( #10529 )
* fix(props): correctly warn when a provided prop is Symbol
Fixes #10519
* style: space before parens
4 years ago
warmsocks
8ead9d2a0d
chore: spelling and grammar ( #11481 )
Co-authored-by: Shaun Case <shaunc@aja.com>
4 years ago
hareku
841bb084ca
chore: fix typo in element test ( #11085 )
5 years ago
GU Yiling
569b728ab1
fix: fix function expression regex ( #9922 )
fix #9920
6 years ago
X.L
085d188379
fix(compiler): Remove the warning for valid v-slot value ( #9917 )
6 years ago
Natalia Tepluhina
861aea1661
polish: add warning when .native modifier is used on native HTML elements ( #9884 )
6 years ago
zrh122
bd6cea0973
test: fix running e2e test on windows ( #9909 )
6 years ago
Alexander Schwartz
02d21c265c
fix(core): cleanup timeouts for async components ( #9649 )
close #9648
6 years ago
Evan You
ebc1893fac
fix(slots): fix slots not updating when passing down normal slots as $scopedSlots
fix #9699
6 years ago
GU Yiling
3433ba5bee
fix(codegen): support named function expression in v-on ( #9709 )
fix #9707
6 years ago
GU Yiling
f1bdd7ff9d
fix(compiler): whitespace: 'condense' should honor pre tag as well ( #9660 )
6 years ago
DSha
4de4649d96
fix(transition): fix appear check for transition wrapper components ( #9668 )
6 years ago
Evan You
7186940143
fix: should not swallow user catch on rejected promise in methods
fix #9694
6 years ago
krystal
8082d2f910
fix(ssr): fix nested async functional componet rendering ( #9673 )
fix #9643
6 years ago
Decade
2747a65765
test: remove unused code ( #9684 )
6 years ago
Evan You
781c70514e
fix: should use fallback for scoped slots with single falsy v-if
fix #9658
6 years ago
Evan You
9313cf9174
fix: should consider presence of normal slots when caching normalized scoped slots
fix #9644
6 years ago
GU Yiling
0b57380f10
fix: v-bind object should be overridable by single bindings ( #9653 )
fix #9641
6 years ago
Jason
cbad54aa52
fix(compiler): set end location for incomplete elements ( #9598 )
6 years ago
Luxiaosong
1574ade607
test: Add a unit test for "$off event and this event added by $once" ( #9550 )
6 years ago
Evan You
38825ff675
test: add a test case for ssr max stack size limit
6 years ago
Evan You
03c13de38e
refactor: remove unncessary condition
6 years ago
DSha
060c3b98ef
fix: fix modifier parsing for dynamic argument with deep path ( #9585 )
fix #9577
6 years ago
Evan You
173042bb8e
refactor: improve test case
6 years ago
DSha
2f3020e9cc
fix( #9511 ): avoid promise catch multiple times ( #9526 )
* fix(#9511 ): avoid promise catch multiple times
* fix(#9511 ): add a test case for util/error/invokeWithErrorHandling
* fix(#9511 ): update test case for util/error/invokeWithErrorHandling
6 years ago
Evan You
8a80a23ecb
fix: avoid errors thrown during dom props update
breaking the entire app
fix #9459
6 years ago
Evan You
7ec4627902
fix: ensure generated scoped slot code is compatible with 2.5
fix #9545
6 years ago
Evan You
d9b27a92bd
fix: ensure scoped slots update in conditional branches
close #9534
6 years ago
Evan You
8f004ea44e
fix: scoped slots should update when inside v-for
fix #9506
6 years ago
katashin
ee29e41ef4
fix: avoid possible infinite loop by accessing observables in error handler ( #9489 )
6 years ago
Evan You
29c348f3cf
fix: fix keyCode check for Chrome autofill fake key events
close #9441
6 years ago
Evan You
21fca2fffc
fix: ensure scoped slot containing passed down slot content updates properly
6 years ago
Evan You
e7d49cdcf2
fix: allow passing multiple arguments to scoped slot
fix #9468
Note: the usage is NOT recommended
6 years ago
Evan You
060686d6ea
fix: do not cache scoped slots when mixed with normal slots
6 years ago
Evan You
8a800867fe
fix: new syntax slots without scope should also be exposed on functional slots()
6 years ago
Evan You
0e8560d0fc
fix: expose v-slot slots without scope on this.$slots
fix #9421 , fix #9458
6 years ago
Evan You
57bc80a546
fix: empty scoped slot should return undefined
fix #9452
6 years ago
Evan You
d5ade28652
revert: feat: expose all scoped slots on this.$slots
This reverts commit 0129b0eb12
.
6 years ago
Evan You
96a09aad99
fix(compiler): fix v-bind dynamic arguments on slot outlets
fix #9444
6 years ago
Evan You
4d4d22a3f6
fix: bail out scoped slot optimization when there are nested scopes
fix #9438
6 years ago
Evan You
24b4640c1f
fix: avoid exposing internal flags on $scopedSlots
ref #9443
6 years ago