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

logging-utils

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logging-utils - npm Package Compare versions

Comparing version 4.0.5 to 4.0.6

2

logging.js

@@ -126,3 +126,3 @@ 'use strict';

function isLoggingConfigured(target) {
return isBoolean(target.warnEnabled) && isBoolean(target.infoEnabled) && isBoolean(target.debugEnabled)
return target && isBoolean(target.warnEnabled) && isBoolean(target.infoEnabled) && isBoolean(target.debugEnabled)
&& isBoolean(target.traceEnabled) && typeof target.error === 'function' && typeof target.warn === 'function'

@@ -129,0 +129,0 @@ && typeof target.info === 'function' && typeof target.debug === 'function' && typeof target.trace === 'function';

{
"name": "logging-utils",
"description": "Utilities for configuring simple log level based logging functionality on an object",
"version": "4.0.5",
"version": "4.0.6",
"author": "Byron du Preez",

@@ -6,0 +6,0 @@ "license": "Apache-2.0",

@@ -1,2 +0,2 @@

# logging-utils v4.0.5
# logging-utils v4.0.6
Utilities for configuring simple log level based logging functionality on an object.

@@ -190,2 +190,5 @@

### 4.0.6
- Changed `isLoggingConfigured` function to check for non-defined `target` argument
### 4.0.5

@@ -192,0 +195,0 @@ - Updated `core-functions` dependency to version 3.0.6

{
"name": "logging-utils-tests",
"description": "Unit tests for logging-utils",
"version": "4.0.5",
"version": "4.0.6",
"author": "Byron du Preez",

@@ -6,0 +6,0 @@ "license": "Apache-2.0",

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