File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 24
24
],
25
25
"dependencies" : {
26
26
"core-js" : " ^0.9.18" ,
27
- "he" : " ^0.5.0"
27
+ "exenv" : " ^1.2.0" ,
28
+ "he" : " ^0.5.0" ,
29
+ "invariant" : " ^2.1.0" ,
30
+ "shallowequal" : " ^0.2.1"
28
31
},
29
32
"peerDependencies" : {
30
33
"react" : " ^0.13.x"
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import invariant from "react/lib/ invariant" ;
3
- import shallowEqual from "react/lib/shallowEqual " ;
2
+ import invariant from "invariant" ;
3
+ import shallowequal from "shallowequal " ;
4
4
5
5
const RESERVED_PROPS = {
6
6
arguments : true ,
@@ -33,7 +33,7 @@ export default (Component) => {
33
33
}
34
34
35
35
shouldComponentUpdate ( nextProps ) {
36
- return ! shallowEqual ( nextProps , this . props ) ;
36
+ return ! shallowequal ( nextProps , this . props ) ;
37
37
}
38
38
39
39
componentDidUpdate ( ) {
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import ExecutionEnvironment from "react/lib/ExecutionEnvironment " ;
2
+ import ExecutionEnvironment from "exenv " ;
3
3
import CreateSideEffect from "./CreateSideEffect" ;
4
4
import { TAG_NAMES , TAG_PROPERTIES } from "./HelmetConstants.js" ;
5
5
import HTMLEntities from "he" ;
You can’t perform that action at this time.
0 commit comments