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 2.2.5 to 2.2.6

4

dist/index.js

@@ -1,2 +0,2 @@

import { onRootCleanup, entries, createCallbackStack, asArray, access, keys } from '@solid-primitives/utils';
import { tryOnCleanup, entries, createCallbackStack, asArray, access, keys } from '@solid-primitives/utils';
import { createEffect, createRenderEffect, createSignal, onCleanup } from 'solid-js';

@@ -7,3 +7,3 @@

target.addEventListener(type, handler, options);
return onRootCleanup(target.removeEventListener.bind(target, type, handler, options));
return tryOnCleanup(target.removeEventListener.bind(target, type, handler, options));
}

@@ -10,0 +10,0 @@ function createEventListener(targets, type, handler, options) {

@@ -1,2 +0,2 @@

import { onRootCleanup } from '@solid-primitives/utils';
import { tryOnCleanup } from '@solid-primitives/utils';
import { createEffect } from 'solid-js';

@@ -7,3 +7,3 @@

target.addEventListener(type, handler, options);
return onRootCleanup(target.removeEventListener.bind(target, type, handler, options));
return tryOnCleanup(target.removeEventListener.bind(target, type, handler, options));
}

@@ -10,0 +10,0 @@ function createEventListener(targets, type, handler, options) {

{
"name": "@solid-primitives/event-listener",
"version": "2.2.5",
"version": "2.2.6",
"description": "SolidJS Primitives to manage creating event listeners.",

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

"dependencies": {
"@solid-primitives/utils": "^4.0.1"
"@solid-primitives/utils": "^5.0.0"
},

@@ -85,0 +85,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

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