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

@spinajs/internal-logger

Package Overview
Dependencies
Maintainers
1
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spinajs/internal-logger - npm Package Compare versions

Comparing version 1.2.14 to 1.2.15

10

lib/index.js

@@ -42,5 +42,7 @@ "use strict";

};
// when log system is resolved
// We must wait for configuration to load
// becouse log is dependent on it
// when configuration system is resolved
// write all buffered messages to it
if (di_1.DI.has("Logger")) {
if (di_1.DI.has("Configuration")) {
// if we botstrapped before logger

@@ -51,3 +53,3 @@ write();

// if not wait for event to occur
di_1.DI.once("di.resolved.Logger", () => write());
di_1.DI.once("di.resolved.Configuration", () => write());
}

@@ -83,3 +85,3 @@ }

// when we have log system working, write directly to it
if (di_1.DI.has("logger")) {
if (di_1.DI.has("Configuration")) {
const logger = di_1.DI.resolve("__log__", [logName]);

@@ -86,0 +88,0 @@ if (logger) {

4

package.json
{
"name": "@spinajs/internal-logger",
"version": "1.2.14",
"version": "1.2.15",
"description": "internal logger used by some packages. do not use it in production environment",

@@ -37,3 +37,3 @@ "homepage": "https://github.com/spinajs/main#readme",

},
"gitHead": "cd486feec1f81b84cc3646fc2dc1776be2b83fcb"
"gitHead": "83081e1b5369c606eed8d3ce622bdef785bb6d06"
}

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