Bunyan

Latest version: v0.1.2

Safety actively analyzes 630094 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 18

1.3.6

- [issue 244] Make `bunyan` defensive on `res.header=null`.

1.3.5

- [issue 233] Make `bunyan` defensive on res.header as a boolean.
- [issue 242] Make `bunyan` defensive on err.stack not being a string.

1.3.4

- Allow `log.child(...)` to work even if the logger is a *sub-class*
of Bunyan's Logger class.
- [issue 219] Hide 'source-map-support' require from browserify.
- [issue 218] Reset `haveNonRawStreams` on `<logger>.addStream`.

1.3.3

- [pull 127] Update to dtrace-provider 0.4.0, which gives io.js 1.x support
for dtrace-y parts of Bunyan.

1.3.2

- [pull 182] Fallback to using the optional 'safe-json-stringify' module
if `JSON.stringify` throws -- possibly with an enumerable property
getter than throws. By Martin Gausby.

1.3.1

- Export `bunyan.RotatingFileStream` which is needed if one wants to
customize it. E.g. see issue 194.

- [pull 122] Source Map support for caller line position for [the "src"
field](https://github.com/trentm/node-bunyansrc). This could be interesting
for [CoffeeScript](http://coffeescript.org/documentation/docs/sourcemap.html)
users of Bunyan. By Manuel Schneider.

- [issue 164] Ensure a top-level `level` given in `bunyan.createLogger`
is *used* for given `streams`. For example, ensure that the following
results in the stream having a DEBUG level:

var log = bunyan.createLogger({
name: 'foo',
level: 'debug',
streams: [
{
path: '/var/tmp/foo.log'
}
]
});

This was broken in the 1.0.1 release. Between that release and 1.3.0
the "/var/tmp/foo.log" stream would be at the INFO level (Bunyan's
default level).

Page 4 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.