New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

subscribe-ui-event

Package Overview
Dependencies
Maintainers
5
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

subscribe-ui-event - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

8

dist-es/mainEventConnectors.js

@@ -97,4 +97,4 @@ /**

*/
function connectContinuousEvent(target, mainEvent, event, eventOptions) {
return function throttleEvent(throttleRate, cb, options) {
function connectContinuousEvent(target, mainEvent, event) {
return function throttleEvent(throttleRate, cb, options, eventOptions) {
var context = options.context;

@@ -163,3 +163,3 @@ var domTarget = options.target;

function connectDiscreteEvent(target, event) {
return function throttleEvent(throttleRate, cb, options) {
return function throttleEvent(throttleRate, cb, options, eventOptions) {
var context = options.context;

@@ -186,3 +186,3 @@ var domTarget = options.target;

listeners[throttledEvent] = listen(domTarget || target, event, handler);
listeners[throttledEvent] = listen(domTarget || target, event, handler, eventOptions);
return remover;

@@ -189,0 +189,0 @@ };

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

*/
function connectContinuousEvent(target, mainEvent, event, eventOptions) {
return function throttleEvent(throttleRate, cb, options) {
function connectContinuousEvent(target, mainEvent, event) {
return function throttleEvent(throttleRate, cb, options, eventOptions) {
var context = options.context;

@@ -194,3 +194,3 @@ var domTarget = options.target;

function connectDiscreteEvent(target, event) {
return function throttleEvent(throttleRate, cb, options) {
return function throttleEvent(throttleRate, cb, options, eventOptions) {
var context = options.context;

@@ -217,3 +217,3 @@ var domTarget = options.target;

listeners[throttledEvent] = (0, _listen2.default)(domTarget || target, event, handler);
listeners[throttledEvent] = (0, _listen2.default)(domTarget || target, event, handler, eventOptions);
return remover;

@@ -220,0 +220,0 @@ };

{
"name": "subscribe-ui-event",
"version": "2.0.3",
"version": "2.0.4",
"description": "A single, throttle built-in solution to subscribe to browser UI Events.",

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

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