New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

chronicle

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chronicle - npm Package Compare versions

Comparing version

to
0.0.2

2

index.js

@@ -171,3 +171,3 @@ 'use strict'

function redirect(db, collection) {
if (mongo !== undefined) {
if (db !== undefined) {
db = mongojs(db, [collection || 'chronicle'])

@@ -174,0 +174,0 @@ module.exports.output = function (message, indent, callback) {

{
"name": "chronicle",
"version": "0.0.1",
"version": "0.0.2",
"description": "Logging with support for MongoDB",

@@ -5,0 +5,0 @@ "keywords": [],

@@ -47,2 +47,5 @@ var csl = require('../')(__filename)

//if you redirect to undefined, it's a no-op
chronicle.redirect(undefined)
app.use(chronicle.requests(__filename))

@@ -49,0 +52,0 @@ app.get('/', function (req, res) {