File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,7 @@ export default function gulpZip(filename, options) {
20
20
const zip = new Yazl . ZipFile ( ) ;
21
21
22
22
return gulpPlugin ( 'gulp-zip' , async file => {
23
- if ( ! firstFile ) {
24
- firstFile = file ;
25
- }
23
+ firstFile ??= file ;
26
24
27
25
// Because Windows...
28
26
const pathname = file . relative . replaceAll ( '\\' , '/' ) ;
Original file line number Diff line number Diff line change 31
31
" file"
32
32
],
33
33
"dependencies" : {
34
- "get-stream" : " ^8 .0.1" ,
35
- "gulp-plugin-extras" : " ^0.3 .0" ,
34
+ "get-stream" : " ^9 .0.1" ,
35
+ "gulp-plugin-extras" : " ^1.1 .0" ,
36
36
"vinyl" : " ^3.0.0" ,
37
37
"yazl" : " ^2.5.1"
38
38
},
39
39
"devDependencies" : {
40
- "ava" : " ^5.3.1 " ,
40
+ "ava" : " ^6.2.0 " ,
41
41
"decompress-unzip" : " ^3.0.0" ,
42
42
"easy-transform-stream" : " ^1.0.1" ,
43
- "gulp" : " ^4.0.2" ,
43
+ "gulp" : " ^5.0.0" ,
44
+ "p-event" : " ^6.0.1" ,
44
45
"vinyl-assign" : " ^1.2.1" ,
45
46
"vinyl-file" : " ^5.0.0" ,
46
- "xo" : " ^0.56 .0"
47
+ "xo" : " ^0.60 .0"
47
48
},
48
49
"peerDependencies" : {
49
50
"gulp" : " >=4"
You can’t perform that action at this time.
0 commit comments