react-router
Advanced tools
Comparing version 4.0.0-0 to 4.0.0-1
@@ -9,3 +9,3 @@ { | ||
"_from": "history@>=4.0.0 <5.0.0", | ||
"_id": "history@4.0.0", | ||
"_id": "history@4.0.1", | ||
"_inCache": true, | ||
@@ -17,3 +17,3 @@ "_installable": true, | ||
"host": "packages-12-west.internal.npmjs.com", | ||
"tmp": "tmp/history-4.0.0.tgz_1473526648095_0.3560258324723691" | ||
"tmp": "tmp/history-4.0.1.tgz_1473721117354_0.5683246315456927" | ||
}, | ||
@@ -38,4 +38,4 @@ "_npmUser": { | ||
], | ||
"_resolved": "https://registry.npmjs.org/history/-/history-4.0.0.tgz", | ||
"_shasum": "8440ef8de3042d02af8795ed7e10e1db96adaac4", | ||
"_resolved": "https://registry.npmjs.org/history/-/history-4.0.1.tgz", | ||
"_shasum": "b6d422180a2f29d72b6631fe141821b6fae2dbae", | ||
"_shrinkwrap": null, | ||
@@ -60,3 +60,3 @@ "_spec": "history@^4.0.0", | ||
}, | ||
"description": "Manage browser history with JavaScript", | ||
"description": "Manage session history with JavaScript", | ||
"devDependencies": { | ||
@@ -70,3 +70,3 @@ "babel-cli": "^6.10.1", | ||
"babel-preset-es2015": "^6.9.0", | ||
"babel-preset-es2015-loose": "^7.0.0", | ||
"babel-preset-es2015-loose": "^8.0.0", | ||
"babel-preset-stage-1": "^6.5.0", | ||
@@ -94,6 +94,6 @@ "eslint": "^3.3.0", | ||
"dist": { | ||
"shasum": "8440ef8de3042d02af8795ed7e10e1db96adaac4", | ||
"tarball": "https://registry.npmjs.org/history/-/history-4.0.0.tgz" | ||
"shasum": "b6d422180a2f29d72b6631fe141821b6fae2dbae", | ||
"tarball": "https://registry.npmjs.org/history/-/history-4.0.1.tgz" | ||
}, | ||
"gitHead": "399c72c4b3e012bebf20128020350427df7bf0ac", | ||
"gitHead": "7074a3a112663c87387c41939353859a1d4e05d9", | ||
"homepage": "https://github.com/mjackson/history#readme", | ||
@@ -129,3 +129,3 @@ "keywords": [ | ||
}, | ||
"version": "4.0.0" | ||
"version": "4.0.1" | ||
} |
@@ -43,3 +43,3 @@ # history [![Travis][build-badge]][build] [![npm package][npm-badge]][npm] | ||
Depending on the method you want to use to keep track of history, you'll `import` (or `require`) one of these methods directly from the root directory (i.e. `history/createBrowserHistory`). The remainder of this document uses the term `createHistory` to refer to any of these implementations. | ||
Depending on the method you want to use to keep track of history, you'll `import` (or `require`) one of these methods directly from the package root (i.e. `history/createBrowserHistory`). The remainder of this document uses the term `createHistory` to refer to any of these implementations. | ||
@@ -46,0 +46,0 @@ Basic usage looks like this: |
{ | ||
"name": "react-router", | ||
"version": "4.0.0-0", | ||
"version": "4.0.0-1", | ||
"description": "Declarative Routing for React.js", | ||
@@ -24,2 +24,3 @@ "repository": "reactjs/react-router", | ||
"history": "^4.0.0", | ||
"path-to-regexp": "^1.5.3", | ||
"query-string": "4.2.3", | ||
@@ -26,0 +27,0 @@ "react-history": "^0.13.0" |
@@ -102,9 +102,3 @@ 'use strict'; | ||
null, | ||
typeof children === 'function' ? children({ location: location, router: this.getChildContext().router }) : _react2.default.Children.count(children) > 1 ? | ||
// TODO: get rid of all DOM stuff | ||
_react2.default.createElement( | ||
'div', | ||
null, | ||
children | ||
) : children | ||
typeof children === 'function' ? children({ location: location, router: this.getChildContext().router }) : children | ||
); | ||
@@ -111,0 +105,0 @@ } |
Sorry, the diff of this file is too big to display
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
507600
9956
0
6
+ Addedpath-to-regexp@^1.5.3
+ Addedisarray@0.0.1(transitive)
+ Addedpath-to-regexp@1.9.0(transitive)