native-or-bluebird
Advanced tools
Comparing version 1.1.2 to 1.2.0
{ | ||
"name": "native-or-bluebird", | ||
"description": "use either the native Promise or Bluebird", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Jonathan Ong", |
module.exports = global.Promise | ||
if (!module.exports) { | ||
try { | ||
module.exports = require('bluebird') | ||
} catch (_) {} | ||
try { | ||
module.exports = require('bluebird') | ||
} catch (_) { | ||
module.exports = global.Promise | ||
} |
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
4555
13