Skip to content

Commit

Permalink
Better error message on prototype pollution
Browse files Browse the repository at this point in the history
  • Loading branch information
cronvel committed Mar 5, 2021
1 parent a63f559 commit adf1dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dotPath.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = dotPath ;


const EMPTY_PATH = [] ;
const PROTO_POLLUTION_MESSAGE = 'This would pollute prototype' ;
const PROTO_POLLUTION_MESSAGE = 'This would cause prototype pollution' ;



Expand Down

0 comments on commit adf1dbd

Please sign in to comment.