Skip to content

Commit

Permalink
Bump react-shallow-renderer to 16.13.1 (#18187)
Browse files Browse the repository at this point in the history
  • Loading branch information
NMinhNguyen authored Mar 17, 2020
1 parent c804f9a commit 9240918
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/react-test-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dependencies": {
"object-assign": "^4.1.1",
"react-is": "^16.8.6",
"react-shallow-renderer": "^16.13.0",
"react-shallow-renderer": "^16.13.1",
"scheduler": "^0.19.0"
},
"peerDependencies": {
Expand Down
5 changes: 5 additions & 0 deletions scripts/rollup/forks.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ const forks = Object.freeze({
return 'shared/forks/object-assign.umd.js';
},

'react-shallow-renderer': () => {
// Use ESM build of `react-shallow-renderer`.
return 'react-shallow-renderer/esm/index.js';
},

// Without this fork, importing `shared/ReactSharedInternals` inside
// the `react` package itself would not work due to a cyclical dependency.
'shared/ReactSharedInternals': (bundleType, entry, dependencies) => {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10856,10 +10856,10 @@ react-native-web@^0.11.5:
prop-types "^15.6.0"
react-timer-mixin "^0.13.4"

react-shallow-renderer@^16.13.0:
version "16.13.0"
resolved "https://registry.yarnpkg.com/react-shallow-renderer/-/react-shallow-renderer-16.13.0.tgz#18defe59ac922a9623fcbb8bed8db0da7c728fd4"
integrity sha512-qdFKyjjHSp5t4+Fs4479JqYDQnBdHi/IZEnGEmZZKZqoiwxjG4DKJPYd7YTaTmalUAqZlZR+K9ayz1+8tEctSg==
react-shallow-renderer@^16.13.1:
version "16.13.1"
resolved "https://registry.yarnpkg.com/react-shallow-renderer/-/react-shallow-renderer-16.13.1.tgz#4cfd6dc0f05a8d4d261ff7a80e9b88f15491a00a"
integrity sha512-hLmExm5/ZnjodLgm/4oxYw4i7fL6LLPhbO9mF/4tmaZUurtLrp2aSeDHZmRk0SVCHXPz0VaEbb3Dqi5J7odz7Q==
dependencies:
object-assign "^4.1.1"
react-is "^16.12.0"
Expand Down

0 comments on commit 9240918

Please sign in to comment.