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

flux-router-component

Package Overview
Dependencies
Maintainers
4
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flux-router-component - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

10

actions/navigate.js

@@ -20,3 +20,9 @@ var debug = require('debug')('navigateAction');

var action = route.config && route.config.action;
if (!action) {
if ('string' === typeof action && context.getAction) {
action = context.getAction(action);
}
if (!action || 'function' !== typeof action) {
debug('route has no action, dispatching without calling action');
context.dispatch('CHANGE_ROUTE_SUCCESS', route);

@@ -27,3 +33,3 @@ done();

// Execute route handler
debug('executing route action');
context.executeAction(action, route, function (err) {

@@ -30,0 +36,0 @@ if (err) {

2

package.json
{
"name": "flux-router-component",
"version": "0.2.0",
"version": "0.2.1",
"description": "Router-related React component and mixin for applications with Flux architecture",

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

Sorry, the diff of this file is not supported yet

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