@@ -20536,7 +20536,7 @@ function expand(str, isTop) {
2053620536 var y = numeric(n[1]);
2053720537 var width = Math.max(n[0].length, n[1].length)
2053820538 var incr = n.length == 3
20539- ? Math.abs(numeric(n[2]))
20539+ ? Math.max(Math. abs(numeric(n[2])), 1 )
2054020540 : 1;
2054120541 var test = lte;
2054220542 var reverse = y < x;
@@ -20590,7 +20590,6 @@ function expand(str, isTop) {
2059020590}
2059120591
2059220592
20593-
2059420593/***/ }),
2059520594
2059620595/***/ 3964:
@@ -35721,7 +35720,7 @@ function expand(str, isTop) {
3572135720 var y = numeric(n[1]);
3572235721 var width = Math.max(n[0].length, n[1].length)
3572335722 var incr = n.length == 3
35724- ? Math.abs(numeric(n[2]))
35723+ ? Math.max(Math. abs(numeric(n[2])), 1 )
3572535724 : 1;
3572635725 var test = lte;
3572735726 var reverse = y < x;
@@ -35775,7 +35774,6 @@ function expand(str, isTop) {
3577535774}
3577635775
3577735776
35778-
3577935777/***/ }),
3578035778
3578135779/***/ 6050:
@@ -93495,8 +93493,9 @@ function toNumber(str, options = {}) {
9349593493
9349693494 let trimmedStr = str.trim();
9349793495
93498- if (options.skipLike !== undefined && options.skipLike.test(trimmedStr)) return str;
93499- else if (str === "0") return 0;
93496+ if (trimmedStr.length === 0) return str;
93497+ else if (options.skipLike !== undefined && options.skipLike.test(trimmedStr)) return str;
93498+ else if (trimmedStr === "0") return 0;
9350093499 else if (options.hex && hexRegex.test(trimmedStr)) {
9350193500 return parse_int(trimmedStr, 16);
9350293501 // }else if (options.oct && octRegex.test(str)) {
0 commit comments