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

callbag-from-event

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

callbag-from-event - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

package.json
{
"name": "callbag-from-event",
"version": "1.2.0",
"version": "1.2.1",
"description": "Create a callbag listenable source from events on a DOM node",

@@ -5,0 +5,0 @@ "repository": {

import { Source } from 'callbag'
export default function fromEvent<T extends Event = Event>(
export default function fromEvent<T extends keyof HTMLElementEventMap>(
node: EventTarget,
name: string,
name: T,
options?: boolean | AddEventListenerOptions
): Source<T>;
): Source<HTMLElementEventMap[T]>;
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