@teleporthq/teleport-uidl-resolver
Advanced tools
Comparing version 0.36.1 to 0.36.6
@@ -221,2 +221,5 @@ "use strict"; | ||
} | ||
if (dataSourceValue.type === 'object') { | ||
throw new Error("Data source for repeat cannot be an object"); | ||
} | ||
repeatContent.dataSource = dataSourceValue; | ||
@@ -223,0 +226,0 @@ // remove original attribute so it is not added as a static/dynamic value on the node |
@@ -209,2 +209,5 @@ var __assign = (this && this.__assign) || function () { | ||
} | ||
if (dataSourceValue.type === 'object') { | ||
throw new Error("Data source for repeat cannot be an object"); | ||
} | ||
repeatContent.dataSource = dataSourceValue; | ||
@@ -211,0 +214,0 @@ // remove original attribute so it is not added as a static/dynamic value on the node |
{ | ||
"name": "@teleporthq/teleport-uidl-resolver", | ||
"version": "0.36.1", | ||
"version": "0.36.6", | ||
"description": "A small package that handles the transition from UIDL to HTML elements and has support for custom mappings.", | ||
@@ -27,8 +27,8 @@ "author": "teleportHQ", | ||
"dependencies": { | ||
"@teleporthq/teleport-shared": "^0.36.0", | ||
"@teleporthq/teleport-types": "^0.36.0", | ||
"@teleporthq/teleport-uidl-builders": "^0.36.0", | ||
"@teleporthq/teleport-shared": "^0.36.6", | ||
"@teleporthq/teleport-types": "^0.36.6", | ||
"@teleporthq/teleport-uidl-builders": "^0.36.6", | ||
"deepmerge": "^4.0.0" | ||
}, | ||
"gitHead": "069c1d8ac7c899f7989f14caef89967078fcd439" | ||
"gitHead": "64a55c39dba17f13dc58805a7a28f74cd96dd03a" | ||
} |
@@ -280,2 +280,5 @@ import { UIDLUtils, StringUtils } from '@teleporthq/teleport-shared' | ||
} | ||
if (dataSourceValue.type === 'object') { | ||
throw new Error(`Data source for repeat cannot be an object`) | ||
} | ||
repeatContent.dataSource = dataSourceValue | ||
@@ -282,0 +285,0 @@ // remove original attribute so it is not added as a static/dynamic value on the node |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
355417
5173