Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lskjs/log

Package Overview
Dependencies
Maintainers
11
Versions
260
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lskjs/log - npm Package Compare versions

Comparing version 2.59.0 to 2.60.1

4

color.js

@@ -8,7 +8,7 @@ "use strict";

});
exports.color = color;
exports["default"] = void 0;
exports.getColors = getColors;
exports.getHashColors = getHashColors;
exports.hashColor = hashColor;
exports.color = color;
exports["default"] = void 0;

@@ -15,0 +15,0 @@ var _colors = _interopRequireDefault(require("./colors"));

@@ -6,6 +6,7 @@ "use strict";

});
exports.createColors = createColors;
exports["default"] = void 0;
exports.formatter = formatter;
exports.isColorSupported = void 0;
exports.replaceClose = replaceClose;
exports.formatter = formatter;
exports.createColors = createColors;
exports["default"] = exports.isColorSupported = void 0;

@@ -12,0 +13,0 @@ var _env = require("@lskjs/env");

@@ -6,3 +6,3 @@ "use strict";

});
exports["default"] = exports.log = void 0;
exports.log = exports["default"] = void 0;

@@ -9,0 +9,0 @@ var _Logger = require("./Logger");

{
"name": "@lskjs/log",
"version": "2.59.0",
"version": "2.60.1",
"description": "Логгер совмещающий лучшие черты morgan, winston, bunyan, logrus. debug. Базируется на debug-level.",

@@ -51,3 +51,3 @@ "keywords": [],

},
"gitHead": "318276590ee9db88a3f5b4ab56463c5d32542cf0"
"gitHead": "3a726e8d432af437734efe292e970e8d6b5404e4"
}

@@ -8,6 +8,6 @@ "use strict";

});
exports.concatFirstStrings = concatFirstStrings;
exports.countInRow = countInRow;
exports.concatFirstStrings = concatFirstStrings;
exports["default"] = void 0;
exports.prettyFormat = prettyFormat;
exports["default"] = void 0;

@@ -14,0 +14,0 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));

@@ -8,3 +8,3 @@ "use strict";

});
exports["default"] = exports.prettyRawLog = void 0;
exports.prettyRawLog = exports["default"] = void 0;

@@ -11,0 +11,0 @@ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));

@@ -8,4 +8,5 @@ "use strict";

});
exports.prettyLevel = exports.prettyContent = exports.getUrlLevel = exports.getStatusLevel = void 0;
exports.prettyMarker = prettyMarker;
exports.prettyUrl = exports.getUrlLevel = exports.prettyContent = exports.prettyLevel = exports.prettyNs = exports.prettySize = exports.prettyTime = exports.prettyMethod = exports.prettyReqId = exports.prettyStatus = exports.getStatusLevel = exports.prettyPath = void 0;
exports.prettyUrl = exports.prettyTime = exports.prettyStatus = exports.prettySize = exports.prettyReqId = exports.prettyPath = exports.prettyNs = exports.prettyMethod = void 0;

@@ -78,3 +79,4 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));

var f = formats.includes(format) ? format : '';
var res = (0, _prettyTime2["default"])(ms * Math.pow(10, 6), f);
var ns = Math.floor(Math.abs(ms) * Math.pow(10, 6));
var res = (0, _prettyTime2["default"])(ns, f);
return (0, _color.color)(colorName, (0, _leftPad.leftPad)(res, 5));

@@ -81,0 +83,0 @@ };

@@ -6,3 +6,3 @@ "use strict";

});
exports["default"] = exports.createMsg = exports.getErrCode = void 0;
exports.getErrCode = exports["default"] = exports.createMsg = void 0;

@@ -9,0 +9,0 @@ var _utils = require("@lskjs/err/utils");

@@ -6,3 +6,3 @@ "use strict";

});
exports["default"] = exports.env = void 0;
exports.env = exports["default"] = void 0;

@@ -9,0 +9,0 @@ var _tryParamParse = require("./tryParamParse");

@@ -9,4 +9,4 @@ "use strict";

exports.detectFormat = detectFormat;
exports.parse = parse;
exports.stringify = stringify;
exports.parse = parse;

@@ -13,0 +13,0 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

@@ -8,3 +8,3 @@ "use strict";

});
exports.stringifyLogrus = exports.parseLogrus = exports.isLogrus = exports.logrusLevels = void 0;
exports.stringifyLogrus = exports.parseLogrus = exports.logrusLevels = exports.isLogrus = void 0;

@@ -11,0 +11,0 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

@@ -8,3 +8,3 @@ "use strict";

});
exports.stringifyLsklog = exports.parseLsklog = exports.isLsklogWebFinal = exports.isLsklogWeb = exports.isLsklog = exports.lsklogWebLevels = exports.lsklogLevels = void 0;
exports.stringifyLsklog = exports.parseLsklog = exports.lsklogWebLevels = exports.lsklogLevels = exports.isLsklogWebFinal = exports.isLsklogWeb = exports.isLsklog = void 0;

@@ -11,0 +11,0 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

@@ -6,3 +6,3 @@ "use strict";

});
exports["default"] = exports.hashCode = void 0;
exports.hashCode = exports["default"] = void 0;

@@ -9,0 +9,0 @@ /**

@@ -6,4 +6,4 @@ "use strict";

});
exports["default"] = void 0;
exports.leftPad = leftPad;
exports["default"] = void 0;

@@ -10,0 +10,0 @@ /* eslint-disable */

@@ -6,3 +6,3 @@ "use strict";

});
exports["default"] = exports.omit = void 0;
exports.omit = exports["default"] = void 0;

@@ -9,0 +9,0 @@ /**

@@ -6,3 +6,3 @@ "use strict";

});
exports["default"] = exports.omitNull = void 0;
exports.omitNull = exports["default"] = void 0;

@@ -9,0 +9,0 @@ var omitNull = function omitNull(props) {

@@ -6,3 +6,3 @@ "use strict";

});
exports["default"] = exports.pad = void 0;
exports.pad = exports["default"] = void 0;

@@ -9,0 +9,0 @@ var pad = function pad(a) {

@@ -6,3 +6,3 @@ "use strict";

});
exports["default"] = exports.pick = void 0;
exports.pick = exports["default"] = void 0;

@@ -9,0 +9,0 @@ /**

@@ -6,3 +6,3 @@ "use strict";

});
exports["default"] = exports.safeLog = void 0;
exports.safeLog = exports["default"] = void 0;

@@ -9,0 +9,0 @@ var _env = require("@lskjs/env");

@@ -11,3 +11,3 @@ "use strict";

};
Object.defineProperty(exports, "stringify", {
Object.defineProperty(exports, "default", {
enumerable: true,

@@ -18,3 +18,3 @@ get: function get() {

});
Object.defineProperty(exports, "default", {
Object.defineProperty(exports, "stringify", {
enumerable: true,

@@ -21,0 +21,0 @@ get: function get() {

@@ -8,3 +8,3 @@ "use strict";

});
exports["default"] = exports.toString = void 0;
exports.toString = exports["default"] = void 0;

@@ -11,0 +11,0 @@ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));

@@ -6,3 +6,3 @@ "use strict";

});
exports["default"] = exports.tryJSONparse = void 0;
exports.tryJSONparse = exports["default"] = void 0;

@@ -9,0 +9,0 @@ var tryJSONparse = function tryJSONparse(str) {

@@ -6,3 +6,3 @@ "use strict";

});
exports["default"] = exports.tryParamParse = void 0;
exports.tryParamParse = exports["default"] = void 0;

@@ -9,0 +9,0 @@ var _tryJSONparse = require("./tryJSONparse");

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc