builder-util-runtime
Advanced tools
Comparing version
export { CancellationToken, CancellationError } from "./CancellationToken"; | ||
export { HttpError, HttpExecutor, DownloadOptions, DigestTransform, RequestHeaders, safeGetHeader, configureRequestOptions, configureRequestOptionsFromUrl, safeStringifyJson, parseJson } from "./httpExecutor"; | ||
export { BintrayOptions, GenericServerOptions, GithubOptions, PublishConfiguration, S3Options, SpacesOptions, BaseS3Options, getS3LikeProviderBaseUrl, Publish, githubUrl, PublishProvider, AllPublishOptions } from "./publishOptions"; | ||
export { UpdateInfo, WindowsUpdateInfo, AppImageUpdateInfo, BlockMapDataHolder, VersionInfo, PackageFileInfo, ReleaseNoteInfo } from "./updateInfo"; | ||
export { UpdateInfo, WindowsUpdateInfo, AppImageUpdateInfo, BlockMapDataHolder, PackageFileInfo, ReleaseNoteInfo } from "./updateInfo"; | ||
export { parseDn } from "./rfc2253Parser"; | ||
@@ -9,1 +9,2 @@ export { UUID } from "./uuid"; | ||
export { parseXml, XElement } from "./xml"; | ||
export declare function asArray<T>(v: null | undefined | T | Array<T>): Array<T>; |
165
out/index.js
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
value: true | ||
}); | ||
@@ -10,16 +10,16 @@ | ||
function _load_CancellationToken() { | ||
return _CancellationToken = require("./CancellationToken"); | ||
return _CancellationToken = require("./CancellationToken"); | ||
} | ||
Object.defineProperty(exports, "CancellationToken", { | ||
enumerable: true, | ||
get: function () { | ||
return (_CancellationToken || _load_CancellationToken()).CancellationToken; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_CancellationToken || _load_CancellationToken()).CancellationToken; | ||
} | ||
}); | ||
Object.defineProperty(exports, "CancellationError", { | ||
enumerable: true, | ||
get: function () { | ||
return (_CancellationToken || _load_CancellationToken()).CancellationError; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_CancellationToken || _load_CancellationToken()).CancellationError; | ||
} | ||
}); | ||
@@ -30,52 +30,52 @@ | ||
function _load_httpExecutor() { | ||
return _httpExecutor = require("./httpExecutor"); | ||
return _httpExecutor = require("./httpExecutor"); | ||
} | ||
Object.defineProperty(exports, "HttpError", { | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).HttpError; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).HttpError; | ||
} | ||
}); | ||
Object.defineProperty(exports, "HttpExecutor", { | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).HttpExecutor; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).HttpExecutor; | ||
} | ||
}); | ||
Object.defineProperty(exports, "DigestTransform", { | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).DigestTransform; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).DigestTransform; | ||
} | ||
}); | ||
Object.defineProperty(exports, "safeGetHeader", { | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).safeGetHeader; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).safeGetHeader; | ||
} | ||
}); | ||
Object.defineProperty(exports, "configureRequestOptions", { | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).configureRequestOptions; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).configureRequestOptions; | ||
} | ||
}); | ||
Object.defineProperty(exports, "configureRequestOptionsFromUrl", { | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).configureRequestOptionsFromUrl; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).configureRequestOptionsFromUrl; | ||
} | ||
}); | ||
Object.defineProperty(exports, "safeStringifyJson", { | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).safeStringifyJson; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).safeStringifyJson; | ||
} | ||
}); | ||
Object.defineProperty(exports, "parseJson", { | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).parseJson; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_httpExecutor || _load_httpExecutor()).parseJson; | ||
} | ||
}); | ||
@@ -86,16 +86,16 @@ | ||
function _load_publishOptions() { | ||
return _publishOptions = require("./publishOptions"); | ||
return _publishOptions = require("./publishOptions"); | ||
} | ||
Object.defineProperty(exports, "getS3LikeProviderBaseUrl", { | ||
enumerable: true, | ||
get: function () { | ||
return (_publishOptions || _load_publishOptions()).getS3LikeProviderBaseUrl; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_publishOptions || _load_publishOptions()).getS3LikeProviderBaseUrl; | ||
} | ||
}); | ||
Object.defineProperty(exports, "githubUrl", { | ||
enumerable: true, | ||
get: function () { | ||
return (_publishOptions || _load_publishOptions()).githubUrl; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_publishOptions || _load_publishOptions()).githubUrl; | ||
} | ||
}); | ||
@@ -106,10 +106,10 @@ | ||
function _load_rfc2253Parser() { | ||
return _rfc2253Parser = require("./rfc2253Parser"); | ||
return _rfc2253Parser = require("./rfc2253Parser"); | ||
} | ||
Object.defineProperty(exports, "parseDn", { | ||
enumerable: true, | ||
get: function () { | ||
return (_rfc2253Parser || _load_rfc2253Parser()).parseDn; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_rfc2253Parser || _load_rfc2253Parser()).parseDn; | ||
} | ||
}); | ||
@@ -120,10 +120,10 @@ | ||
function _load_uuid() { | ||
return _uuid = require("./uuid"); | ||
return _uuid = require("./uuid"); | ||
} | ||
Object.defineProperty(exports, "UUID", { | ||
enumerable: true, | ||
get: function () { | ||
return (_uuid || _load_uuid()).UUID; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_uuid || _load_uuid()).UUID; | ||
} | ||
}); | ||
@@ -134,10 +134,10 @@ | ||
function _load_ProgressCallbackTransform() { | ||
return _ProgressCallbackTransform = require("./ProgressCallbackTransform"); | ||
return _ProgressCallbackTransform = require("./ProgressCallbackTransform"); | ||
} | ||
Object.defineProperty(exports, "ProgressCallbackTransform", { | ||
enumerable: true, | ||
get: function () { | ||
return (_ProgressCallbackTransform || _load_ProgressCallbackTransform()).ProgressCallbackTransform; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_ProgressCallbackTransform || _load_ProgressCallbackTransform()).ProgressCallbackTransform; | ||
} | ||
}); | ||
@@ -148,16 +148,27 @@ | ||
function _load_xml() { | ||
return _xml = require("./xml"); | ||
return _xml = require("./xml"); | ||
} | ||
Object.defineProperty(exports, "parseXml", { | ||
enumerable: true, | ||
get: function () { | ||
return (_xml || _load_xml()).parseXml; | ||
} | ||
enumerable: true, | ||
get: function () { | ||
return (_xml || _load_xml()).parseXml; | ||
} | ||
}); | ||
Object.defineProperty(exports, "XElement", { | ||
enumerable: true, | ||
get: function () { | ||
return (_xml || _load_xml()).XElement; | ||
} | ||
}); | ||
enumerable: true, | ||
get: function () { | ||
return (_xml || _load_xml()).XElement; | ||
} | ||
}); | ||
exports.asArray = asArray; | ||
function asArray(v) { | ||
if (v == null) { | ||
return []; | ||
} else if (Array.isArray(v)) { | ||
return v; | ||
} else { | ||
return [v]; | ||
} | ||
} | ||
//# sourceMappingURL=index.js.map |
@@ -1,7 +0,1 @@ | ||
export interface VersionInfo { | ||
/** | ||
* The version. | ||
*/ | ||
readonly version: string; | ||
} | ||
export interface ReleaseNoteInfo { | ||
@@ -27,4 +21,12 @@ /** | ||
} | ||
export interface UpdateInfo extends VersionInfo { | ||
export interface UpdateInfo { | ||
/** | ||
* The version. | ||
*/ | ||
readonly version: string; | ||
/** | ||
* @deprecated | ||
*/ | ||
readonly path: string; | ||
readonly url: string | Array<string>; | ||
readonly sha512: string; | ||
@@ -31,0 +33,0 @@ githubArtifactName?: string | null; |
{ | ||
"name": "builder-util-runtime", | ||
"version": "2.4.0", | ||
"version": "2.5.0", | ||
"main": "out/index.js", | ||
@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
143100
0.7%1632
0.87%