create-thenable
Advanced tools
Comparing version 1.0.1 to 1.0.2
'use strict' | ||
var concat = require('unique-concat') | ||
var omit = require('object-omit') | ||
var omit = require('object.omit') | ||
@@ -18,3 +18,3 @@ module.exports = function createThenable (Promise, resolver) { | ||
} | ||
function then (/*onFulfill, onReject*/) { | ||
function then (/* onFulfill, onReject */) { | ||
var promise = new Promise(resolver) | ||
@@ -21,0 +21,0 @@ return promise.then.apply(promise, arguments) |
{ | ||
"name": "create-thenable", | ||
"main": "./src", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Create a thenable for a given Promise prototype", | ||
@@ -25,11 +25,11 @@ "license": "MIT", | ||
"dependencies": { | ||
"object-omit": "~1.0.0", | ||
"object.omit": "~2.0.0", | ||
"unique-concat": "~0.2.2" | ||
}, | ||
"devDependencies": { | ||
"bluebird": "^2.9.25", | ||
"bluebird": "^3.4.1", | ||
"q": "^1.4.0", | ||
"standard": "^4.0.0", | ||
"standard": "^7.1.2", | ||
"tape": "^4.0.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
4661
+ Addedobject.omit@~2.0.0
+ Addedis-extendable@0.1.1(transitive)
+ Addedobject.omit@2.0.1(transitive)
- Removedobject-omit@~1.0.0
- Removedisobject@0.2.0(transitive)
- Removedobject-omit@1.0.0(transitive)