Comparing version 1.0.0 to 1.0.1
@@ -62,4 +62,5 @@ /**/ void function() { | ||
Object.getOwnPropertyNames(prototype).forEach(function(name) { | ||
if(name === 'constructor' || typeof prototype[name] !== 'function') return; | ||
if(name === 'constructor') return; | ||
var desc = Object.getOwnPropertyDescriptor(prototype, name); | ||
if(typeof desc.value !== 'function') return; | ||
bindMethod(prototype, name, desc); | ||
@@ -66,0 +67,0 @@ Object.defineProperty(prototype, name, desc); |
{ | ||
"name": "autobind", | ||
"main": "autobind.js", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"authors": [ | ||
@@ -6,0 +6,0 @@ "YanagiEiichi <admin@web-tinker.com>" |
{ | ||
"name": "autobind", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "autobind decorator", | ||
@@ -5,0 +5,0 @@ "main": "autobind.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
auto-bind |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9590
16
108
0