Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

Commit

Permalink
Release v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tunnckoCore committed Jan 27, 2016
1 parent 76d866f commit 9e4123d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,20 @@


## 2.1.0 - 2016-01-27
- Release v2.1.0 / npm@v2.1.0
- update tests
- add two new properties in result object that are hidden by default: `value` and `orig`
+ `value` **{String}** string representation of the given `val`
+ `orig` **{Function|ArrowFunction|String}** original given `val`
- change `arguments` and `parameters` properties to be hidden by default
- add support for arrow functions: now can accept ES2015 arrow functions
- change to now use string looping instead of regex (performance impact?)

> **This release DO NOT have breaking changes!** But because switching from "regex matching" to "string looping" logic it may have performance differences - lower or higher performance. You are encouraged to consider alone which version to use. If you need arrow function support and feel performance hit please open an issue.
>
> You are encouraged to use this version, because I think it is more stable and faster than previous.
> If you feel any performance diffs, please open an issue and I will try to solve it.
## 2.0.1 - 2015-02-09
- Release v2.0.1 / npm@v2.0.1
- remove `mocha-lcov-reporter`.. needless
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "parse-function",
"version": "2.0.1",
"version": "2.1.0",
"description": "Parse a function, arrow function or string to object with `name`, `args`, `params` and `body` properties.",
"repository": "tunnckoCore/parse-function",
"author": "Charlike Mike Reagent <@tunnckoCore> (http://www.tunnckocore.tk)",
Expand Down

0 comments on commit 9e4123d

Please sign in to comment.