Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
genary
uni-app
提交
ec7414a0
U
uni-app
项目概览
genary
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ec7414a0
编写于
7月 08, 2022
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: bump vite from 2.9.13 to 2.9.14
上级
26c32028
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
55 addition
and
42 deletion
+55
-42
package.json
package.json
+1
-1
packages/playground/ssr/package.json
packages/playground/ssr/package.json
+1
-1
packages/playground/uts/nativeplugins/test-uniplugin/android/src/io/dcloud/uniplugin/log.uts
...ns/test-uniplugin/android/src/io/dcloud/uniplugin/log.uts
+1
-1
packages/playground/uts/unpackage/nativeplugins/test-uniplugin-android/android/src/io/dcloud/uniplugin/log.kt
...-uniplugin-android/android/src/io/dcloud/uniplugin/log.kt
+1
-1
packages/uni-app-plus/dist/uni.runtime.esm.js
packages/uni-app-plus/dist/uni.runtime.esm.js
+16
-9
packages/uni-app-vite/package.json
packages/uni-app-vite/package.json
+1
-1
packages/uni-h5/dist/uni-h5.es.js
packages/uni-h5/dist/uni-h5.es.js
+14
-8
packages/vite-plugin-uni/package.json
packages/vite-plugin-uni/package.json
+2
-2
pnpm-lock.yaml
pnpm-lock.yaml
+18
-18
未找到文件。
package.json
浏览文件 @
ec7414a0
...
...
@@ -87,7 +87,7 @@
"
semver
"
:
"
^7.3.5
"
,
"
ts-jest
"
:
"
^27.0.3
"
,
"
typescript
"
:
"
4.6.4
"
,
"
vite
"
:
"
2.9.1
3
"
,
"
vite
"
:
"
2.9.1
4
"
,
"
vue
"
:
"
3.2.37
"
,
"
vue-router
"
:
"
^4.1.1
"
,
"
yorkie
"
:
"
^2.0.0
"
...
...
packages/playground/ssr/package.json
浏览文件 @
ec7414a0
...
...
@@ -21,6 +21,6 @@
"compression"
:
"^1.7.4"
,
"cypress"
:
"^7.3.0"
,
"serve-static"
:
"^1.14.1"
,
"vite"
:
"2.9.1
3
"
"vite"
:
"2.9.1
4
"
}
}
packages/playground/uts/nativeplugins/test-uniplugin/android/src/io/dcloud/uniplugin/log.uts
浏览文件 @
ec7414a0
import Log from "android.util.Log";
export default function log(tag: string, msg: string) {
Log
!
.e(tag, msg);
Log.e(tag, msg);
}
packages/playground/uts/unpackage/nativeplugins/test-uniplugin-android/android/src/io/dcloud/uniplugin/log.kt
浏览文件 @
ec7414a0
package
io.dcloud.uniplugin.log;
import
android.util.Log;
fun
log
(
tag
:
String
,
msg
:
String
)
{
Log
!!
.
e
(
tag
,
msg
);
Log
.
e
(
tag
,
msg
);
}
packages/uni-app-plus/dist/uni.runtime.esm.js
浏览文件 @
ec7414a0
...
...
@@ -11613,6 +11613,18 @@ const GetLocationProtocol = {
const API_OPEN_LOCATION = 'openLocation';
const OpenLocationOptions = {
formatArgs: {
latitude(value, params) {
if (value !== 0 && !value) {
return 'latitude should not be empty.';
}
params.latitude = value;
},
longitude(value, params) {
if (value !== 0 && !value) {
return 'longitude should not be empty.';
}
params.longitude = value;
},
scale(value, params) {
value = Math.floor(value);
params.scale = value >= 5 && value <= 18 ? value : 18;
...
...
@@ -11620,14 +11632,8 @@ const OpenLocationOptions = {
},
};
const OpenLocationProtocol = {
latitude: {
type: Number,
required: true,
},
longitude: {
type: Number,
required: true,
},
latitude: Number,
longitude: Number,
scale: Number,
name: String,
address: String,
...
...
@@ -17708,10 +17714,11 @@ function onWebviewPopGesture(webview) {
setStatusBarStyle(popStartStatusBarStyle);
}
else if (e.type === 'end' && e.result) {
const len = getCurrentPages().length;
const page = getCurrentPage();
removeCurrentPage();
setStatusBarStyle();
if (page && isDirectPage(page)) {
if (page &&
len === 1 &&
isDirectPage(page)) {
reLaunchEntryPage();
}
else {
...
...
packages/uni-app-vite/package.json
浏览文件 @
ec7414a0
...
...
@@ -40,7 +40,7 @@
"@vue/compiler-core"
:
"3.2.37"
,
"esbuild"
:
"^0.14.27"
,
"postcss"
:
"^8.4.13"
,
"vite"
:
"2.9.1
3
"
,
"vite"
:
"2.9.1
4
"
,
"vue"
:
"3.2.37"
}
}
packages/uni-h5/dist/uni-h5.es.js
浏览文件 @
ec7414a0
...
...
@@ -4837,6 +4837,18 @@ const GetLocationProtocol = {
const API_OPEN_LOCATION = "openLocation";
const OpenLocationOptions = {
formatArgs: {
latitude(value, params) {
if (value !== 0 && !value) {
return "latitude should not be empty.";
}
params.latitude = value;
},
longitude(value, params) {
if (value !== 0 && !value) {
return "longitude should not be empty.";
}
params.longitude = value;
},
scale(value, params) {
value = Math.floor(value);
params.scale = value >= 5 && value <= 18 ? value : 18;
...
...
@@ -4844,14 +4856,8 @@ const OpenLocationOptions = {
}
};
const OpenLocationProtocol = {
latitude: {
type: Number,
required: true
},
longitude: {
type: Number,
required: true
},
latitude: Number,
longitude: Number,
scale: Number,
name: String,
address: String
...
...
packages/vite-plugin-uni/package.json
浏览文件 @
ec7414a0
...
...
@@ -53,11 +53,11 @@
"@types/sass"
:
"^1.16.0"
,
"@vue/babel-plugin-jsx"
:
"^1.1.1"
,
"chokidar"
:
"^3.5.3"
,
"vite"
:
"2.9.1
3
"
,
"vite"
:
"2.9.1
4
"
,
"vue"
:
"3.2.37"
},
"peerDependencies"
:
{
"vite"
:
"2.9.1
3
"
"vite"
:
"2.9.1
4
"
},
"uni-app"
:
{
"compilerVersion"
:
"3.5.1"
...
...
pnpm-lock.yaml
浏览文件 @
ec7414a0
...
...
@@ -50,7 +50,7 @@ importers:
semver
:
^7.3.5
ts-jest
:
^27.0.3
typescript
:
4.6.4
vite
:
2.9.1
3
vite
:
2.9.1
4
vue
:
3.2.37
vue-router
:
^4.1.1
yorkie
:
^2.0.0
...
...
@@ -72,7 +72,7 @@ importers:
'
@types/jest'
:
27.5.2
'
@types/node'
:
17.0.45
'
@typescript-eslint/parser'
:
5.28.0_e4zyhrvfnqudwdx5bevnvkluy4
'
@vitejs/plugin-vue'
:
2.3.3_vite@2.9.1
3
+vue@3.2.37
'
@vitejs/plugin-vue'
:
2.3.3_vite@2.9.1
4
+vue@3.2.37
'
@vitejs/plugin-vue-jsx'
:
1.3.10
'
@vue/compiler-sfc'
:
3.2.37
'
@vue/reactivity'
:
3.2.37
...
...
@@ -101,7 +101,7 @@ importers:
semver
:
7.3.7
ts-jest
:
27.1.5_s6xtcnfklq2lhz65wqxmjm4pia
typescript
:
4.6.4
vite
:
2.9.1
3
vite
:
2.9.1
4
vue
:
3.2.37
vue-router
:
4.1.1_vue@3.2.37
yorkie
:
2.0.0
...
...
@@ -115,7 +115,7 @@ importers:
compression
:
^1.7.4
cypress
:
^7.3.0
serve-static
:
^1.14.1
vite
:
2.9.1
3
vite
:
2.9.1
4
vue
:
3.2.37
vue-router
:
^4.1.1
vuex
:
^4.0.2
...
...
@@ -131,7 +131,7 @@ importers:
compression
:
1.7.4
cypress
:
7.7.0
serve-static
:
1.15.0
vite
:
2.9.1
3
vite
:
2.9.1
4
packages/size-check
:
specifiers
:
...
...
@@ -232,7 +232,7 @@ importers:
picocolors
:
^1.0.0
postcss
:
^8.4.13
rollup
:
^2.59.0
vite
:
2.9.1
3
vite
:
2.9.1
4
vue
:
3.2.37
dependencies
:
'
@dcloudio/uni-cli-shared'
:
link:../uni-cli-shared
...
...
@@ -241,7 +241,7 @@ importers:
'
@dcloudio/uni-shared'
:
link:../uni-shared
'
@dcloudio/uts'
:
link:../uts
'
@rollup/pluginutils'
:
4.2.1
'
@vitejs/plugin-vue'
:
2.3.3_vite@2.9.1
3
+vue@3.2.37
'
@vitejs/plugin-vue'
:
2.3.3_vite@2.9.1
4
+vue@3.2.37
'
@vue/compiler-dom'
:
3.2.37
'
@vue/compiler-sfc'
:
3.2.37
debug
:
4.3.4
...
...
@@ -254,7 +254,7 @@ importers:
'
@vue/compiler-core'
:
3.2.37
esbuild
:
0.14.45
postcss
:
8.4.14
vite
:
2.9.1
3
vite
:
2.9.1
4
vue
:
3.2.37
packages/uni-app-vue
:
...
...
@@ -869,7 +869,7 @@ importers:
hash-sum
:
^2.0.0
jsonc-parser
:
^3.0.0
picocolors
:
^1.0.0
vite
:
2.9.1
3
vite
:
2.9.1
4
vue
:
3.2.37
dependencies
:
'
@babel/core'
:
7.18.5
...
...
@@ -878,8 +878,8 @@ importers:
'
@dcloudio/uni-cli-shared'
:
link:../uni-cli-shared
'
@dcloudio/uni-shared'
:
link:../uni-shared
'
@rollup/pluginutils'
:
4.2.1
'
@vitejs/plugin-legacy'
:
1.8.2_vite@2.9.1
3
'
@vitejs/plugin-vue'
:
2.3.3_vite@2.9.1
3
+vue@3.2.37
'
@vitejs/plugin-legacy'
:
1.8.2_vite@2.9.1
4
'
@vitejs/plugin-vue'
:
2.3.3_vite@2.9.1
4
+vue@3.2.37
'
@vitejs/plugin-vue-jsx'
:
1.3.10
'
@vue/compiler-core'
:
3.2.37
'
@vue/compiler-dom'
:
3.2.37
...
...
@@ -902,7 +902,7 @@ importers:
'
@types/sass'
:
1.43.1
'
@vue/babel-plugin-jsx'
:
1.1.1_@babel+core@7.18.5
chokidar
:
3.5.3
vite
:
2.9.1
3
vite
:
2.9.1
4
vue
:
3.2.37
packages
:
...
...
@@ -2996,7 +2996,7 @@ packages:
eslint-visitor-keys
:
3.3.0
dev
:
true
/@vitejs/plugin-legacy/1.8.2_vite@2.9.1
3
:
/@vitejs/plugin-legacy/1.8.2_vite@2.9.1
4
:
resolution
:
{
integrity
:
sha512-NCOKU+pU+cxLMR9P9RTolEuOK+h+zYBXlknj+zGcKSj/NXBZYgA1GAH1FnO4zijoWRiTaiOm2ha9LQrELE7XHg==
}
engines
:
{
node
:
'
>=12.0.0'
}
peerDependencies
:
...
...
@@ -3007,7 +3007,7 @@ packages:
magic-string
:
0.26.2
regenerator-runtime
:
0.13.9
systemjs
:
6.12.1
vite
:
2.9.1
3
vite
:
2.9.1
4
dev
:
false
/@vitejs/plugin-vue-jsx/1.3.10
:
...
...
@@ -3023,14 +3023,14 @@ packages:
transitivePeerDependencies
:
-
supports-color
/@vitejs/plugin-vue/2.3.3_vite@2.9.1
3
+vue@3.2.37
:
/@vitejs/plugin-vue/2.3.3_vite@2.9.1
4
+vue@3.2.37
:
resolution
:
{
integrity
:
sha512-SmQLDyhz+6lGJhPELsBdzXGc+AcaT8stgkbiTFGpXPe8Tl1tJaBw1A6pxDqDuRsVkD8uscrkx3hA7QDOoKYtyw==
}
engines
:
{
node
:
'
>=12.0.0'
}
peerDependencies
:
vite
:
^2.5.10
vue
:
^3.2.25
dependencies
:
vite
:
2.9.1
3
vite
:
2.9.1
4
vue
:
3.2.37
/@vue/babel-helper-vue-transform-on/1.0.2
:
...
...
@@ -8199,8 +8199,8 @@ packages:
extsprintf
:
1.3.0
dev
:
true
/vite/2.9.1
3
:
resolution
:
{
integrity
:
sha512-
AsOBAaT0AD7Mhe8DuK+/kE4aWYFMx/i0ZNi98hJclxb4e0OhQcZYUrvLjIaQ8e59Ui7txcvKMiJC1yftqpQoD
w==
}
/vite/2.9.1
4
:
resolution
:
{
integrity
:
sha512-
P/UCjSpSMcE54r4mPak55hWAZPlyfS369svib/gpmz8/01L822lMPOJ/RYW6tLCe1RPvMvOsJ17erf55bKp4H
w==
}
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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录