Joseph Anglada
1129d18448
refactor: reduce if-else nesting, coalesce conditions ( #9060 )
6 years ago
hugoazevedosoares
97086f3658
fix(types): fix vm.$once argument type ( #8995 )
vm.$once should accept an event or array of events as first parameter.
fix #8983
6 years ago
thenickname
76443803e8
Typings: Improve $slots and $scopedSlots type to prevent unchecked access to undefined ( #8946 )
* fix(types): Declare $scopedSlots as potentially undefined to enable stricter TS checks
* fix(types): Fix tests
* fix(types): declare $slots option as potentially undefined
declare $slots option as potentially undefined to enable stricter TS checks
6 years ago
Kaoru Hagihara
3cd4af4af0
fix(types): support typing $el as SVGElement ( #8809 )
6 years ago
nel215
0ba79e2588
fix(types): accept `number` type as key on Vue.set/delete ( #8707 ) ( #8709 )
6 years ago
st-sloth
ac217d2472
fix(types): fix `renderError`arguments type ( #8636 )
fix #8635
6 years ago
狼族小狈
c711ec189a
fix(types): support chain call for Vue.use and Vue.mixin ( #8595 )
6 years ago
Alexey Tirman
613cb52bf3
polish: improve invalid method warning with type info ( #8974 )
close #8017
6 years ago
Kael
a7658e03a1
fix(data): skip recursive call if values are identical ( #8967 )
6 years ago
Jovino Xu
05001e695e
fix(compiler): should keep newline after unary tags in <pre> ( #8965 )
fix #8950
6 years ago
Daniel Santana Rocha
2bb3199da7
polish: warn duplicate keys when patching children into empty node ( #8881 )
close #8832
6 years ago
GU Yiling
758524134e
fix: v-bind object should be overridable with kebab-cased props ( #8845 )
In addition .sync should generate camelCased event name
6 years ago
Kael
80f17fa498
fix(core): skip mixins and extends if child is already merged ( #8870 )
fix #8865
6 years ago
Sultan Iman
374861f72b
refactor: remove redundant ternary ( #8848 )
6 years ago
Evan You
e29fbad0ac
chore: fix lint
6 years ago
Matt Lavallee
2e472c5e5e
fix(component): clean up memory leak after loading async component completes ( fix #8740 ) ( #8755 )
* fix(component): clean up memory leak after loading async component completes
* fix(async component): accounting for async components with loading property
* refactor(component): simplifying memory cleanup logic
6 years ago
HcySunYang
5f6ef15fb2
polish: warn sequential index on <transition-group> ( #8748 )
6 years ago
Clark Du
5624278fbe
fix(ssr): check js assets more accurate in ssr webpack plugin ( #8639 )
6 years ago
Rahul Kadyan
4ecc21c29e
feat(devtools): store functional render context on vnode in development ( #8586 )
6 years ago
Adrià Fontcuberta
2686818beb
fix(error handling): handle errors on immediate watcher execution ( #8581 )
The handle callback call should be wrapped in a try/catch that explicitly calls handleError
fix #8567
6 years ago
Evan You
7b7164c11c
fix(v-model): avoid duplicate model transforms
This happens when a component directly passes down its own data object
to a child component. Fix #8436 .
6 years ago
william-pan
69730fac8f
chore: update badge for Vue CLI 3 ( #8640 )
6 years ago
Evan You
6cc070063b
chore: update sponsors
6 years ago
Evan You
1762a66204
chore: update sponsors
6 years ago
Evan You
3d220a65de
chore: update sponsors
6 years ago
Evan You
0008e0c5cf
chore: update sponsors
6 years ago
X.L
d483a49c86
fix(compiler): normalize potential functional component children in v-for ( #8558 )
fix #8468
6 years ago
Phablulo Joel
59d4351ad8
fix(transition): handle local-formatted floats in toMs function. ( #8495 )
fix #4894
6 years ago
阿林
8c2674ea6a
refactor: remove unnecessary judgment ( #8493 )
6 years ago
HcySunYang
eb604529c6
fix: support modifier combination of click.right + .once ( #8492 )
6 years ago
Evan You
002acbe678
refactor(codegen): only generate pre data for possible components
6 years ago
Haoqun Jiang
0b16927c9d
fix(transition): check existence of `el.parentNode` ( #8422 )
fix #8199
* fix(transition): check existence of `el.parentNode`
If the new parentNode gets a `textContent` or `innerHTML` property during
patching, the `transition` node would have been detached early, which means
`el.parentNode` no longer exists.
* fix(vdom): should not reuse nodes with `textContent` / `innerHTML` props
6 years ago
Haoqun Jiang
8f04135dba
fix(parser): allow CRLFs in string interpolations ( #8408 )
fix #8103
6 years ago
Haoqun Jiang
a64ff1957c
fix(lifecycle): updated should not be called after component being destroyed ( #8381 )
fix #8076
6 years ago
Haoqun Jiang
a71853bfc5
fix(v-pre): skip compiling custom component tags in v-pre blocks ( fix #8286 ) ( #8376 )
6 years ago
Vladimir Verstov
504d5da7ef
fix(transition): transition-group should only listen for first-level children's end events ( #8374 )
6 years ago
淼淼真人
96b833bc5d
refactor: remove unnecessary code in html-parser.js ( #8359 )
6 years ago
X.L
6eaf56e28d
refactor: keep single source of truth ( #8334 )
6 years ago
Sam Lichlyter
5489339a30
refactor(core): Replace "var" ( #8299 )
Replaces instances of "var" with "let" and "const" where applicable using the eslint 'no-var' and
'prefer-const' rules
6 years ago
Alex Ivasyuv
5cfdf1a248
fix: handle undefined style properties in jsdom ( fix #7444 ) ( #8281 )
6 years ago
yongningfu
038ed86967
polish(compiler): remove the extra space of v-for alias ( #8233 )
6 years ago
Kael
bfd722bb5d
types: add refInFor to VNodeData ( #8229 )
6 years ago
Eduardo San Martin Morote
952ae33290
polish: warn when an existing property starting with $ is not pro… ( #8214 )
6 years ago
Eduardo San Martin Morote
496635e7c9
types: add model option to functional components ( #8212 )
Closes #8210
6 years ago
Zev Goldstein
bf2e2ed159
types: allow functional components to return multiple VNodes ( #8192 )
close #8191
6 years ago
Herrington Darkholme
46b8d2c59d
fix(server): use path.posix.join to generate public path ( #8177 )
fix #8167
6 years ago
Kevin Ball
ecac831691
fix(compiler): templates inside v-pre should be rendered to HTML ( #8146 )
close #8041
6 years ago
DongGyu Lee
61c32cc673
Fix: block unnecessary input event on input tag placeholder in IE ( #8140 )
6 years ago
Evan You
e9fc04ba50
test: fix assertion
6 years ago
Jovino Xu
aef2a5f3db
fix(compiler): maybeComponent should return true when "is" attribute exists ( #8114 )
close #8101
6 years ago