白雾三语
bef85e7975
fix(shared): `feDistanceLight` changed to `feDistantLight` ( #7540 )
...
close https://github.com/vuejs/core/issues/7535
2023-01-16 09:46:56 +01:00
Evan You
b55846f05c
fix(shared): toNumber should only coerce strings
2022-11-14 17:50:56 +08:00
Evan You
7d0c63ff43
fix(custom-elements): use strict number casting
...
close #4946
close #2598
close #2604
This commit also refactors internal usage of previous loose
implementation of `toNumber` to the stricter version where applicable.
Use of `looseToNumber` is preserved for `v-model.number` modifier to
ensure backwards compatibility and consistency with Vue 2 behavior.
2022-11-14 16:20:12 +08:00
Tamay Eser Uysal
7443174e2a
fix(compiler): add `hgroup` to supported `HTML_TAGS` ( #6321 )
...
close #6313
2022-11-13 20:28:56 -05:00
webfansplz
0187f998f7
chore(runtime-core): add `isRegExp` to check `RegExp` ( #6041 )
2022-11-13 20:14:28 -05:00
Rudy
50e2253057
fix(compiler/runtime-dom): ignore comments in inline styles ( #6808 )
...
fix #6807
2022-11-07 22:42:32 -05:00
三咲智子 Kevin Deng
9768949ce0
fix(shared): fix parsing of multi-line inline style ( #6777 )
2022-11-07 22:17:50 -05:00
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
2022-11-07 21:53:44 -05:00
HakimLu
3bed82be32
fix:spell checker ( #6982 )
...
Co-authored-by: hakim <hakim.lu@yunlsp.com>
2022-10-28 09:29:30 +02:00
引证
cbc3e67c37
types(shared): Improve LooseRequired<T> ( #6244 )
2022-10-26 03:01:37 -04:00
webfansplz
a9e3fa4e21
refactor(types): improve of type assertion ( #4177 )
...
Co-authored-by: webfansplz <>
2022-10-03 16:37:54 +08:00
Anthony Fu
534593cfa8
chore: format
2022-10-03 15:30:43 +08:00
Vanilla
eef14471b2
fix(shared): improve isDate check ( #5803 )
2022-05-13 04:17:31 -04:00
edison
242914d938
fix(reactivity-transform): fix props access codegen for non-identifier prop names ( #5436 )
...
fix #5425
2022-05-12 22:38:46 -04:00
Cédric Exbrayat
9ecee16f89
chore: add no-debugger eslint rule ( #5906 )
2022-05-12 19:10:00 -04:00
Dongcai Huang
109453f2ba
chore: add explaination about the utility type IfAny<T, Y, N> ( #5862 ) [ci skip]
2022-05-11 21:39:06 -04:00
netcon
0aeb4bc9bf
fix(shared): missed Symbol judge in looseEqual ( #3553 )
2022-05-09 22:15:26 -04:00
Evan You
60cf175d88
feat(ssr): support custom directive getSSRProps in optimized compilation
...
close #5304
2022-02-04 08:58:31 +08:00
Evan You
bb43704b64
chore: check string first in toDisplayString
2022-01-30 18:50:28 +08:00
Evan You
b2bac9fa17
chore: comment dom tag config usage [ci skip]
2022-01-21 14:31:00 +08:00
Evan You
6cfd72e760
refactor: move type utils to shared
2022-01-16 15:47:00 +08:00
Evan You
50f13278f9
chore: avoid api-extractor warnings
2021-12-12 00:14:25 +08:00
Evan You
41c18effea
feat: support ref in v-for, remove compat deprecation warnings
2021-12-10 23:49:01 +08:00
Che Guevara
6bcb7a5ea3
chore: remove deprecated usage of String.prototype.substr ( #4699 )
2021-10-08 12:31:34 -04:00
Evan You
646e694f0a
chore: remove babelParserDefaultPlugins
...
The version of @babel/parser we are using now has these plugins enabled by default.
2021-10-07 19:33:06 -04:00
Evan You
73f8cae465
refactor(compiler): further extract babel ast utilities
2021-08-22 14:51:16 -04:00
Evan You
62f752552a
refactor(compiler): extract shared ast transform utils
...
Also improve referenced identifier check using isReferenced from @babel/types
2021-08-22 13:24:16 -04:00
skirtle
620a69b871
fix(runtime-dom): consistently remove boolean attributes for falsy values ( #4348 )
2021-08-16 18:18:36 -04:00
edison
42a334e12e
fix(shared): fix toDisplayString on object with null prototype ( #4335 )
...
fix #4334
2021-08-16 15:28:34 -04:00
Evan You
2641422aa7
fix(compiler-dom): stringify eligible svg content
...
fix #4282
2021-08-09 14:39:50 -04:00
Roan Kattouw
9d5fd33d6d
fix(shared): support custom .toString() in text interpolation again ( #4210 )
...
fix #3944
2021-07-29 10:51:03 -04:00
Evan You
f994b974c0
feat: unwrap refs in toDisplayString
2021-07-27 18:42:30 -04:00
Evan You
47f488350c
chore: run updated prettier
2021-07-19 18:24:18 -04:00
Homyee King
65f82ce94f
chore(shared): remove extra NaN logic ( #3837 )
2021-07-19 17:22:21 -04:00
webfansplz
d868d5ffa7
chore(shared): remove deprecated html tags ( #4130 )
2021-07-19 11:30:43 -04:00
Evan You
cac6ab5bdb
chore: fix type issue
2021-07-19 11:11:17 -04:00
Evan You
47ba33e27b
refactor: improve the fix for #4138
2021-07-19 10:43:14 -04:00
Evan You
a8c3a8ad61
fix(shared): normalizeStyle should handle strings
...
fix #4138
2021-07-19 10:37:12 -04:00
HcySunYang
ceff89905b
perf: improve VNode creation performance with compiler hints ( #3334 )
2021-07-16 14:30:49 -04:00
Austin Keener
e00aa56658
fix(compiler): Addressed infinite loop in compiler ( #3992 )
...
close #3987
2021-07-15 14:57:47 -04:00
edison
8c57b9131d
chore(types): use NormalizedStyle for consistency ( #2590 )
2021-04-01 11:29:24 +08:00
Evan You
180310cbe9
refactor(runtime-dom): avoid form attribtue tag check
...
the tag check while technically stricter, is not really necessary
and introduces too much weight
2021-02-24 15:06:51 -05:00
Albert Kaaman
4b551420fc
fix: remove superfluous spaces when normalizing class ( #3083 )
...
Co-authored-by: Jacek Karczmarczyk <jkarczm@gmail.com>
2021-02-04 14:41:46 +01:00
edison
c9f94fa3cf
feat(compiler-core): support `BigInt` in template ( #2900 )
2021-02-03 19:28:46 +01:00
luwuer
f262438073
fix(runtime-dom): enable set form attr to null on form-elements ( #2840 ) ( #2849 )
...
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
Co-authored-by: Thorsten Lünborg <t.luenborg@googlemail.com>
2021-02-03 19:11:09 +01:00
童欧巴
df48fc225a
chore: fix file path in comments ( #2709 ) [ci skip]
2020-12-03 12:27:03 -05:00
Evan You
e41b46c396
chore: annotate generated slot flag
2020-11-30 15:19:32 -05:00
Evan You
3bc2914e32
fix(attr-fallthrough): ensure consistent attr fallthrough for root fragments with comments
...
fix #2549
2020-11-27 18:04:26 -05:00
被雨水过滤的空气
edd49dcab4
fix(runtime-core): avoid mutating EMPTY_ARR when setting dev root ( #2419 )
...
also freeze EMPTY_ARR in dev
fix #2413
2020-10-19 18:08:54 -04:00
ᴜɴвʏтᴇ
052a621762
feat(compile-core): handle falsy dynamic args for v-on and v-bind ( #2393 )
...
fix #2388
2020-10-19 17:15:53 -04:00