From 9358478ad49a71f25c7ceb01ebd2b6aad2f85a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Ronvel?= Date: Fri, 5 Mar 2021 10:53:11 +0100 Subject: [PATCH] Better error message on prototype pollution (again) --- lib/path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/path.js b/lib/path.js index 11621aa..f449d19 100644 --- a/lib/path.js +++ b/lib/path.js @@ -33,7 +33,7 @@ module.exports = treePath ; -const PROTO_POLLUTION_MESSAGE = 'This would pollute prototype' ; +const PROTO_POLLUTION_MESSAGE = 'This would cause prototype pollution' ;