diff --git a/lib/bunyan.js b/lib/bunyan.js index cb01d85..573cfd0 100644 --- a/lib/bunyan.js +++ b/lib/bunyan.js @@ -89,7 +89,7 @@ if (process.env.BUNYAN_TEST_NO_SAFE_JSON_STRINGIFY) { // The 'mv' module is required for rotating-file stream support. try { - var mv = require('mv' + ''); + var mv = require('mv-lite' + ''); } catch (e) { mv = null; } diff --git a/package.json b/package.json index ad173c6..1a87a0a 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "bunyan", + "name": "bunyan-lite", "version": "2.0.2", - "description": "a JSON logging library for node.js services", - "author": "Trent Mick (http://trentm.com)", + "description": "a lite version of bunyan, a JSON logging library for node.js services without dtrace or moment", + "author": "Jonatan Nilsson (https://nfp.is)", "main": "./lib/bunyan.js", "bin": { "bunyan": "./bin/bunyan" @@ -21,7 +21,7 @@ }, "// mv": "required for RotatingFileStream", "optionalDependencies": { - "mv": "~2", + "mv-lite": "~1", "safe-json-stringify": "~1" }, "devDependencies": {