三咲智子 Kevin Deng
57c9013837
fix(compiler-sfc): only escape parsing-breaking characters in v-bind css var names ( #6816 )
close #6803
3 years ago
白雾三语
2c27556fe5
fix(compiler): avoid namespace collisions when transforming template refs in inline mode ( #6975 )
fix #6964
3 years ago
三咲智子 Kevin Deng
8a882ce0a1
fix(compiler-sfc): handle method shorthand syntax in withDefaults ( #6972 )
fix #6971
3 years ago
白雾三语
5bfe438ef3
fix(compiler-core/v-on): only apply case preservation on native elements ( #6902 )
fix #6900
3 years ago
三咲智子 Kevin Deng
910fa7677f
fix(compiler-sfc): resolve computed object key ( #6963 )
3 years ago
三咲智子 Kevin Deng
7663a79a29
fix(reactivity-transform): respect user defined symbols that conflict with macros ( #6840 )
closes #6838
3 years ago
Johnson Chu
bad3f3ce46
fix(types): stricter type condition for `EventHandlers` ( #6855 )
fix #6899
3 years ago
Evan You
dd3354c4c7
fix(compiler-core): fix parsing error on comments between v-if in prod
close #6843
3 years ago
被雨水过滤的空气(Rairn)
64e6d9221d
fix(transition/keep-alive): fix unmount bug for component with out-in transition ( #6839 )
fix #6835
3 years ago
Rudy
48876182db
fix(compiler-core): keep whitespaces between interpolation and comment ( #6828 )
fix #6352
3 years ago
Evan You
6861d2380b
refactor(compiler-sfc): optimize import alias check for binding analysis
3 years ago
Evan You
8d1f526174
fix(compiler-sfc): fix binding analysis for aliased late import
3 years ago
三咲智子 Kevin Deng
4a00fddfed
fix(compiler-sfc): check import source during binding analysation ( #6826 )
fix #6825
3 years ago
三咲智子 Kevin Deng
fdc5902cce
fix(types/reactivity-transform): fix type when initial value is not used ( #6821 )
fix #6820
3 years ago
Evan You
9906e3a82a
chore: remove blank line [ci skip]
3 years ago
花果山大圣
bdaf83aae7
fix(hmr): fix hmr for components managed by keep-alive ( #6809 )
fix #6222
3 years ago
Evan You
4c3203b9b7
chore: run prettier
3 years ago
三咲智子 Kevin Deng
e049772247
workflow(sfc-playground): set all scopes to production mode ( #6815 )
3 years ago
Rudy
e4de623ea7
fix(types): support inferring injected properties in options api ( #6804 )
close #3031
close #5931
3 years ago
Rudy
50e2253057
fix(compiler/runtime-dom): ignore comments in inline styles ( #6808 )
fix #6807
3 years ago
Evan You
1c292e19af
chore: fix snapshot
3 years ago
花果山大圣
a0c7f271a2
fix(compiler-sfc): require <template> or <script> in SFC ( #6781 )
fix #6676
3 years ago
三咲智子 Kevin Deng
9768949ce0
fix(shared): fix parsing of multi-line inline style ( #6777 )
3 years ago
花果山大圣
99b6697fb4
fix(compiler-sfc): fix macro usage in multi-variable declaration ( #6778 )
fix #6757
3 years ago
Travis
bcfe480d75
fix(compiler-core/v-on): support inline handler with return type annotation ( #6769 )
fix #6378
3 years ago
被雨水过滤的空气(Rairn)
640cfce4ff
fix(compiler-core): avoid duplicate keys in codegen with `v-if` ( #6689 )
fix #6641
3 years ago
Evan You
f55cfe6d3b
chore: prettier
3 years ago
littleboarx
168c857247
fix(sfc/types): improve the type inference using withDefaults ( #6764 )
fix #6552
3 years ago
btea
79e7c1ee43
fix(ssr): remove css number value check ( #6636 )
Previously this prevented custom properties and vendor-prefixed properties to be rendered correctly.
fix #6625
3 years ago
Cédric Exbrayat
04553786e4
fix(runtime-core): do not throw on unknown directives ( #6671 )
fix #6340
This commit improves the case when a directive is not found in a template.
As `resolveDirective` returns `undefined`, some code was failing with the following error:
```
TypeError: Cannot read properties of undefined (reading 'deep')
```
3 years ago
三咲智子 Kevin Deng
b72a4af38a
fix(compiler-sfc): add semicolon after `defineProps` statement ( #6461 )
fix #6428
3 years ago
三咲智子 Kevin Deng
97aadd8290
types: use actual type for script block ASTs ( #6457 )
3 years ago
三咲智子 Kevin Deng
e9172db68b
fix(types): export `Raw` type ( #6380 )
fix #7048
3 years ago
三咲智子 Kevin Deng
c4f213b425
fix(reactivity-transform): add semicolon after statements ( #6303 )
3 years ago
Thorsten Lünborg
f67bb500b6
fix(runtime-dom): ensure customElement handles empty props correctly. ( #6182 )
fix Scoped attribute in Vue file affects the use of web component #6163,#6895
3 years ago
HakimLu
3bed82be32
fix:spell checker ( #6982 )
Co-authored-by: hakim <hakim.lu@yunlsp.com>
3 years ago
三咲智子 (Kevin)
bbb66d7ac7
ci: check prettier format ( #6830 )
3 years ago
webfansplz
0e0976168f
fix(ssr/watch) flush: sync watchers should work in ssr ( #6139 )
fix #6013
3 years ago
Julian Meinking
32b51249bf
fix(runtime-core): `in` operator returning `false` for built-in instance properties in `exposeProxy` ( #6138 )
fix #6137
3 years ago
shadowings-zy
018b850399
fix(v-model): fix trim modifier on events with non-string args ( ( #5770 )
fix #5765
3 years ago
Evan You
bb06819d83
chore: fix snapshot
3 years ago
webfansplz
41d9c47300
fix(types): `$watch` callback parameters type ( #6136 )
fix #6135
3 years ago
ygj6
eab76046e3
fix(compiler-sfc): allow type annotation for defineEmits variable ( #5394 )
fix #5393
3 years ago
nandi95
506a42a9a5
types(runtime-core): added `ComponentCustomProperties` type to `globalProperties` ( #5389 )
3 years ago
edison
83f7e6f8a6
fix(compiler-sfc): support using extends interface with defineProps() ( #4512 )
fix #4498
3 years ago
webfansplz
183e4e6152
refactor(types): use template literal types insteads of any ( #4166 )
3 years ago
HeYunfei
e816812f10
fix(types): should unwrap tuple correctly ( #3820 )
fix #3819
3 years ago
Evan You
09bb3e996e
fix(compiler-ssr): fix invalid codegen when v-slot name is explicit empty attr ( #3326 )
squashed from fix by @tjk
3 years ago
Evan You
d9de6caecd
refactor: move toNumber call out of loop
3 years ago
Carlos Rodrigues
8e792d93a8
types(h): Support passing `props` to `Component` when using `h` ( #3219 )
3 years ago