File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"parserOptions" : {
3
- "ecmaVersion" : 5
3
+ "ecmaVersion" : 6 ,
4
+ "sourceType" : " module"
4
5
},
5
6
"extends" : " eslint:recommended" ,
6
7
"env" : {
7
- "node" : true ,
8
- "commonjs" : true
8
+ "node" : true
9
9
},
10
10
"rules" : {
11
11
"strict" : [2 , " global" ],
Original file line number Diff line number Diff line change 1
- import { WritableStreamBuffer , ReadableStreamBuffer } from ' stream-buffers' ;
2
- import { PassThrough } from ' stream' ;
1
+ import { WritableStreamBuffer , ReadableStreamBuffer } from " stream-buffers" ;
2
+ import { PassThrough } from " stream" ;
3
3
4
4
export function writableStreamBuffer ( ) {
5
5
return new WritableStreamBuffer ;
6
6
}
7
7
8
8
export function getContentsAsString ( w ) {
9
- return ( ) => w . getContentsAsString ( ' utf8' ) ;
9
+ return ( ) => w . getContentsAsString ( " utf8" ) ;
10
10
}
11
11
12
12
export function readableStreamBuffer ( ) {
@@ -19,8 +19,8 @@ export function putImpl(str) {
19
19
} ;
20
20
}
21
21
22
- export { createGzip , createGunzip } from ' zlib' ;
22
+ export { createGzip , createGunzip } from " zlib" ;
23
23
24
24
export function passThrough ( ) {
25
- return new PassThrough ;
25
+ return new PassThrough ;
26
26
}
You can’t perform that action at this time.
0 commit comments