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

flux-router-component

Package Overview
Dependencies
Maintainers
5
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.5.14 to 0.5.15

.idea/.name

13

lib/NavLink.js

@@ -90,12 +90,7 @@ /**

render: function() {
var context;
if (this.context && this.context.makePath) {
context = this.context;
} else if (this.props.context && this.props.context.makePath) {
context = this.props.context;
}
var context = this.props.context || this.context;
var routeName = this.props.routeName;
var newProps = {};
if (!this.props.href && routeName && context) {
this.props.href = context.makePath(routeName, this.props.navParams);
newProps.href = context.makePath(routeName, this.props.navParams);
}

@@ -106,3 +101,3 @@ return React.createElement(

onClick: this.dispatchNavAction
}, this.props),
}, this.props, newProps),
this.props.children

@@ -109,0 +104,0 @@ );

{
"name": "flux-router-component",
"version": "0.5.14",
"version": "0.5.15",
"description": "Router-related React component and mixin for applications with Fluxible architecture",

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

"peerDependencies": {
"react": ">=0.12.0 <=0.13.0-rcx"
"react": ">=0.12.0 <=0.13.x"
},

@@ -41,4 +41,4 @@ "devDependencies": {

"precommit-hook": "^1.0.2",
"react": ">=0.12.0 <=0.13.0-rcx",
"react-tools": ">=0.12.0 <=0.13.0-rcx"
"react": ">=0.12.0 <=0.13.x",
"react-tools": ">=0.12.0 <=0.13.x"
},

@@ -45,0 +45,0 @@ "jshintConfig": {

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