util-helpers 4.12.1 → 4.12.2

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.
@@ -27,7 +27,7 @@ export function isEffectiveNumeric(value) {
27
27
  if (fmtStrValue === value) {
28
28
  var numValue = fmtStrValue ? Number(fmtStrValue) : NaN;
29
29
 
30
- if (isNumber(numValue) && !isNaN(numValue)) {
30
+ if (!isNaN(numValue)) {
31
31
  return true;
32
32
  }
33
33
  }
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.setDisableWarning = setDisableWarning;
7
7
  exports.version = exports.config = void 0;
8
- var version = "4.12.1";
8
+ var version = "4.12.2";
9
9
  exports.version = version;
10
10
  var config = {
11
11
  // 禁用warning提示
@@ -46,7 +46,7 @@ function isEffectiveNumeric(value) {
46
46
  if (fmtStrValue === value) {
47
47
  var numValue = fmtStrValue ? Number(fmtStrValue) : NaN;
48
48
 
49
- if ((0, _type.isNumber)(numValue) && !isNaN(numValue)) {
49
+ if (!isNaN(numValue)) {
50
50
  return true;
51
51
  }
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "util-helpers",
3
- "version": "4.12.1",
3
+ "version": "4.12.2",
4
4
  "description": "一个基于业务场景的工具方法库",
5
5
  "main": "lib/index.js",
6
6
  "module": "esm/index.js",