Commit Graph

3398 Commits

Author SHA1 Message Date
Evan You
f038000157 refactor: check is function for fallback slots 2021-06-01 10:08:28 -04:00
Evan You
d6ac00f77c chore: display more oc sponsors on readme [ci skip] 2021-05-28 17:06:44 -04:00
Ikko Ashimine
0ff1356ef7
chore: fix typo in README.md [ci skip] (#12064) 2021-05-08 14:48:32 +08:00
vue-bot
f2a6a1b8d3
chore: update sponsors [ci skip] (#12054) 2021-05-03 11:26:54 -04:00
Evan You
df4e385c8f chore: fix opencollective silver sponsors in backers.md [ci skip] 2021-05-03 09:30:00 -04:00
dependabot[bot]
bb9190b302
build(deps): bump ssri from 6.0.1 to 6.0.2 (#12047)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 12:16:33 +02:00
vue-bot
e7cf0634f5
chore: update sponsors [ci skip] (#12021) 2021-04-23 15:58:28 -04:00
Eduardo San Martin Morote
e7baaa1205
fix(keep-alive): cache what is really needed not the whole VNode data (#12015)
Co-authored-by: zrh122 <1229550935@qq.com>
2021-04-16 19:19:29 +02:00
WORMSS
2b93e86aa1
fix(types): make $refs undefined possible (#11112)
Added undefined as a return type of $refs as it was quite hard to convince typescript that something COULD be undefined if you type in a ref that doesn't exist,
I also changed the two array statements from `Element[] | Vue[]` to `(Element | Vue)[]` because it's not guaranteed that they are ALL Elements or they are ALL Vue components. (Very likely, yes, but not always)
For example
```html
<template v-for="(a, index) of b">
  <div v-if="index % 2 === 0" ref="test"></div>
  <my-component v-else ref="test"></my-component>
</template>
```
2021-04-16 17:59:37 +02:00
contribu
52608302e9
fix(core): fix sameVnode for async component (#11107)
Co-authored-by: mac2 <mac2@example.com>
2021-04-16 17:58:02 +02:00
hello-brsd
e4dea59f84
fix(errorHandler): async error handling for watchers (#9484)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2021-04-16 17:57:25 +02:00
wangzongxu
3ad60fea73
feat(warn): warn computed conflict with methods (#10119)
Co-authored-by: wangzongxu <wangzongxu@vipkid.com.cn>
2021-04-16 17:56:32 +02:00
Mattia Trapani
c6d7a6fce7
fix(v-on): avoid events with empty keyCode (autocomplete) (#11326) 2021-04-16 17:53:45 +02:00
Eduardo San Martin Morote
ce457f9f4d
fix(slot): add a function to return the slot fallback content (#12014)
Co-authored-by: zrh122 <1229550935@qq.com>
2021-04-16 17:37:35 +02:00
ygj6
77b5330c54
fix: force update between two components with and without slot (#11795) 2021-04-16 17:34:34 +02:00
pooya parsa
af54514cf9
fix: handle async placeholders in normalizeScopedSlot (#11963)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2021-04-16 17:33:56 +02:00
pikax
f22b2165f4 chore: improve some types and remove @ts-ignore 2021-04-13 16:21:54 +01:00
pikax
b5f39bf02c dedup functions 2021-04-07 19:11:31 +01:00
pikax
f036db5dd4 remove custom modules and use the typescript ones 2021-04-07 17:31:25 +01:00
pikax
52d3a7c773 update terser and buble 2021-04-07 17:28:56 +01:00
Carlos Rodrigues
00ef43b445
Update typescript/modules.d.ts
Co-authored-by: Kael <kaelwd@gmail.com>
2021-04-07 17:28:47 +01:00
pikax
87afa0687c Merge branch 'dev' into move_to_typescript 2021-04-07 14:43:13 +01:00
pikax
3fd8bb4e0f fix test:weex 2021-04-07 14:41:48 +01:00
pikax
180474dc17 fix "he" dep thanks @sodatea 2021-04-07 14:02:42 +01:00
zrh122
0603ff695d
fix(warns): modify maybeComponent function in parser (#10167)
fixes #10152
2021-04-07 14:38:13 +02:00
pikax
e643e44daf removed jasmine types 2021-04-07 12:21:31 +01:00
pikax
b3de21c2ba fix ts-check 2021-04-07 12:07:59 +01:00
Zen
5c459f0fd6
fix(types): allow symbol & boolean for vnode key (#11914) 2021-04-07 11:37:53 +02:00
pikax
69a1bc909b eslint fixes 2021-04-06 17:21:58 +01:00
pikax
6c86065307 changed to eslint and updated babel deps 2021-04-06 17:17:25 +01:00
pikax
5f4763e598 fix keepalive to ts 2021-04-06 17:12:35 +01:00
pikax
0af78c57b3 remove @flow 2021-04-06 17:11:58 +01:00
pikax
54ee448abf replace flow with ts-check 2021-04-06 17:05:05 +01:00
pikax
cb0d18bfa1 bump rollup deps 2021-04-06 17:04:48 +01:00
vue-bot
6ec33f70d9
chore: update backers [ci skip] (#12004) 2021-04-05 18:15:27 -04:00
pikax
79f9e15f42 ignore folder 2021-04-03 17:53:04 +01:00
pikax
9c70fc0ec3 fix unit tests 2021-04-03 17:32:18 +01:00
pikax
63f9077de4 import as types 2021-04-03 17:29:42 +01:00
pikax
65b683a5e1 fix build 2021-04-03 16:36:50 +01:00
pikax
af9fc2bcff chore: move to typescript 2021-04-03 15:07:44 +01:00
vue-bot
0d223a3604
chore: update sponsors [ci skip] (#11997)
Co-authored-by: Evan You <yyx990803@gmail.com>
2021-04-01 14:20:16 -04:00
vue-bot
cc807d2d30
chore: update backers [ci skip] (#11996)
Co-authored-by: Evan You <yyx990803@gmail.com>
2021-04-01 14:12:01 -04:00
dependabot[bot]
d90ce764fc
build(deps): bump y18n from 4.0.0 to 4.0.1 (#11987) 2021-03-31 08:51:08 +02:00
Eduardo San Martin Morote
af5e05d87e
fix: give correct namespace in foreignObject (#11576)
Fix #11575
2021-03-30 12:11:55 +02:00
Volodymyr I
7e5dc6bd9e
fix(ssr): inheritAttrs false adds attributes to html (#11706) 2021-03-30 11:49:40 +02:00
Flo Edelmann
e0274e4320
fix(types): add types for Vue.util.warn function (#11964)
See https://github.com/vuejs/vue/blob/v2.6.12/src/core/util/debug.js#L18-L26
2021-03-30 11:46:53 +02:00
Ben Delaney
987f322b8f
fix: pause dep collection during immediate watcher invocation (#11943)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2021-03-30 11:46:12 +02:00
shadowings-zy
fb16d7bfa1
fix(vdom): avoid executing root level script tags (#11487)
fix #11483
2021-03-30 11:43:34 +02:00
AjiTae
fa1f81e910
fix(props): support BigInt in props type validation (#11191) 2021-03-30 11:41:10 +02:00
shadowings-zy
c42b7066ca
fix(compiler): Allow BigInt usage in templates (#11152) 2021-03-30 11:40:44 +02:00