Commit Graph

4005 Commits

Author SHA1 Message Date
zqran f07cb18fed
fix(types): correct withDefaults return type for boolean prop with undefined default value (#8602) 2023-07-11 18:35:22 +08:00
丶远方 6a22b1f6c2
fix(types): ensure nextTick return type reflect correct Promise value (#8406) 2023-07-11 17:56:02 +08:00
Anthony Fu 438027cf9e
perf: mark `defineComponent` as side-effects-free (#8512) 2023-07-11 17:52:43 +08:00
丶远方 97b6fae6b4
chore(shared): improve isPromise check in accordance with Promise A+ specification (#8506) 2023-07-11 17:41:09 +08:00
zqran 736cf154cc
chore(test): replace deprecated `initEvent` (#8490) 2023-07-11 17:38:32 +08:00
zqran 7c2e44ff5f
test(reactivity): use vitest fn instead of counting manually (#8476) 2023-07-11 17:37:56 +08:00
白雾三语 701fa735fc
dx(compiler-sfc): enhance `:deep` warnings (#8328)
close #8313
2023-07-11 17:36:54 +08:00
白雾三语 140a89b833
fix(teleport): handle target change while disabled (#7837)
close #7835
2023-07-11 17:36:26 +08:00
Kid ceb0732e0b
fix(types/jsx): add `inert` attribute and missing `hidden` values (#8090) 2023-07-11 17:30:01 +08:00
vaakian X 776ebf25b2
fix(compiler-sfc): fix using imported ref as template ref during dev (#7593)
close #7567
2023-07-11 17:26:31 +08:00
edison 201c46df07
fix(ssr): render correct initial selected state for select with v-model (#7432)
close #7392
2023-07-11 17:13:18 +08:00
丶远方 3decc57d0c
chore: remove unnecessary type assertions (#8386) 2023-07-10 18:18:53 +08:00
13b72317c5
refactor(reactivity): use hasChanged to avoid tracking NaN key twice (#7378) 2023-07-10 18:17:26 +08:00
b401243855
chore(types): remove unnecessary @ts-ignore or use @ts-expected-error (#7178) 2023-07-10 18:00:32 +08:00
JayMe DotDot 364dc53c7c
fix(types): support correct types for style on svg elements (#6322) 2023-07-10 17:59:44 +08:00
Innei 68d6b43f7e
fix(types/jsx): add missing loading attr for img element (#6160) 2023-07-10 17:58:53 +08:00
Eavan 381b4977af
fix(compiler-sfc): ignore style v-bind in double slash comments (#5409) 2023-07-10 17:56:26 +08:00
zouhang d6446a6d40
fix(compiler-sfc): pass options directly to stylus (#3848) 2023-07-10 17:52:56 +08:00
zqran 924069891e
test(reactivity): bigint test for non-observable values (#6177) 2023-07-10 17:51:30 +08:00
三咲智子 Kevin Deng 788527e29c
workflow: support custom TS version for playground (#8735) 2023-07-10 00:18:59 +08:00
qiang eee709081b
refactor(types): improve capitalize types (#6212) 2023-07-09 19:37:32 +08:00
OrbisK 7121c925c5
types: update `TextareaHTMLAttributes` and `InputHTMLAttributes` (#6294)
* types: update `TextareaHTMLAttributes` and `InputHTMLAttributes`

add `InputTypeHTMLAttribute` (from `@types/react`) to `InputHTMLAttributes['type' ]`

* chore: format

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-07-09 13:05:18 +08:00
BeADre 5ee992cfea
fix(playground): fix github button style (#7722)
* fix(playground): fix github button style

* style: merge selector

* Update Header.vue

---------

Co-authored-by: GU Yiling <justice360@gmail.com>
2023-07-09 13:04:47 +08:00
Daniel Rosenwasser 516fabb725
fix(types): propagate type parameter constraints for TypeScript 4.8 (#6351)
* fix(types): propagate type parameter constraints for TypeScript 4.8

* fix: add more constraints

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-07-09 13:04:08 +08:00
webfansplz 57afa2236b
chore: fix typo (#8732) [ci skip] 2023-07-09 13:03:30 +08:00
白雾三语 3127c4113e
workflow: add light theme for sfc playground (#8667) 2023-06-28 13:19:32 +08:00
三咲智子 Kevin Deng 9f8e98af89
workflow: upgrade repl, add tsconfig for sfc playground (#8636) 2023-06-24 22:58:24 +08:00
Evan You 124160e417
workflow: upgrade repl, use monaco + volar for sfc playground (#8625) 2023-06-23 09:03:52 +08:00
Evan You ae7453f0f1 chore: use moduleResolution: bundler + shim estree-walker 2023-06-23 08:54:25 +08:00
Evan You d2c3d8b70b perf(compiler-sfc): lazy require typescript 2023-06-15 16:38:44 +08:00
三咲智子 Kevin Deng 6f45f76df2
fix(compiler-sfc): don't registerTS when bundling for browsers (#8582) 2023-06-15 16:35:41 +08:00
Evan You 60cd23c752 chore: bump repl 2023-06-14 19:04:06 +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
Evan You 96c76facb7 fix(transition): handle possible auto value for transition/animation durations
close #8409
2023-06-14 12:12:22 +08:00
三咲智子 Kevin Deng 7cdd13bd1e
chore: fix typo 2023-06-11 11:29:10 +08:00
Lioness100 6277cb994a
chore: fix typo (#7693) 2023-06-10 17:17:41 +08:00
Cédric Exbrayat fd1a3f9599
fix(compiler-sfc): typo in experimental feature warnings (#8513) 2023-06-10 17:17:21 +08:00
Vadim 23c81691d9
chore: fix typo (#7416) 2023-06-10 17:10:20 +08:00
zqran e78c223b30
chore: fix typo (#8392) 2023-06-10 17:09:44 +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
Simon Johansson 020851e57d
fix(ssr): reset current instance if setting up options component errors (#7743)
close #7733
2023-05-19 09:09:21 +08:00
Evan You 372ec35482 chore: mark reactivity transform apis as deprecated 2023-05-19 08:26:44 +08:00
Phentom f0691e4581
chore: typo (#8345) [ci skip] 2023-05-19 07:59:09 +08:00
丶远方 b01fc7ea84
chore: remove unnecessary imports (#8262) 2023-05-19 07:54:12 +08:00
丶远方 3798c5480b
chore: remove unnecessary type assertions (#8311) 2023-05-19 07:49:28 +08:00
丶远方 5ddeb45e82
chore: remove unused imports (#8327) 2023-05-19 07:47:23 +08:00
丶远方 702711e771
chore(compiler-sfc): break in switch statement (#8347) 2023-05-19 07:46:39 +08:00
edison 4fa8da8576
fix(compiler-sfc): support resolve multiple re-export /w same source type name (#8365)
close #8364
2023-05-19 07:45:28 +08:00
Evan You 0e8bbe873e release: v3.3.4 2023-05-18 16:31:03 +08:00