package: Switch from mv to mv-lite

This commit is contained in:
Jonatan Nilsson 2018-07-22 11:39:26 +00:00
parent 29019b3145
commit 6b4f927f4f
2 changed files with 5 additions and 5 deletions

View file

@ -89,7 +89,7 @@ if (process.env.BUNYAN_TEST_NO_SAFE_JSON_STRINGIFY) {
// The 'mv' module is required for rotating-file stream support. // The 'mv' module is required for rotating-file stream support.
try { try {
var mv = require('mv' + ''); var mv = require('mv-lite' + '');
} catch (e) { } catch (e) {
mv = null; mv = null;
} }

View file

@ -1,8 +1,8 @@
{ {
"name": "bunyan", "name": "bunyan-lite",
"version": "2.0.2", "version": "2.0.2",
"description": "a JSON logging library for node.js services", "description": "a lite version of bunyan, a JSON logging library for node.js services without dtrace or moment",
"author": "Trent Mick <trentm@gmail.com> (http://trentm.com)", "author": "Jonatan Nilsson <jonatan@nilsson.is> (https://nfp.is)",
"main": "./lib/bunyan.js", "main": "./lib/bunyan.js",
"bin": { "bin": {
"bunyan": "./bin/bunyan" "bunyan": "./bin/bunyan"
@ -21,7 +21,7 @@
}, },
"// mv": "required for RotatingFileStream", "// mv": "required for RotatingFileStream",
"optionalDependencies": { "optionalDependencies": {
"mv": "~2", "mv-lite": "~1",
"safe-json-stringify": "~1" "safe-json-stringify": "~1"
}, },
"devDependencies": { "devDependencies": {