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

universalify

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universalify - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

5

index.js

@@ -8,5 +8,6 @@ 'use strict'

return new Promise((resolve, reject) => {
fn.apply(
fn.call(
this,
args.concat([(err, res) => err ? reject(err) : resolve(res)])
...args,
(err, res) => (err != null) ? reject(err) : resolve(res)
)

@@ -13,0 +14,0 @@ })

4

package.json
{
"name": "universalify",
"version": "1.0.0",
"version": "2.0.0",
"description": "Make a callback- or promise-based function support both promises and callbacks.",

@@ -29,3 +29,3 @@ "keywords": [

"standard": "^14.3.1",
"tape": "^4.6.3"
"tape": "^5.0.1"
},

@@ -32,0 +32,0 @@ "engines": {

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