react-isomorphic-tools
Advanced tools
Comparing version 3.0.0-alpha.22 to 3.0.0-alpha.23
@@ -156,9 +156,28 @@ 'use strict'; | ||
location = _this.makeLocation(to); | ||
_context2.next = 3; | ||
_context2.prev = 1; | ||
_context2.next = 4; | ||
return _this.resolve(location); | ||
case 3: | ||
case 4: | ||
_this.history.push(location); | ||
_context2.next = 14; | ||
break; | ||
case 4: | ||
case 7: | ||
_context2.prev = 7; | ||
_context2.t0 = _context2['catch'](1); | ||
if (!(_context2.t0.code === 303)) { | ||
_context2.next = 13; | ||
break; | ||
} | ||
_this.push(_context2.t0.to); | ||
_context2.next = 14; | ||
break; | ||
case 13: | ||
throw _context2.t0; | ||
case 14: | ||
case 'end': | ||
@@ -168,3 +187,3 @@ return _context2.stop(); | ||
} | ||
}, _callee2, _this); | ||
}, _callee2, _this, [[1, 7]]); | ||
})); | ||
@@ -171,0 +190,0 @@ |
@@ -130,3 +130,3 @@ 'use strict'; | ||
code: 303, | ||
to: props, | ||
to: _this2.makeLocation(props), | ||
type: 'redirect' | ||
@@ -133,0 +133,0 @@ }; |
{ | ||
"name": "react-isomorphic-tools", | ||
"version": "3.0.0-alpha.22", | ||
"version": "3.0.0-alpha.23", | ||
"description": "Authorization, Fetcher, Preload. Tools for ServerSide rendering", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138020
1352