3131 Commits

Author SHA1 Message Date
Cédric Exbrayat
73117f6b5b
fix(runtime-core): allow overriding properties other than props ()
This is useful for testing, as Jest can't spy on an object without `hasOwnProperty`.
VTU can add it, but this commit is needed first.
2021-02-05 19:59:46 +01:00
HcySunYang
48f0d2944f
fix(types): extract the correct props type for the DateConstructor () 2021-02-05 19:56:23 +01:00
Thorsten Lünborg
288ae0a8d9
feat(runtime-core): improve render context warning ()
Co-authored-by: Thorsten Luenborg <t.luneborg@googlemail.com>
2021-02-05 19:55:45 +01:00
Yang Mingshan
01fdbf4b06
types: use non-null assertion instead of explicit type cast () 2021-02-05 19:55:23 +01:00
HcySunYang
347a8798a4
fix(runtime-core): check the DEV_ROOT_FRAGMENT flag correctly in the dev environment () 2021-02-05 19:54:59 +01:00
HcySunYang
2587f36fe3
fix(runtime-core): component methods should override global properties in DEV () 2021-02-05 19:52:40 +01:00
dependabot-preview[bot]
450f8883c3
build(deps-dev): bump @types/node from 14.14.22 to 14.14.25 () 2021-02-05 06:24:00 +00:00
Albert Kaaman
4b551420fc
fix: remove superfluous spaces when normalizing class ()
Co-authored-by: Jacek Karczmarczyk <jkarczm@gmail.com>
2021-02-04 14:41:46 +01:00
Evan You
49bc2e4db5
feat(compiler-sfc): upgrade to postcss 8 () 2021-02-04 14:37:55 +01:00
07akioni
a89d985375
types: focusin & out events () 2021-02-04 14:05:24 +01:00
Yang Mingshan
e109f7b898
chore: remove overloads numbers in comments () 2021-02-04 14:34:40 +08:00
dependabot-preview[bot]
2151fbb102
build(deps): [security] bump ini from 1.3.5 to 1.3.8 ()
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. **This update includes a security fix.**
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-03 19:42:48 +01:00
edison
c9f94fa3cf
feat(compiler-core): support BigInt in template () 2021-02-03 19:28:46 +01:00
HcySunYang
dd02cf37d5
perf(reactivity): should not track __isVue () 2021-02-03 19:28:07 +01:00
underfin
9dc816d634
fix(compiler-sfc): compiler blank srcset ()
fix https://github.com/vitejs/vite/issues/1523
2021-02-03 19:27:34 +01:00
edison
ffd5288545
feat(runtime-core): props type support BigInt () 2021-02-03 19:25:45 +01:00
Cody Mikol
de7f9d1efd
fix(docs): change reference to passed deadline ()
mention we plan to drop the next suffix in early
2021 rather than 2020 since that deadline has
passed.

Fixes N/A
2021-02-03 19:25:26 +01:00
Thorsten Lünborg
6a48d23749
fix: ensure all published packages contan a LICENCE file (close ) ()
close 

Co-authored-by: Thorsten Luenborg <t.luneborg@googlemail.com>
2021-02-03 19:24:47 +01:00
07akioni
4ca4666d58
fix(toRef): ref created from union typed prop can't be used in watch () 2021-02-03 19:12:51 +01:00
HcySunYang
6d5b623512
fix(compiler-sfc): the empty lang attribute should be treated as no lang specified () 2021-02-03 19:11:45 +01:00
luwuer
f262438073
fix(runtime-dom): enable set form attr to null on form-elements () ()
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
Alan Wang
6b0a549725
docs(contributing): missing link to Scripts section ()
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2021-02-03 19:10:47 +01:00
Haoqun Jiang
97d6f1a716
fix: should prefix ShadowRoot with window. ()
Otherwise this expression would throw in environments that does not
support `ShadowRoot` which includes the common mocha testing environment
setup that uses `jsdom` and `jsdom-global`.

It is because `ShadowRoot` is not an enumerable property on `window`,
`jsdom-global` fails to expose it on the `global` object.

See the error message at: https://app.circleci.com/pipelines/github/vuejs/vue-cli/779/workflows/17d7d7c4-7605-4588-878a-ddb3a6d37102/jobs/24147
2021-02-03 19:10:27 +01:00
hiroki
18b0c9a011
docs(type): remove unmount parameters () 2021-02-03 19:09:59 +01:00
Thorsten Lünborg
60e05eff23
fix(runtime-core): ensure app instance can be garbage collected after unmount (close ) ()
close 

Co-authored-by: Thorsten Luenborg <t.luneborg@googlemail.com>
2021-02-03 19:09:20 +01:00
dependabot-preview[bot]
d5cce47789
build(deps-dev): bump rollup from 2.38.3 to 2.38.4 () 2021-02-02 06:14:33 +00:00
dependabot-preview[bot]
5ccfd9d22c
build(deps-dev): bump sass from 1.32.5 to 1.32.6 () 2021-02-02 06:13:49 +00:00
dependabot-preview[bot]
15557c1223
build(deps-dev): bump rollup from 2.38.1 to 2.38.3 () 2021-02-01 07:07:47 +00:00
dependabot-preview[bot]
ab9317aa20
build(deps-dev): bump @rollup/plugin-commonjs from 17.0.0 to 17.1.0 () 2021-02-01 06:58:31 +00:00
dependabot-preview[bot]
b0dc06491e
build(deps-dev): bump @rollup/plugin-node-resolve from 11.1.0 to 11.1.1 () 2021-02-01 06:55:35 +00:00
dependabot-preview[bot]
c69035be87
build(deps-dev): bump ts-jest from 26.4.4 to 26.5.0 () 2021-02-01 06:55:21 +00:00
dependabot-preview[bot]
6cc86bf77c
build(deps-dev): bump eslint from 7.18.0 to 7.19.0 () 2021-02-01 06:52:03 +00:00
Evan You
310cb8cfab chore: fix useSSRContext casing in warning message 2021-01-29 15:03:52 -05:00
Guillaume Chau
4fecb27f86 fix(devtools): send instance to devtools when it's mounted instead of created 2021-01-29 16:48:37 +01:00
dependabot-preview[bot]
d224753ff6
build(deps-dev): bump rollup from 2.38.0 to 2.38.1 () 2021-01-29 06:20:27 +00:00
dependabot-preview[bot]
7f08636900
build(deps-dev): bump @typescript-eslint/parser from 4.14.0 to 4.14.1 () 2021-01-26 06:23:13 +00:00
dependabot-preview[bot]
4d1bc8b800
build(deps-dev): bump rollup from 2.37.1 to 2.38.0 () 2021-01-25 06:35:33 +00:00
dependabot-preview[bot]
c2f4664e0d
build(deps-dev): bump rollup from 2.37.0 to 2.37.1 () 2021-01-21 06:27:47 +00:00
dependabot-preview[bot]
e79feb0aa0
build(deps-dev): bump sass from 1.32.4 to 1.32.5 () 2021-01-20 07:03:33 +00:00
dependabot-preview[bot]
12146d6a52
build(deps-dev): bump fs-extra from 9.0.1 to 9.1.0 () 2021-01-20 07:01:15 +00:00
dependabot-preview[bot]
c52e5d2de4
build(deps-dev): bump @types/node from 14.14.20 to 14.14.22 () 2021-01-20 07:00:58 +00:00
dependabot-preview[bot]
4b0b253028
build(deps-dev): bump @typescript-eslint/parser from 4.13.0 to 4.14.0 () 2021-01-19 06:25:00 +00:00
dependabot-preview[bot]
537b7ec06b
build(deps-dev): bump rollup from 2.36.2 to 2.37.0 () 2021-01-19 06:24:50 +00:00
dependabot-preview[bot]
cc934cd247
build(deps-dev): bump rollup from 2.36.1 to 2.36.2 () 2021-01-18 07:27:04 +00:00
dependabot-preview[bot]
4c1500d49f
build(deps-dev): bump @rollup/plugin-node-resolve from 11.0.1 to 11.1.0 () 2021-01-18 07:18:14 +00:00
dependabot-preview[bot]
6388eceed2
build(deps-dev): bump eslint from 7.17.0 to 7.18.0 () 2021-01-18 07:17:37 +00:00
Evan You
fd16f2bd78 refactor: avoid global scope parentStack 2021-01-15 16:28:55 -05:00
dependabot-preview[bot]
3ea85c1168
build(deps-dev): bump @microsoft/api-extractor from 7.12.1 to 7.13.0 () 2021-01-13 06:37:31 +00:00
dependabot-preview[bot]
13fc8ff9dd
build(deps-dev): bump @typescript-eslint/parser from 4.12.0 to 4.13.0 () 2021-01-12 06:38:47 +00:00
dependabot-preview[bot]
d72225b473
build(deps-dev): bump sass from 1.32.2 to 1.32.4 () 2021-01-12 06:38:37 +00:00