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

qpatch

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qpatch - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

11

index.js

@@ -20,4 +20,11 @@ // Requires

_.methods(cls.prototype).forEach(function(method) {
// Build new function
newCls.prototype[method] = qMethod(cls.prototype[method]);
// Don't change internal functions
var f;
if(method[0] === '_' || _.contains(methodExceptions, method)) {
f = cls.prototype[method];
} else {
f = qMethod(cls.prototype[method]);
}
// Set function
newCls.prototype[method] =f;
});

@@ -24,0 +31,0 @@

2

package.json
{
"name": "qpatch",
"version": "0.0.1",
"version": "0.0.2",
"description": "Module for patching JS Classes using callbacks to use Q promises",

@@ -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