@vladmandic/pilogger
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -1534,8 +1534,8 @@ var __commonJS = (callback, module2) => () => { | ||
"use strict"; | ||
var t = "millisecond", e = "second", n = "minute", r = "hour", i = "day", s = "week", u = "month", a = "quarter", o = "year", f = "date", h = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/, c = /\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, d = function(t2, e2, n2) { | ||
var t = "millisecond", e = "second", n = "minute", r = "hour", i = "day", s = "week", u = "month", a = "quarter", o = "year", f = "date", h = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/, c = /\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, d = {name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_")}, $ = function(t2, e2, n2) { | ||
var r2 = String(t2); | ||
return !r2 || r2.length >= e2 ? t2 : "" + Array(e2 + 1 - r2.length).join(n2) + t2; | ||
}, $ = {s: d, z: function(t2) { | ||
}, l = {s: $, z: function(t2) { | ||
var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r2 = Math.floor(n2 / 60), i2 = n2 % 60; | ||
return (e2 <= 0 ? "+" : "-") + d(r2, 2, "0") + ":" + d(i2, 2, "0"); | ||
return (e2 <= 0 ? "+" : "-") + $(r2, 2, "0") + ":" + $(i2, 2, "0"); | ||
}, m: function t2(e2, n2) { | ||
@@ -1552,4 +1552,4 @@ if (e2.date() < n2.date()) | ||
return t2 === void 0; | ||
}}, l = {name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_")}, y = "en", M = {}; | ||
M[y] = l; | ||
}}, y = "en", M = {}; | ||
M[y] = d; | ||
var m = function(t2) { | ||
@@ -1573,5 +1573,5 @@ return t2 instanceof S; | ||
return n2.date = t2, n2.args = arguments, new S(n2); | ||
}, g = $; | ||
}, g = l; | ||
g.l = D, g.i = m, g.w = function(t2, e2) { | ||
return v(t2, {locale: e2.$L, utc: e2.$u, $offset: e2.$offset}); | ||
return v(t2, {locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset}); | ||
}; | ||
@@ -1600,3 +1600,3 @@ var S = function() { | ||
return new Date(e2); | ||
}(t2), this.init(); | ||
}(t2), this.$x = t2.x || {}, this.init(); | ||
}, $2.init = function() { | ||
@@ -1731,3 +1731,3 @@ var t2 = this.$d; | ||
return v(1e3 * t2); | ||
}, v.en = M[y], v.Ls = M, v; | ||
}, v.en = M[y], v.Ls = M, v.p = {}, v; | ||
}); | ||
@@ -1734,0 +1734,0 @@ }); |
{ | ||
"name": "@vladmandic/pilogger", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "Simple Logger for NodeJS", | ||
@@ -34,7 +34,7 @@ "main": "src/pilogger.js", | ||
"chalk": "^4.1.0", | ||
"dayjs": "^1.8.35" | ||
"dayjs": "^1.9.4" | ||
}, | ||
"devDependencies": { | ||
"esbuild": "^0.7.6" | ||
"esbuild": "^0.7.22" | ||
} | ||
} |
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
72710
162
Updateddayjs@^1.9.4