Comparing version 0.3.3 to 0.4.0
@@ -1,43 +0,76 @@ | ||
# Bristol | ||
Insanely configurable logging for Node.js | ||
# Bristol Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
##ChangeLog | ||
## [Development] | ||
See the [Github Issues](https://github.com/TomFrost/Bristol/issues) to see what's on the way. | ||
### v0.3.3 | ||
- Changed: Use istanbul for coverage instead of Grunt/Blanket | ||
- Fix: Massively speed up origin detection (bartekn PR #12) | ||
## [v0.4.0] | ||
### Changed | ||
- Bristol has been updated to ES6 and is compatible with Node.js 4 LTE and up | ||
- All dependencies have been updated to latest | ||
- Officially tested on latest versions of Node (MarkHerhold #44) | ||
### v0.3.2 | ||
- Fix: Don't assume all errors have stack traces | ||
### Fixed | ||
- Bristol now grabs the current Error.prepareStackTrace immediately before changing it, instead of when the source is loaded. This respects the overrides user may be making on their own. (RooSoft #40) | ||
- Bristol no longer fails on logging circular references (yknx4 #41) | ||
- Silent failed Chai assertions are corrected | ||
- Bristol no longer attempts to merge Date objects (jeffijoe #47) | ||
- Dropped unnecessary Request dependency (MarkHerhold #43) | ||
### v0.3.1 | ||
- Fix: Human formatter now outputs pretty-printed JSON when it encounters an | ||
object literal instead of "[object Object]". | ||
- Fix: CommonInfoModel formatter now replaces all double-quotes with | ||
single-quotes, instead of just the first. | ||
## [v0.3.3] | ||
### Changed | ||
- Use istanbul for coverage instead of Grunt/Blanket | ||
### v0.3.0 | ||
- Added: Loggly target | ||
- Added: Better documentation regarding targets | ||
### Fixed | ||
- Massively speed up origin detection (bartekn PR #12) | ||
### v0.2.2 | ||
- Fix: Error objects not being properly sent to log targets | ||
## [v0.3.2] | ||
### Fixed | ||
- Don't assume all errors have stack traces | ||
### v0.2.1 | ||
- Fix: Minor inaccuracies in README examples | ||
- Fix: Options were improperly sent to target functions | ||
## [v0.3.1] | ||
### Fixed | ||
- Human formatter now outputs pretty-printed JSON when it encounters an object literal instead of "[object Object]". | ||
- CommonInfoModel formatter now replaces all double-quotes with single-quotes, instead of just the first. | ||
### v0.2.0 | ||
- Added: Human formatter | ||
- Added: CommonInfoModel formatter | ||
- Added: Syslog formatter | ||
- Added: File target | ||
- Added: Travis CI testing | ||
- Added: Incredible amounts of docs | ||
- Fix: Move dateformat to constant in CommonInfoModel and Syslog formatters | ||
- Fix: Remove comma separator from date elements in JSON formatter | ||
- Fix: Options documentation in JSON formatter | ||
- Fix: Target and formatter paths | ||
## [v0.3.0] | ||
### Added | ||
- Loggly target | ||
- Better documentation regarding targets | ||
### v0.1.0 | ||
## [v0.2.2] | ||
### Fixed | ||
- Error objects not being properly sent to log targets | ||
## [v0.2.1] | ||
### Fixed | ||
- Minor inaccuracies in README examples | ||
- Options were improperly sent to target functions | ||
## [v0.2.0] | ||
### Added | ||
- Human formatter | ||
- CommonInfoModel formatter | ||
- Syslog formatter | ||
- File target | ||
- Travis CI testing | ||
- Incredible amounts of docs | ||
### Fixed | ||
- Move dateformat to constant in CommonInfoModel and Syslog formatters | ||
- Remove comma separator from date elements in JSON formatter | ||
- Options documentation in JSON formatter | ||
- Target and formatter paths | ||
## v0.1.0 | ||
- **Initial Release** | ||
[Development]: https://github.com/TomFrost/Bristol/compare/v0.4.0...HEAD | ||
[v0.4.0]: https://github.com/TomFrost/Bristol/compare/0.3.3...v0.4.0 | ||
[v0.3.3]: https://github.com/TomFrost/Bristol/compare/0.3.2...0.3.3 | ||
[v0.3.2]: https://github.com/TomFrost/Bristol/compare/0.3.1...0.3.2 | ||
[v0.3.1]: https://github.com/TomFrost/Bristol/compare/0.3.0...0.3.1 | ||
[v0.3.0]: https://github.com/TomFrost/Bristol/compare/0.2.2...0.3.0 | ||
[v0.2.2]: https://github.com/TomFrost/Bristol/compare/0.2.1...0.2.2 | ||
[v0.2.1]: https://github.com/TomFrost/Bristol/compare/0.2.0...0.2.1 | ||
[v0.2.0]: https://github.com/TomFrost/Bristol/compare/0.1.0...0.2.0 |
The MIT License (MIT) | ||
Copyright (c) 2014 Tom Frost | ||
Copyright (c) 2014-2016 Tom Shawver | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "bristol", | ||
"version": "0.3.3", | ||
"version": "0.4.0", | ||
"description": "Insanely configurable logging for Node.js", | ||
"main": "lib/Bristol.js", | ||
"main": "src/Bristol.js", | ||
"scripts": { | ||
"test": "npm run test-cov && npm run check-cov", | ||
"mocha": "mocha --recursive test", | ||
"test-cov": "istanbul cover _mocha -- --recursive test", | ||
"lint": "eslint src test", | ||
"test": "npm run lint && npm run test-cov && npm run check-cov", | ||
"mocha": "mocha", | ||
"test-cov": "istanbul cover _mocha", | ||
"check-cov": "istanbul check-coverage --statements 90 --functions 90 --branches 70 --lines 90" | ||
@@ -17,11 +18,2 @@ }, | ||
}, | ||
"config": { | ||
"blanket": { | ||
"pattern": "lib", | ||
"data-cover-never": "[node_modules, /test]" | ||
}, | ||
"travis-cov": { | ||
"threshold": 80 | ||
} | ||
}, | ||
"keywords": [ | ||
@@ -33,14 +25,19 @@ "log", | ||
], | ||
"author": "Tom Frost <tom@frosteddesign.com>", | ||
"author": "Tom Shawver <tom@frosteddesign.com>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"istanbul": "^0.3.21", | ||
"loggly": "^1.0.8", | ||
"mocha": "^2.3.3", | ||
"should": "^7.1.0", | ||
"tmp": "0.0.28" | ||
"chai": "^4.1.2", | ||
"chai-as-promised": "^7.1.1", | ||
"eslint": "^4.19.0", | ||
"istanbul": "^0.4.5", | ||
"loggly": "^1.1.1", | ||
"mocha": "^5.0.4", | ||
"sinon": "^4.4.6", | ||
"sinon-chai": "^3.0.0", | ||
"tmp": "0.0.31" | ||
}, | ||
"dependencies": { | ||
"moment": "~2.5.1" | ||
"json-stringify-safe": "^5.0.1", | ||
"moment": "^2.21.0" | ||
} | ||
} |
# Bristol [![Build Status](https://travis-ci.org/TomFrost/Bristol.svg?branch=master)](https://travis-ci.org/TomFrost/Bristol) | ||
Insanely configurable logging for Node.js | ||
Sponsored by [Leadnomics](http://www.leadnomics.com). | ||
## Why another logger? | ||
@@ -245,9 +243,9 @@ NPM has no shortage of loggers. Bristol was created to address a few common | ||
## Testing | ||
Testing requires the grunt-cli package to be globally installed. Do that with: | ||
To test with full coverage report and enforcement of coverage percentage minimums: | ||
npm install -g grunt-cli | ||
npm test | ||
And then test with: | ||
For simple iterative testing, run just the mocha tests with: | ||
npm test | ||
npm run mocha | ||
@@ -258,2 +256,4 @@ ## License | ||
## Credits | ||
Bristol was created by Tom Frost at Leadnomics in 2014. | ||
Bristol was created by Tom Shawver in 2014. Development of this library has been | ||
sponsored by [TechnologyAdvice](http://www.technologyadvice.com) and | ||
[Leadnomics](http://www.leadnomics.com). |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
85932
27
1935
2
9
7
1
+ Addedjson-stringify-safe@^5.0.1
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedmoment@2.30.1(transitive)
- Removedmoment@2.5.1(transitive)
Updatedmoment@^2.21.0