fix 'make check'; version 1.8.7

This commit is contained in:
Trent Mick 2017-03-03 13:37:30 -08:00
parent 55f8c9d172
commit 907489d816
4 changed files with 11 additions and 4 deletions

View file

@ -8,8 +8,15 @@ Known issues:
## not yet released
## 1.8.7
- [issue #484] Fix breakage due to #474 in previous release.
## 1.8.6
Note: *Bad release.* Use 1.8.7 or later.
- [issue #474] Bunyan's `safeCycles` is too slow when logging large objects.

View file

@ -11,7 +11,7 @@
* vim: expandtab:ts=4:sw=4
*/
var VERSION = '1.8.6';
var VERSION = '1.8.7';
var p = console.log;
var util = require('util');

View file

@ -8,7 +8,7 @@
* vim: expandtab:ts=4:sw=4
*/
var VERSION = '1.8.6';
var VERSION = '1.8.7';
/*
* Bunyan log format version. This becomes the 'v' field on all log records.
@ -1197,7 +1197,7 @@ function safeCyclesArray() {
* Choose the best safe cycle function from what is available - see
* trentm/node-bunyan#445.
*/
var safeCycles = typeof Set !== 'undefined' ? safeCyclesSet : safeCyclesArray;
var safeCycles = typeof (Set !== 'undefined') ? safeCyclesSet : safeCyclesArray;
/**
* A fast JSON.stringify that handles cycles and getter exceptions (when

View file

@ -1,6 +1,6 @@
{
"name": "bunyan",
"version": "1.8.6",
"version": "1.8.7",
"description": "a JSON logging library for node.js services",
"author": "Trent Mick <trentm@gmail.com> (http://trentm.com)",
"main": "./lib/bunyan.js",