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 2.1.5 to 2.1.6

9

lib/Proback.js
module.exports = {
promisify: function (obj, fn, ...params) {
return new Promise( (resolve, reject) => {
params.push( (err, res) => {
if (err) reject(err)
else resolve( res )
} )
fn.call( obj, ...params )
} )
},
stopper: async function ( promise ) {

@@ -3,0 +12,0 @@ let timestamp = Date.now()

4

package.json
{
"name": "proback.js",
"version": "2.1.5",
"version": "2.1.6",
"description": "Tiny libary to aid Promise/Callback dual API design",

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

"gulp": "^3.9.1",
"gulp-eslint": "^4.0.1",
"gulp-eslint": "^4.0.2",
"gulp-load-plugins": "^1.5.0",

@@ -32,0 +32,0 @@ "gulp-mocha": "^5.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