uniforms-bridge-simple-schema-2
Advanced tools
Comparing version 2.6.2 to 2.6.3
@@ -67,3 +67,3 @@ import { __rest } from "tslib"; | ||
const items = Math.max(props.initialCount || 0, field.minCount || 0); | ||
return [...Array(items)].map(() => item); | ||
return Array.from({ length: items }, () => item); | ||
} | ||
@@ -70,0 +70,0 @@ if (field.type === Object || SimpleSchema2Bridge.check(field.type)) { |
{ | ||
"name": "uniforms-bridge-simple-schema-2", | ||
"version": "2.6.2", | ||
"version": "2.6.3", | ||
"license": "MIT", | ||
@@ -31,5 +31,5 @@ "main": "index.js", | ||
"tslib": "^1.10.0", | ||
"uniforms": "^2.6.2" | ||
"uniforms": "^2.6.3" | ||
}, | ||
"gitHead": "012f1dc353134e567c51b5e5678419f5b5117347" | ||
"gitHead": "81c554ff6cf5db9b092086c0490daaee0385b2e3" | ||
} |
@@ -73,3 +73,3 @@ "use strict"; | ||
var items = Math.max(props.initialCount || 0, field.minCount || 0); | ||
return tslib_1.__spreadArrays(Array(items)).map(function () { return item_1; }); | ||
return Array.from({ length: items }, function () { return item_1; }); | ||
} | ||
@@ -76,0 +76,0 @@ if (field.type === Object || SimpleSchema2Bridge.check(field.type)) { |
@@ -92,3 +92,3 @@ import SimpleSchema from 'simpl-schema'; | ||
return [...Array(items)].map(() => item); | ||
return Array.from({ length: items }, () => item); | ||
} | ||
@@ -95,0 +95,0 @@ |
22090
Updateduniforms@^2.6.3