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 3.0.0-alpha.19 to 3.0.0-alpha.20

6

dist/Link.js

@@ -25,4 +25,6 @@ 'use strict';

var _ = require('./');
var _qs = require('qs');
var _qs2 = _interopRequireDefault(_qs);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -97,3 +99,3 @@

return _extends({}, rest, {
search: (0, _.stringifyQuery)(to.query)
search: _qs2.default.stringify(to.query, { addQueryPrefix: true })
});

@@ -100,0 +102,0 @@ }

@@ -18,2 +18,6 @@ 'use strict';

var _qs = require('qs');
var _qs2 = _interopRequireDefault(_qs);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -136,4 +140,12 @@

};
this.stringifyQuery = function (params) {
return _qs2.default.stringify(params, { addQueryPrefix: true }) || '';
};
this.parseQuery = function (queryString) {
return _qs2.default.parse(queryString, { ignoreQueryPrefix: true });
};
};
exports.default = AbstractResolver;

@@ -28,4 +28,2 @@ 'use strict';

var _ = require('../');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -64,3 +62,3 @@

this.init = function (routes, store, resolved) {
this.init = function (routes, store, history, resolved) {
if (!resolved) {

@@ -70,5 +68,7 @@ _this2.routes = routes;

_this2.resolved = [];
_this2.history = history;
} else {
ReduxResolver.prototype.routes = routes;
ReduxResolver.prototype.store = store;
ReduxResolver.prototype.history = history;
ReduxResolver.prototype.resolved = resolved;

@@ -125,3 +125,3 @@ }

params: params,
location: _extends({}, location, { query: (0, _.parseQuery)(search) }),
location: _extends({}, location, { query: _this2.parseQuery(search) }),
fetcher: fetcher,

@@ -128,0 +128,0 @@ fetchToState: function fetchToState() {

{
"name": "react-isomorphic-tools",
"version": "3.0.0-alpha.19",
"version": "3.0.0-alpha.20",
"description": "Authorization, Fetcher, Preload. Tools for ServerSide rendering",

@@ -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