@tarojs/components 3.5.2-aplha.1 → 3.5.3

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.
@@ -11,7 +11,7 @@ export function initVue3Components(app) {
11
11
  component = _ref2[1];
12
12
 
13
13
  if (component) {
14
- var tagName = 'taro-' + name.replace(/(?<=[a-z])([A-Z])/g, '-$1').toLowerCase();
14
+ var tagName = 'taro' + name.replace(new RegExp('([A-Z])', 'g'), '-$1').toLowerCase();
15
15
  app.component(tagName, component);
16
16
  }
17
17
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/components",
3
- "version": "3.5.2-aplha.1",
3
+ "version": "3.5.3",
4
4
  "description": "",
5
5
  "browser": "dist/index.js",
6
6
  "main:h5": "dist/index.js",
@@ -32,8 +32,8 @@
32
32
  "dependencies": {
33
33
  "@stencil/core": "~2.13.0",
34
34
  "@stencil/sass": "1.5.2",
35
- "@tarojs/taro": "3.5.2-aplha.1",
36
- "@tarojs/router": "3.5.2-aplha.1",
35
+ "@tarojs/taro": "3.5.3",
36
+ "@tarojs/router": "3.5.3",
37
37
  "better-scroll": "^1.14.1",
38
38
  "classnames": "^2.2.5",
39
39
  "hls.js": "^1.1.5",
package/types/Map.d.ts CHANGED
@@ -25,7 +25,8 @@ interface MapProps extends StandardProps {
25
25
  */
26
26
  minScale?: number
27
27
  /** 最大缩放级别3-20
28
- * @default 20
28
+ * (备注: 字节小程序最大缩放级别 3-19)
29
+ * @default 20 (字节小程序默认为19)
29
30
  * @supported weapp, tt
30
31
  */
31
32
  maxScale?: number