Socket
Socket
Sign inDemoInstall

pify

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.0.1

4

index.js

@@ -55,3 +55,5 @@ 'use strict';

if (objType === 'function') {
ret = (...args) => options.excludeMain ? input(...args) : processFn(input, options)(...args);
ret = function (...args) {
return options.excludeMain ? input(...args) : processFn(input, options).apply(this, args);
};
} else {

@@ -58,0 +60,0 @@ ret = Object.create(Object.getPrototypeOf(input));

{
"name": "pify",
"version": "4.0.0",
"version": "4.0.1",
"description": "Promisify a callback-style function",

@@ -46,7 +46,7 @@ "license": "MIT",

"devDependencies": {
"ava": "*",
"ava": "^0.25.0",
"pinkie-promise": "^2.0.0",
"v8-natives": "^1.1.0",
"xo": "*"
"xo": "^0.23.0"
}
}

@@ -5,3 +5,17 @@ # pify [![Build Status](https://travis-ci.org/sindresorhus/pify.svg?branch=master)](https://travis-ci.org/sindresorhus/pify)

---
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-pify?utm_source=npm-pify&utm_medium=referral&utm_campaign=readme">Get professional support for 'pify' with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>
---
## Install

@@ -8,0 +22,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc