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.75.1 to 2.76.0

4

package.json
{
"name": "@lskjs/log",
"version": "2.75.1",
"version": "2.76.0",
"description": "Логгер совмещающий лучшие черты debug, bunyan, logfmt/logrus, morgan/winston, ",

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

},
"gitHead": "8eb9137a00c16e82b31dbc07b3cb3b1caeae1372"
"gitHead": "0a6da8cc1b13ce792dc98b41b232d83a990ce664"
}

@@ -6,4 +6,4 @@ export declare const prettyPath: (url: string, defaultUrlPad?: number) => any;

export declare const prettyMethod: (method: string) => string;
export declare const prettyTime: (ms: number, format?: string) => string;
export declare const prettySize: (bytes: number, seperator?: string) => string;
export declare const prettyTime: (ms: number, format?: string) => string | null;
export declare const prettySize: (bytes: number, seperator?: string) => string | null;
export declare const prettyNs: (names: string[], mainName?: string | null | undefined) => string;

@@ -10,0 +10,0 @@ export declare function prettyMarker(key: string | number): string;

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

var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
if (!Number.isFinite(ms)) return "".concat(ms);
if (!Number.isFinite(ms)) return null;
var colorName = ms >= 10 * 1000 ? 'error' : ms >= 3 * 1000 ? 'warn' : null;

@@ -88,6 +88,5 @@ var formats = ['m', 's', 'ms'];

var seperator = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
if (!Number.isFinite(bytes)) return "".concat(bytes);
if (!Number.isFinite(bytes)) return null;
var _prettyBytes$split = (0, _prettyBytes2["default"])(bytes, {
binary: true,
maximumFractionDigits: 1

@@ -94,0 +93,0 @@ }).split(' '),

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