File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2
2
All notable changes to this project will be documented in this file.
3
3
This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
4
4
5
+ ## [ 1.2.0] - 2016-01-13
6
+ ### Added
7
+
8
+ - A new option ` replaceWith ` which can be used to replace offending characters in a key. This is an alternative to removing the data from the payload.
9
+
5
10
## [ 1.1.0] - 2016-01-13
6
11
### Added
7
12
- The middleware also now sanitizes keys with a ` . ` . This is in line with Mongo's reserved operators.
@@ -10,4 +15,5 @@ This project adheres to [Semantic Versioning](http://semver.org/).
10
15
11
16
Initial Release.
12
17
18
+ [ 1.2.0 ] : https://github.com/fiznool/express-mongo-sanitize/compare/v1.1.0...v1.2.0
13
19
[ 1.1.0 ] : https://github.com/fiznool/express-mongo-sanitize/compare/v1.0.0...v1.1.0
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " express-mongo-sanitize" ,
3
- "version" : " 1.1 .0" ,
3
+ "version" : " 1.2 .0" ,
4
4
"description" : " Sanitize your express payload to prevent MongoDB operator injection." ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments