Socket
Socket
Sign inDemoInstall

bind-event-listener

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bind-event-listener - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

69

dist/bind-all.d.ts

@@ -26,2 +26,71 @@ import { Binding, UnbindFn } from './types';

], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn;
export declare function bindAll<Target extends EventTarget, Type1 extends string, Type2 extends string, Type3 extends string, Type4 extends string, Type5 extends string, Type6 extends string, Type7 extends string>(target: Target, bindings: [
Binding<Target, Type1>,
Binding<Target, Type2>,
Binding<Target, Type3>,
Binding<Target, Type4>,
Binding<Target, Type5>,
Binding<Target, Type6>,
Binding<Target, Type7>
], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn;
export declare function bindAll<Target extends EventTarget, Type1 extends string, Type2 extends string, Type3 extends string, Type4 extends string, Type5 extends string, Type6 extends string, Type7 extends string, Type8 extends string>(target: Target, bindings: [
Binding<Target, Type1>,
Binding<Target, Type2>,
Binding<Target, Type3>,
Binding<Target, Type4>,
Binding<Target, Type5>,
Binding<Target, Type6>,
Binding<Target, Type7>,
Binding<Target, Type8>
], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn;
export declare function bindAll<Target extends EventTarget, Type1 extends string, Type2 extends string, Type3 extends string, Type4 extends string, Type5 extends string, Type6 extends string, Type7 extends string, Type8 extends string, Type9 extends string>(target: Target, bindings: [
Binding<Target, Type1>,
Binding<Target, Type2>,
Binding<Target, Type3>,
Binding<Target, Type4>,
Binding<Target, Type5>,
Binding<Target, Type6>,
Binding<Target, Type7>,
Binding<Target, Type8>,
Binding<Target, Type9>
], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn;
export declare function bindAll<Target extends EventTarget, Type1 extends string, Type2 extends string, Type3 extends string, Type4 extends string, Type5 extends string, Type6 extends string, Type7 extends string, Type8 extends string, Type9 extends string, Type10 extends string>(target: Target, bindings: [
Binding<Target, Type1>,
Binding<Target, Type2>,
Binding<Target, Type3>,
Binding<Target, Type4>,
Binding<Target, Type5>,
Binding<Target, Type6>,
Binding<Target, Type7>,
Binding<Target, Type8>,
Binding<Target, Type9>,
Binding<Target, Type10>
], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn;
export declare function bindAll<Target extends EventTarget, Type1 extends string, Type2 extends string, Type3 extends string, Type4 extends string, Type5 extends string, Type6 extends string, Type7 extends string, Type8 extends string, Type9 extends string, Type10 extends string, Type11 extends string>(target: Target, bindings: [
Binding<Target, Type1>,
Binding<Target, Type2>,
Binding<Target, Type3>,
Binding<Target, Type4>,
Binding<Target, Type5>,
Binding<Target, Type6>,
Binding<Target, Type7>,
Binding<Target, Type8>,
Binding<Target, Type9>,
Binding<Target, Type10>,
Binding<Target, Type11>
], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn;
export declare function bindAll<Target extends EventTarget, Type1 extends string, Type2 extends string, Type3 extends string, Type4 extends string, Type5 extends string, Type6 extends string, Type7 extends string, Type8 extends string, Type9 extends string, Type10 extends string, Type11 extends string, Type12 extends string>(target: Target, bindings: [
Binding<Target, Type1>,
Binding<Target, Type2>,
Binding<Target, Type3>,
Binding<Target, Type4>,
Binding<Target, Type5>,
Binding<Target, Type6>,
Binding<Target, Type7>,
Binding<Target, Type8>,
Binding<Target, Type9>,
Binding<Target, Type10>,
Binding<Target, Type11>,
Binding<Target, Type12>
], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn;
export declare function bindAll(target: EventTarget, bindings: Binding[], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn;

2

package.json
{
"name": "bind-event-listener",
"version": "2.1.0",
"version": "2.1.1",
"private": false,

@@ -5,0 +5,0 @@ "description": "Making binding and unbinding DOM events easier",

@@ -112,2 +112,164 @@ import { Binding, UnbindFn } from './types';

): UnbindFn;
export function bindAll<
Target extends EventTarget,
Type1 extends string,
Type2 extends string,
Type3 extends string,
Type4 extends string,
Type5 extends string,
Type6 extends string,
Type7 extends string,
>(
target: Target,
bindings: [
Binding<Target, Type1>,
Binding<Target, Type2>,
Binding<Target, Type3>,
Binding<Target, Type4>,
Binding<Target, Type5>,
Binding<Target, Type6>,
Binding<Target, Type7>,
],
sharedOptions?: boolean | AddEventListenerOptions,
): UnbindFn;
export function bindAll<
Target extends EventTarget,
Type1 extends string,
Type2 extends string,
Type3 extends string,
Type4 extends string,
Type5 extends string,
Type6 extends string,
Type7 extends string,
Type8 extends string,
>(
target: Target,
bindings: [
Binding<Target, Type1>,
Binding<Target, Type2>,
Binding<Target, Type3>,
Binding<Target, Type4>,
Binding<Target, Type5>,
Binding<Target, Type6>,
Binding<Target, Type7>,
Binding<Target, Type8>,
],
sharedOptions?: boolean | AddEventListenerOptions,
): UnbindFn;
export function bindAll<
Target extends EventTarget,
Type1 extends string,
Type2 extends string,
Type3 extends string,
Type4 extends string,
Type5 extends string,
Type6 extends string,
Type7 extends string,
Type8 extends string,
Type9 extends string,
>(
target: Target,
bindings: [
Binding<Target, Type1>,
Binding<Target, Type2>,
Binding<Target, Type3>,
Binding<Target, Type4>,
Binding<Target, Type5>,
Binding<Target, Type6>,
Binding<Target, Type7>,
Binding<Target, Type8>,
Binding<Target, Type9>,
],
sharedOptions?: boolean | AddEventListenerOptions,
): UnbindFn;
export function bindAll<
Target extends EventTarget,
Type1 extends string,
Type2 extends string,
Type3 extends string,
Type4 extends string,
Type5 extends string,
Type6 extends string,
Type7 extends string,
Type8 extends string,
Type9 extends string,
Type10 extends string,
>(
target: Target,
bindings: [
Binding<Target, Type1>,
Binding<Target, Type2>,
Binding<Target, Type3>,
Binding<Target, Type4>,
Binding<Target, Type5>,
Binding<Target, Type6>,
Binding<Target, Type7>,
Binding<Target, Type8>,
Binding<Target, Type9>,
Binding<Target, Type10>,
],
sharedOptions?: boolean | AddEventListenerOptions,
): UnbindFn;
export function bindAll<
Target extends EventTarget,
Type1 extends string,
Type2 extends string,
Type3 extends string,
Type4 extends string,
Type5 extends string,
Type6 extends string,
Type7 extends string,
Type8 extends string,
Type9 extends string,
Type10 extends string,
Type11 extends string,
>(
target: Target,
bindings: [
Binding<Target, Type1>,
Binding<Target, Type2>,
Binding<Target, Type3>,
Binding<Target, Type4>,
Binding<Target, Type5>,
Binding<Target, Type6>,
Binding<Target, Type7>,
Binding<Target, Type8>,
Binding<Target, Type9>,
Binding<Target, Type10>,
Binding<Target, Type11>,
],
sharedOptions?: boolean | AddEventListenerOptions,
): UnbindFn;
export function bindAll<
Target extends EventTarget,
Type1 extends string,
Type2 extends string,
Type3 extends string,
Type4 extends string,
Type5 extends string,
Type6 extends string,
Type7 extends string,
Type8 extends string,
Type9 extends string,
Type10 extends string,
Type11 extends string,
Type12 extends string,
>(
target: Target,
bindings: [
Binding<Target, Type1>,
Binding<Target, Type2>,
Binding<Target, Type3>,
Binding<Target, Type4>,
Binding<Target, Type5>,
Binding<Target, Type6>,
Binding<Target, Type7>,
Binding<Target, Type8>,
Binding<Target, Type9>,
Binding<Target, Type10>,
Binding<Target, Type11>,
Binding<Target, Type12>,
],
sharedOptions?: boolean | AddEventListenerOptions,
): UnbindFn;
export function bindAll(

@@ -114,0 +276,0 @@ target: EventTarget,

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