Socket
Socket
Sign inDemoInstall

babel-plugin-autobind-class-methods

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

2

index.js

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

newConstructor.params = [t.restElement(t.identifier("args"))];
newConstructor.body.body.push(t.returnStatement(t.callExpression(t.super(), [t.spreadElement(t.identifier("args"))])));
newConstructor.body.body.push(t.callExpression(t.super(), [t.spreadElement(t.identifier("args"))]));
}

@@ -42,0 +42,0 @@ constructor = body.unshiftContainer("body", newConstructor)[0];

{
"name": "babel-plugin-autobind-class-methods",
"version": "1.0.2",
"version": "1.0.3",
"description": "Babel plugin that binds every class method to \"this\" with hot reload support",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc