@tarojs/extend 4.1.3-alpha.0 → 4.1.3-beta.0

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,12 +1,14 @@
1
1
  {
2
2
  "name": "@tarojs/extend",
3
- "version": "4.1.3-alpha.0",
3
+ "version": "4.1.3-beta.0",
4
4
  "description": "Taro extend functionality",
5
5
  "author": "O2Team",
6
6
  "license": "MIT",
7
7
  "main": "src/index.js",
8
+ "types": "types/index.d.ts",
8
9
  "files": [
9
- "src"
10
+ "src",
11
+ "types"
10
12
  ],
11
13
  "repository": {
12
14
  "type": "git",
@@ -16,15 +18,15 @@
16
18
  "url": "https://github.com/NervJS/taro/issues"
17
19
  },
18
20
  "engines": {
19
- "node": ">= 18"
21
+ "node": "^20 || ^22"
20
22
  },
21
23
  "devDependencies": {
22
- "@tarojs/runtime": "4.1.3-alpha.0",
23
- "@tarojs/taro": "4.1.3-alpha.0"
24
+ "@tarojs/taro": "4.1.3-beta.0",
25
+ "@tarojs/runtime": "4.1.3-beta.0"
24
26
  },
25
27
  "peerDependencies": {
26
- "@tarojs/runtime": "4.1.3-alpha.0",
27
- "@tarojs/taro": "4.1.3-alpha.0"
28
+ "@tarojs/runtime": "4.1.3-beta.0",
29
+ "@tarojs/taro": "4.1.3-beta.0"
28
30
  },
29
31
  "scripts": {
30
32
  "test": "TARO_ENV=weapp jest --coverage false",
@@ -7,6 +7,8 @@
7
7
  // (c) 2010-2016 Thomas Fuchs
8
8
  // Zepto.js may be freely distributed under the MIT license.
9
9
 
10
+ import { window } from '@tarojs/runtime'
11
+
10
12
  export function initEvent ($) {
11
13
  let _zid = 1; let undefined
12
14
  const slice = Array.prototype.slice
@@ -1,5 +1,6 @@
1
1
  /* eslint-disable no-mixed-operators */
2
2
  /* eslint-disable prefer-const */
3
+ /* eslint-disable taro/max-ternary-depth */
3
4
  /*!
4
5
  * Sizzle CSS Selector Engine v@VERSION
5
6
  * https://sizzlejs.com/
@@ -6,6 +6,7 @@
6
6
  /* eslint-disable no-unused-expressions */
7
7
  /* eslint-disable eqeqeq */
8
8
  /* eslint-disable prefer-const */
9
+ /* eslint-disable taro/max-ternary-depth */
9
10
  // Zepto.js
10
11
  // (c) 2010-2017 Thomas Fuchs
11
12
  // Zepto.js may be freely distributed under the MIT license.