@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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1081,8 +1081,8 @@ var recmaFallbackComponentPlugin = function() {
|
|
|
1081
1081
|
try {
|
|
1082
1082
|
for(var _iterator = varDecl.declarations[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
1083
1083
|
var declarator = _step.value;
|
|
1084
|
-
var _declarator_init;
|
|
1085
|
-
if (declarator.id.type === "ObjectPattern" && ((_declarator_init = declarator.init) === null || _declarator_init === void 0 ? void 0 : _declarator_init.type) === "Identifier" && declarator.init.name === "_components") {
|
|
1084
|
+
var _declarator_init, _declarator_init1;
|
|
1085
|
+
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") {
|
|
1086
1086
|
varDecl.kind = "let";
|
|
1087
1087
|
return import_estree_util_visit.SKIP;
|
|
1088
1088
|
}
|