Socket
Socket
Sign inDemoInstall

react-autobind

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-autobind - npm Package Compare versions

Comparing version 1.0.0 to 1.0.5

2

package.json
{
"name": "react-autobind",
"version": "1.0.0",
"version": "1.0.5",
"description": "Automatically binds methods defined within a component's Class to the current object's lexical `this` instance (similarly to the default behavior of React.createClass).",

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

@@ -25,2 +25,4 @@ React Class autoBind

```javascript
import autoBind from 'react-autobind';
constructor() {

@@ -37,2 +39,4 @@ super();

```javascript
import autoBind from 'react-autobind';
constructor() {

@@ -49,3 +53,3 @@ super();

import {render} from 'react-dom';
import autoBind from './autoBind';
import autoBind from 'react-autobind';

@@ -52,0 +56,0 @@ class App extends React.Component {

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