-
-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds anyOf support #50
Conversation
CI is failing on node 4. |
Damn, forgot rest params are not supported before 6.x. I'll find a workaround |
All green \o/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you check in the benchmarks have been impacted by the change? (run on them on master vs this branch)
index.js
Outdated
} | ||
if (dependencies.length > 0) { | ||
dependenciesName.push(code) | ||
return (Function.apply(null, dependenciesName).apply(null, dependencies)) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can remove the if (dependencies.length > 0)
check.
* Removes a check on dependencies list * Adds a benchmark script
With Node 8.4.0
Origin
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Can you send another PR with the docs? |
To implement #49 issue