Commit Graph

194 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng d282af9430
refactor(compiler-vapor): check reserved prop on compiler only 2024-03-15 22:26:03 +08:00
三咲智子 Kevin Deng b4da5a8da6
feat(runtime-vapor): support v-bind for event 2024-03-14 14:25:54 +08:00
三咲智子 Kevin Deng b4aa5f98d7
Merge remote-tracking branch 'upstream/main' 2024-03-14 14:17:25 +08:00
chenfan d46df6bdb1
perf: add `__NO_SIDE_EFFECTS__` comments (#9053)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-13 21:48:45 +08:00
三咲智子 Kevin Deng 3550765147
refactor: add isVaporReservedProp 2024-02-10 14:41:51 +08:00
三咲智子 Kevin Deng 736db791a4
Merge remote-tracking branch 'upstream/main' 2024-01-19 16:29:21 +08:00
Evan You 81d307a1e9 refactor: use shared isAttrRenderable logic between ssr and hydration 2024-01-18 11:23:59 +08:00
Rizumu Ayaka a82d070890
Merge remote-tracking branch 'upstream/minor' 2023-12-29 21:03:21 +08:00
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
三咲智子 Kevin Deng 597eae423b
Merge remote-tracking branch 'upstream/minor' 2023-12-16 16:12:55 +08:00
Divyansh Singh ebd78d2c99
fix(mathml): update known mathML tags (#9829) 2023-12-14 22:08:55 +08:00
Evan You 982a145d38 chore: Merge branch 'main' into minor 2023-12-11 22:03:28 +08:00
丶远方 0d61b429ec
fix(types): add `xmlns:xlink` to `SVGAttributes` (#9300)
close #9299
2023-12-08 22:16:25 +08:00
Fabian Gündel d42b6ba3f5
feat: MathML support (#7836)
close #7820
2023-12-08 18:25:01 +08:00
agoni1212 2744a09f3a
chore: typo (#9767) 2023-12-07 13:28:07 +08:00
Evan You 983d45d4f8 fix(shared): handle more Symbol cases in toDisplayString 2023-12-07 10:40:27 +08:00
Carlos Rodrigues 364821d6bd
fix(shared): handle Map with symbol keys in toDisplayString (#9731)
close #9727
2023-12-07 10:33:48 +08:00
三咲智子 Kevin Deng 41a7079493
refactor: extract Data 2023-12-07 01:55:00 +08:00
Evan You e12b10ac3e chore: Merge branch 'main' into minor 2023-12-04 23:17:41 +08:00
Evan You 38aaa8c886 perf: optimize on* prop check 2023-11-30 17:52:51 +08:00
Eduardo San Martin Morote bcca475dbc
feat(compiler-core): support accessing Error as global in template expressions (#7018) 2023-11-30 16:39:40 +08:00
ZHAO Jin-Xiang fff7b864f4
feat: use enum to replace const enum (#9261)
close #1228
2023-11-29 12:24:50 +08:00
Evan You ae6fba9495 perf: optimize makeMap 2023-11-25 16:18:29 +08:00
renovate[bot] 16a6438236
chore(deps): update lint (#9627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-18 10:33:24 +08:00
Evan You 364f319d21 fix(hydration): force hydration for v-bind with .prop modifier
ref #7490
2023-11-10 13:13:07 +08:00
Evan You 2a2810c716 chore: upgrade to typescript 5.1 2023-07-11 18:44:19 +08:00
丶远方 6a22b1f6c2
fix(types): ensure nextTick return type reflect correct Promise value (#8406) 2023-07-11 17:56:02 +08:00
丶远方 97b6fae6b4
chore(shared): improve isPromise check in accordance with Promise A+ specification (#8506) 2023-07-11 17:41:09 +08:00
qiang eee709081b
refactor(types): improve capitalize types (#6212) 2023-07-09 19:37:32 +08:00
Haoqun Jiang 63dfe8eab4
fix: add isGloballyWhitelisted back, but deprecated (#8556)
Fixes the regression described at https://github.com/vuejs/core/issues/8416#issuecomment-1566583260
2023-06-14 14:02:53 +08:00
Lioness100 6277cb994a
chore: fix typo (#7693) 2023-06-10 17:17:41 +08:00
丶远方 00e0766934
refactor(shared): merge if statements (#8394) 2023-06-10 17:08:02 +08:00
Evan You a95e612b25 chore: rename globals allow list
close #8416
2023-05-26 11:07:13 -05:00
Evan You 91f1c62e63 fix: avoid regex s flag for old browsers
close #8316
2023-05-17 09:23:09 +08:00
Joaquín Sánchez 918ec8a5cb
feat(compiler-dom): treat inert as boolean attribute (#8209)
close #8208
2023-05-02 10:21:19 +08:00
zhangenming fe762247f8
feat: allow accessing console in template (#6508)
close #7939
2023-04-21 15:10:36 +08:00
Evan You 4c9bfd2b99 feat(dx): improve readability of displayed types for props 2023-03-24 15:06:43 +08:00
Evan You 58e5c51149 build: upgrade to TypeScript 5.x 2023-03-23 17:11:35 +08:00
Evan You aac163110f refactor: remove circular dependencies in compiler 2023-03-23 16:30:42 +08:00
白雾三语 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