File tree Expand file tree Collapse file tree 4 files changed +499
-358
lines changed Expand file tree Collapse file tree 4 files changed +499
-358
lines changed Original file line number Diff line number Diff line change 76
76
"babel-plugin-transform-react-display-name" : " ^6.4.0" ,
77
77
"babel-plugin-transform-react-jsx" : " ^6.4.0" ,
78
78
"babel-register" : " ^6.3.13" ,
79
- "codecov" : " ^1.0.1" ,
80
- "cross-env" : " ^3.1.3" ,
79
+ "codecov" : " ^2.2.0" ,
80
+ "create-react-class" : " ^15.5.3" ,
81
+ "cross-env" : " ^5.0.1" ,
81
82
"es3ify" : " ^0.2.0" ,
82
83
"eslint" : " ^3.3.1" ,
83
84
"eslint-plugin-import" : " ^2.2.0" ,
84
85
"eslint-plugin-react" : " ^6.1.1" ,
85
86
"expect" : " ^1.8.0" ,
86
87
"glob" : " ^7.1.1" ,
87
88
"istanbul" : " ^0.4.4" ,
88
- "jsdom" : " ^9.8.3 " ,
89
+ "jsdom" : " ^11.0.0 " ,
89
90
"mocha" : " ^3.2.0" ,
90
- "nyc" : " ^10 .0.0 " ,
91
+ "nyc" : " ^11 .0.2 " ,
91
92
"react" : " ^15.5.4" ,
92
93
"react-dom" : " ^15.5.4" ,
93
94
"redux" : " ^3.0.0" ,
94
95
"rimraf" : " ^2.3.4" ,
95
- "rollup" : " ^0.41.6 " ,
96
+ "rollup" : " ^0.43.0 " ,
96
97
"rollup-plugin-babel" : " ^2.7.1" ,
97
98
"rollup-plugin-commonjs" : " ^8.0.2" ,
98
99
"rollup-plugin-node-resolve" : " ^3.0.0" ,
99
100
"rollup-plugin-replace" : " ^1.1.1" ,
100
- "rollup-plugin-uglify" : " ^1 .0.1"
101
+ "rollup-plugin-uglify" : " ^2 .0.1"
101
102
},
102
103
"dependencies" : {
103
- "create-react-class" : " ^15.5.3" ,
104
104
"hoist-non-react-statics" : " ^1.0.3" ,
105
105
"invariant" : " ^2.0.0" ,
106
106
"lodash" : " ^4.2.0" ,
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ if (env === 'production') {
37
37
pure_getters : true ,
38
38
unsafe : true ,
39
39
unsafe_comps : true ,
40
- screw_ie8 : true ,
41
40
warnings : false
42
41
}
43
42
} )
Original file line number Diff line number Diff line change 1
- import { jsdom } from 'jsdom'
1
+ import { JSDOM } from 'jsdom'
2
2
3
- global . document = jsdom ( '<!doctype html><html><body></body></html>' )
4
- global . window = document . defaultView
5
- global . navigator = global . window . navigator
3
+ const { window } = new JSDOM ( '<!doctype html><html><body></body></html>' )
4
+
5
+ global . window = window
6
+ global . document = window . document
7
+ global . navigator = window . navigator
You can’t perform that action at this time.
0 commit comments