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

light-event-bus

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

light-event-bus - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

build/light-event-bus.min.js

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

(function(a,b){"object"==typeof exports&&"undefined"!=typeof module?b(exports):"function"==typeof define&&define.amd?define(["exports"],b):(a=a||self,b(a.EVENT_BUS={}))})(this,function(a){"use strict";function c(b){return b?(b^16*Math.random()>>b/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,c)}function b(){var a={};this.subscribe=function(b,d){var e=c();return a[b]||(a[b]={}),a[b][e]=d,{unsubscribe:function(){delete a[b][e],0===Object.keys(a[b]).length&&delete a[b]}}},this.publish=function(b,c){a[b]&&Object.keys(a[b]).forEach(function(d){return a[b][d](c)})}}var d=new b;a.EventBus=b,a.EventBusSingleton=d,Object.defineProperty(a,"__esModule",{value:!0})});
(function(a,b){"object"==typeof exports&&"undefined"!=typeof module?b(exports):"function"==typeof define&&define.amd?define(["exports"],b):(a=a||self,b(a.EVENT_BUS={}))})(this,function(a){"use strict";function b(){var a={};this.subscribe=function(b,c){var d=Symbol("id");return a[b]||(a[b]={}),a[b][d]=c,{unsubscribe:function(){delete a[b][d],0===Object.getOwnPropertySymbols(a[b]).length&&delete a[b]}}},this.publish=function(b,c){a[b]&&Object.getOwnPropertySymbols(a[b]).forEach(function(d){return a[b][d](c)})}}var c=new b;a.EventBus=b,a.EventBusSingleton=c,Object.defineProperty(a,"__esModule",{value:!0})});
{
"name": "light-event-bus",
"version": "1.0.0",
"version": "1.0.1",
"description": "Lightweight event bus for node and the browser.",

@@ -5,0 +5,0 @@ "main": "build/light-event-bus.min.js",

@@ -28,4 +28,3 @@ # light-event-bus.js

This file is also delivered through a CDN at this address:
- `light-event-bus.min.js`: [https://unpkg.com/light-event-bus@0.0.3-development/build/event-bus.min.js](https://unpkg.com/light-event-bus@0.0.0-development/build/event-bus.min.js)
This file is also delivered through a CDN at [this address](https://unpkg.com/light-event-bus@1.0.0/build/light-event-bus.min.js).

@@ -32,0 +31,0 @@ #### Example - browser

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