@bbn/bbn 1.0.133 → 1.0.135
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 +4 -2
- package/dist/index.js +4 -2
- package/package.json +1 -1
|
@@ -68,7 +68,7 @@ var analyzeFunction = function (fn) {
|
|
|
68
68
|
if (exp.trim() === "function") {
|
|
69
69
|
hasFunction = true;
|
|
70
70
|
}
|
|
71
|
-
if (exp.trim() !== "async") {
|
|
71
|
+
else if (exp.trim() !== "async") {
|
|
72
72
|
name = exp.trim();
|
|
73
73
|
}
|
|
74
74
|
exp = "";
|
|
@@ -140,7 +140,9 @@ var analyzeFunction = function (fn) {
|
|
|
140
140
|
isDestructuring = false;
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
|
|
143
|
+
else {
|
|
144
|
+
exp = "";
|
|
145
|
+
}
|
|
144
146
|
}
|
|
145
147
|
}
|
|
146
148
|
else if (isArrow) {
|
package/dist/index.js
CHANGED
|
@@ -3385,7 +3385,7 @@
|
|
|
3385
3385
|
if (exp.trim() === "function") {
|
|
3386
3386
|
hasFunction = true;
|
|
3387
3387
|
}
|
|
3388
|
-
if (exp.trim() !== "async") {
|
|
3388
|
+
else if (exp.trim() !== "async") {
|
|
3389
3389
|
name = exp.trim();
|
|
3390
3390
|
}
|
|
3391
3391
|
exp = "";
|
|
@@ -3457,7 +3457,9 @@
|
|
|
3457
3457
|
isDestructuring = false;
|
|
3458
3458
|
}
|
|
3459
3459
|
}
|
|
3460
|
-
|
|
3460
|
+
else {
|
|
3461
|
+
exp = "";
|
|
3462
|
+
}
|
|
3461
3463
|
}
|
|
3462
3464
|
}
|
|
3463
3465
|
else if (isArrow) {
|