builder-util-runtime
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -12,3 +12,3 @@ /// <reference types="node" /> | ||
private onCancel(handler); | ||
createPromise<R>(callback: (resolve: (thenableOrResult?: R) => void, reject: (error?: Error) => void, onCancel: (callback: () => void) => void) => void): Promise<R>; | ||
createPromise<R>(callback: (resolve: (thenableOrResult?: R) => void, reject: (error: Error) => void, onCancel: (callback: () => void) => void) => void): Promise<R>; | ||
private removeParentCancelHandler(); | ||
@@ -15,0 +15,0 @@ dispose(): void; |
@@ -48,3 +48,3 @@ /// <reference types="node" /> | ||
doApiRequest(options: RequestOptions, cancellationToken: CancellationToken, requestProcessor: (request: REQUEST, reject: (error: Error) => void) => void, redirectCount?: number): Promise<string>; | ||
addErrorAndTimeoutHandlers(request: any, reject: (error?: Error | null) => void): void; | ||
addErrorAndTimeoutHandlers(request: any, reject: (error: Error) => void): void; | ||
protected handleResponse(response: Response, options: RequestOptions, cancellationToken: CancellationToken, resolve: (data?: any) => void, reject: (error: Error) => void, redirectCount: number, requestProcessor: (request: REQUEST, reject: (error: Error) => void) => void): void; | ||
@@ -51,0 +51,0 @@ abstract doRequest(options: any, callback: (response: any) => void): any; |
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 } from "./updateInfo"; | ||
export { UpdateInfo, WindowsUpdateInfo, AppImageUpdateInfo, BlockMapDataHolder, VersionInfo, PackageFileInfo, ReleaseNoteInfo } from "./updateInfo"; | ||
export { parseDn } from "./rfc2253Parser"; | ||
export { UUID } from "./uuid"; | ||
export { ProgressCallbackTransform, ProgressInfo } from "./ProgressCallbackTransform"; | ||
export { parseXml, XElement } from "./xml"; |
@@ -137,2 +137,21 @@ "use strict"; | ||
} | ||
}); | ||
var _xml; | ||
function _load_xml() { | ||
return _xml = require("./xml"); | ||
} | ||
Object.defineProperty(exports, "parseXml", { | ||
enumerable: true, | ||
get: function () { | ||
return (_xml || _load_xml()).parseXml; | ||
} | ||
}); | ||
Object.defineProperty(exports, "XElement", { | ||
enumerable: true, | ||
get: function () { | ||
return (_xml || _load_xml()).XElement; | ||
} | ||
}); |
"use strict"; | ||
/** @private */ | ||
@@ -9,2 +8,3 @@ Object.defineProperty(exports, "__esModule", { | ||
exports.getS3LikeProviderBaseUrl = getS3LikeProviderBaseUrl; | ||
/** @private */ | ||
function githubUrl(options) { | ||
@@ -11,0 +11,0 @@ let defaultHost = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "github.com"; |
@@ -1,2 +0,2 @@ | ||
"use strict"; | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ Object.defineProperty(exports, "__esModule", { |
@@ -7,2 +7,12 @@ export interface VersionInfo { | ||
} | ||
export interface ReleaseNoteInfo { | ||
/** | ||
* The version. | ||
*/ | ||
readonly version: string; | ||
/** | ||
* The note. | ||
*/ | ||
readonly note: string | null; | ||
} | ||
export interface BlockMapDataHolder { | ||
@@ -25,7 +35,7 @@ size: number; | ||
*/ | ||
readonly releaseName?: string | null; | ||
releaseName?: string | null; | ||
/** | ||
* The release notes. | ||
* The release notes. List if `updater.fullChangelog` is set to `true`, `string` otherwise. | ||
*/ | ||
readonly releaseNotes?: string | null; | ||
releaseNotes?: string | Array<ReleaseNoteInfo> | null; | ||
/** | ||
@@ -32,0 +42,0 @@ * The release date. |
@@ -1,2 +0,2 @@ | ||
"use strict"; | ||
//# sourceMappingURL=updateInfo.js.map | ||
//# sourceMappingURL=updateInfo.js.map | ||
"use strict"; |
@@ -6,3 +6,2 @@ /// <reference types="node" /> | ||
private version; | ||
private variant; | ||
static readonly DNS: UUID; | ||
@@ -9,0 +8,0 @@ static readonly URL: UUID; |
@@ -45,3 +45,2 @@ "use strict"; | ||
this.version = check.version; | ||
this.variant = check.variant; | ||
if (check.format === "ascii") { | ||
@@ -48,0 +47,0 @@ this.ascii = uuid; |
{ | ||
"name": "builder-util-runtime", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"main": "out/index.js", | ||
@@ -19,5 +19,6 @@ "author": "Vladimir Krivosheev", | ||
"fs-extra-p": "^4.4.4", | ||
"bluebird-lst": "^1.0.4" | ||
"bluebird-lst": "^1.0.4", | ||
"sax": "^1.2.4" | ||
}, | ||
"types": "./out/index.d.ts" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
151254
35
1720
4
+ Addedsax@^1.2.4
+ Addedsax@1.4.1(transitive)