Socket
Socket
Sign inDemoInstall

event-dispatch

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

event-dispatch - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

index.d.ts

3

package.json
{
"name": "event-dispatch",
"private": false,
"version": "0.3.0",
"version": "0.4.0",
"description": "Dispatching and listening for application events in Typescript",

@@ -24,3 +24,2 @@ "license": "Apache-2.0",

"dependencies": {
"reflect-metadata": "0.1.3",
"fs": "0.0.2",

@@ -27,0 +26,0 @@ "path": "^0.11.14"

@@ -27,3 +27,3 @@ # event-dispatch

```javascript
import {EventSubscriber, On} from "event-dispatch/event-dispatch";
import {EventSubscriber, On} from "event-dispatch";

@@ -48,3 +48,3 @@ @EventSubscriber()

```javascript
import {EventDispatcher} from "event-dispatch/event-dispatch";
import {EventDispatcher} from "event-dispatch";

@@ -51,0 +51,0 @@ // note that all your subscribers must be imported somewhere in the app, so they are getting registered

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