electron-builder-util
Advanced tools
Comparing version 18.5.1 to 18.6.0
@@ -132,3 +132,3 @@ declare module "electron-builder-util/out/log" { | ||
private httpsAgentPromise | ||
download(url: string, destination: string, options: DownloadOptions): Promise<string> | ||
download(url: string, destination: string, options?: DownloadOptions): Promise<string> | ||
doApiRequest<T>(options: RequestOptions, cancellationToken: CancellationToken, requestProcessor: (request: ClientRequest, reject: (error: Error) => void) => void, redirectCount?: number): Promise<T> | ||
@@ -135,0 +135,0 @@ protected doRequest(options: any, callback: (response: any) => void): any |
@@ -82,2 +82,8 @@ "use strict"; | ||
var _CancellationToken; | ||
function _load_CancellationToken() { | ||
return _CancellationToken = require("electron-builder-http/out/CancellationToken"); | ||
} | ||
var _fsExtraP; | ||
@@ -127,5 +133,6 @@ | ||
class NodeHttpExecutor extends (_electronBuilderHttp || _load_electronBuilderHttp()).HttpExecutor { | ||
download(url, destination, options) { | ||
download(url, destination) { | ||
var _this = this; | ||
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : { cancellationToken: new (_CancellationToken || _load_CancellationToken()).CancellationToken() }; | ||
return (0, (_bluebirdLst || _load_bluebirdLst()).coroutine)(function* () { | ||
@@ -132,0 +139,0 @@ if (!options.skipDirCreation) { |
{ | ||
"name": "electron-builder-util", | ||
"version": "18.5.1", | ||
"version": "18.6.0", | ||
"main": "out/util.js", | ||
@@ -21,3 +21,3 @@ "author": "Vladimir Krivosheev", | ||
"node-emoji": "^1.5.1", | ||
"electron-builder-http": "~18.5.1", | ||
"electron-builder-http": "~18.6.0", | ||
"source-map-support": "^0.4.15", | ||
@@ -24,0 +24,0 @@ "7zip-bin": "^2.1.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
114109
1214
+ Addedelectron-builder-http@18.6.0(transitive)
- Removedelectron-builder-http@18.5.1(transitive)