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

@gar/promisify

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gar/promisify - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

4

index.js

@@ -12,3 +12,3 @@ 'use strict'

return function () {
return Reflect.get(target, prop, receiver)[promisify.custom].apply(receiver, arguments)
return Reflect.get(target, prop, receiver)[promisify.custom].apply(target, arguments)
}

@@ -18,3 +18,3 @@ }

return new Promise((resolve, reject) => {
Reflect.get(target, prop, receiver).apply(receiver, [...arguments, function (err, result) {
Reflect.get(target, prop, receiver).apply(target, [...arguments, function (err, result) {
if (err) {

@@ -21,0 +21,0 @@ return reject(err)

{
"name": "@gar/promisify",
"version": "1.1.1",
"version": "1.1.2",
"description": "Promisify an entire class or object",

@@ -5,0 +5,0 @@ "main": "index.js",

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