1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.asArray = asArray;
|
7 | exports.newError = newError;
|
8 | Object.defineProperty(exports, "CancellationToken", {
|
9 | enumerable: true,
|
10 | get: function () {
|
11 | return _CancellationToken().CancellationToken;
|
12 | }
|
13 | });
|
14 | Object.defineProperty(exports, "CancellationError", {
|
15 | enumerable: true,
|
16 | get: function () {
|
17 | return _CancellationToken().CancellationError;
|
18 | }
|
19 | });
|
20 | Object.defineProperty(exports, "HttpError", {
|
21 | enumerable: true,
|
22 | get: function () {
|
23 | return _httpExecutor().HttpError;
|
24 | }
|
25 | });
|
26 | Object.defineProperty(exports, "createHttpError", {
|
27 | enumerable: true,
|
28 | get: function () {
|
29 | return _httpExecutor().createHttpError;
|
30 | }
|
31 | });
|
32 | Object.defineProperty(exports, "HttpExecutor", {
|
33 | enumerable: true,
|
34 | get: function () {
|
35 | return _httpExecutor().HttpExecutor;
|
36 | }
|
37 | });
|
38 | Object.defineProperty(exports, "DigestTransform", {
|
39 | enumerable: true,
|
40 | get: function () {
|
41 | return _httpExecutor().DigestTransform;
|
42 | }
|
43 | });
|
44 | Object.defineProperty(exports, "safeGetHeader", {
|
45 | enumerable: true,
|
46 | get: function () {
|
47 | return _httpExecutor().safeGetHeader;
|
48 | }
|
49 | });
|
50 | Object.defineProperty(exports, "configureRequestOptions", {
|
51 | enumerable: true,
|
52 | get: function () {
|
53 | return _httpExecutor().configureRequestOptions;
|
54 | }
|
55 | });
|
56 | Object.defineProperty(exports, "configureRequestOptionsFromUrl", {
|
57 | enumerable: true,
|
58 | get: function () {
|
59 | return _httpExecutor().configureRequestOptionsFromUrl;
|
60 | }
|
61 | });
|
62 | Object.defineProperty(exports, "safeStringifyJson", {
|
63 | enumerable: true,
|
64 | get: function () {
|
65 | return _httpExecutor().safeStringifyJson;
|
66 | }
|
67 | });
|
68 | Object.defineProperty(exports, "parseJson", {
|
69 | enumerable: true,
|
70 | get: function () {
|
71 | return _httpExecutor().parseJson;
|
72 | }
|
73 | });
|
74 | Object.defineProperty(exports, "configureRequestUrl", {
|
75 | enumerable: true,
|
76 | get: function () {
|
77 | return _httpExecutor().configureRequestUrl;
|
78 | }
|
79 | });
|
80 | Object.defineProperty(exports, "getS3LikeProviderBaseUrl", {
|
81 | enumerable: true,
|
82 | get: function () {
|
83 | return _publishOptions().getS3LikeProviderBaseUrl;
|
84 | }
|
85 | });
|
86 | Object.defineProperty(exports, "githubUrl", {
|
87 | enumerable: true,
|
88 | get: function () {
|
89 | return _publishOptions().githubUrl;
|
90 | }
|
91 | });
|
92 | Object.defineProperty(exports, "parseDn", {
|
93 | enumerable: true,
|
94 | get: function () {
|
95 | return _rfc2253Parser().parseDn;
|
96 | }
|
97 | });
|
98 | Object.defineProperty(exports, "UUID", {
|
99 | enumerable: true,
|
100 | get: function () {
|
101 | return _uuid().UUID;
|
102 | }
|
103 | });
|
104 | Object.defineProperty(exports, "ProgressCallbackTransform", {
|
105 | enumerable: true,
|
106 | get: function () {
|
107 | return _ProgressCallbackTransform().ProgressCallbackTransform;
|
108 | }
|
109 | });
|
110 | Object.defineProperty(exports, "parseXml", {
|
111 | enumerable: true,
|
112 | get: function () {
|
113 | return _xml().parseXml;
|
114 | }
|
115 | });
|
116 | Object.defineProperty(exports, "XElement", {
|
117 | enumerable: true,
|
118 | get: function () {
|
119 | return _xml().XElement;
|
120 | }
|
121 | });
|
122 | exports.CURRENT_APP_PACKAGE_FILE_NAME = exports.CURRENT_APP_INSTALLER_FILE_NAME = void 0;
|
123 |
|
124 | function _CancellationToken() {
|
125 | const data = require("./CancellationToken");
|
126 |
|
127 | _CancellationToken = function () {
|
128 | return data;
|
129 | };
|
130 |
|
131 | return data;
|
132 | }
|
133 |
|
134 | function _httpExecutor() {
|
135 | const data = require("./httpExecutor");
|
136 |
|
137 | _httpExecutor = function () {
|
138 | return data;
|
139 | };
|
140 |
|
141 | return data;
|
142 | }
|
143 |
|
144 | function _publishOptions() {
|
145 | const data = require("./publishOptions");
|
146 |
|
147 | _publishOptions = function () {
|
148 | return data;
|
149 | };
|
150 |
|
151 | return data;
|
152 | }
|
153 |
|
154 | function _rfc2253Parser() {
|
155 | const data = require("./rfc2253Parser");
|
156 |
|
157 | _rfc2253Parser = function () {
|
158 | return data;
|
159 | };
|
160 |
|
161 | return data;
|
162 | }
|
163 |
|
164 | function _uuid() {
|
165 | const data = require("./uuid");
|
166 |
|
167 | _uuid = function () {
|
168 | return data;
|
169 | };
|
170 |
|
171 | return data;
|
172 | }
|
173 |
|
174 | function _ProgressCallbackTransform() {
|
175 | const data = require("./ProgressCallbackTransform");
|
176 |
|
177 | _ProgressCallbackTransform = function () {
|
178 | return data;
|
179 | };
|
180 |
|
181 | return data;
|
182 | }
|
183 |
|
184 | function _xml() {
|
185 | const data = require("./xml");
|
186 |
|
187 | _xml = function () {
|
188 | return data;
|
189 | };
|
190 |
|
191 | return data;
|
192 | }
|
193 |
|
194 |
|
195 | const CURRENT_APP_INSTALLER_FILE_NAME = "installer.exe";
|
196 |
|
197 | exports.CURRENT_APP_INSTALLER_FILE_NAME = CURRENT_APP_INSTALLER_FILE_NAME;
|
198 | const CURRENT_APP_PACKAGE_FILE_NAME = "package.7z";
|
199 | exports.CURRENT_APP_PACKAGE_FILE_NAME = CURRENT_APP_PACKAGE_FILE_NAME;
|
200 |
|
201 | function asArray(v) {
|
202 | if (v == null) {
|
203 | return [];
|
204 | } else if (Array.isArray(v)) {
|
205 | return v;
|
206 | } else {
|
207 | return [v];
|
208 | }
|
209 | }
|
210 |
|
211 | function newError(message, code) {
|
212 | const error = new Error(message);
|
213 | error.code = code;
|
214 | return error;
|
215 | }
|
216 |
|
217 |
|
\ | No newline at end of file |