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

strange-router

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strange-router - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

8

dist/index.js

@@ -37,4 +37,4 @@ 'use strict';

var _require2 = require('react-router-dom/Router'),
Router = _require2.default;
var _require2 = require('react-router-redux'),
ConnectedRouter = _require2.ConnectedRouter;

@@ -66,3 +66,3 @@ var _require3 = require('react-router-dom/Switch'),

return React.createElement(
Router,
ConnectedRouter,
{

@@ -119,3 +119,3 @@ history: history },

var computeMatch = Router.prototype.computeMatch;
var computeMatch = ConnectedRouter.prototype.computeMatch;

@@ -122,0 +122,0 @@

@@ -5,3 +5,3 @@ const React = require('react');

const { default: MatchPath } = require('react-router-dom/matchPath');
const { default: Router } = require('react-router-dom/Router');
const { ConnectedRouter } = require('react-router-redux');
const { default: Switch } = require('react-router-dom/Switch');

@@ -24,6 +24,6 @@ const { default: Route } = require('react-router-dom/Route');

return (
<Router
<ConnectedRouter
history={history}>
{internals.renderRoutes(routes)}
</Router>
</ConnectedRouter>
);

@@ -76,3 +76,3 @@ }

const { computeMatch } = Router.prototype;
const { computeMatch } = ConnectedRouter.prototype;

@@ -79,0 +79,0 @@ exports.matchRoutes = (routes, pathname, branch = []) => {

{
"name": "strange-router",
"version": "0.1.1",
"version": "0.1.2",
"description": "A module to aid bringing configurable routes to react-router v4.x",

@@ -5,0 +5,0 @@ "main": "dist/index.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