vue 2.6.7 → 2.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -52
- package/dist/README.md +1 -1
- package/dist/vue.common.dev.js +109 -51
- package/dist/vue.common.prod.js +2 -2
- package/dist/vue.esm.browser.js +109 -51
- package/dist/vue.esm.browser.min.js +2 -2
- package/dist/vue.esm.js +109 -51
- package/dist/vue.js +109 -51
- package/dist/vue.min.js +2 -2
- package/dist/vue.runtime.common.dev.js +80 -38
- package/dist/vue.runtime.common.prod.js +2 -2
- package/dist/vue.runtime.esm.js +80 -38
- package/dist/vue.runtime.js +80 -38
- package/dist/vue.runtime.min.js +2 -2
- package/package.json +4 -4
- package/src/compiler/codegen/events.js +1 -1
- package/src/compiler/codegen/index.js +1 -1
- package/src/compiler/error-detector.js +18 -3
- package/src/compiler/parser/html-parser.js +5 -5
- package/src/compiler/parser/index.js +7 -6
- package/src/core/instance/proxy.js +1 -1
- package/src/core/instance/render-helpers/bind-dynamic-keys.js +1 -1
- package/src/core/instance/render-helpers/bind-object-props.js +5 -3
- package/src/core/instance/render.js +1 -1
- package/src/core/observer/scheduler.js +17 -6
- package/src/core/util/env.js +1 -2
- package/src/core/util/error.js +4 -3
- package/src/core/util/lang.js +2 -2
- package/src/core/util/next-tick.js +1 -1
- package/src/core/util/options.js +2 -2
- package/src/core/vdom/create-element.js +6 -0
- package/src/core/vdom/helpers/normalize-scoped-slots.js +9 -4
- package/src/core/vdom/helpers/resolve-async-component.js +25 -8
- package/src/core/vdom/patch.js +4 -4
- package/src/platforms/web/compiler/modules/model.js +1 -1
- package/src/platforms/web/runtime/modules/dom-props.js +2 -1
- package/src/platforms/web/runtime/modules/events.js +4 -2
- package/src/platforms/web/runtime/modules/transition.js +1 -1
- package/src/server/template-renderer/create-async-file-mapper.js +2 -2
- package/src/server/write.js +1 -1
- package/types/index.d.ts +1 -2
- package/types/options.d.ts +3 -3
- package/types/umd.d.ts +48 -0
- package/types/vnode.d.ts +6 -2
- package/types/vue.d.ts +3 -3
package/README.md
CHANGED
|
@@ -40,28 +40,11 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
|
|
|
40
40
|
<table>
|
|
41
41
|
<tbody>
|
|
42
42
|
<tr>
|
|
43
|
-
<td align="center" valign="middle">
|
|
44
|
-
<a href="https://moduscreate.com/?utm_source=Vue&utm_medium=Partnership&utm_campaign=VueShip" target="_blank">
|
|
45
|
-
<img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/modus.png">
|
|
46
|
-
</a>
|
|
47
|
-
</td>
|
|
48
|
-
<td align="center" valign="middle">
|
|
49
|
-
<a href="https://www.bitsrc.io/?utm_source=vue&utm_medium=vue&utm_campaign=vue&utm_term=vue&utm_content=vue" target="_blank">
|
|
50
|
-
<img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/bit.png">
|
|
51
|
-
</a>
|
|
52
|
-
</td>
|
|
53
|
-
<td align="center" valign="middle">
|
|
54
|
-
<a href="http://tooltwist.com/" target="_blank">
|
|
55
|
-
<img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/tooltwist.png">
|
|
56
|
-
</a>
|
|
57
|
-
</td>
|
|
58
43
|
<td align="center" valign="middle">
|
|
59
44
|
<a href="https://vueschool.io/?utm_source=Vuejs.org&utm_medium=Banner&utm_campaign=Sponsored%20Banner&utm_content=V1" target="_blank">
|
|
60
45
|
<img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/vueschool.png">
|
|
61
46
|
</a>
|
|
62
47
|
</td>
|
|
63
|
-
</tr><tr></tr>
|
|
64
|
-
<tr>
|
|
65
48
|
<td align="center" valign="middle">
|
|
66
49
|
<a href="https://vehikl.com/" target="_blank">
|
|
67
50
|
<img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/vehikl.png">
|
|
@@ -72,6 +55,11 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
|
|
|
72
55
|
<img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/nativescript.png">
|
|
73
56
|
</a>
|
|
74
57
|
</td>
|
|
58
|
+
<td align="center" valign="middle">
|
|
59
|
+
<a href="https://retool.com/?utm_source=sponsor&utm_campaign=vue" target="_blank">
|
|
60
|
+
<img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/retool.png">
|
|
61
|
+
</a>
|
|
62
|
+
</td>
|
|
75
63
|
</tr><tr></tr>
|
|
76
64
|
</tbody>
|
|
77
65
|
</table>
|
|
@@ -92,7 +80,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
|
|
|
92
80
|
</table>
|
|
93
81
|
<!--special-china end-->
|
|
94
82
|
|
|
95
|
-
<h3 align="center">Gold Sponsors</
|
|
83
|
+
<h3 align="center">Gold Sponsors</h3>
|
|
96
84
|
|
|
97
85
|
<!--gold start-->
|
|
98
86
|
<table>
|
|
@@ -120,7 +108,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
|
|
|
120
108
|
</td>
|
|
121
109
|
<td align="center" valign="middle">
|
|
122
110
|
<a href="https://www.frontenddeveloperlove.com/" target="_blank">
|
|
123
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
111
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/frontendlove.png">
|
|
124
112
|
</a>
|
|
125
113
|
</td>
|
|
126
114
|
<td align="center" valign="middle">
|
|
@@ -130,11 +118,6 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
|
|
|
130
118
|
</td>
|
|
131
119
|
</tr><tr></tr>
|
|
132
120
|
<tr>
|
|
133
|
-
<td align="center" valign="middle">
|
|
134
|
-
<a href="https://vuetifyjs.com" target="_blank">
|
|
135
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/vuetify.png">
|
|
136
|
-
</a>
|
|
137
|
-
</td>
|
|
138
121
|
<td align="center" valign="middle">
|
|
139
122
|
<a href="https://neds.com.au/" target="_blank">
|
|
140
123
|
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/neds.png">
|
|
@@ -151,77 +134,114 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
|
|
|
151
134
|
</a>
|
|
152
135
|
</td>
|
|
153
136
|
<td align="center" valign="middle">
|
|
154
|
-
<a href="https://
|
|
155
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
137
|
+
<a href="https://tidelift.com/subscription/npm/vue" target="_blank">
|
|
138
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/tidelift.png">
|
|
156
139
|
</a>
|
|
157
140
|
</td>
|
|
158
141
|
<td align="center" valign="middle">
|
|
159
|
-
<a href="https://
|
|
160
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
142
|
+
<a href="https://opteo.com/vue" target="_blank">
|
|
143
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/opteo.png">
|
|
144
|
+
</a>
|
|
145
|
+
</td>
|
|
146
|
+
<td align="center" valign="middle">
|
|
147
|
+
<a href="https://devsquad.com/" target="_blank">
|
|
148
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/devsquad.png">
|
|
161
149
|
</a>
|
|
162
150
|
</td>
|
|
163
151
|
</tr><tr></tr>
|
|
164
152
|
<tr>
|
|
165
153
|
<td align="center" valign="middle">
|
|
166
|
-
<a href="https://
|
|
167
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
154
|
+
<a href="https://www.firesticktricks.com/" target="_blank">
|
|
155
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/firestick_tricks.png">
|
|
168
156
|
</a>
|
|
169
157
|
</td>
|
|
170
158
|
<td align="center" valign="middle">
|
|
171
|
-
<a href="https://
|
|
172
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
159
|
+
<a href="https://intygrate.com/" target="_blank">
|
|
160
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/intygrate.png">
|
|
173
161
|
</a>
|
|
174
162
|
</td>
|
|
175
163
|
<td align="center" valign="middle">
|
|
176
|
-
<a href="https://
|
|
177
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
164
|
+
<a href="https://passionatepeople.io/" target="_blank">
|
|
165
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/passionate_people.png">
|
|
178
166
|
</a>
|
|
179
167
|
</td>
|
|
180
168
|
<td align="center" valign="middle">
|
|
181
|
-
<a href="
|
|
182
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
169
|
+
<a href="http://en.shopware.com/" target="_blank">
|
|
170
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/shopware_ag.png">
|
|
183
171
|
</a>
|
|
184
172
|
</td>
|
|
185
173
|
<td align="center" valign="middle">
|
|
186
|
-
<a href="https://www.
|
|
187
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
174
|
+
<a href="https://www.vpnranks.com/" target="_blank">
|
|
175
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/vpnranks.png">
|
|
188
176
|
</a>
|
|
189
177
|
</td>
|
|
190
178
|
<td align="center" valign="middle">
|
|
191
|
-
<a href="https://www.
|
|
192
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
179
|
+
<a href="https://www.simplyswitch.com/" target="_blank">
|
|
180
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/energy_comparison.png">
|
|
193
181
|
</a>
|
|
194
182
|
</td>
|
|
195
183
|
</tr><tr></tr>
|
|
196
184
|
<tr>
|
|
197
185
|
<td align="center" valign="middle">
|
|
198
|
-
<a href="https://
|
|
199
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
186
|
+
<a href="https://www.bacancytechnology.com" target="_blank">
|
|
187
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/bacancy_technology.png">
|
|
200
188
|
</a>
|
|
201
189
|
</td>
|
|
202
190
|
<td align="center" valign="middle">
|
|
203
|
-
<a href="https://
|
|
204
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
191
|
+
<a href="https://www.bestvpn.co/" target="_blank">
|
|
192
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/bestvpn_co.png">
|
|
205
193
|
</a>
|
|
206
194
|
</td>
|
|
207
195
|
<td align="center" valign="middle">
|
|
208
|
-
<a href="https://
|
|
209
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
196
|
+
<a href="https://www.y8.com/" target="_blank">
|
|
197
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/y8.png">
|
|
210
198
|
</a>
|
|
211
199
|
</td>
|
|
212
200
|
<td align="center" valign="middle">
|
|
213
|
-
<a href="https://
|
|
214
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
201
|
+
<a href="https://js.devexpress.com/" target="_blank">
|
|
202
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/devexpress.png">
|
|
215
203
|
</a>
|
|
216
204
|
</td>
|
|
217
205
|
<td align="center" valign="middle">
|
|
218
|
-
<a href="https://
|
|
219
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
206
|
+
<a href="https://fastcoding.jp/javascript/ " target="_blank">
|
|
207
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/fastcoding_inc.svg">
|
|
220
208
|
</a>
|
|
221
209
|
</td>
|
|
222
210
|
<td align="center" valign="middle">
|
|
223
|
-
<a href="https://
|
|
224
|
-
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/
|
|
211
|
+
<a href="https://usave.co.uk/utilities/broadband" target="_blank">
|
|
212
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/usave.png">
|
|
213
|
+
</a>
|
|
214
|
+
</td>
|
|
215
|
+
</tr><tr></tr>
|
|
216
|
+
<tr>
|
|
217
|
+
<td align="center" valign="middle">
|
|
218
|
+
<a href="https://www.dailynow.co/" target="_blank">
|
|
219
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/daily.png">
|
|
220
|
+
</a>
|
|
221
|
+
</td>
|
|
222
|
+
<td align="center" valign="middle">
|
|
223
|
+
<a href="https://storekit.com" target="_blank">
|
|
224
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/storekit.png">
|
|
225
|
+
</a>
|
|
226
|
+
</td>
|
|
227
|
+
<td align="center" valign="middle">
|
|
228
|
+
<a href="http://www.pullrequest.com" target="_blank">
|
|
229
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/pullrequest.svg">
|
|
230
|
+
</a>
|
|
231
|
+
</td>
|
|
232
|
+
<td align="center" valign="middle">
|
|
233
|
+
<a href="https://unicorn.io/" target="_blank">
|
|
234
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/unicorn_io.svg">
|
|
235
|
+
</a>
|
|
236
|
+
</td>
|
|
237
|
+
<td align="center" valign="middle">
|
|
238
|
+
<a href="https://thepiratebayproxylist.se" target="_blank">
|
|
239
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/piratebayproxy.png">
|
|
240
|
+
</a>
|
|
241
|
+
</td>
|
|
242
|
+
<td align="center" valign="middle">
|
|
243
|
+
<a href="https://www.programmers.io" target="_blank">
|
|
244
|
+
<img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/programmers_io.png">
|
|
225
245
|
</a>
|
|
226
246
|
</td>
|
|
227
247
|
</tr><tr></tr>
|
package/dist/README.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
If you need to compile templates on the fly (e.g. passing a string to the `template` option, or mounting to an element using its in-DOM HTML as the template), you will need the compiler and thus the full build.
|
|
27
27
|
|
|
28
|
-
When using `vue-loader` or `vueify`, templates inside `*.vue` files are compiled into JavaScript at build time. You don't really need the compiler in the final bundle, and can therefore use the runtime-only build.
|
|
28
|
+
When using `vue-loader` or `vueify`, templates inside `*.vue` files are compiled into JavaScript at build time. You don't really need the compiler in the final bundle, and can therefore, use the runtime-only build.
|
|
29
29
|
|
|
30
30
|
Since the runtime-only builds are roughly 30% lighter-weight than their full-build counterparts, you should use it whenever you can. If you wish to use the full build instead, you need to configure an alias in your bundler.
|
|
31
31
|
|