File tree 2 files changed +15
-14
lines changed 2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 39
39
"babel-preset-env" : " ^1.1.10" ,
40
40
"babel-register" : " ^6.16.3" ,
41
41
"chai" : " ^3.5.0" ,
42
- "chai-as-promised" : " ^6.0.0 " ,
42
+ "chai-as-promised" : " ^7.1.1 " ,
43
43
"chai-iterator" : " ^1.1.1" ,
44
44
"chai-string" : " ^1.3.0" ,
45
- "codecov" : " ^1.0.1 " ,
46
- "cross-env" : " ^3.1.4 " ,
45
+ "codecov" : " ^2.2.0 " ,
46
+ "cross-env" : " ^5.0.1 " ,
47
47
"form-data" : " >=1.0.0" ,
48
48
"mocha" : " ^3.1.2" ,
49
- "nyc" : " ^10.0 .0" ,
49
+ "nyc" : " ^11.1 .0" ,
50
50
"parted" : " ^0.1.1" ,
51
- "promise" : " ^7.1 .1" ,
51
+ "promise" : " ^8.0 .1" ,
52
52
"resumer" : " 0.0.0" ,
53
- "rollup" : " ^0.41.4 " ,
53
+ "rollup" : " ^0.45.2 " ,
54
54
"rollup-plugin-babel" : " ^2.6.1" ,
55
55
"url-search-params" : " ^0.9.0" ,
56
- "whatwg-url" : " ^4 .0.0"
56
+ "whatwg-url" : " ^5 .0.0"
57
57
},
58
58
"dependencies" : {}
59
59
}
Original file line number Diff line number Diff line change @@ -5,16 +5,17 @@ import chaiPromised from 'chai-as-promised';
5
5
import chaiIterator from 'chai-iterator' ;
6
6
import chaiString from 'chai-string' ;
7
7
import then from 'promise' ;
8
- import { spawn } from 'child_process' ;
9
- import * as stream from 'stream' ;
10
8
import resumer from 'resumer' ;
11
9
import FormData from 'form-data' ;
12
10
import URLSearchParams_Polyfill from 'url-search-params' ;
13
- import { parse as parseURL , URLSearchParams } from 'url' ;
14
- import { URL } from 'whatwg-url' ;
15
- import * as http from 'http' ;
16
- import * as fs from 'fs' ;
17
- import * as path from 'path' ;
11
+ import { URL } from 'whatwg-url' ;
12
+
13
+ const { spawn } = require ( 'child_process' ) ;
14
+ const http = require ( 'http' ) ;
15
+ const fs = require ( 'fs' ) ;
16
+ const path = require ( 'path' ) ;
17
+ const stream = require ( 'stream' ) ;
18
+ const { parse : parseURL , URLSearchParams } = require ( 'url' ) ;
18
19
19
20
let convert ;
20
21
try { convert = require ( 'encoding' ) . convert ; } catch ( e ) { }
You can’t perform that action at this time.
0 commit comments