@cypress/schema-tools
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -20,3 +20,3 @@ "use strict"; | ||
if (typeof format.defaultValue !== 'undefined') { | ||
result[key] = format.defaultValue; | ||
result[format.name] = format.defaultValue; | ||
} | ||
@@ -23,0 +23,0 @@ }); |
{ | ||
"name": "@cypress/schema-tools", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Validate, sanitize and document JSON schemas", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
@@ -71,3 +71,4 @@ /** | ||
if (typeof format.defaultValue !== 'undefined') { | ||
result[key] = format.defaultValue | ||
// store values under name, not under original key | ||
result[format.name] = format.defaultValue | ||
} | ||
@@ -74,0 +75,0 @@ }) |
66349
1647