Comparing version 3.1.0 to 3.1.1
@@ -17,3 +17,3 @@ | ||
assert(typeof $$__fn__$$ === 'function') | ||
return eval(createWraper($$__fn__$$.name)) | ||
return eval(createWrapper($$__fn__$$.name.replace(/\s|bound(?!$)/g,''))) | ||
} | ||
@@ -31,3 +31,3 @@ | ||
assert(typeof $$__fn__$$ === 'function') | ||
return eval(createWraper($$__fn__$$.name, true)) | ||
return eval(createWrapper($$__fn__$$.name, true)) | ||
} | ||
@@ -46,3 +46,3 @@ | ||
function createWraper(name, withCallback) { | ||
function createWrapper(name, withCallback) { | ||
withCallback = withCallback ? | ||
@@ -49,0 +49,0 @@ 'var lastType = typeof arguments[len - 1]\n' |
{ | ||
"name": "thenify", | ||
"description": "Promisify a callback-based function", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -10,3 +10,2 @@ | ||
[![Downloads][downloads-image]][downloads-url] | ||
[![Gittip][gittip-image]][gittip-url] | ||
@@ -38,3 +37,3 @@ Promisify a callback-based function. | ||
```js | ||
var thenify = require('thenify').withcallback; | ||
var thenify = require('thenify').withCallback; | ||
@@ -69,3 +68,1 @@ var somethingAsync = thenify(function somethingAsync(a, b, c, callback) { | ||
[downloads-url]: https://npmjs.org/package/thenify | ||
[gittip-image]: https://img.shields.io/gratipay/jonathanong.svg?style=flat-square | ||
[gittip-url]: https://gratipay.com/jonathanong/ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2
5751
66