Evan You
fe76c166f6
chore: explicitly install jsdom
2023-01-26 22:58:27 +08:00
Evan You
069b345cd2
chore: replace test global types with vitest types
2023-01-26 22:56:13 +08:00
Evan You
28b95daa70
workflow: complete migration from jest to vitest
2023-01-26 22:53:39 +08:00
Evan You
158db33611
wip(vitest-migration): all tests passing
2023-01-26 22:22:43 +08:00
Evan You
4ee0dad0fe
wip(vitest-migration): runtime-dom tests passing + use environmentMatchGlobs
2023-01-26 21:35:50 +08:00
Evan You
a6be280fc3
chore: only wrap during tests
2023-01-26 20:59:30 +08:00
Evan You
7e8f175db7
wip(vitest-migration): runtime-core tests passing
2023-01-26 20:48:47 +08:00
Evan You
e478755c7d
wip(vitest-migration): compat tests passing
2023-01-26 20:24:54 +08:00
Evan You
dca4224c2c
wip(vitest-migration): compiler-ssr tests passing
2023-01-26 16:50:19 +08:00
Evan You
0cd2213e6b
wip(vitest-migration): compiler-sfc tests passing
2023-01-26 16:49:10 +08:00
Evan You
8599242bb4
wip(vitest-migration): compiler-dom tests passing
2023-01-26 16:48:19 +08:00
Evan You
5804406fac
wip(vitest-migration): compiler-core tests passing
2023-01-26 16:20:59 +08:00
Evan You
f0d78e8c8f
wip(vitest-migration): ssr tests passing
2023-01-26 16:18:40 +08:00
Evan You
681775a13c
build: fix build script
2023-01-26 16:11:24 +08:00
Evan You
3db69af53d
wip(vitest-migration): shared tests passing
2023-01-26 15:31:52 +08:00
Evan You
8867bb259a
wip(vitest-migration): reactivity tests passing
2023-01-26 15:25:55 +08:00
Evan You
ab45f6f8a2
build: update build scripts to esm
2023-01-26 14:24:49 +08:00
Evan You
ec4531a6b3
chore: bump vite and esbuild
2023-01-26 13:33:28 +08:00
Evan You
ce064a172b
fix(build): fix cjs re-exports check for compat build
2023-01-21 10:43:51 +08:00
Evan You
fb6ff3e996
fix(build): ensure cjs re-exports can be properly detected when imported from esm
2023-01-20 18:23:57 +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
Anthony Fu
4c6176d1c4
chore: apply format
2023-01-12 13:02:33 +01:00
Anthony Fu
4a16b204be
chore: run format
2023-01-12 12:58:11 +01:00
skirtle
4902354925
dx(runtime-core): warn when expose() is misused ( #7221 )
2023-01-09 15:23:10 +01:00
魏
13dc28aeff
refactor(reactivity): hasOwnProperty add this parameter ( #7233 )
...
hasOwnProperty adds this parameter and delete @ts-ignore
2023-01-09 15:21:32 +01:00
Thorsten Lünborg
cd7c887b75
fix(reactivity): ensure watch(Effect) can run independent of unmounted instance if created in a detatched effectScope ( fix #7319 ) ( #7330 )
...
* fix(reactivity): ensure watch(Effect) can run independent of unmounted instance if created in a detatched effectScope
* test: use separate counters for each watcher to make test more robust
2023-01-09 15:20:21 +01:00
魏
8731852919
test(reactivity): Using toRaw on a raw Array ( #7354 )
2023-01-09 15:19:19 +01:00
yurj26
b7cfa6f539
fix(runtime-dom): style update error when component use shorthand properties ( #7425 )
...
* fix(runtime-dom): style update error when component use shorthand properties
* test(runtime-dom): style update with shorthand properties
2023-01-09 15:16:08 +01:00
Julien Huang
686c829fec
fix(compiler-sfc): allow declaring variables after defineProps ( #7461 )
...
* fix(compiler-sfc): allow declaring variables after defineProps
* test(compiler-sfc): test defineProps in multiple variable declaration
2023-01-09 15:13:58 +01:00
Yue Yang
1fa3d95730
fix(types): add or update referrerpolicy ( #7199 )
2023-01-01 11:44:20 +01:00
白雾三语
c6e5bda27d
fix(customElement): customElement can emit event ( #7296 )
...
close https://github.com/vuejs/core/issues/7293
2022-12-23 22:32:21 +01:00
Brian Nduhiu
fe77e2bdda
chore: update BACKERS.md ( #7140 ) [ci skip]
2022-11-30 19:06:19 -05:00
Brian Nduhiu
92051b74d7
chore: update README.md ( #7139 ) [ci skip]
2022-11-30 19:05:51 -05:00
白雾三语
620327d527
fix(runtime-core): ensure prop type validation warning shows custom class names ( #7198 )
...
* fix(runtime-core):
* fix(runtime-core): update
* fix(runtime-core): update reg
* test(runtime-core): add test case for warnings about prop type mismatches
Co-authored-by: Thorsten Luenborg <t.luenborg@googlemail.com>
2022-11-25 20:52:39 +01:00
Evan You
f3e4f038bf
ci: move chrome cache restore to before pnpm install
2022-11-14 19:23:51 +08:00
Evan You
7b59f2a012
ci: skip chromium download in jobs that do not need it
2022-11-14 19:21:58 +08:00
Evan You
2913bbfdee
chore: add script notes for SFC playgound [ci skip]
2022-11-14 19:14:15 +08:00
CHOYSEN
80a4c3000f
chore(sfc-playground): add README to link to its website ( #6346 ) [ci skip]
2022-11-14 06:12:05 -05:00
Evan You
f0645a9b2f
chore: remove yarn reference
...
close #6709
2022-11-14 19:03:51 +08:00
Evan You
d67c80d12e
chore: bump esbuild
2022-11-14 18:57:56 +08:00
Evan You
bcc76e9395
ci: cache chromium binary
2022-11-14 18:47:08 +08:00
Evan You
6fdea68e96
build: suppress rollup external warnings
2022-11-14 18:35:09 +08:00
Evan You
9d5e30d911
build: bump jest, puppeteer and use official rollup terser plugin
2022-11-14 18:21:58 +08:00
Evan You
b55846f05c
fix(shared): toNumber should only coerce strings
2022-11-14 17:50:56 +08:00
翠 / green
eb2a83283c
fix(types): allow assigning wider SetupContext type ( #2818 )
...
fix #2362
2022-11-14 04:33:29 -05:00
Evan You
588bd44f03
fix(reactivity): track hasOwnProperty
...
fix #2619
close #2621
2022-11-14 17:17:35 +08:00
Evan You
ce363e55a8
chore: fix assertNumber for undefined value
2022-11-14 16:57:44 +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
Evan You
efa2ac54d9
refactor: use Number constructor when coercing array length
2022-11-14 16:10:05 +08:00
三咲智子 Kevin Deng
3427052229
fix(reactivity-transform): prohibit const assignment at compile time ( #6993 )
...
close #6992
2022-11-14 02:54:41 -05:00