Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/ajv/lib/dot/definitions.def')
-rw-r--r--node_modules/ajv/lib/dot/definitions.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/node_modules/ajv/lib/dot/definitions.def b/node_modules/ajv/lib/dot/definitions.def
index db4ea6f32..709cce36d 100644
--- a/node_modules/ajv/lib/dot/definitions.def
+++ b/node_modules/ajv/lib/dot/definitions.def
@@ -64,7 +64,8 @@
{{## def.nonEmptySchema:_schema:
(it.opts.strictKeywords
- ? typeof _schema == 'object' && Object.keys(_schema).length > 0
+ ? (typeof _schema == 'object' && Object.keys(_schema).length > 0)
+ || _schema === false
: it.util.schemaHasRules(_schema, it.RULES.all))
#}}