@bbn/bbn 1.0.259 → 1.0.261

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.
@@ -107,7 +107,7 @@ export default function analyzeFunction(fn) {
107
107
  break;
108
108
  }
109
109
  else if (all[i] === "=" && all[i + 1] === ">") {
110
- if (exp.trim() !== "" && parOpened === parClosed) {
110
+ if (parOpened === parClosed) {
111
111
  if (!parOpened) {
112
112
  currentArg["name"] = all.slice(0, i).trim();
113
113
  }
@@ -118,7 +118,7 @@ export default function analyzeFunction(fn) {
118
118
  currentArg = {};
119
119
  exp = "";
120
120
  }
121
- bbn.fn.log(["LOGGGGG", exp, all.slice(0, i).trim()]);
121
+ bbn.fn.log(["LOGGGGG", exp, all.slice(0, i).trim(), parOpened, parClosed]);
122
122
  isArrow = true;
123
123
  i++;
124
124
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.259",
3
+ "version": "1.0.261",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",