react-router
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -0,1 +1,21 @@ | ||
## [v3.0.2](https://github.com/ReactTraining/react-router/compare/v3.0.1...v3.0.2) | ||
> Jan 18, 2017 | ||
- Re-add module entry to package.json | ||
## [v3.0.1](https://github.com/ReactTraining/react-router/compare/v3.0.0...v3.0.1) | ||
> Jan 12, 2017 | ||
- Pass transition hook's arguments correctly ([#4123] by @arkist) | ||
- Fix index routes inside async pathless routes ([#4147] by @taurose) | ||
- 'to' maybe undefined ([#4216] by @panzj) | ||
- Fix withRouter error when used without a Router ([#4295] by @dropfen) | ||
- Adding support for escaped parentheses in Route Paths ([#4202] by @sebastiandeutsch) | ||
[#4123]: https://github.com/ReactTraining/react-router/pull/4123 | ||
[#4147]: https://github.com/ReactTraining/react-router/pull/4147 | ||
[#4216]: https://github.com/ReactTraining/react-router/pull/4216 | ||
[#4295]: https://github.com/ReactTraining/react-router/pull/4295 | ||
[#4202]: https://github.com/ReactTraining/react-router/pull/4202 | ||
## [v3.0.0] | ||
@@ -2,0 +22,0 @@ > Oct 24, 2016 |
@@ -89,3 +89,3 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
!history.getCurrentLocation ? process.env.NODE_ENV !== 'production' ? invariant(false, 'You have provided a history object created with history v2.x or ' + 'earlier. This version of React Router is only compatible with v3 ' + 'history objects. Please upgrade to history v3.x.') : invariant(false) : void 0; | ||
!history.getCurrentLocation ? process.env.NODE_ENV !== 'production' ? invariant(false, 'You have provided a history object created with history v4.x or v2.x ' + 'and earlier. This version of React Router is only compatible with v3 ' + 'history objects. Please change to history v3.x.') : invariant(false) : void 0; | ||
@@ -92,0 +92,0 @@ return _createTransitionManager(history, createRoutes(routes || children)); |
@@ -111,3 +111,3 @@ 'use strict'; | ||
!history.getCurrentLocation ? process.env.NODE_ENV !== 'production' ? (0, _invariant2.default)(false, 'You have provided a history object created with history v2.x or ' + 'earlier. This version of React Router is only compatible with v3 ' + 'history objects. Please upgrade to history v3.x.') : (0, _invariant2.default)(false) : void 0; | ||
!history.getCurrentLocation ? process.env.NODE_ENV !== 'production' ? (0, _invariant2.default)(false, 'You have provided a history object created with history v4.x or v2.x ' + 'and earlier. This version of React Router is only compatible with v3 ' + 'history objects. Please change to history v3.x.') : (0, _invariant2.default)(false) : void 0; | ||
@@ -114,0 +114,0 @@ return (0, _createTransitionManager3.default)(history, (0, _RouteUtils.createRoutes)(routes || children)); |
{ | ||
"name": "react-router", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "A complete routing library for React", | ||
@@ -13,2 +13,3 @@ "files": [ | ||
"main": "lib/index", | ||
"module": "es/index", | ||
"jsnext:main": "es/index", | ||
@@ -39,4 +40,4 @@ "repository": "ReactTraining/react-router", | ||
"invariant": "^2.2.1", | ||
"warning": "^3.0.0", | ||
"loose-envify": "^1.2.0" | ||
"loose-envify": "^1.2.0", | ||
"warning": "^3.0.0" | ||
}, | ||
@@ -43,0 +44,0 @@ "peerDependencies": { |
Sorry, the diff of this file is too big to display
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
661158
95
11189
2