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 6.0.4 to 6.0.5

1

index.js

@@ -25,2 +25,3 @@ // const debug = require('debug')('barracks')

actions[action] = actions[action] ? actions[action] : []
assert.equal(actions[action].length, 0, 'only on callback per action')
actions[action].push(cb)

@@ -27,0 +28,0 @@

4

package.json
{
"name": "barracks",
"version": "6.0.4",
"version": "6.0.5",
"description": "Action dispatcher for unidirectional data flows",

@@ -26,3 +26,3 @@ "main": "index.js",

"istanbul": "~0.2.10",
"standard": "^4.5.4",
"standard": "^7.1.2",
"tape": "^3.0.3",

@@ -29,0 +29,0 @@ "watch": "^0.16.0"

@@ -43,3 +43,4 @@ # barracks

can be used to call other actions internally. `wait()` accepts a single action
or an array of actions and an optional callback as the final argument.
or an array of actions and an optional callback as the final argument. Only
one callback can be added per action.

@@ -100,3 +101,3 @@ ### dispatcher(action[, data])

- [flux-standard-action](https://github.com/acdlite/flux-standard-action/) - human-friendly standard for Flux action objects
- [create-fsa](https://github.com/yoshuawuyts/create-fsa/) - create a flux-standard-action from a value
- [create-fsa](https://github.com/yoshuawuyts/create-fsa/) - create a flux-standard-action from a value
- [wayfarer](https://github.com/yoshuawuyts/wayfarer) - composable trie based router

@@ -103,0 +104,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