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 https://github.com/electron/electron/pull/10922 but was reverted because it was going into a version of Electron that did not allow breaking changes.
This commit is contained in:
parent
5a5eb43359
commit
cda13e5e79
1 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
"types": "electron.d.ts",
|
"types": "electron.d.ts",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/node": "^8.0.24",
|
"@types/node": "^8.0.24",
|
||||||
"electron-download": "^3.0.1",
|
"electron-download": "^4.1.0",
|
||||||
"extract-zip": "^1.0.3"
|
"extract-zip": "^1.0.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -22,5 +22,8 @@
|
||||||
},
|
},
|
||||||
"directories": {
|
"directories": {
|
||||||
"test": "test"
|
"test": "test"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue