Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "wait-then", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Utility function that returns a promise that resolves after x ms", | ||
@@ -12,3 +12,3 @@ "main": "lib/index.js", | ||
"test": "mocha", | ||
"coverage": "istanbul cover _mocha && open ./coverage/lcov-report/index.html", | ||
"coverage": "istanbul cover _mocha && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && open ./coverage/lcov-report/index.html", | ||
"prepublish": "npm run lint && npm test && npm run coverage" | ||
@@ -15,0 +15,0 @@ }, |
@@ -44,4 +44,6 @@ # wait-then | ||
Note: This relies on the existence of a [global `Promise` object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) as defined in the ECMAScript 6 (Harmony) proposal. | ||
__Note__: This relies on the existence of a global [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) object as defined in the ECMAScript 6 (Harmony) proposal. | ||
How this differs from [`co-sleep`](https://github.com/eugeneware/co-sleep) and [`co-wait`](https://github.com/juliangruber/co-wait) is that both of them use _thunks_, support for which is set to be [deprecated](https://github.com/tj/co#thunks). `wait-then` instead uses _Promises_, which are also [yieldable](https://github.com/tj/co#yieldables). | ||
[npm-img]: http://img.shields.io/npm/v/wait-then.svg | ||
@@ -48,0 +50,0 @@ [downloads-img]: http://img.shields.io/npm/dm/wait-then.svg |
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
6012
11
61