@bbn/bbn 1.0.130 → 1.0.131

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.
@@ -3466,8 +3466,13 @@ __webpack_require__.r(__webpack_exports__);
3466
3466
  }
3467
3467
  }
3468
3468
  else if (all[i] === '{' || all[i] === '}') {
3469
- body = all.substring(i).trim();
3470
- break;
3469
+ if (parOpened === parClosed) {
3470
+ body = all.substring(i).trim();
3471
+ break;
3472
+ }
3473
+ else {
3474
+ exp = '';
3475
+ }
3471
3476
  }
3472
3477
  else if (isArrow) {
3473
3478
  body = all.substring(all.indexOf('=>') + 2).trim();