@ztimson/utils 0.23.0 → 0.23.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.
package/dist/index.cjs CHANGED
@@ -110,6 +110,10 @@ var __publicField = (obj, key, value2) => __defNormalProp(obj, typeof key !== "s
110
110
  return json;
111
111
  }
112
112
  }
113
+ function JSONSerialize(obj) {
114
+ if (typeof obj == "object" && obj != null) return JSONSanitize(obj);
115
+ return obj;
116
+ }
113
117
  function JSONSanitize(obj, space) {
114
118
  return JSON.stringify(obj, (key, value2) => {
115
119
  return value2;
@@ -1424,6 +1428,7 @@ var __publicField = (obj, key, value2) => __defNormalProp(obj, typeof key !== "s
1424
1428
  ["MSK", 3],
1425
1429
  ["AST", 4],
1426
1430
  ["PKT", 5],
1431
+ ["IST", 5.5],
1427
1432
  ["BST", 6],
1428
1433
  ["ICT", 7],
1429
1434
  ["CST", 8],
@@ -1550,6 +1555,7 @@ var __publicField = (obj, key, value2) => __defNormalProp(obj, typeof key !== "s
1550
1555
  exports.InternalServerError = InternalServerError;
1551
1556
  exports.JSONAttemptParse = JSONAttemptParse;
1552
1557
  exports.JSONSanitize = JSONSanitize;
1558
+ exports.JSONSerialize = JSONSerialize;
1553
1559
  exports.LETTER_LIST = LETTER_LIST;
1554
1560
  exports.LOG_LEVEL = LOG_LEVEL;
1555
1561
  exports.Logger = Logger;