Commit Graph

824 Commits

Author SHA1 Message Date
dependabot-preview[bot]
c19376e715 build(deps-dev): bump @microsoft/api-extractor from 7.4.6 to 7.4.7
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.4.6 to 7.4.7.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/gulp-core-build-typescript_v7.4.6...@microsoft/gulp-core-build-typescript_v7.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-04 13:07:14 +00:00
Evan You
b61d9652dd chore: shorten option name 2019-10-04 09:03:00 -04:00
Evan You
caccf92721 test: fix vbind tests 2019-10-04 08:38:53 -04:00
Evan You
6059fe69e8 fix(compiler): patchFlag analysis should factor in props returned by directive transforms 2019-10-04 08:37:10 -04:00
Evan You
095f5edf8d feat(compiler): hoist static trees 2019-10-03 23:30:25 -04:00
Evan You
2e2b6924da feat(compiler): v-on inline statement handling 2019-10-03 17:47:00 -04:00
Evan You
3354837ce1 refactor: move transformStyle to compiler-dom 2019-10-03 16:55:14 -04:00
Evan You
c2fc7e3347 feat(compiler): force dynamicSlots flag when inside v-for or v-slot 2019-10-03 16:27:46 -04:00
Evan You
4dea23f79e fix(compiler): exclude BAIL flag in annotations 2019-10-03 15:17:45 -04:00
Evan You
227ad034f0 feat(compiler/slot): bail out of optimization mode for non-compiled slots 2019-10-03 15:09:09 -04:00
Evan You
05db2a9c6c wip(compiler): adjust renderSlot() signature 2019-10-03 14:29:12 -04:00
Evan You
306c22efe1 feat(compiler): mark compiler-generated slots for runtime 2019-10-03 14:08:14 -04:00
Evan You
aa9245d55c feat(compiler): render <slot/> as block fragments 2019-10-03 12:03:14 -04:00
Evan You
fc47029ed3 feat(compiler): support v-for on named slots 2019-10-02 23:10:41 -04:00
Evan You
f401ac6b88 refactor: improve vSlot.ts readability 2019-10-02 18:03:42 -04:00
Evan You
35cb3700b8 build: separate size scripts 2019-10-02 17:45:02 -04:00
Evan You
3d14265102 feat(compiler): handle conditional v-slot 2019-10-02 17:18:11 -04:00
Evan You
e90b83600a test(compiler): tests for RootNode codegen transform 2019-10-02 14:03:28 -04:00
Evan You
24bd6c27e0 feat(compiler): block optimization codegen for RootNode 2019-10-02 13:11:07 -04:00
Evan You
c0bf341748 build: fix dev script 2019-10-02 11:39:00 -04:00
Evan You
776bc73a5a build: improve build script to support multiple targets 2019-10-02 11:19:30 -04:00
Evan You
b33f0ceff1 refactor(compiler): switch to acorn 2019-10-02 11:05:56 -04:00
Evan You
9c9dd73017 chore: fix outdated patchFlag 2019-10-02 10:59:47 -04:00
Evan You
bec01c93bd fix(compiler): v-for fragments should be blocks 2019-10-02 10:47:01 -04:00
Evan You
191db785bd refactor: use global whitelist for render proxy has check 2019-10-02 10:37:06 -04:00
Evan You
d87255ce46 fix(options): data options should preserve original object if possible 2019-10-02 10:03:43 -04:00
Evan You
5ab1d75c39 fix(options): fix renderTriggered option translation 2019-10-02 09:46:29 -04:00
Evan You
fe36555d9e feat(compiler): generate TEXT patchFlag 2019-10-02 00:19:23 -04:00
Evan You
3a95a2f148 fix(compiler): generate correct fragment children when it contains single text node or slot outlet 2019-10-01 23:53:52 -04:00
Evan You
a477594d65 feat(compiler): v-for codegen w/ correct blocks optimization + key flags 2019-10-01 23:19:48 -04:00
Evan You
07955e6c96 test(compiler): tests for v-for codegen w/ block optimization 2019-10-01 21:00:55 -04:00
Evan You
65661b5ec0 test: restructure v-if & v-for tests 2019-10-01 17:58:09 -04:00
Evan You
4fc963bc5a feat(compiler): annotate patchFlags in generated code 2019-10-01 17:53:57 -04:00
Evan You
4021307f4c build: use brotli for checking compressed file sizes 2019-10-01 16:55:04 -04:00
Evan You
e5bc17967d wip(compiler): codegen node w/ block optimization for v-for 2019-10-01 16:48:20 -04:00
Evan You
aa134e7a4f test(compiler): codegen tests for Sequence & Conditional expressions 2019-10-01 15:43:59 -04:00
Evan You
ed111cd37b test(compiler): tests for vIf codegen w/ blocks optimization 2019-10-01 15:05:08 -04:00
Evan You
5de744d4e1 wip(compiler): generate blocks for v-if 2019-10-01 12:25:29 -04:00
Evan You
e31fb3c172 wip: Sequence & Conditional expressions for AST 2019-10-01 12:25:29 -04:00
dependabot-preview[bot]
2f155dbcb8 build(deps-dev): bump lint-staged from 9.4.0 to 9.4.1
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.4.0 to 9.4.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.4.0...v9.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-01 11:15:54 +00:00
Evan You
d67418002f feat(compiler): generate patchFlags for runtime 2019-09-30 21:17:12 -04:00
Evan You
da0d785d84 test: record snapshots for text optimization 2019-09-30 14:58:20 -04:00
Evan You
e5e40e1e38 feat(compiler): optimize text by merging adjacent nodes 2019-09-30 14:52:10 -04:00
Evan You
7ee07447c5 wip: drop class opt for now + move lazy requires to utils 2019-09-30 14:52:10 -04:00
Evan You
46bd9dbab0 perf: avoid using WeakSet for isRef check 2019-09-30 14:52:10 -04:00
Evan You
7f06981f7c perf: using a _isVNode field is faster than a weakset 2019-09-30 14:52:10 -04:00
dependabot-preview[bot]
1b90fff294 build(deps-dev): bump rollup from 1.21.4 to 1.22.0
Bumps [rollup](https://github.com/rollup/rollup) from 1.21.4 to 1.22.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.21.4...v1.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 07:44:54 +00:00
dependabot-preview[bot]
fc47c65d9d build(deps-dev): bump @microsoft/api-extractor from 7.4.5 to 7.4.6
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.4.5 to 7.4.6.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/gulp-core-build-typescript_v7.4.5...@microsoft/gulp-core-build-typescript_v7.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 07:42:19 +00:00
dependabot-preview[bot]
d5d4eb5684 build(deps-dev): bump rollup-plugin-alias from 2.0.0 to 2.0.1
Bumps [rollup-plugin-alias](https://github.com/frostney/rollup-plugin-alias) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/frostney/rollup-plugin-alias/releases)
- [Changelog](https://github.com/rollup/rollup-plugin-alias/blob/master/CHANGELOG.md)
- [Commits](https://github.com/frostney/rollup-plugin-alias/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 07:40:53 +00:00
Evan You
389a07835c feat(compiler): handle complex destructure expressions in v-for 2019-09-28 16:02:08 -04:00