tools-min-ns 1.12.0 → 1.12.1

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/README.md CHANGED
@@ -5,6 +5,9 @@ cnpm i tools-min-ns --save
5
5
  ```
6
6
 
7
7
  # updates
8
+ ## v1.12.1
9
+ > BrowserUtil还是window暴露问题
10
+
8
11
  ## v1.12.0
9
12
  > CheckUtil
10
13
  新增方法isValidFileName
package/esm/env/env.js CHANGED
@@ -25,8 +25,6 @@ function getGlobal() {
25
25
  global = my;
26
26
  } else if (isWeChatMiniProgram) {
27
27
  global = wx;
28
- } else {
29
- global = window;
30
28
  }
31
29
  return global;
32
30
  } // 设置全局变量
package/lib/env/env.js CHANGED
@@ -31,8 +31,6 @@ function getGlobal() {
31
31
  global = my;
32
32
  } else if (exports.isWeChatMiniProgram) {
33
33
  global = wx;
34
- } else {
35
- global = window;
36
34
  }
37
35
  return global;
38
36
  } // 设置全局变量
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tools-min-ns",
3
3
  "description": "工具包适用于前端以及node",
4
- "version": "1.12.0",
4
+ "version": "1.12.1",
5
5
  "main": "lib/index.js",
6
6
  "license": "MIT",
7
7
  "author": "nanshen",