Skip to content

Commit 2cb2061

Browse files
piougsindresorhus
andauthored
Update dependencies (#126)
Co-authored-by: Sindre Sorhus <[email protected]>
1 parent 3b86d6d commit 2cb2061

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ export default function gulpZip(filename, options) {
2020
const zip = new Yazl.ZipFile();
2121

2222
return gulpPlugin('gulp-zip', async file => {
23-
if (!firstFile) {
24-
firstFile = file;
25-
}
23+
firstFile ??= file;
2624

2725
// Because Windows...
2826
const pathname = file.relative.replaceAll('\\', '/');

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,20 @@
3131
"file"
3232
],
3333
"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",
3636
"vinyl": "^3.0.0",
3737
"yazl": "^2.5.1"
3838
},
3939
"devDependencies": {
40-
"ava": "^5.3.1",
40+
"ava": "^6.2.0",
4141
"decompress-unzip": "^3.0.0",
4242
"easy-transform-stream": "^1.0.1",
43-
"gulp": "^4.0.2",
43+
"gulp": "^5.0.0",
44+
"p-event": "^6.0.1",
4445
"vinyl-assign": "^1.2.1",
4546
"vinyl-file": "^5.0.0",
46-
"xo": "^0.56.0"
47+
"xo": "^0.60.0"
4748
},
4849
"peerDependencies": {
4950
"gulp": ">=4"

0 commit comments

Comments
 (0)