Skip to content

Commit cda13e5

Browse files
committed
feat: upgrade electron-download to 4.x
This is a breaking change, as it causes the `electron` module to require Node 4.x (which has been EOL'd anyway). Upgrading adds features such as a customizable cache location (via the `ELECTRON_CACHE` environment variable). Originally merged in electron#10922 but was reverted because it was going into a version of Electron that did not allow breaking changes.
1 parent 5a5eb43 commit cda13e5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

npm/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"types": "electron.d.ts",
1313
"dependencies": {
1414
"@types/node": "^8.0.24",
15-
"electron-download": "^3.0.1",
15+
"electron-download": "^4.1.0",
1616
"extract-zip": "^1.0.3"
1717
},
1818
"devDependencies": {
@@ -22,5 +22,8 @@
2222
},
2323
"directories": {
2424
"test": "test"
25+
},
26+
"engines": {
27+
"node": ">= 4.0"
2528
}
2629
}

0 commit comments

Comments
 (0)