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

barracks

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barracks - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

package.json
{
"name": "barracks",
"version": "1.0.0",
"version": "1.1.0",
"description": "An event dispatcher for the flux architecture",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -35,3 +35,3 @@ # Barracks

dispatcher.dispatch('eventName', 'Loki');
// -> 'Loki got triggered'
// => 'Loki got triggered'
````

@@ -58,9 +58,9 @@

dispatcher.dispatch('eventName', 12);
// -> 12
// => 12
dispatcher.dispatch('otherEvent');
// -> throw Error
// => throw Error
dispatcher.dispatch('otherEvent', null);
// -> 'hi'
// => 'hi'
````

@@ -67,0 +67,0 @@

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