Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

abigail-plugin

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abigail-plugin - npm Package Compare versions

Comparing version 0.0.7 to 0.1.0

27

lib/index.js

@@ -37,3 +37,3 @@ 'use strict';

if ((typeof parent === 'undefined' ? 'undefined' : _typeof(parent)) !== 'object' || typeof parent.on !== 'function') {
throw new TypeError('parent is not a defined');
throw new TypeError('parent is not a asyncemitter');
}

@@ -122,2 +122,27 @@

/**
* @method setProps
* @param {object} [newProps={}]
* @returns {undefined}
*/
}, {
key: 'setProps',
value: function setProps() {
var newProps = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
this.parent.props = Object.assign({}, this.parent.props || {}, newProps);
}
/**
* @method getProps
* @returns {object} props
*/
}, {
key: 'getProps',
value: function getProps() {
return Object.assign({}, this.parent.props || {});
}
/**
* @method pluginWillAttach

@@ -124,0 +149,0 @@ * @returns {undefined}

10

package.json
{
"name": "abigail-plugin",
"description": "abigail plugins base class",
"version": "0.0.7",
"version": "0.1.0",
"main": "lib",

@@ -30,6 +30,6 @@ "files": [

"bluebird": "^3.3.4",
"carrack": "^0.0.5",
"carrack": "^0.1.0",
"codeclimate-test-reporter": "^0.3.1",
"eslint": "2.2.0",
"eslint-config-airbnb": "^6.1.0",
"eslint-config-airbnb": "6.1.0",
"espower-babel": "^4.0.1",

@@ -45,3 +45,5 @@ "mocha": "^2.4.5",

},
"keywords": [],
"keywords": [
"abigail-plugin"
],
"author": "59naga <i59naga@icloud.com> (http://berabou.me/)",

@@ -48,0 +50,0 @@ "license": "MIT",

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