Socket
Socket
Sign inDemoInstall

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

54

dist/Resolver/AbstractResolver.js

@@ -147,4 +147,58 @@ 'use strict';

};
this.push = function () {
var _ref4 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(to) {
var location;
return regeneratorRuntime.wrap(function _callee2$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
case 0:
location = _this.makeLocation(to);
_context2.next = 3;
return _this.resolve(location);
case 3:
_this.history.push(location);
case 4:
case 'end':
return _context2.stop();
}
}
}, _callee2, _this);
}));
return function (_x2) {
return _ref4.apply(this, arguments);
};
}();
this.replace = function () {
var _ref5 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(to) {
var location;
return regeneratorRuntime.wrap(function _callee3$(_context3) {
while (1) {
switch (_context3.prev = _context3.next) {
case 0:
location = _this.makeLocation(to);
_context3.next = 3;
return _this.resolve(location);
case 3:
_this.history.replace(location);
case 4:
case 'end':
return _context3.stop();
}
}
}, _callee3, _this);
}));
return function (_x3) {
return _ref5.apply(this, arguments);
};
}();
};
exports.default = AbstractResolver;

56

dist/Resolver/ReduxResolver.js

@@ -165,60 +165,4 @@ 'use strict';

}();
this.push = function () {
var _ref4 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(to) {
var dispatch, location;
return regeneratorRuntime.wrap(function _callee2$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
case 0:
dispatch = _this2.store.dispatch;
location = _this2.makeLocation(to);
_context2.next = 4;
return _this2.resolve(location);
case 4:
dispatch((0, _reactRouterRedux.push)(location));
case 5:
case 'end':
return _context2.stop();
}
}
}, _callee2, _this2);
}));
return function (_x2) {
return _ref4.apply(this, arguments);
};
}();
this.replace = function () {
var _ref5 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(to) {
var dispatch, location;
return regeneratorRuntime.wrap(function _callee3$(_context3) {
while (1) {
switch (_context3.prev = _context3.next) {
case 0:
dispatch = _this2.store.dispatch;
location = _this2.makeLocation(to);
_context3.next = 4;
return _this2.resolve(location);
case 4:
dispatch((0, _reactRouterRedux.replace)(location));
case 5:
case 'end':
return _context3.stop();
}
}
}, _callee3, _this2);
}));
return function (_x3) {
return _ref5.apply(this, arguments);
};
}();
};
exports.default = ReduxResolver;

2

package.json
{
"name": "react-isomorphic-tools",
"version": "3.0.0-alpha.20",
"version": "3.0.0-alpha.21",
"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