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

react-isomorphic-tools

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-isomorphic-tools - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

7

helpers/preload.js

@@ -41,5 +41,6 @@ 'use strict';

params = _ref2.params,
query = _ref2.location.query,
location = _ref2.location,
router = _ref2.router,
props = (0, _objectWithoutProperties3.default)(_ref2, ['components', 'routes', 'params', 'location', 'router']);
props = (0, _objectWithoutProperties3.default)(_ref2, ['components', 'routes', 'params', 'location', 'location', 'router']);
var i, component;

@@ -54,3 +55,3 @@ return _regenerator2.default.wrap(function _callee$(_context) {

params: params,
location: location
query: query
});

@@ -101,3 +102,3 @@ });

params: params,
location: location
query: query
}));

@@ -104,0 +105,0 @@

{
"name": "react-isomorphic-tools",
"version": "1.0.6",
"version": "1.0.7",
"description": "Authorization, Fetcher, Preload. Tools for ServerSide rendering",

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

@@ -6,3 +6,3 @@ import lodash from 'lodash'

const loadData = async({getState, dispatch}, {components, routes, params, location, router, ...props}) => {
const loadData = async({getState, dispatch}, {components, routes, params, location:{query}, location, router, ...props}) => {
components = getComponents(components).filter((item)=> {

@@ -12,3 +12,3 @@ return !isLoaded(item.displayName, {

params,
location
query
})

@@ -35,3 +35,3 @@ })

params,
location
query
}))

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