Comparing version 2.4.0 to 2.4.1
'use strict'; | ||
var isPromise = require('is-promise'); | ||
function isPromise(obj) { | ||
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function'; | ||
} | ||
@@ -5,0 +7,0 @@ /** |
{ | ||
"name": "run-async", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "Utility method to run function either synchronously or asynchronously using the common `this.async()` style.", | ||
@@ -23,5 +23,3 @@ "main": "index.js", | ||
"license": "MIT", | ||
"dependencies": { | ||
"is-promise": "^2.1.0" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -28,0 +26,0 @@ "mocha": "^7.1.0" |
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
6604
0
85
- Removedis-promise@^2.1.0
- Removedis-promise@2.2.2(transitive)