@tarojs/taro 4.1.12-beta.45 → 4.1.12-beta.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/taro",
|
|
3
|
-
"version": "4.1.12-beta.
|
|
3
|
+
"version": "4.1.12-beta.47",
|
|
4
4
|
"description": "Taro framework",
|
|
5
5
|
"author": "O2Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@types/postcss-url": "^10.0.4",
|
|
27
|
-
"@tarojs/api": "4.1.12-beta.
|
|
28
|
-
"@tarojs/runtime": "4.1.12-beta.
|
|
27
|
+
"@tarojs/api": "4.1.12-beta.47",
|
|
28
|
+
"@tarojs/runtime": "4.1.12-beta.47"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"html-webpack-plugin": "^5.6.0",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"webpack-chain": "^6.5.1",
|
|
34
34
|
"webpack-dev-server": "^4.15.2",
|
|
35
35
|
"rollup": "^3.29.4",
|
|
36
|
-
"@tarojs/
|
|
37
|
-
"@tarojs/
|
|
38
|
-
"@tarojs/
|
|
36
|
+
"@tarojs/helper": "4.1.12-beta.47",
|
|
37
|
+
"@tarojs/shared": "4.1.12-beta.47",
|
|
38
|
+
"@tarojs/components": "4.1.12-beta.47"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@types/react": "^18",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"webpack": "^5",
|
|
47
47
|
"webpack-chain": "^6",
|
|
48
48
|
"webpack-dev-server": "^4",
|
|
49
|
-
"@tarojs/components": "4.1.12-beta.
|
|
50
|
-
"@tarojs/
|
|
51
|
-
"@tarojs/
|
|
49
|
+
"@tarojs/components": "4.1.12-beta.47",
|
|
50
|
+
"@tarojs/helper": "4.1.12-beta.47",
|
|
51
|
+
"@tarojs/shared": "4.1.12-beta.47"
|
|
52
52
|
},
|
|
53
53
|
"peerDependenciesMeta": {
|
|
54
54
|
"@types/react": {
|
|
@@ -15,6 +15,21 @@ declare module '../../index' {
|
|
|
15
15
|
formData?: TaroGeneral.IAnyObject
|
|
16
16
|
/** 超时时间,单位为毫秒 */
|
|
17
17
|
timeout?: number
|
|
18
|
+
/** 是否开启 profile。开启后可在接口回调的 res.profile 中查看性能调试信息
|
|
19
|
+
* @default true
|
|
20
|
+
* @supported weapp
|
|
21
|
+
*/
|
|
22
|
+
enableProfile?: boolean
|
|
23
|
+
/** 是否开启 http2
|
|
24
|
+
* @default false
|
|
25
|
+
* @supported weapp
|
|
26
|
+
*/
|
|
27
|
+
enableHttp2?: boolean
|
|
28
|
+
/** 是否开启 Quic/h3 协议
|
|
29
|
+
* @default false
|
|
30
|
+
* @supported weapp
|
|
31
|
+
*/
|
|
32
|
+
enableQuic?: boolean
|
|
18
33
|
/** 上传的文件名
|
|
19
34
|
* @supported h5
|
|
20
35
|
*/
|
|
@@ -52,6 +67,11 @@ declare module '../../index' {
|
|
|
52
67
|
* @weapp 非官方文档标注属性
|
|
53
68
|
*/
|
|
54
69
|
cookies?: string[]
|
|
70
|
+
/** 网络请求过程中一些调试信息
|
|
71
|
+
* @supported weapp
|
|
72
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/performance/network.html
|
|
73
|
+
*/
|
|
74
|
+
profile?: TaroGeneral.IAnyObject
|
|
55
75
|
}
|
|
56
76
|
}
|
|
57
77
|
|