Skip to content

Commit

Permalink
Replace ReactShallowRenderer with a dependency
Browse files Browse the repository at this point in the history
Closes #17321.
  • Loading branch information
NMinhNguyen committed Feb 27, 2020
1 parent f9c0a45 commit 0e3bd14
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/react-test-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"object-assign": "^4.1.1",
"prop-types": "^15.6.2",
"react-is": "^16.8.6",
"react-shallow-renderer": "^16.12.0",
"scheduler": "^0.19.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-test-renderer/shallow.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
* @flow
*/

export {default} from './src/ReactShallowRenderer';
export {default} from 'react-shallow-renderer';
9 changes: 9 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10856,6 +10856,15 @@ react-native-web@^0.11.5:
prop-types "^15.6.0"
react-timer-mixin "^0.13.4"

react-shallow-renderer@^16.12.0:
version "16.12.0"
resolved "https://registry.yarnpkg.com/react-shallow-renderer/-/react-shallow-renderer-16.12.0.tgz#e68ca8fca7a616db42c36fdd6929723ba0bccef6"
integrity sha512-elIe2dhXJAO19IY1K3b4YWHBLnKE5wRH+PKx3AYzM6j2+N5UI+FGLKiRNFbLQcggrpBiy3GLhj7MqNUlRk9Z7g==
dependencies:
object-assign "^4.1.1"
prop-types "^15.7.2"
react-is "^16.12.0"

react-timer-mixin@^0.13.4:
version "0.13.4"
resolved "https://registry.yarnpkg.com/react-timer-mixin/-/react-timer-mixin-0.13.4.tgz#75a00c3c94c13abe29b43d63b4c65a88fc8264d3"
Expand Down

0 comments on commit 0e3bd14

Please sign in to comment.