@prismatic-io/spectral 10.3.8 → 10.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -193,7 +193,9 @@ const convertComponentReference = (componentReference, componentRegistry, refere
193
193
  type: "value",
194
194
  value: JSON.stringify(v),
195
195
  }))
196
- : value.value;
196
+ : manifestEntryInput.collection === "valuelist" && Array.isArray(value.value)
197
+ ? value.value.map((v) => ({ type: "value", value: v }))
198
+ : value.value;
197
199
  const formattedValue = type === "complex" || typeof valueExpr === "string"
198
200
  ? valueExpr
199
201
  : JSON.stringify(valueExpr);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/spectral",
3
- "version": "10.3.8",
3
+ "version": "10.3.9",
4
4
  "description": "Utility library for building Prismatic connectors and code-native integrations",
5
5
  "keywords": ["prismatic"],
6
6
  "main": "dist/index.js",