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

@tinkoff/logger

Package Overview
Dependencies
Maintainers
17
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinkoff/logger - npm Package Compare versions

Comparing version 0.10.280 to 0.10.281

3

lib/server.es.js
import each from '@tinkoff/utils/array/each';
import split from '@tinkoff/utils/string/split';
import { env } from 'std-env';
import { hostname } from 'os';

@@ -14,2 +13,4 @@ import { LEVELS } from './constants.es.js';

var _a, _b;
const stdEnv = require('std-env');
const env = 'env' in stdEnv ? stdEnv.env : stdEnv;
const level = (_a = process.env.LOG_LEVEL) !== null && _a !== void 0 ? _a : process.env.DEBUG_LEVEL;

@@ -16,0 +17,0 @@ const enable = (_b = process.env.LOG_ENABLE) !== null && _b !== void 0 ? _b : process.env.DEBUG_ENABLE;

@@ -7,3 +7,2 @@ 'use strict';

var split = require('@tinkoff/utils/string/split');
var stdEnv = require('std-env');
var os = require('os');

@@ -24,2 +23,4 @@ var constants = require('./constants.js');

var _a, _b;
const stdEnv = require('std-env');
const env = 'env' in stdEnv ? stdEnv.env : stdEnv;
const level = (_a = process.env.LOG_LEVEL) !== null && _a !== void 0 ? _a : process.env.DEBUG_LEVEL;

@@ -43,3 +44,3 @@ const enable = (_b = process.env.LOG_ENABLE) !== null && _b !== void 0 ? _b : process.env.DEBUG_ENABLE;

}
const DefaultReporter = stdEnv.env.ci || stdEnv.env.test ? nodeBasic.NodeBasicReporter : nodeDev.NodeDevReporter;
const DefaultReporter = env.ci || env.test ? nodeBasic.NodeBasicReporter : nodeDev.NodeDevReporter;
const reporter = process.env.DEBUG_PLAIN || process.env.NODE_ENV !== 'production'

@@ -46,0 +47,0 @@ ? new DefaultReporter()

{
"name": "@tinkoff/logger",
"version": "0.10.280",
"version": "0.10.281",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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