File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 97
97
"global" : " ^4.3.0" ,
98
98
"hoist-non-react-statics" : " ^2.5.0" ,
99
99
"prop-types" : " ^15.6.1" ,
100
- "react-lifecycles-compat" : " ^3.0.4 " ,
100
+ "react-lifecycles-compat" : " ^3.0.2 " ,
101
101
"shallowequal" : " ^1.0.2"
102
102
},
103
103
"engines" : {
Original file line number Diff line number Diff line change 1
1
import React from 'react'
2
2
import PropTypes from 'prop-types'
3
- import defaultPolyfill , { polyfill } from 'react-lifecycles-compat'
3
+ import { polyfill } from 'react-lifecycles-compat'
4
4
import logger from './logger'
5
5
import { get as getGeneration } from './global/generation'
6
6
@@ -63,8 +63,6 @@ AppContainer.propTypes = {
63
63
errorReporter : PropTypes . oneOfType ( [ PropTypes . node , PropTypes . func ] ) ,
64
64
}
65
65
66
- // trying first react-lifecycles-compat.polyfill, then trying react-lifecycles-compat, which could be .default
67
- const realPolyfill = polyfill || defaultPolyfill
68
- realPolyfill ( AppContainer )
66
+ polyfill ( AppContainer )
69
67
70
68
export default AppContainer
Original file line number Diff line number Diff line change @@ -4769,10 +4769,6 @@ react-lifecycles-compat@^3.0.2:
4769
4769
version "3.0.2"
4770
4770
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.2.tgz#7279047275bd727a912e25f734c0559527e84eff"
4771
4771
4772
- react-lifecycles-compat@^3.0.4 :
4773
- version "3.0.4"
4774
- resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362"
4775
-
4776
4772
react-mount@^0.1.3 :
4777
4773
version "0.1.3"
4778
4774
resolved "https://registry.yarnpkg.com/react-mount/-/react-mount-0.1.3.tgz#2ea9cf95f1b4c49c6a4cefe1d91d8de709e3f631"
You can’t perform that action at this time.
0 commit comments