Comparing version 3.5.36 to 3.5.37
{ | ||
"name": "clues", | ||
"version": "3.5.33", | ||
"version": "3.5.37", | ||
"main": "clues.js", | ||
@@ -5,0 +5,0 @@ "scripts": [ |
@@ -12,2 +12,3 @@ (function(self) { | ||
var reEs6 = /^\s*\({0,1}(.*?)\){0,1}\s*=>/; | ||
var reEs6Class = /^\s*[a-zA-Z0-9\-\$\_]+\((.*?)\)\s*{/; | ||
@@ -18,3 +19,3 @@ function matchArgs(fn) { | ||
match = match.replace(/^\s*async/,''); | ||
match = reArgs.exec(match) || reEs6.exec(match); | ||
match = reArgs.exec(match) || reEs6.exec(match) || reEs6Class.exec(match); | ||
fn.__args__ = match[1].replace(/\s/g,'') | ||
@@ -21,0 +22,0 @@ .split(',') |
{ | ||
"name": "clues", | ||
"version": "3.5.36", | ||
"version": "3.5.37", | ||
"description": "Lightweight logic tree solver using promises.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97620
38
1704