Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-thenable

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-thenable - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

index.js
'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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc