Socket
Socket
Sign inDemoInstall

class-autobind

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

class-autobind - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

1

lib/autobind.js

@@ -8,2 +8,3 @@ 'use strict';

// The following React methods should not be automatically bound.

@@ -10,0 +11,0 @@ var REACT_EXCLUDE_METHODS = {

12

package.json
{
"name": "class-autobind",
"version": "0.1.0",
"version": "0.1.1",
"description": "Method auto-bind for ES6 (ES2015) classes",
"main": "lib/autobind.js",
"scripts": {
"build": "babel src --ignore '_*' --out-dir lib",
"build-lib": "rimraf lib && babel src --ignore '_*' --out-dir lib",
"lint": "eslint --max-warnings 0 .",
"prepublish": "npm run build",
"prepublish": "npm run build-lib",
"test": "npm run lint && npm run test-src",

@@ -15,2 +15,3 @@ "test-src": "mocha"

"devDependencies": {
"babel-cli": "^6.6.5",
"babel-core": "^6.7.2",

@@ -22,3 +23,3 @@ "babel-eslint": "^5.0.0",

"babel-preset-stage-2": "^6.5.0",
"eslint": "^2.2.0",
"eslint": "2.2.0",
"eslint-plugin-babel": "^3.1.0",

@@ -28,3 +29,4 @@ "eslint-plugin-flow-vars": "^0.2.1",

"expect": "^1.15.2",
"mocha": "^2.4.5"
"mocha": "^2.4.5",
"rimraf": "^2.5.2"
},

@@ -31,0 +33,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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