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

proback.js

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proback.js - npm Package Compare versions

Comparing version 1.6.5 to 1.7.0

9

lib/Proback.js
module.exports = {
performer: function (promise, callback, resolve, reject) {
promise
.then( (res) => { module.exports.resolver(res, callback, resolve) } )
.catch( (reason) => { module.exports.rejecter(reason, callback, reject) } )
},
embracer: function (promise, callback) {
return new Promise( (resolve, resject) => {
return new Promise( (resolve, reject) => {
promise
.then( (res) => { module.exports.resolver(res, callback, resolve) } )
.catch( (reason) => { module.exports.rejecter(reason, callback, resject) } )
.catch( (reason) => { module.exports.rejecter(reason, callback, reject) } )
} )

@@ -8,0 +13,0 @@ },

{
"name": "proback.js",
"version": "1.6.5",
"version": "1.7.0",
"description": "Tiny libary to aid Promise/Callback dual API design",

@@ -5,0 +5,0 @@ "keywords": [

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