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

simple-static-react-router

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-static-react-router - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

5

index.js

@@ -558,4 +558,5 @@ (function webpackUniversalModuleDefinition(root, factory) {

clonedChildren = this.props.children.map(function (component, index) {
var unqiueName = component.type.name || component.type;
return _react2.default.cloneElement(component, {
key: component.type.name + index,
key: unqiueName + index,
router: _this2.context.router

@@ -729,3 +730,3 @@ });

Router.childContextTypes = {
router: _propTypes2.default.object
router: _propTypes2.default.object.isRequired
};

@@ -732,0 +733,0 @@

2

package.json
{
"name": "simple-static-react-router",
"version": "0.0.7",
"version": "0.0.8",
"description": "Simple static routing components for React",

@@ -5,0 +5,0 @@ "main": "./dist/simple-static-react-router.js",

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