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

@voliware/logger

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@voliware/logger - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10

2

package.json
{
"name": "@voliware/logger",
"version": "2.0.9",
"version": "2.0.10",
"description": "A tiny Javascript logger with levels and several options. Supports Node, MongoDB, and all modern Browsers",

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

if(typeof module !== "undefined"){
LoggerMessage = require('./LoggerMessage');
LoggerMessage = require('./loggerMessage');
}

@@ -4,0 +4,0 @@

const {ObjectId} = require('mongodb');
const Logger = require('./logger');
const LoggerMessage = require('./LoggerMessage');
const LoggerMessage = require('./loggerMessage');

@@ -5,0 +5,0 @@ /**

@@ -139,3 +139,3 @@ const Assert = require('assert');

it('logs to the colletion', async function() {
it('logs to the collection', async function() {
await this.mongologger.info("Test 1");

@@ -161,3 +161,3 @@ const data = await this.collection.findOne();

it('clears the colletion', async function() {
it('clears the collection', async function() {
await this.mongologger.clear();

@@ -164,0 +164,0 @@ const data = await this.collection.findOne();

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