Commit Graph

1155 Commits

Author SHA1 Message Date
Evan You
1de072567d perf(compiler): pre-compute maxCRNameLength for perf 2019-11-16 16:19:47 -05:00
Gabriel Loiácono
2780e0df4c perf(compiler-core): add perf optimization to parseText (#458) 2019-11-15 17:48:01 -05:00
Evan You
353b06df77 perf(compiler): should only perform assertions during tests
Compiler assertions are made to ensure implementation correctness,
but they have performance costs that should not affect users
during development.
2019-11-15 17:29:08 -05:00
Evan You
51d57b4566 perf(compiler): minor perf tweaks 2019-11-15 16:47:55 -05:00
Evan You
4fef8f342a perf(compiler): improve perf of parseTextData 2019-11-15 16:17:52 -05:00
Gabriel Loiácono
96623d0d52 perf(compiler-dom): generate modifiers in a function (#459) 2019-11-15 15:37:02 -05:00
dependabot-preview[bot]
159d58f09b build(deps-dev): bump @microsoft/api-extractor from 7.5.6 to 7.6.0
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.5.6 to 7.6.0.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.5.6...@microsoft/api-extractor_v7.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-15 07:40:35 +00:00
JiZhi
aa6c67ee2e fix(scheduler): warn recursive updates in postFlushCbs as well (#456) 2019-11-14 12:06:23 -05:00
Evan You
4b2610c468 fix: handle empty lines in codeframe 2019-11-14 11:50:16 -05:00
likui
7f6abda6dd feat(compiler-sfc): warn duplicate block (#451) 2019-11-14 11:50:13 -05:00
Cédric Exbrayat
8688acc36f refactor(runtime-dom): avoid unnecessary checks in patchDOMProp (#452) 2019-11-14 11:27:23 -05:00
ztplz
8e8397374c chore: remove useless code (#447) 2019-11-14 11:23:04 -05:00
dependabot-preview[bot]
3092a48183 build(deps-dev): bump lint-staged from 9.4.2 to 9.4.3
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.4.2 to 9.4.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.4.2...v9.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-14 07:34:02 +00:00
dependabot-preview[bot]
88b8863757 build(deps-dev): bump rollup from 1.26.5 to 1.27.0
Bumps [rollup](https://github.com/rollup/rollup) from 1.26.5 to 1.27.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.26.5...v1.27.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-13 07:36:43 +00:00
dependabot-preview[bot]
d8f49ebf3b build(deps-dev): bump @types/jest from 24.0.22 to 24.0.23
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.0.22 to 24.0.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-13 07:35:22 +00:00
Cédric Exbrayat
fe66194a77 feat(vModel): handle true-value and false-value for checkbox (#449) 2019-11-12 16:24:39 -05:00
dependabot-preview[bot]
0ef999bef1 build(deps-dev): bump @microsoft/api-extractor from 7.5.5 to 7.5.6
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.5.5 to 7.5.6.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.5.5...@microsoft/api-extractor_v7.5.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-12 07:29:11 +00:00
dependabot-preview[bot]
39877806ae build(deps-dev): bump rollup from 1.26.3 to 1.26.5
Bumps [rollup](https://github.com/rollup/rollup) from 1.26.3 to 1.26.5.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.26.3...v1.26.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 10:53:48 +00:00
Evan You
08bf9976ae types: ensure props are readonly 2019-11-09 18:40:25 -05:00
Evan You
a5f962ab8e test(types): assert props are readonly 2019-11-09 10:03:58 -05:00
张晨成
f2cdc82be3 chore: fix typo (#439) 2019-11-08 22:41:55 -05:00
likui
9e48c51f07 build: include compiler-sfc in aliases and tsconfig paths (#435) 2019-11-08 22:39:22 -05:00
Evan You
2b2727e62c feat(runtime-dom/style): support CSS variables and auto prefixing 2019-11-08 22:38:04 -05:00
Cr
34e2725e9b feat(runtime-dom): support !important for patchStyle. (#422) 2019-11-08 22:06:53 -05:00
ztplz
3b8566149a chore: improve type (#438) 2019-11-08 21:32:22 -05:00
Evan You
7fa676e55f feat(v-on): adjust key modifier behavior to match 2.x 2019-11-08 17:50:59 -05:00
Evan You
61d8941692 types(reactivity): ref type should not expose _isRef 2019-11-08 13:29:43 -05:00
Carlos Rodrigues
68ad302714 types(reactivity): add support for tuples in ref unwrapping (#436) 2019-11-08 12:52:24 -05:00
QuincyChen
d7d87622ce refactor: use isArray function from shared (#441) 2019-11-08 09:52:24 -05:00
dependabot-preview[bot]
6f9d9e7095 build(deps-dev): bump lerna from 3.18.3 to 3.18.4
Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna) from 3.18.3 to 3.18.4.
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/master/core/lerna/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/v3.18.4/core/lerna)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-08 07:32:46 +00:00
ztplz
bc053f05cd chore: use const instead of let (#437) 2019-11-07 23:35:22 -05:00
Evan You
f178874ace fix(v-model): generate separate modifiers for v-model with args 2019-11-07 09:40:34 -05:00
Carlos Rodrigues
c53ca29ea1 test(reactivity): Add check if the child array gets unwrap (#434) 2019-11-07 09:28:49 -05:00
ztplz
f9fb43f2e2 chore: fix typo (#432) 2019-11-07 09:53:32 +01:00
dependabot-preview[bot]
4f04170ed1 build(deps-dev): bump @microsoft/api-extractor from 7.5.4 to 7.5.5
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.5.4 to 7.5.5.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor-model_v7.5.4...@microsoft/api-extractor_v7.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-07 07:39:39 +00:00
Evan You
afdca88bf3 chore: remove useless type [ci skip] 2019-11-06 22:35:56 -05:00
Evan You
68f28c2667 refactor: rename files 2019-11-06 22:27:19 -05:00
Evan You
7031e6a07a feat: (wip) setup compiler-sfc 2019-11-06 21:58:15 -05:00
Evan You
4b739e3bc0 fix(compiler-core): should not condense whitespace in RAWTEXT mode 2019-11-06 20:52:19 -05:00
Evan You
f8e7fadaae build: disable live external bindings for cjs build 2019-11-06 15:47:01 -05:00
Evan You
3ec63dbee1 build: only remove dist directory when building all formats 2019-11-06 15:23:50 -05:00
Evan You
d7eab51315 refactor: move dom tag config to shared
Otherwise runtime-dom cjs & esm builds will import compiler-dom
2019-11-06 15:22:46 -05:00
Evan You
acbbe3298c refactor: move codeframe to @vue/shared 2019-11-06 15:13:15 -05:00
Evan You
d9c6ff372c feat(core): allow passing explicit refs via props 2019-11-06 12:51:26 -05:00
Evan You
e79c918676 feat(inject): allow usage in functional components 2019-11-06 12:51:26 -05:00
dependabot-preview[bot]
9e03b6896d build(deps-dev): bump @types/jest from 24.0.21 to 24.0.22
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.0.21 to 24.0.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 07:31:14 +00:00
Evan You
645f13c36d build(deps-dev): bump TS to 3.7 2019-11-05 17:37:16 -05:00
Evan You
c61e5463fa feat: warn duplicate plugin installations 2019-11-05 10:49:15 -05:00
Chester
2d5f9b58ac refactor: skip destructuring when use with (#425) 2019-11-05 10:45:04 -05:00
Junyan
a02820d7e0 feat: warn when toRefs() receives non-reactive object (#430) 2019-11-05 10:44:28 -05:00