Evan You
73f8cae465
refactor(compiler): further extract babel ast utilities
2021-08-22 14:51:16 -04:00
Evan You
62f752552a
refactor(compiler): extract shared ast transform utils
...
Also improve referenced identifier check using isReferenced from @babel/types
2021-08-22 13:24:16 -04:00
skirtle
620a69b871
fix(runtime-dom): consistently remove boolean attributes for falsy values ( #4348 )
2021-08-16 18:18:36 -04:00
edison
42a334e12e
fix(shared): fix toDisplayString on object with null prototype ( #4335 )
...
fix #4334
2021-08-16 15:28:34 -04:00
Evan You
2641422aa7
fix(compiler-dom): stringify eligible svg content
...
fix #4282
2021-08-09 14:39:50 -04:00
Roan Kattouw
9d5fd33d6d
fix(shared): support custom .toString() in text interpolation again ( #4210 )
...
fix #3944
2021-07-29 10:51:03 -04:00
Evan You
f994b974c0
feat: unwrap refs in toDisplayString
2021-07-27 18:42:30 -04:00
Evan You
47f488350c
chore: run updated prettier
2021-07-19 18:24:18 -04:00
Homyee King
65f82ce94f
chore(shared): remove extra NaN logic ( #3837 )
2021-07-19 17:22:21 -04:00
webfansplz
d868d5ffa7
chore(shared): remove deprecated html tags ( #4130 )
2021-07-19 11:30:43 -04:00
Evan You
cac6ab5bdb
chore: fix type issue
2021-07-19 11:11:17 -04:00
Evan You
47ba33e27b
refactor: improve the fix for #4138
2021-07-19 10:43:14 -04:00
Evan You
a8c3a8ad61
fix(shared): normalizeStyle should handle strings
...
fix #4138
2021-07-19 10:37:12 -04:00
HcySunYang
ceff89905b
perf: improve VNode creation performance with compiler hints ( #3334 )
2021-07-16 14:30:49 -04:00
Austin Keener
e00aa56658
fix(compiler): Addressed infinite loop in compiler ( #3992 )
...
close #3987
2021-07-15 14:57:47 -04:00
edison
8c57b9131d
chore(types): use NormalizedStyle for consistency ( #2590 )
2021-04-01 11:29:24 +08:00
Evan You
180310cbe9
refactor(runtime-dom): avoid form attribtue tag check
...
the tag check while technically stricter, is not really necessary
and introduces too much weight
2021-02-24 15:06:51 -05:00
Albert Kaaman
4b551420fc
fix: remove superfluous spaces when normalizing class ( #3083 )
...
Co-authored-by: Jacek Karczmarczyk <jkarczm@gmail.com>
2021-02-04 14:41:46 +01:00
edison
c9f94fa3cf
feat(compiler-core): support BigInt
in template ( #2900 )
2021-02-03 19:28:46 +01:00
luwuer
f262438073
fix(runtime-dom): enable set form attr to null on form-elements ( #2840 ) ( #2849 )
...
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
童欧巴
df48fc225a
chore: fix file path in comments ( #2709 ) [ci skip]
2020-12-03 12:27:03 -05:00
Evan You
e41b46c396
chore: annotate generated slot flag
2020-11-30 15:19:32 -05:00
Evan You
3bc2914e32
fix(attr-fallthrough): ensure consistent attr fallthrough for root fragments with comments
...
fix #2549
2020-11-27 18:04:26 -05:00
被雨水过滤的空气
edd49dcab4
fix(runtime-core): avoid mutating EMPTY_ARR when setting dev root ( #2419 )
...
also freeze EMPTY_ARR in dev
fix #2413
2020-10-19 18:08:54 -04:00
ᴜɴвʏтᴇ
052a621762
feat(compile-core): handle falsy dynamic args for v-on and v-bind ( #2393 )
...
fix #2388
2020-10-19 17:15:53 -04:00
Pick
6a554feb13
perf(runtime-dom/vModel): remove looseHas if model is Set ( #2236 )
2020-10-13 16:20:05 -04:00
izayl
bac4d22614
chore: add magic number comment ( #2198 ) [ci skip]
2020-10-13 15:33:16 -04:00
Hefty
0d4910a211
fix(reactivity): add NaN prop on Array should not trigger length dependency. ( #1998 )
2020-09-14 20:40:09 -04:00
Evan You
0124eacc91
refactor(reactivity): refactor iteration key trigger logic + use more robust Map/Set check
2020-09-14 11:26:34 -04:00
Pick
cf1b6c666f
feat(runtime-dom): allow native Set as v-model checkbox source ( #1957 )
2020-09-14 11:16:50 -04:00
xxgjzftd
d5c4f6ed4d
perf(reactivity): add existing index or non-integer prop on Array should not trigger length dependency ( #1969 )
2020-08-26 11:28:58 -04:00
edison
075d769e0b
chore: fix typo for babelParserDefautPlugins
( #1897 )
2020-08-19 09:53:09 -04:00
小妍妍
fdb2f418cf
chore: remove deprecated <content>
tag ( #1647 )
...
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/content
2020-08-18 11:47:38 -04:00
Jacob Smith
b14f4a505b
fix(codeframe): Added Math.max to prevent RangeError ( #1807 )
...
fix #1806
2020-08-12 15:52:28 -04:00
Evan You
5c74243211
test: move mockWarn into setup files
2020-07-27 22:58:51 -04:00
Evan You
c852bf18d7
fix(v-model): v-model listeners should not fallthrough to plain element root
...
fix #1643
2020-07-21 14:17:48 -04:00
Evan You
54727f9874
feat: provide ability to overwrite feature flags in esm-bundler builds
...
e.g. by replacing `__VUE_OPTIONS_API__` to `false` using webpack's
`DefinePlugin`, the final bundle will drop all code supporting the
options API.
This does not break existing usage, but requires the user to explicitly
configure the feature flags via bundlers to properly tree-shake the
disabled branches. As a result, users will see a console warning if
the flags have not been properly configured.
2020-07-20 21:51:30 -04:00
leyale
e626caa4d1
chore(shared): menuitem tag has been deprecated ( #1613 )
2020-07-17 11:26:12 -04:00
lawvs
a935998b33
chore: better comment hovers preview [ci skip] ( #1612 )
2020-07-17 11:24:12 -04:00
无忧
22973b418b
chore: remove deprecated elements from dom tag config ( #1596 )
2020-07-15 23:16:28 -04:00
Evan You
aab99abd28
fix(slots): properly force update on forwarded slots
...
fix #1594
2020-07-15 20:12:49 -04:00
Jacob Müller
fe1b27b7f8
fix(v-model): handle more edge cases in looseEqual()
( #379 )
2020-07-15 09:37:51 -04:00
Evan You
9152a89016
fix(v-on): capitalize dynamic event names
2020-07-13 17:36:46 -04:00
Evan You
3e1cdba9db
wip: tests for compileScriptSetup
2020-07-09 12:17:28 -04:00
Evan You
1359cc3a28
wip: compileScriptSetup
2020-07-09 12:17:28 -04:00
Evan You
062835d45a
fix(slots): make compiled slot marker non-enumerable
...
fix #1470
2020-06-30 09:27:06 -04:00
Evan You
80c868aefe
workflow: setup eslint for prohibited syntax and globals
...
fix #1285
2020-06-10 16:54:23 -04:00
Evan You
a938b61edc
fix(compiler-dom): bail stringification on table elements
...
close #1230 , close #1268
2020-06-09 17:02:27 -04:00
underfin
d73a508a73
fix(Transition): fix validate duration ( #1188 )
2020-05-18 10:09:10 -04:00
Evan You
304ab8c99b
fix(compiler-dom): bail static stringfication on non-attr bindings
...
fix #1128
2020-05-07 10:32:54 -04:00