tools-for-js 1.5.3 → 1.5.4

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.
@@ -43,7 +43,7 @@ var deWeightArray = exports.deWeightArray = function deWeightArray(list, key, ca
43
43
  tempList.push(item);
44
44
  }
45
45
  });
46
- IsType('Function', callback) && callback(tempList);
46
+ (0, _common.IsType)('Function', callback) && callback(tempList);
47
47
  return _toConsumableArray(map.values()); //将map对象转换回数组再返回
48
48
  };
49
49
 
@@ -140,7 +140,7 @@ var decrypt = exports.decrypt = function decrypt(input, key) {
140
140
  }
141
141
  return output[1] || '';
142
142
  };
143
-
143
+ console.log('测试:', decrypt('', 'www.kimshift.cn'));
144
144
  /*******
145
145
  * @description: 校验加密字符
146
146
  * @author: 琴时
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tools-for-js",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "基于babel构建的javascript工具库",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {