@tarojs/taro 3.4.12 → 3.4.13

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": "3.4.12",
3
+ "version": "3.4.13",
4
4
  "description": "Taro framework",
5
5
  "homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
6
6
  "main": "index.js",
@@ -24,9 +24,9 @@
24
24
  "author": "O2Team",
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
- "@tarojs/api": "3.4.12",
28
- "@tarojs/runtime": "3.4.12",
29
- "@tarojs/taro-h5": "3.4.12"
27
+ "@tarojs/api": "3.4.13",
28
+ "@tarojs/runtime": "3.4.13",
29
+ "@tarojs/taro-h5": "3.4.13"
30
30
  },
31
- "gitHead": "1c77a3abd807a1c088825751eddd8dad260dafc2"
31
+ "gitHead": "60b897aad8c59e3912499de68d32ed768d9ba60c"
32
32
  }
@@ -359,6 +359,22 @@ declare module './index' {
359
359
  /** 视频号直播打开的第一个页面的全屏状态使用自定义顶部,支持 */
360
360
  firstPageNavigationStyle?: 'default' | 'custom'
361
361
  }
362
+ /** 小程序调试相关配置项 */
363
+ debugOptions?: {
364
+ /** 是否开启 FPS 面板,默认false */
365
+ enableFPSPanel?: boolean
366
+ }
367
+ /** touch 事件监听是否为 passive,默认false */
368
+ enablePassiveEvent?: boolean | {
369
+ /** 是否设置 touchstart 事件为 passive,默认false */
370
+ touchstart?: boolean
371
+ /** 是否设置 touchmove 事件为 passive,默认false */
372
+ touchmove?: boolean
373
+ /** 是否设置 wheel 事件为 passive,默认false */
374
+ wheel?: boolean
375
+ }
376
+ /** 自定义模块映射规则 */
377
+ resolveAlias?: Record<string, string>
362
378
  /** 接受一个数组,每一项都是字符串,来指定编译为原生小程序组件的组件入口 */
363
379
  components?: string[]
364
380
  /** 渲染页面的容器 id