Comparing version 22.8.0 to 22.12.0
@@ -266,3 +266,3 @@ | ||
, decSep = m3 && m3[1] | ||
, fn = "d===Infinity?(N?" + quote(conf[5]||nan_value) + ":" + quote(conf[4]||nan_value) + "):d>0||d===0?(o=" + quote(m2[3]) + "," + (number.pre[m2[4]] || "") + "n=" + ( | ||
, fn = "d===Infinity?(N?" + quote(conf[5]||nan_value) + ":" + quote(conf[4]||nan_value) + "):d>0||d===0||d==='0'?(o=" + quote(m2[3]) + "," + (number.pre[m2[4]] || "") + "n=" + ( | ||
// Use exponential notation to fix float rounding | ||
@@ -269,0 +269,0 @@ // Math.round(1.005*100)/100 = 1 instead of 1.01 |
{ | ||
"name": "litejs", | ||
"version": "22.8.0", | ||
"version": "22.12.0", | ||
"description": "Full-stack web framework in a tiny package", | ||
@@ -25,2 +25,8 @@ "license": "MIT", | ||
], | ||
"scripts": { | ||
"test": "TZ='Europe/Tallinn' c8 -r lcov -r text-summary --check-coverage --branches=70 --functions=70 --lines=70 --statements=70 lj test test/index.js --no-color --brief" | ||
}, | ||
"devDependencies": { | ||
"@litejs/cli": "22.8.0" | ||
}, | ||
"litejs": { | ||
@@ -27,0 +33,0 @@ "build": false, |
@@ -21,3 +21,3 @@ | ||
var numRe = /^(-?\d+\.?\d*) *([kMGTP]i?|sec|min|hr|day|week|month|year|).?$/ | ||
var numRe = /^(-?\d+(?:\.\d*)?) *([kMGTP]i?|sec|min|hr|day|week|month|year|).?$/ | ||
, numMap = { | ||
@@ -24,0 +24,0 @@ "": 1, |
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
74601
1