Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qianlong66
uni-app
提交
1737c796
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,发现更多精彩内容 >>
提交
1737c796
编写于
4月 01, 2022
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
build(deps): bump vite from 2.9.0 to 2.9.1
上级
dffa477a
变更
12
显示空白变更内容
内联
并排
Showing
12 changed file
with
48 addition
and
43 deletion
+48
-43
package.json
package.json
+1
-1
packages/playground/ssr/package.json
packages/playground/ssr/package.json
+1
-1
packages/uni-app-plus/dist/uni-app-view.umd.js
packages/uni-app-plus/dist/uni-app-view.umd.js
+1
-1
packages/uni-app-plus/dist/uni.runtime.esm.js
packages/uni-app-plus/dist/uni.runtime.esm.js
+6
-3
packages/uni-shared/dist/uni-shared.cjs.js
packages/uni-shared/dist/uni-shared.cjs.js
+2
-1
packages/uni-shared/dist/uni-shared.es.js
packages/uni-shared/dist/uni-shared.es.js
+2
-1
packages/uni-stat/dist/uni-cloud-stat.cjs.js
packages/uni-stat/dist/uni-cloud-stat.cjs.js
+4
-4
packages/uni-stat/dist/uni-cloud-stat.es.js
packages/uni-stat/dist/uni-cloud-stat.es.js
+4
-4
packages/uni-stat/dist/uni-stat.cjs.js
packages/uni-stat/dist/uni-stat.cjs.js
+4
-4
packages/uni-stat/dist/uni-stat.es.js
packages/uni-stat/dist/uni-stat.es.js
+4
-4
packages/vite-plugin-uni/package.json
packages/vite-plugin-uni/package.json
+1
-1
pnpm-lock.yaml
pnpm-lock.yaml
+18
-18
未找到文件。
package.json
浏览文件 @
1737c796
...
...
@@ -84,7 +84,7 @@
"
semver
"
:
"
^7.3.5
"
,
"
ts-jest
"
:
"
^27.0.3
"
,
"
typescript
"
:
"
4.6.3
"
,
"
vite
"
:
"
^2.9.
0
"
,
"
vite
"
:
"
^2.9.
1
"
,
"
vue
"
:
"
3.2.31
"
,
"
vue-router
"
:
"
^4.0.14
"
,
"
yorkie
"
:
"
^2.0.0
"
...
...
packages/playground/ssr/package.json
浏览文件 @
1737c796
...
...
@@ -21,6 +21,6 @@
"compression"
:
"^1.7.4"
,
"cypress"
:
"^7.3.0"
,
"serve-static"
:
"^1.14.1"
,
"vite"
:
"^2.9.
0
"
"vite"
:
"^2.9.
1
"
}
}
packages/uni-app-plus/dist/uni-app-view.umd.js
浏览文件 @
1737c796
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
packages/uni-app-plus/dist/uni.runtime.esm.js
浏览文件 @
1737c796
...
...
@@ -12920,7 +12920,7 @@ function setTabBarBadge$1(type, index, text) {
/**
* 动态设置 tabBar 某一项的内容
*/
function setTabBarItem$1(index, text, iconPath, selectedIconPath, visible) {
function setTabBarItem$1(index, text, iconPath, selectedIconPath, visible
, iconfont
) {
const item = {
index,
};
...
...
@@ -12933,6 +12933,9 @@ function setTabBarItem$1(index, text, iconPath, selectedIconPath, visible) {
if (selectedIconPath) {
item.selectedIconPath = getRealPath(selectedIconPath);
}
if (iconfont !== undefined) {
item.iconfont = iconfont;
}
if (visible !== undefined) {
item.visible = config.list[index].visible = visible;
delete item.index;
...
...
@@ -15994,8 +15997,8 @@ const setTabBarBadge = defineAsyncApi(API_SET_TAB_BAR_BADGE, ({ index, text }, {
tabBarInstance.setTabBarBadge('text', index, text);
resolve();
}, SetTabBarBadgeProtocol, SetTabBarBadgeOptions);
const setTabBarItem = defineAsyncApi(API_SET_TAB_BAR_ITEM, ({ index, text, iconPath, selectedIconPath, pagePath, visible }, { resolve, reject }) => {
tabBarInstance.setTabBarItem(index, text, iconPath, selectedIconPath, visible);
const setTabBarItem = defineAsyncApi(API_SET_TAB_BAR_ITEM, ({ index, text, iconPath, selectedIconPath, pagePath, visible
, iconfont
}, { resolve, reject }) => {
tabBarInstance.setTabBarItem(index, text, iconPath, selectedIconPath, visible
, iconfont
);
const route = pagePath && __uniRoutes.find(({ path }) => path === pagePath);
if (route) {
const meta = route.meta;
...
...
packages/uni-shared/dist/uni-shared.cjs.js
浏览文件 @
1737c796
...
...
@@ -655,7 +655,8 @@ function normalizeLog(type, filename, args) {
}
const
msgs
=
args
.
map
(
function
(
v
)
{
const
type
=
shared
.
toTypeString
(
v
).
toLowerCase
();
if
(
type
===
'
[object object]
'
||
type
===
'
[object array]
'
)
{
if
([
'
[object object]
'
,
'
[object array]
'
,
'
[object module]
'
].
indexOf
(
type
)
!==
-
1
)
{
try
{
v
=
'
---BEGIN:JSON---
'
+
...
...
packages/uni-shared/dist/uni-shared.es.js
浏览文件 @
1737c796
...
...
@@ -651,7 +651,8 @@ function normalizeLog(type, filename, args) {
}
const
msgs
=
args
.
map
(
function
(
v
)
{
const
type
=
toTypeString
(
v
).
toLowerCase
();
if
(
type
===
'
[object object]
'
||
type
===
'
[object array]
'
)
{
if
([
'
[object object]
'
,
'
[object array]
'
,
'
[object module]
'
].
indexOf
(
type
)
!==
-
1
)
{
try
{
v
=
'
---BEGIN:JSON---
'
+
...
...
packages/uni-stat/dist/uni-cloud-stat.cjs.js
浏览文件 @
1737c796
...
...
@@ -1233,9 +1233,9 @@ function main() {
{
console
.
log
(
'
uni统计开启,version:2
'
);
}
//
if (process.env.NODE_ENV === 'development') {
// uni.report = function(type, options) {}
//
} else {
if
(
process
.
env
.
NODE_ENV
===
'
development
'
)
{
uni
.
report
=
function
(
type
,
options
)
{};
}
else
{
// #ifdef VUE3
uni
.
onCreateVueApp
((
app
)
=>
{
app
.
mixin
(
lifecycle
);
...
...
@@ -1261,7 +1261,7 @@ function main() {
stat
.
sendEvent
(
type
,
options
);
};
// #endif
//
}
}
}
main
();
packages/uni-stat/dist/uni-cloud-stat.es.js
浏览文件 @
1737c796
...
...
@@ -1231,9 +1231,9 @@ function main() {
{
console
.
log
(
'
uni统计开启,version:2
'
);
}
//
if (process.env.NODE_ENV === 'development') {
// uni.report = function(type, options) {}
//
} else {
if
(
process
.
env
.
NODE_ENV
===
'
development
'
)
{
uni
.
report
=
function
(
type
,
options
)
{};
}
else
{
// #ifdef VUE3
uni
.
onCreateVueApp
((
app
)
=>
{
app
.
mixin
(
lifecycle
);
...
...
@@ -1259,7 +1259,7 @@ function main() {
stat
.
sendEvent
(
type
,
options
);
};
// #endif
//
}
}
}
main
();
packages/uni-stat/dist/uni-stat.cjs.js
浏览文件 @
1737c796
...
...
@@ -1248,9 +1248,9 @@ function main() {
{
console
.
log
(
'
uni统计开启,version:1
'
);
}
//
if (process.env.NODE_ENV === 'development') {
// uni.report = function(type, options) {}
//
} else {
if
(
process
.
env
.
NODE_ENV
===
'
development
'
)
{
uni
.
report
=
function
(
type
,
options
)
{};
}
else
{
// #ifdef VUE3
uni
.
onCreateVueApp
((
app
)
=>
{
app
.
mixin
(
lifecycle
);
...
...
@@ -1276,7 +1276,7 @@ function main() {
stat
.
sendEvent
(
type
,
options
);
};
// #endif
//
}
}
}
main
();
packages/uni-stat/dist/uni-stat.es.js
浏览文件 @
1737c796
...
...
@@ -1246,9 +1246,9 @@ function main() {
{
console
.
log
(
'
uni统计开启,version:1
'
);
}
//
if (process.env.NODE_ENV === 'development') {
// uni.report = function(type, options) {}
//
} else {
if
(
process
.
env
.
NODE_ENV
===
'
development
'
)
{
uni
.
report
=
function
(
type
,
options
)
{};
}
else
{
// #ifdef VUE3
uni
.
onCreateVueApp
((
app
)
=>
{
app
.
mixin
(
lifecycle
);
...
...
@@ -1274,7 +1274,7 @@ function main() {
stat
.
sendEvent
(
type
,
options
);
};
// #endif
//
}
}
}
main
();
packages/vite-plugin-uni/package.json
浏览文件 @
1737c796
...
...
@@ -53,7 +53,7 @@
"chokidar"
:
"^3.5.3"
},
"peerDependencies"
:
{
"vite"
:
"^2.9.
0
"
"vite"
:
"^2.9.
1
"
},
"uni-app"
:
{
"compilerVersion"
:
"3.4.3"
...
...
pnpm-lock.yaml
浏览文件 @
1737c796
...
...
@@ -5,7 +5,7 @@ importers:
.
:
specifiers
:
'
@babel/preset-env'
:
^7.16.11
'
@dcloudio/types'
:
^2.5.1
8
'
@dcloudio/types'
:
^2.5.1
9
'
@dcloudio/uni-api'
:
3.0.0-alpha-3040320220325006
'
@dcloudio/uni-app'
:
3.0.0-alpha-3040320220325006
'
@jest/types'
:
^27.0.2
...
...
@@ -47,13 +47,13 @@ importers:
semver
:
^7.3.5
ts-jest
:
^27.0.3
typescript
:
4.6.3
vite
:
^2.9.
0
vite
:
^2.9.
1
vue
:
3.2.31
vue-router
:
^4.0.14
yorkie
:
^2.0.0
devDependencies
:
'
@babel/preset-env'
:
7.16.11
'
@dcloudio/types'
:
2.5.1
8
'
@dcloudio/types'
:
2.5.1
9
'
@dcloudio/uni-api'
:
link:packages/uni-api
'
@dcloudio/uni-app'
:
link:packages/uni-app
'
@jest/types'
:
27.4.2
...
...
@@ -67,7 +67,7 @@ importers:
'
@rollup/plugin-strip'
:
2.1.0_rollup@2.60.2
'
@types/jest'
:
26.0.24
'
@typescript-eslint/parser'
:
5.14.0_eslint@7.32.0+typescript@4.6.3
'
@vitejs/plugin-vue'
:
2.3.1_vite@2.9.
0
+vue@3.2.31
'
@vitejs/plugin-vue'
:
2.3.1_vite@2.9.
1
+vue@3.2.31
'
@vitejs/plugin-vue-jsx'
:
1.3.9
'
@vue/reactivity'
:
3.2.31
'
@vue/runtime-core'
:
3.2.31
...
...
@@ -95,7 +95,7 @@ importers:
semver
:
7.3.5
ts-jest
:
27.1.0_2528360f5083edd4f29e3d452ccadc0f
typescript
:
4.6.3
vite
:
2.9.
0
vite
:
2.9.
1
vue
:
3.2.31
vue-router
:
4.0.14_vue@3.2.31
yorkie
:
2.0.0
...
...
@@ -109,7 +109,7 @@ importers:
compression
:
^1.7.4
cypress
:
^7.3.0
serve-static
:
^1.14.1
vite
:
^2.9.
0
vite
:
^2.9.
1
vue
:
3.2.31
vue-router
:
^4.0.14
vuex
:
^4.0.2
...
...
@@ -125,7 +125,7 @@ importers:
compression
:
1.7.4
cypress
:
7.7.0
serve-static
:
1.14.1
vite
:
2.9.
0
vite
:
2.9.
1
packages/size-check
:
specifiers
:
...
...
@@ -221,7 +221,7 @@ importers:
'
@dcloudio/uni-nvue-styler'
:
link:../uni-nvue-styler
'
@dcloudio/uni-shared'
:
link:../uni-shared
'
@rollup/pluginutils'
:
4.2.0
'
@vitejs/plugin-vue'
:
2.3.1_vite@2.9.
0
+vue@3.2.31
'
@vitejs/plugin-vue'
:
2.3.1_vite@2.9.
1
+vue@3.2.31
'
@vue/compiler-dom'
:
3.2.31
'
@vue/compiler-sfc'
:
3.2.31
debug
:
4.3.3
...
...
@@ -750,8 +750,8 @@ importers:
'
@dcloudio/uni-cli-shared'
:
link:../uni-cli-shared
'
@dcloudio/uni-shared'
:
link:../uni-shared
'
@rollup/pluginutils'
:
4.2.0
'
@vitejs/plugin-legacy'
:
1.8.0_vite@2.9.
0
'
@vitejs/plugin-vue'
:
2.3.1_vite@2.9.
0
+vue@3.2.31
'
@vitejs/plugin-legacy'
:
1.8.0_vite@2.9.
1
'
@vitejs/plugin-vue'
:
2.3.1_vite@2.9.
1
+vue@3.2.31
'
@vitejs/plugin-vue-jsx'
:
1.3.9
'
@vue/compiler-core'
:
3.2.31
'
@vue/compiler-dom'
:
3.2.31
...
...
@@ -2324,8 +2324,8 @@ packages:
lodash.once
:
4.1.1
dev
:
true
/@dcloudio/types/2.5.1
8
:
resolution
:
{
integrity
:
sha512-
1EMwZsi5j9KHI5wdLwZJmUyo5b8HnG60CRqsqW5kcd3cgSrKtgL3EKCYUjmJw+3gd9G/4NeEkSx5pT5l+4rNXg
==
}
/@dcloudio/types/2.5.1
9
:
resolution
:
{
integrity
:
sha512-
wwUKwS9LD0tvHytNZde6Dm2w2JAlPZcbf+DkxW2aQOgYaC0kqblgHKRQP6N7/4yhuV04XxpfpKhSZYSPCazBjQ
==
}
dev
:
true
/@dcloudio/uni-cli-i18n/2.0.0-alpha-33020211130001
:
...
...
@@ -3177,7 +3177,7 @@ packages:
eslint-visitor-keys
:
3.1.0
dev
:
true
/@vitejs/plugin-legacy/1.8.0_vite@2.9.
0
:
/@vitejs/plugin-legacy/1.8.0_vite@2.9.
1
:
resolution
:
{
integrity
:
sha512-S3+uL1zp8GLUbmJAQk2wQbZLTyISKRFSMBwCFI3XQVRD3OZshqkiPyOKdRiSPlP9HoGz+q90kk+1qPm1tJRqCg==
}
engines
:
{
node
:
'
>=12.0.0'
}
peerDependencies
:
...
...
@@ -3188,7 +3188,7 @@ packages:
magic-string
:
0.26.1
regenerator-runtime
:
0.13.9
systemjs
:
6.12.1
vite
:
2.9.
0
vite
:
2.9.
1
dev
:
false
/@vitejs/plugin-vue-jsx/1.3.9
:
...
...
@@ -3204,14 +3204,14 @@ packages:
transitivePeerDependencies
:
-
supports-color
/@vitejs/plugin-vue/2.3.1_vite@2.9.
0
+vue@3.2.31
:
/@vitejs/plugin-vue/2.3.1_vite@2.9.
1
+vue@3.2.31
:
resolution
:
{
integrity
:
sha512-YNzBt8+jt6bSwpt7LP890U1UcTOIZZxfpE5WOJ638PNxSEKOqAi0+FSKS0nVeukfdZ0Ai/H7AFd6k3hayfGZqQ==
}
engines
:
{
node
:
'
>=12.0.0'
}
peerDependencies
:
vite
:
^2.5.10
vue
:
^3.2.25
dependencies
:
vite
:
2.9.
0
vite
:
2.9.
1
vue
:
3.2.31
/@vue/babel-helper-vue-transform-on/1.0.2
:
...
...
@@ -8658,8 +8658,8 @@ packages:
extsprintf
:
1.3.0
dev
:
true
/vite/2.9.
0
:
resolution
:
{
integrity
:
sha512-
5NAnNqzPmZzJvrswZGeTS2JHrBGIzIWJA2hBTTMYuoBVEMh0xwE0b5yyIXFxf7F07hrK4ugX2LJ7q6t7iIbd4
Q==
}
/vite/2.9.
1
:
resolution
:
{
integrity
:
sha512-
vSlsSdOYGcYEJfkQ/NeLXgnRv5zZfpAsdztkIrs7AZHV8RCMZQkwjo4DS5BnrYTqoWqLoUe1Cah4aVO4oNNqC
Q==
}
engines
:
{
node
:
'
>=12.2.0'
}
hasBin
:
true
peerDependencies
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录