From 988982d3fde08e3ea074e8942442834e78c45587 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Wed, 1 Jul 2020 11:56:05 +0100 Subject: [PATCH] ignore proto properties --- lib/dot/dependencies.jst | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dot/dependencies.jst b/lib/dot/dependencies.jst index 9ff68a78d..e4bdddec8 100644 --- a/lib/dot/dependencies.jst +++ b/lib/dot/dependencies.jst @@ -19,6 +19,7 @@ , $ownProperties = it.opts.ownProperties; for ($property in $schema) { + if ($property == '__proto__') continue; var $sch = $schema[$property]; var $deps = Array.isArray($sch) ? $propertyDeps : $schemaDeps; $deps[$property] = $sch;