@bbn/bbn 1.0.265 → 1.0.267

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,10 +107,9 @@ export default function analyzeFunction(fn) {
107
107
  break;
108
108
  }
109
109
  else if (!exp && (all[i] === "=") && (all[i + 1] === ">")) {
110
- currentArg["name"] = exp.trim();
110
+ currentArg["name"] = all.slice(0, i).trim();
111
111
  args.push(currentArg);
112
112
  currentArg = {};
113
- exp = "";
114
113
  isArrow = true;
115
114
  i++;
116
115
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.265",
3
+ "version": "1.0.267",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",