Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qianlong66
uni-app
提交
5983f2ee
U
uni-app
项目概览
qianlong66
/
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,发现更多精彩内容 >>
提交
5983f2ee
编写于
4月 27, 2022
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
build(deps): bump vite from 2.9.5 to 2.9.6
上级
8172bf6e
变更
16
展开全部
隐藏空白更改
内联
并排
Showing
16 changed file
with
419 addition
and
506 deletion
+419
-506
package.json
package.json
+1
-1
packages/playground/ssr/package.json
packages/playground/ssr/package.json
+1
-1
packages/uni-app-plus/dist/uni.runtime.esm.js
packages/uni-app-plus/dist/uni.runtime.esm.js
+4
-0
packages/uni-cli-shared/src/checkUpdate.ts
packages/uni-cli-shared/src/checkUpdate.ts
+13
-1
packages/uni-components/dist/components.js
packages/uni-components/dist/components.js
+3
-1
packages/uni-h5/dist/uni-h5.es.js
packages/uni-h5/dist/uni-h5.es.js
+4
-0
packages/uni-mp-alipay/dist/uni.api.esm.js
packages/uni-mp-alipay/dist/uni.api.esm.js
+1
-1
packages/uni-mp-baidu/dist/uni.api.esm.js
packages/uni-mp-baidu/dist/uni.api.esm.js
+1
-1
packages/uni-mp-kuaishou/dist/uni.api.esm.js
packages/uni-mp-kuaishou/dist/uni.api.esm.js
+1
-1
packages/uni-mp-qq/dist/uni.api.esm.js
packages/uni-mp-qq/dist/uni.api.esm.js
+1
-1
packages/uni-mp-weixin/dist/uni.api.esm.js
packages/uni-mp-weixin/dist/uni.api.esm.js
+1
-1
packages/uni-quickapp-webview/dist/uni.api.esm.js
packages/uni-quickapp-webview/dist/uni.api.esm.js
+1
-1
packages/vite-plugin-uni/package.json
packages/vite-plugin-uni/package.json
+1
-1
packages/vite-plugin-uni/src/cli/utils.ts
packages/vite-plugin-uni/src/cli/utils.ts
+5
-1
pnpm-lock.yaml
pnpm-lock.yaml
+380
-493
scripts/checkVersion.js
scripts/checkVersion.js
+1
-1
未找到文件。
package.json
浏览文件 @
5983f2ee
...
...
@@ -84,7 +84,7 @@
"
semver
"
:
"
^7.3.5
"
,
"
ts-jest
"
:
"
^27.0.3
"
,
"
typescript
"
:
"
4.6.3
"
,
"
vite
"
:
"
^2.9.
5
"
,
"
vite
"
:
"
^2.9.
6
"
,
"
vue
"
:
"
3.2.33
"
,
"
vue-router
"
:
"
^4.0.14
"
,
"
yorkie
"
:
"
^2.0.0
"
...
...
packages/playground/ssr/package.json
浏览文件 @
5983f2ee
...
...
@@ -21,6 +21,6 @@
"compression"
:
"^1.7.4"
,
"cypress"
:
"^7.3.0"
,
"serve-static"
:
"^1.14.1"
,
"vite"
:
"^2.9.
5
"
"vite"
:
"^2.9.
6
"
}
}
packages/uni-app-plus/dist/uni.runtime.esm.js
浏览文件 @
5983f2ee
...
...
@@ -9938,6 +9938,10 @@ class CanvasContext {
beginPath() {
this.path = [];
this.subpath = [];
this.path.push({
method: 'beginPath',
data: [],
});
}
moveTo(x, y) {
this.path.push({
...
...
packages/uni-cli-shared/src/checkUpdate.ts
浏览文件 @
5983f2ee
...
...
@@ -207,9 +207,21 @@ export function getMac() {
if
(
!
item
.
family
||
(
item
.
mac
&&
item
.
mac
===
'
00:00:00:00:00:00
'
))
{
continue
}
if
(
item
.
family
===
'
IPv4
'
||
item
.
family
===
'
IPv6
'
)
{
if
(
// Node < v18
typeof
item
.
family
===
'
string
'
&&
(
item
.
family
===
'
IPv4
'
||
item
.
family
===
'
IPv6
'
)
)
{
mac
=
item
.
mac
break
}
else
if
(
// Node >= v18
typeof
item
.
family
===
'
number
'
&&
(
item
.
family
===
4
||
item
.
family
===
6
)
)
{
mac
=
(
item
as
any
).
mac
break
}
}
}
...
...
packages/uni-components/dist/components.js
浏览文件 @
5983f2ee
...
...
@@ -891,6 +891,7 @@ var MovableArea = defineComponent({
styles
:
[{
"
uni-movable-area
"
:
{
""
:
{
overflow
:
"
hidden
"
,
width
:
"
10px
"
,
height
:
"
10px
"
}
...
...
@@ -946,6 +947,7 @@ var MovableArea = defineComponent({
},
onPanend
(
e2
)
{
touchMovableView
&&
touchMovableView
.
touchend
(
e2
);
touchMovableView
=
null
;
}
};
const
addMovableViewContext
=
(
movableViewContext
)
=>
{
...
...
@@ -970,7 +972,7 @@ var MovableArea = defineComponent({
return
()
=>
{
const
defaultSlots
=
slots
.
default
&&
slots
.
default
();
const
movableViewItems
=
flatVNode
(
defaultSlots
);
return
createVNode
(
"
div
"
,
mergeProps
({
return
createVNode
(
"
view
"
,
mergeProps
({
"
ref
"
:
rootRef
,
"
class
"
:
"
uni-movable-area
"
},
listeners
),
[
movableViewItems
]);
...
...
packages/uni-h5/dist/uni-h5.es.js
浏览文件 @
5983f2ee
...
...
@@ -3546,6 +3546,10 @@ class CanvasContext {
beginPath() {
this.path = [];
this.subpath = [];
this.path.push({
method: "beginPath",
data: []
});
}
moveTo(x, y) {
this.path.push({
...
...
packages/uni-mp-alipay/dist/uni.api.esm.js
浏览文件 @
5983f2ee
...
...
@@ -861,7 +861,7 @@ function addSafeAreaInsets(fromRes, toRes) {
top
:
safeArea
.
top
,
left
:
safeArea
.
left
,
right
:
fromRes
.
windowWidth
-
safeArea
.
right
,
bottom
:
fromRes
.
windowHeight
-
safeArea
.
bottom
,
bottom
:
Math
.
abs
(
fromRes
.
screenHeight
-
safeArea
.
bottom
)
,
};
}
}
...
...
packages/uni-mp-baidu/dist/uni.api.esm.js
浏览文件 @
5983f2ee
...
...
@@ -861,7 +861,7 @@ function addSafeAreaInsets(fromRes, toRes) {
top
:
safeArea
.
top
,
left
:
safeArea
.
left
,
right
:
fromRes
.
windowWidth
-
safeArea
.
right
,
bottom
:
fromRes
.
windowHeight
-
safeArea
.
bottom
,
bottom
:
Math
.
abs
(
fromRes
.
screenHeight
-
safeArea
.
bottom
)
,
};
}
}
...
...
packages/uni-mp-kuaishou/dist/uni.api.esm.js
浏览文件 @
5983f2ee
...
...
@@ -861,7 +861,7 @@ function addSafeAreaInsets(fromRes, toRes) {
top
:
safeArea
.
top
,
left
:
safeArea
.
left
,
right
:
fromRes
.
windowWidth
-
safeArea
.
right
,
bottom
:
fromRes
.
windowHeight
-
safeArea
.
bottom
,
bottom
:
Math
.
abs
(
fromRes
.
screenHeight
-
safeArea
.
bottom
)
,
};
}
}
...
...
packages/uni-mp-qq/dist/uni.api.esm.js
浏览文件 @
5983f2ee
...
...
@@ -861,7 +861,7 @@ function addSafeAreaInsets(fromRes, toRes) {
top
:
safeArea
.
top
,
left
:
safeArea
.
left
,
right
:
fromRes
.
windowWidth
-
safeArea
.
right
,
bottom
:
fromRes
.
windowHeight
-
safeArea
.
bottom
,
bottom
:
Math
.
abs
(
fromRes
.
screenHeight
-
safeArea
.
bottom
)
,
};
}
}
...
...
packages/uni-mp-weixin/dist/uni.api.esm.js
浏览文件 @
5983f2ee
...
...
@@ -825,7 +825,7 @@ function addSafeAreaInsets(fromRes, toRes) {
top
:
safeArea
.
top
,
left
:
safeArea
.
left
,
right
:
fromRes
.
windowWidth
-
safeArea
.
right
,
bottom
:
fromRes
.
windowHeight
-
safeArea
.
bottom
,
bottom
:
Math
.
abs
(
fromRes
.
screenHeight
-
safeArea
.
bottom
)
,
};
}
}
...
...
packages/uni-quickapp-webview/dist/uni.api.esm.js
浏览文件 @
5983f2ee
...
...
@@ -861,7 +861,7 @@ function addSafeAreaInsets(fromRes, toRes) {
top
:
safeArea
.
top
,
left
:
safeArea
.
left
,
right
:
fromRes
.
windowWidth
-
safeArea
.
right
,
bottom
:
fromRes
.
windowHeight
-
safeArea
.
bottom
,
bottom
:
Math
.
abs
(
fromRes
.
screenHeight
-
safeArea
.
bottom
)
,
};
}
}
...
...
packages/vite-plugin-uni/package.json
浏览文件 @
5983f2ee
...
...
@@ -53,7 +53,7 @@
"chokidar"
:
"^3.5.3"
},
"peerDependencies"
:
{
"vite"
:
"^2.9.
5
"
"vite"
:
"^2.9.
6
"
},
"uni-app"
:
{
"compilerVersion"
:
"3.4.8"
...
...
packages/vite-plugin-uni/src/cli/utils.ts
浏览文件 @
5983f2ee
...
...
@@ -178,7 +178,11 @@ function resolveHostname() {
continue
}
for
(
const
info
of
interfaceInfos
)
{
if
(
info
.
family
===
'
IPv4
'
&&
!
info
.
address
.
includes
(
'
127.0.0.1
'
))
{
if
(
(
info
.
family
===
'
IPv4
'
||
/* Node >= v18 */
(
info
as
any
).
family
===
4
)
&&
!
info
.
address
.
includes
(
'
127.0.0.1
'
)
)
{
return
info
.
address
}
}
...
...
pnpm-lock.yaml
浏览文件 @
5983f2ee
此差异已折叠。
点击以展开。
scripts/checkVersion.js
浏览文件 @
5983f2ee
...
...
@@ -25,7 +25,7 @@ const pkgs = {
next
:
'
9.1.9
'
,
},
vite
:
{
latest
:
'
2.9.
5
'
,
latest
:
'
2.9.
6
'
,
},
'
@vitejs/plugin-vue
'
:
{
latest
:
'
2.3.1
'
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录