segment-dict
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -31,3 +31,3 @@ "use strict"; | ||
// @ts-ignore | ||
n = parseInt(n); | ||
n = Number(n); | ||
} | ||
@@ -34,0 +34,0 @@ if (!str) { |
@@ -45,3 +45,3 @@ /** | ||
// @ts-ignore | ||
n = parseInt(n); | ||
n = Number(n); | ||
} | ||
@@ -48,0 +48,0 @@ |
@@ -16,3 +16,3 @@ "use strict"; | ||
.split(/\|/g); | ||
return [str, parseInt(n), parseInt(s)]; | ||
return [str, Number(n), Number(s)]; | ||
} | ||
@@ -19,0 +19,0 @@ exports.parseLine = parseLine; |
@@ -23,3 +23,3 @@ /** | ||
return [str, parseInt(n), parseInt(s)]; | ||
return [str, Number(n), Number(s)]; | ||
} | ||
@@ -26,0 +26,0 @@ |
{ | ||
"name": "segment-dict", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "segment data", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38183872