Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Velpro187
uni-app
提交
51223cb8
U
uni-app
项目概览
Velpro187
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
51223cb8
编写于
6月 11, 2021
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
build(deps): bump vue from 3.1.0-beta.7 to 3.1.1
上级
e623d378
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
1357 addition
and
37 deletion
+1357
-37
package.json
package.json
+2
-2
packages/playground/ssr/package.json
packages/playground/ssr/package.json
+5
-5
packages/uni-h5-vue/dist/vue.runtime.cjs.js
packages/uni-h5-vue/dist/vue.runtime.cjs.js
+9
-5
packages/uni-h5-vue/dist/vue.runtime.compat.cjs.js
packages/uni-h5-vue/dist/vue.runtime.compat.cjs.js
+18
-6
packages/uni-h5-vue/dist/vue.runtime.compat.esm.js
packages/uni-h5-vue/dist/vue.runtime.compat.esm.js
+18
-6
packages/uni-h5-vue/dist/vue.runtime.esm.js
packages/uni-h5-vue/dist/vue.runtime.esm.js
+9
-5
yarn.lock
yarn.lock
+1296
-8
未找到文件。
package.json
浏览文件 @
51223cb8
...
...
@@ -81,8 +81,8 @@
"
semver
"
:
"
^7.3.4
"
,
"
ts-jest
"
:
"
^26.4.4
"
,
"
typescript
"
:
"
~4.1.3
"
,
"
vite
"
:
"
^2.3.
6
"
,
"
vue
"
:
"
^3.1.
0-beta.5
"
,
"
vite
"
:
"
^2.3.
7
"
,
"
vue
"
:
"
^3.1.
1
"
,
"
yorkie
"
:
"
^2.0.0
"
},
"name"
:
"uni-app-next"
...
...
packages/playground/ssr/package.json
浏览文件 @
51223cb8
...
...
@@ -16,8 +16,8 @@
"@dcloudio/uni-h5-vue"
:
"../../uni-h5-vue"
,
"@dcloudio/uni-i18n"
:
"../../uni-i18n"
,
"@dcloudio/uni-shared"
:
"../../uni-shared"
,
"@vue/shared"
:
"^3.1.
0-beta.7
"
,
"vue"
:
"^3.1.
0-beta.7
"
,
"@vue/shared"
:
"^3.1.
1
"
,
"vue"
:
"^3.1.
1
"
,
"vue-router"
:
"^4.0.8"
,
"vuex"
:
"^4.0.1"
},
...
...
@@ -26,11 +26,11 @@
"@dcloudio/uni-h5-vite"
:
"../../uni-h5-vite"
,
"@dcloudio/vite-plugin-uni"
:
"../../vite-plugin-uni"
,
"@vitejs/plugin-vue"
:
"^1.2.3"
,
"@vue/compiler-sfc"
:
"^3.1.
0-beta.7
"
,
"@vue/server-renderer"
:
"^3.1.
0-beta.7
"
,
"@vue/compiler-sfc"
:
"^3.1.
1
"
,
"@vue/server-renderer"
:
"^3.1.
1
"
,
"compression"
:
"^1.7.4"
,
"cypress"
:
"^7.3.0"
,
"serve-static"
:
"^1.14.1"
,
"vite"
:
"^2.3.
6
"
"vite"
:
"^2.3.
7
"
}
}
packages/uni-h5-vue/dist/vue.runtime.cjs.js
浏览文件 @
51223cb8
...
...
@@ -750,7 +750,7 @@ function shallowRef(value) {
return
createRef
(
value
,
true
);
}
class
RefImpl
{
constructor
(
_rawValue
,
_shallow
=
false
)
{
constructor
(
_rawValue
,
_shallow
)
{
this
.
_rawValue
=
_rawValue
;
this
.
_shallow
=
_shallow
;
this
.
__v_isRef
=
true
;
...
...
@@ -1871,11 +1871,12 @@ function emit(instance, event, ...rawArgs) {
const
onceHandler
=
props
[
handlerName
+
`Once`
];
if
(
onceHandler
)
{
if
(
!
instance
.
emitted
)
{
(
instance
.
emitted
=
{})[
handlerName
]
=
true
;
instance
.
emitted
=
{}
;
}
else
if
(
instance
.
emitted
[
handlerName
])
{
return
;
}
instance
.
emitted
[
handlerName
]
=
true
;
callWithAsyncErrorHandling
(
onceHandler
,
instance
,
6
/* COMPONENT_EVENT_HANDLER */
,
args
);
}
}
...
...
@@ -2786,7 +2787,7 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
}
else
if
(
arguments
.
length
>
1
)
{
return
treatDefaultAsFactory
&&
shared
.
isFunction
(
defaultValue
)
?
defaultValue
(
)
?
defaultValue
.
call
(
instance
.
proxy
)
:
defaultValue
;
}
else
{
...
...
@@ -4951,6 +4952,7 @@ function createAppAPI(render, hydrate) {
_props
:
rootProps
,
_container
:
null
,
_context
:
context
,
_instance
:
null
,
version
,
get
config
()
{
return
context
.
config
;
...
...
@@ -5038,6 +5040,7 @@ function createAppAPI(render, hydrate) {
app
.
_container
=
rootContainer
;
rootContainer
.
__vue_app__
=
app
;
{
app
.
_instance
=
vnode
.
component
;
devtoolsInitApp
(
app
,
version
);
}
return
vnode
.
component
.
proxy
;
...
...
@@ -5053,6 +5056,7 @@ function createAppAPI(render, hydrate) {
if
(
isMounted
)
{
render
(
null
,
app
.
_container
);
{
app
.
_instance
=
null
;
devtoolsUnmountApp
(
app
);
}
delete
app
.
_container
.
__vue_app__
;
...
...
@@ -5906,7 +5910,7 @@ function baseCreateRenderer(options, createHydrationFns) {
const
fragmentStartAnchor
=
(
n2
.
el
=
n1
?
n1
.
el
:
hostCreateText
(
''
));
const
fragmentEndAnchor
=
(
n2
.
anchor
=
n1
?
n1
.
anchor
:
hostCreateText
(
''
));
let
{
patchFlag
,
dynamicChildren
,
slotScopeIds
:
fragmentSlotScopeIds
}
=
n2
;
if
(
patchFlag
>
0
)
{
if
(
dynamicChildren
)
{
optimized
=
true
;
}
// check if this is a slot fragment with :slotted scope ids
...
...
@@ -8503,7 +8507,7 @@ function initCustomFormatter() {
}
// Core API ------------------------------------------------------------------
const
version
=
"
3.1.
0-beta.7
"
;
const
version
=
"
3.1.
1
"
;
const
_ssrUtils
=
{
createComponentInstance
,
setupComponent
,
...
...
packages/uni-h5-vue/dist/vue.runtime.compat.cjs.js
浏览文件 @
51223cb8
...
...
@@ -1048,7 +1048,7 @@ function shallowRef(value) {
return
createRef
(
value
,
true
);
}
class
RefImpl
{
constructor
(
_rawValue
,
_shallow
=
false
)
{
constructor
(
_rawValue
,
_shallow
)
{
this
.
_rawValue
=
_rawValue
;
this
.
_shallow
=
_shallow
;
this
.
__v_isRef
=
true
;
...
...
@@ -2353,11 +2353,12 @@ function emit$1(instance, event, ...rawArgs) {
const
onceHandler
=
props
[
handlerName
+
`Once`
];
if
(
onceHandler
)
{
if
(
!
instance
.
emitted
)
{
(
instance
.
emitted
=
{})[
handlerName
]
=
true
;
instance
.
emitted
=
{}
;
}
else
if
(
instance
.
emitted
[
handlerName
])
{
return
;
}
instance
.
emitted
[
handlerName
]
=
true
;
callWithAsyncErrorHandling
(
onceHandler
,
instance
,
6
/* COMPONENT_EVENT_HANDLER */
,
args
);
}
{
...
...
@@ -3294,7 +3295,7 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
}
else
if
(
arguments
.
length
>
1
)
{
return
treatDefaultAsFactory
&&
isFunction
(
defaultValue
)
?
defaultValue
(
)
?
defaultValue
.
call
(
instance
.
proxy
)
:
defaultValue
;
}
else
{
...
...
@@ -5663,7 +5664,7 @@ function createCompatVue(createApp, createSingletonApp) {
return
vm
;
}
}
Vue
.
version
=
"
3.1.
0-beta.7
"
;
Vue
.
version
=
"
3.1.
1
"
;
Vue
.
config
=
singletonApp
.
config
;
Vue
.
use
=
(
p
,
...
options
)
=>
{
if
(
p
&&
isFunction
(
p
.
install
))
{
...
...
@@ -6105,6 +6106,7 @@ function createAppAPI(render, hydrate) {
_props
:
rootProps
,
_container
:
null
,
_context
:
context
,
_instance
:
null
,
version
,
get
config
()
{
return
context
.
config
;
...
...
@@ -6192,6 +6194,7 @@ function createAppAPI(render, hydrate) {
app
.
_container
=
rootContainer
;
rootContainer
.
__vue_app__
=
app
;
{
app
.
_instance
=
vnode
.
component
;
devtoolsInitApp
(
app
,
version
);
}
return
vnode
.
component
.
proxy
;
...
...
@@ -6207,6 +6210,7 @@ function createAppAPI(render, hydrate) {
if
(
isMounted
)
{
render
(
null
,
app
.
_container
);
{
app
.
_instance
=
null
;
devtoolsUnmountApp
(
app
);
}
delete
app
.
_container
.
__vue_app__
;
...
...
@@ -7104,7 +7108,7 @@ function baseCreateRenderer(options, createHydrationFns) {
const
fragmentStartAnchor
=
(
n2
.
el
=
n1
?
n1
.
el
:
hostCreateText
(
''
));
const
fragmentEndAnchor
=
(
n2
.
anchor
=
n1
?
n1
.
anchor
:
hostCreateText
(
''
));
let
{
patchFlag
,
dynamicChildren
,
slotScopeIds
:
fragmentSlotScopeIds
}
=
n2
;
if
(
patchFlag
>
0
)
{
if
(
dynamicChildren
)
{
optimized
=
true
;
}
// check if this is a slot fragment with :slotted scope ids
...
...
@@ -9396,6 +9400,14 @@ function installCompatInstanceProperties(map) {
extend
(
map
,
{
// needed by many libs / render fns
$vnode
:
i
=>
i
.
vnode
,
// inject addtional properties into $options for compat
// e.g. vuex needs this.$options.parent
$options
:
i
=>
{
const
res
=
extend
({},
resolveMergedOptions
(
i
));
res
.
parent
=
i
.
proxy
.
$parent
;
res
.
propsData
=
i
.
vnode
.
props
;
return
res
;
},
// some private properties that are likely accessed...
_self
:
i
=>
i
.
proxy
,
_uid
:
i
=>
i
.
uid
,
...
...
@@ -10327,7 +10339,7 @@ function initCustomFormatter() {
}
// Core API ------------------------------------------------------------------
const
version
=
"
3.1.
0-beta.7
"
;
const
version
=
"
3.1.
1
"
;
const
_ssrUtils
=
{
createComponentInstance
,
setupComponent
,
...
...
packages/uni-h5-vue/dist/vue.runtime.compat.esm.js
浏览文件 @
51223cb8
...
...
@@ -1048,7 +1048,7 @@ function shallowRef(value) {
return
createRef
(
value
,
true
);
}
class
RefImpl
{
constructor
(
_rawValue
,
_shallow
=
false
)
{
constructor
(
_rawValue
,
_shallow
)
{
this
.
_rawValue
=
_rawValue
;
this
.
_shallow
=
_shallow
;
this
.
__v_isRef
=
true
;
...
...
@@ -2363,11 +2363,12 @@ function emit$1(instance, event, ...rawArgs) {
const
onceHandler
=
props
[
handlerName
+
`Once`
];
if
(
onceHandler
)
{
if
(
!
instance
.
emitted
)
{
(
instance
.
emitted
=
{})[
handlerName
]
=
true
;
instance
.
emitted
=
{}
;
}
else
if
(
instance
.
emitted
[
handlerName
])
{
return
;
}
instance
.
emitted
[
handlerName
]
=
true
;
callWithAsyncErrorHandling
(
onceHandler
,
instance
,
6
/* COMPONENT_EVENT_HANDLER */
,
args
);
}
{
...
...
@@ -3304,7 +3305,7 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
}
else
if
(
arguments
.
length
>
1
)
{
return
treatDefaultAsFactory
&&
isFunction
(
defaultValue
)
?
defaultValue
(
)
?
defaultValue
.
call
(
instance
.
proxy
)
:
defaultValue
;
}
else
if
((
process
.
env
.
NODE_ENV
!==
'
production
'
))
{
...
...
@@ -5665,7 +5666,7 @@ function createCompatVue(createApp, createSingletonApp) {
return
vm
;
}
}
Vue
.
version
=
"
3.1.
0-beta.7
"
;
Vue
.
version
=
"
3.1.
1
"
;
Vue
.
config
=
singletonApp
.
config
;
Vue
.
use
=
(
p
,
...
options
)
=>
{
if
(
p
&&
isFunction
(
p
.
install
))
{
...
...
@@ -6109,6 +6110,7 @@ function createAppAPI(render, hydrate) {
_props
:
rootProps
,
_container
:
null
,
_context
:
context
,
_instance
:
null
,
version
,
get
config
()
{
return
context
.
config
;
...
...
@@ -6199,6 +6201,7 @@ function createAppAPI(render, hydrate) {
app
.
_container
=
rootContainer
;
rootContainer
.
__vue_app__
=
app
;
if
((
process
.
env
.
NODE_ENV
!==
'
production
'
)
||
__VUE_PROD_DEVTOOLS__
)
{
app
.
_instance
=
vnode
.
component
;
devtoolsInitApp
(
app
,
version
);
}
return
vnode
.
component
.
proxy
;
...
...
@@ -6214,6 +6217,7 @@ function createAppAPI(render, hydrate) {
if
(
isMounted
)
{
render
(
null
,
app
.
_container
);
if
((
process
.
env
.
NODE_ENV
!==
'
production
'
)
||
__VUE_PROD_DEVTOOLS__
)
{
app
.
_instance
=
null
;
devtoolsUnmountApp
(
app
);
}
delete
app
.
_container
.
__vue_app__
;
...
...
@@ -7159,7 +7163,7 @@ function baseCreateRenderer(options, createHydrationFns) {
const
fragmentStartAnchor
=
(
n2
.
el
=
n1
?
n1
.
el
:
hostCreateText
(
''
));
const
fragmentEndAnchor
=
(
n2
.
anchor
=
n1
?
n1
.
anchor
:
hostCreateText
(
''
));
let
{
patchFlag
,
dynamicChildren
,
slotScopeIds
:
fragmentSlotScopeIds
}
=
n2
;
if
(
patchFlag
>
0
)
{
if
(
dynamicChildren
)
{
optimized
=
true
;
}
// check if this is a slot fragment with :slotted scope ids
...
...
@@ -9457,6 +9461,14 @@ function installCompatInstanceProperties(map) {
extend
(
map
,
{
// needed by many libs / render fns
$vnode
:
i
=>
i
.
vnode
,
// inject addtional properties into $options for compat
// e.g. vuex needs this.$options.parent
$options
:
i
=>
{
const
res
=
extend
({},
resolveMergedOptions
(
i
));
res
.
parent
=
i
.
proxy
.
$parent
;
res
.
propsData
=
i
.
vnode
.
props
;
return
res
;
},
// some private properties that are likely accessed...
_self
:
i
=>
i
.
proxy
,
_uid
:
i
=>
i
.
uid
,
...
...
@@ -10388,7 +10400,7 @@ function initCustomFormatter() {
}
// Core API ------------------------------------------------------------------
const
version
=
"
3.1.
0-beta.7
"
;
const
version
=
"
3.1.
1
"
;
/**
* SSR utils for \@vue/server-renderer. Only exposed in cjs builds.
* @internal
...
...
packages/uni-h5-vue/dist/vue.runtime.esm.js
浏览文件 @
51223cb8
...
...
@@ -748,7 +748,7 @@ function shallowRef(value) {
return
createRef
(
value
,
true
);
}
class
RefImpl
{
constructor
(
_rawValue
,
_shallow
=
false
)
{
constructor
(
_rawValue
,
_shallow
)
{
this
.
_rawValue
=
_rawValue
;
this
.
_shallow
=
_shallow
;
this
.
__v_isRef
=
true
;
...
...
@@ -1880,11 +1880,12 @@ function emit(instance, event, ...rawArgs) {
const
onceHandler
=
props
[
handlerName
+
`Once`
];
if
(
onceHandler
)
{
if
(
!
instance
.
emitted
)
{
(
instance
.
emitted
=
{})[
handlerName
]
=
true
;
instance
.
emitted
=
{}
;
}
else
if
(
instance
.
emitted
[
handlerName
])
{
return
;
}
instance
.
emitted
[
handlerName
]
=
true
;
callWithAsyncErrorHandling
(
onceHandler
,
instance
,
6
/* COMPONENT_EVENT_HANDLER */
,
args
);
}
}
...
...
@@ -2795,7 +2796,7 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
}
else
if
(
arguments
.
length
>
1
)
{
return
treatDefaultAsFactory
&&
isFunction
(
defaultValue
)
?
defaultValue
(
)
?
defaultValue
.
call
(
instance
.
proxy
)
:
defaultValue
;
}
else
if
((
process
.
env
.
NODE_ENV
!==
'
production
'
))
{
...
...
@@ -4951,6 +4952,7 @@ function createAppAPI(render, hydrate) {
_props
:
rootProps
,
_container
:
null
,
_context
:
context
,
_instance
:
null
,
version
,
get
config
()
{
return
context
.
config
;
...
...
@@ -5041,6 +5043,7 @@ function createAppAPI(render, hydrate) {
app
.
_container
=
rootContainer
;
rootContainer
.
__vue_app__
=
app
;
if
((
process
.
env
.
NODE_ENV
!==
'
production
'
)
||
__VUE_PROD_DEVTOOLS__
)
{
app
.
_instance
=
vnode
.
component
;
devtoolsInitApp
(
app
,
version
);
}
return
vnode
.
component
.
proxy
;
...
...
@@ -5056,6 +5059,7 @@ function createAppAPI(render, hydrate) {
if
(
isMounted
)
{
render
(
null
,
app
.
_container
);
if
((
process
.
env
.
NODE_ENV
!==
'
production
'
)
||
__VUE_PROD_DEVTOOLS__
)
{
app
.
_instance
=
null
;
devtoolsUnmountApp
(
app
);
}
delete
app
.
_container
.
__vue_app__
;
...
...
@@ -5957,7 +5961,7 @@ function baseCreateRenderer(options, createHydrationFns) {
const
fragmentStartAnchor
=
(
n2
.
el
=
n1
?
n1
.
el
:
hostCreateText
(
''
));
const
fragmentEndAnchor
=
(
n2
.
anchor
=
n1
?
n1
.
anchor
:
hostCreateText
(
''
));
let
{
patchFlag
,
dynamicChildren
,
slotScopeIds
:
fragmentSlotScopeIds
}
=
n2
;
if
(
patchFlag
>
0
)
{
if
(
dynamicChildren
)
{
optimized
=
true
;
}
// check if this is a slot fragment with :slotted scope ids
...
...
@@ -8560,7 +8564,7 @@ function initCustomFormatter() {
}
// Core API ------------------------------------------------------------------
const
version
=
"
3.1.
0-beta.7
"
;
const
version
=
"
3.1.
1
"
;
/**
* SSR utils for \@vue/server-renderer. Only exposed in cjs builds.
* @internal
...
...
yarn.lock
浏览文件 @
51223cb8
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录