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 11{
22 "parserOptions" : {
3- "ecmaVersion" : 5
3+ "ecmaVersion" : 6 ,
4+ "sourceType" : " module"
45 },
56 "extends" : " eslint:recommended" ,
67 "env" : {
7- "node" : true ,
8- "commonjs" : true
8+ "node" : true
99 },
1010 "rules" : {
1111 "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" ;
33
44export function writableStreamBuffer ( ) {
55 return new WritableStreamBuffer ;
66}
77
88export function getContentsAsString ( w ) {
9- return ( ) => w . getContentsAsString ( ' utf8' ) ;
9+ return ( ) => w . getContentsAsString ( " utf8" ) ;
1010}
1111
1212export function readableStreamBuffer ( ) {
@@ -19,8 +19,8 @@ export function putImpl(str) {
1919 } ;
2020}
2121
22- export { createGzip , createGunzip } from ' zlib' ;
22+ export { createGzip , createGunzip } from " zlib" ;
2323
2424export function passThrough ( ) {
25- return new PassThrough ;
25+ return new PassThrough ;
2626}
You can’t perform that action at this time.
0 commit comments