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

electrum-events

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electrum-events - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

lib/event-handlers.js

@@ -31,4 +31,4 @@ 'use strict';

}
this._valueGetter = valueGetter || function (t) {
return t.value;
this._valueGetter = valueGetter || function (target) {
return target.value;
};

@@ -138,4 +138,4 @@ }

value: function inject(obj, props, bus) {
var eh = new EventHandlers(props, bus, obj.getValue && function (e) {
return obj.getValue(e.target);
var eh = new EventHandlers(props, bus, obj.getValue && function (target) {
return obj.getValue(target);
});

@@ -142,0 +142,0 @@ /* jshint expr: true */

{
"name": "electrum-events",
"version": "1.0.1",
"version": "1.0.2",
"description": "Electrum Events forwards web component events to the bus.",

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

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

}
this._valueGetter = valueGetter || (t => t.value);
this._valueGetter = valueGetter || (target => target.value);
}

@@ -56,3 +56,3 @@

static inject (obj, props, bus) {
const eh = new EventHandlers (props, bus, obj.getValue && (e => obj.getValue (e.target)));
const eh = new EventHandlers (props, bus, obj.getValue && (target => obj.getValue (target)));
/* jshint expr: true */

@@ -59,0 +59,0 @@ const existingOnFocus = obj.onFocus;

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