@superinterface/react 3.5.3 → 3.5.4

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.
package/dist/index.js CHANGED
@@ -923,8 +923,8 @@ var recmaFallbackComponentPlugin = function() {
923
923
  try {
924
924
  for(var _iterator = varDecl.declarations[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
925
925
  var declarator = _step.value;
926
- var _declarator_init;
927
- if (declarator.id.type === "ObjectPattern" && ((_declarator_init = declarator.init) === null || _declarator_init === void 0 ? void 0 : _declarator_init.type) === "Identifier" && declarator.init.name === "_components") {
926
+ var _declarator_init, _declarator_init1;
927
+ if (declarator.id.type === "ObjectPattern" && ((_declarator_init = declarator.init) === null || _declarator_init === void 0 ? void 0 : _declarator_init.type) === "Identifier" && declarator.init.name === "_components" || declarator.id.type === "ObjectPattern" && ((_declarator_init1 = declarator.init) === null || _declarator_init1 === void 0 ? void 0 : _declarator_init1.type) === "ObjectExpression") {
928
928
  varDecl.kind = "let";
929
929
  return SKIP;
930
930
  }