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

@solid-primitives/event-listener

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/event-listener - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

8

dist/index.js

@@ -49,7 +49,11 @@ // src/eventListener.ts

// src/eventListenerMap.ts
import { createCallbackStack as createCallbackStack2, forEachEntry } from "@solid-primitives/utils";
import {
createCallbackStack as createCallbackStack2,
forEachEntry,
access as access2
} from "@solid-primitives/utils";
import { createEffect as createEffect2, createSignal as createSignal2, onCleanup as onCleanup2 } from "solid-js";
function createEventListenerMap(targets, handlersMap, options) {
const { push, execute } = createCallbackStack2();
forEachEntry(handlersMap, (eventName, handler) => {
forEachEntry(access2(handlersMap), (eventName, handler) => {
push(createEventListener(targets, eventName, (e) => handler == null ? void 0 : handler(e), options));

@@ -56,0 +60,0 @@ });

{
"name": "@solid-primitives/event-listener",
"version": "1.6.0",
"version": "1.6.1",
"description": "Primitive to manage creating event listeners.",

@@ -64,4 +64,4 @@ "author": "David Di Biase <dave.dibiase@gmail.com>",

"@solid-primitives/rootless": "^0.1.0",
"@solid-primitives/utils": "^1.0.0"
"@solid-primitives/utils": "^1.2.0"
}
}

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