Comparing version 0.12.0 to 0.12.1
/* | ||
Yaku v0.12.0 | ||
Yaku v0.12.1 | ||
(c) 2015 Yad Smood. http://ysmood.org | ||
@@ -4,0 +4,0 @@ License MIT |
{ | ||
"name": "yaku", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"description": "A light-weight ES6 Promises/A+ implementation that doesn't hurt.", | ||
@@ -41,8 +41,8 @@ "main": "lib/yaku.js", | ||
"devDependencies": { | ||
"bluebird": "3.0.6", | ||
"es6-promise": "3.0.2", | ||
"eslint": "1.10.3", | ||
"junit": "1.1.1", | ||
"mocha": "2.3.4", | ||
"nokit": "0.16.15", | ||
"bluebird": "3.3.1", | ||
"es6-promise": "3.1.2", | ||
"eslint": "2.0.0", | ||
"junit": "1.1.3", | ||
"mocha": "2.4.5", | ||
"nokit": "0.17.2", | ||
"promises-aplus-tests": "*", | ||
@@ -52,3 +52,3 @@ "promises-es6-tests": "*", | ||
"uglify-js": "2.6.1", | ||
"webpack": "1.12.9" | ||
"webpack": "1.12.13" | ||
}, | ||
@@ -55,0 +55,0 @@ "eslintConfig": { |
@@ -10,4 +10,6 @@ <a href="http://promisesaplus.com/"> | ||
If you want to learn how Promise works, read the minimum implementation [docs/minPromiseAplus.js][]. Without comments, it is only 80 lines of code (gzipped size is 0.5KB). | ||
It only implements the `constructor` and `then`. It passed all the tests of [promises-aplus-tests][] and [promises-es6-tests][]. | ||
It only implements the `constructor` and `then`. | ||
Yaku passed all the tests of [promises-aplus-tests][] and [promises-es6-tests][]. | ||
I am not an optimization freak, I try to keep the source code readable and maintainable. | ||
@@ -26,3 +28,3 @@ Premature optimization is the root of all evil. I write this lib to research one of my data structure | ||
- Much better performance than the native Promise | ||
- 100% compliant with Promises/A+ specs and ES6 | ||
- 100% compliant with Promises/A+ specs and nearly 100% compliant with ES6 specs | ||
- Designed to work on IE5+ and other major browsers | ||
@@ -74,9 +76,9 @@ - Well commented source code with every Promises/A+ spec | ||
| Name | promises-es6-tests | 1ms async task / mem | sync task / mem | Helpers | file size | | ||
| -------------------- | ------------------ | -------------------- | --------------- | ------- | --------- | | ||
| Yaku | ✓ | 257ms / 110MB | 126ms / 80MB | +++ | 3.8KB | | ||
| [Bluebird][] v2.9 | x | 249ms / 102MB | 155ms / 80MB | +++++++ | 73KB | | ||
| [ES6-promise][] v2.3 | x | 427ms / 120MB | 92ms / 78MB | + | 18KB | | ||
| [native][] iojs v1.8 | x | 789ms / 189MB | 605ms / 147MB | + | 0KB | | ||
| [q][] v1.3 | x | 2648ms / 646MB | 2373ms / 580MB | +++ | 24K | | ||
| Name | promises-es6-tests | 1ms async task / mem | Helpers | file size | | ||
| -------------------- | ------------------ | -------------------- | ------- | --------- | | ||
| Yaku v0.12 | ✓ | 247ms / 101mb | +++ | 3.8KB | | ||
| [Bluebird][] v3.3 | x | 166ms / 86mb | +++++++ | 73KB | | ||
| [ES6-promise][] v3.1 | x | 342ms / 104mb | + | 18KB | | ||
| [native][] v5.0 | x | 496ms / 166mb | + | 0KB | | ||
| [q][] v1.4 | x | 3109ms / 618mb | +++ | 24K | | ||
@@ -86,3 +88,2 @@ - **Helpers**: extra methods that help with your promise programming, such as | ||
- **1ms async task**: `npm run no -- benchmark`, the smaller the better. | ||
- **sync task**: `npm run no -- benchmark --sync`, the smaller the better. | ||
@@ -89,0 +90,0 @@ |
1019
81459