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

docbrown

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docbrown - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

3

index.js

@@ -46,2 +46,5 @@ (function() {

},
clear: function() {
this._actionHandlers = {};
},
register: function(action, store) {

@@ -48,0 +51,0 @@ if (this.registeredFor(action).indexOf(store) !== -1) return;

2

package.json
{
"name": "docbrown",
"version": "0.5.0",
"version": "0.5.1",
"description": "Flux experiment.",

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

@@ -119,2 +119,13 @@ var DocBrown = require("./");

});
describe("#clear()", function() {
it("should clear registered action handlers", function() {
dispatcher.register("foo", {a: 1});
dispatcher.register("bar", {b: 1});
dispatcher.clear();
expect(dispatcher.actionHandlers).eql({});
});
});
});

@@ -121,0 +132,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