@prismatic-io/spectral
Advanced tools
Comparing version 8.0.4 to 8.0.5
@@ -135,6 +135,8 @@ "use strict"; | ||
}, inputs: Object.entries(configVar.inputs).reduce((result, [key, input]) => { | ||
if (!input.shown || !input.default) { | ||
var _a; | ||
if (input.shown === false) { | ||
return result; | ||
} | ||
return Object.assign(Object.assign({}, result), { [key]: { type: "value", value: input.default } }); | ||
const value = ((_a = input.default) !== null && _a !== void 0 ? _a : input.collection) ? [] : ""; | ||
return Object.assign(Object.assign({}, result), { [key]: { type: "value", value } }); | ||
}, {}), meta }); | ||
@@ -141,0 +143,0 @@ } |
{ | ||
"name": "@prismatic-io/spectral", | ||
"version": "8.0.4", | ||
"version": "8.0.5", | ||
"description": "Utility library for building Prismatic components", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
209506
4439
1