From 9e4123d7a208f5fa4d535b753c09988f0633fea5 Mon Sep 17 00:00:00 2001 From: tunnckoCore Date: Wed, 27 Jan 2016 21:55:41 +0200 Subject: [PATCH] Release v2.1.0 --- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d344ea..0d2a19d 100644 --- a/CHANGELOG.md +++ b/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 diff --git a/package.json b/package.json index c6d5af1..c4f69b3 100644 --- a/package.json +++ b/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)",