Skip to content

Commit 5524704

Browse files
authored
Merge pull request #6 from BrianEmilius/sanitize-paths
update documentation
2 parents 0821421 + 953e630 commit 5524704

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
* Sanitize paths to prevent saving logs in dangerous places.
99
* Support for deeper log paths (currently, the log path can only be one directory deep).
1010

11-
## [2.0.0] - 2018-11-27
11+
## [2.0.1](2.0.1) - 2018-11-27
12+
### Changed
13+
* We've updated the documentation in README.md to match the changed made to v2.0.0
14+
15+
## [2.0.0](2.0.0) - 2018-11-27
1216
### Changed
1317
* `logErrors` parameter list has been changed. You can now only define a name for the log file. See documentation.
1418

@@ -33,4 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3337
## [0.1.0] - 2018-11-10
3438
### Added
3539
* This changelog for a better overview of the project
36-
* Contribution guidelines
40+
* Contribution guidelines
41+
42+
[2.0.1]: https://github.com/BrianEmilius/express-log-errors/releases/tag/v2.0.1
43+
[2.0.0]: https://github.com/BrianEmilius/express-log-errors/releases/tag/v2.0.0

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ app.listen(3000);
2525
## Options
2626
| Option | Default setting |
2727
|---|---|
28-
| path | `'./logs'` |
29-
| logName | `'errors.log'` |
28+
| logName | `'express-errors.log'` |
3029

3130
## Maintainer
3231
* [Brian Emilius](https://github.com/BrianEmilius)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "express-log-errors",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "express middleware for logging errors from routes",
55
"keywords": [
66
"expressjs",

0 commit comments

Comments
 (0)