@bbn/bbn 1.0.136 → 1.0.137
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/fn/misc/analyzeFunction.js +2 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
|
@@ -138,9 +138,11 @@ var analyzeFunction = function (fn) {
|
|
|
138
138
|
if (parOpened > parClosed) {
|
|
139
139
|
if (all[i] === "{" && !isDestructuring) {
|
|
140
140
|
isDestructuring = true;
|
|
141
|
+
exp = all[i];
|
|
141
142
|
}
|
|
142
143
|
else if (all[i] === "}" && isDestructuring) {
|
|
143
144
|
isDestructuring = false;
|
|
145
|
+
exp += all[i];
|
|
144
146
|
}
|
|
145
147
|
}
|
|
146
148
|
else {
|
package/dist/index.js
CHANGED
|
@@ -3455,9 +3455,11 @@
|
|
|
3455
3455
|
if (parOpened > parClosed) {
|
|
3456
3456
|
if (all[i] === "{" && !isDestructuring) {
|
|
3457
3457
|
isDestructuring = true;
|
|
3458
|
+
exp = all[i];
|
|
3458
3459
|
}
|
|
3459
3460
|
else if (all[i] === "}" && isDestructuring) {
|
|
3460
3461
|
isDestructuring = false;
|
|
3462
|
+
exp += all[i];
|
|
3461
3463
|
}
|
|
3462
3464
|
}
|
|
3463
3465
|
else {
|