New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

autobind

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autobind - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

tests/index.html

4

autobind.js

@@ -34,3 +34,5 @@ /**/ void function() {

desc.get = function() {
if(this === base) return value;
// The method must be bindable, If an autobinded method called on prototype,
// Consider the static method has no prototype, so check the type to exclude static method
if(this === base && typeof base !== 'function') return value;
var boundValue = value.bind(this);

@@ -37,0 +39,0 @@ // Save result to itself as a cache

{
"name": "autobind",
"main": "autobind.js",
"version": "1.0.2",
"version": "1.0.3",
"authors": [

@@ -6,0 +6,0 @@ "YanagiEiichi <admin@web-tinker.com>"

{
"name": "autobind",
"version": "1.0.2",
"version": "1.0.3",
"description": "autobind decorator",

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

@@ -16,5 +16,5 @@ {

"dependencies": {
"tester": "~0.0.12",
"tester": "~0.0.13",
"requirejs": "~2.1.20"
}
}
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