Comparing version 1.8.13 to 1.8.14
@@ -12,3 +12,9 @@ # bunyan Changelog | ||
## 1.8.14 | ||
- [pull #558] Update minimum "moment" version to 2.19.3 for CVE-2017-18214. | ||
- [issue #589] Use `os.EOL` for newlines in bunyan output, which helps with | ||
some Unix-EOL-naive apps like notepad. (By @bwknight877.) | ||
- Development change: Switched to GitHub Actions for CI. | ||
## 1.8.13 | ||
@@ -15,0 +21,0 @@ |
/** | ||
* Copyright (c) 2017 Trent Mick. | ||
* Copyright (c) 2017 Joyent Inc. | ||
* Copyright 2020 Trent Mick. | ||
* Copyright 2020 Joyent Inc. | ||
* | ||
@@ -11,3 +11,3 @@ * The bunyan logging library for node.js. | ||
var VERSION = '1.8.13'; | ||
var VERSION = '1.8.14'; | ||
@@ -912,3 +912,3 @@ /* | ||
if (noemit || this.haveNonRawStreams) { | ||
str = fastAndSafeJsonStringify(rec) + '\n'; | ||
str = fastAndSafeJsonStringify(rec) + os.EOL; | ||
} | ||
@@ -915,0 +915,0 @@ |
{ | ||
"name": "bunyan", | ||
"version": "1.8.13", | ||
"version": "1.8.14", | ||
"description": "a JSON logging library for node.js services", | ||
@@ -17,2 +17,6 @@ "author": "Trent Mick <trentm@gmail.com> (http://trentm.com)", | ||
], | ||
"files": [ | ||
"bin", | ||
"lib" | ||
], | ||
"keywords": [ | ||
@@ -33,3 +37,3 @@ "log", | ||
"safe-json-stringify": "~1", | ||
"moment": "^2.10.6" | ||
"moment": "^2.19.3" | ||
}, | ||
@@ -44,5 +48,6 @@ "devDependencies": { | ||
"scripts": { | ||
"test": "make test" | ||
"check": "make check", | ||
"test": "nodeunit test/*.test.js # skip dtrace tests" | ||
}, | ||
"dependencies": {} | ||
} |
@@ -89,3 +89,9 @@ [![npm version](https://img.shields.io/npm/v/bunyan.svg?style=flat)](https://www.npmjs.com/package/bunyan) | ||
**Tip**: Installing without optional dependencies can dramatically reduce | ||
bunyan's install size. **dtrace-provider** is used for dtrace features, | ||
**mv** is used for RotatingFileStream, and **moment** is used for local time. | ||
If you don't need these features, consider installing with the | ||
`--no-optional` flag. | ||
# Features | ||
@@ -384,3 +390,3 @@ | ||
`log.info`, `log.debug`, etc. call. This means a poorly written serializer | ||
function can case side-effects. Logging shouldn't do that. Here are a few | ||
function can cause side-effects. Logging shouldn't do that. Here are a few | ||
rules and best practices for serializer functions: | ||
@@ -387,0 +393,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1390
201022
6