@uipath/rpa-legacy-tool 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +152 -50
- package/dist/tool.js +152 -50
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -27520,7 +27520,7 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
27520
27520
|
if (S(n3))
|
|
27521
27521
|
return r3;
|
|
27522
27522
|
for (var i3 = function(e6) {
|
|
27523
|
-
var t5 =
|
|
27523
|
+
var t5 = T(e6, o2);
|
|
27524
27524
|
if (!k(t5))
|
|
27525
27525
|
throw new TypeError;
|
|
27526
27526
|
var r4 = t5.call(e6);
|
|
@@ -27583,7 +27583,7 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
27583
27583
|
case 5:
|
|
27584
27584
|
return e5;
|
|
27585
27585
|
}
|
|
27586
|
-
var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 =
|
|
27586
|
+
var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
|
|
27587
27587
|
if (o3 !== undefined) {
|
|
27588
27588
|
var i3 = o3.call(e5, r3);
|
|
27589
27589
|
if (j(i3))
|
|
@@ -27620,10 +27620,10 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
27620
27620
|
function k(e5) {
|
|
27621
27621
|
return typeof e5 == "function";
|
|
27622
27622
|
}
|
|
27623
|
-
function
|
|
27623
|
+
function C(e5) {
|
|
27624
27624
|
return typeof e5 == "function";
|
|
27625
27625
|
}
|
|
27626
|
-
function
|
|
27626
|
+
function T(e5, t4) {
|
|
27627
27627
|
var r3 = e5[t4];
|
|
27628
27628
|
if (r3 != null) {
|
|
27629
27629
|
if (!k(r3))
|
|
@@ -27658,13 +27658,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
27658
27658
|
if (S(r3)) {
|
|
27659
27659
|
if (!M(e5))
|
|
27660
27660
|
throw new TypeError;
|
|
27661
|
-
if (!
|
|
27661
|
+
if (!C(t4))
|
|
27662
27662
|
throw new TypeError;
|
|
27663
27663
|
return function(e6, t5) {
|
|
27664
27664
|
for (var r4 = e6.length - 1;r4 >= 0; --r4) {
|
|
27665
27665
|
var n4 = (0, e6[r4])(t5);
|
|
27666
27666
|
if (!S(n4) && !P(n4)) {
|
|
27667
|
-
if (!
|
|
27667
|
+
if (!C(n4))
|
|
27668
27668
|
throw new TypeError;
|
|
27669
27669
|
t5 = n4;
|
|
27670
27670
|
}
|
|
@@ -27874,13 +27874,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
27874
27874
|
Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
|
|
27875
27875
|
return k.EmptyError;
|
|
27876
27876
|
} });
|
|
27877
|
-
var
|
|
27877
|
+
var C = r(7628);
|
|
27878
27878
|
Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
|
|
27879
|
-
return
|
|
27879
|
+
return C.NotFoundError;
|
|
27880
27880
|
} });
|
|
27881
|
-
var
|
|
27881
|
+
var T = r(740);
|
|
27882
27882
|
Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
|
|
27883
|
-
return
|
|
27883
|
+
return T.ObjectUnsubscribedError;
|
|
27884
27884
|
} });
|
|
27885
27885
|
var A = r(6968);
|
|
27886
27886
|
Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
|
|
@@ -28090,13 +28090,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
28090
28090
|
Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
|
|
28091
28091
|
return ke.debounceTime;
|
|
28092
28092
|
} });
|
|
28093
|
-
var
|
|
28093
|
+
var Ce = r(6204);
|
|
28094
28094
|
Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
|
|
28095
|
-
return
|
|
28095
|
+
return Ce.defaultIfEmpty;
|
|
28096
28096
|
} });
|
|
28097
|
-
var
|
|
28097
|
+
var Te = r(7752);
|
|
28098
28098
|
Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
|
|
28099
|
-
return
|
|
28099
|
+
return Te.delay;
|
|
28100
28100
|
} });
|
|
28101
28101
|
var Ae = r(7532);
|
|
28102
28102
|
Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
|
|
@@ -28306,13 +28306,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
28306
28306
|
Object.defineProperty(t2, "share", { enumerable: true, get: function() {
|
|
28307
28307
|
return kt.share;
|
|
28308
28308
|
} });
|
|
28309
|
-
var
|
|
28309
|
+
var Ct = r(4980);
|
|
28310
28310
|
Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
|
|
28311
|
-
return
|
|
28311
|
+
return Ct.shareReplay;
|
|
28312
28312
|
} });
|
|
28313
|
-
var
|
|
28313
|
+
var Tt = r(1400);
|
|
28314
28314
|
Object.defineProperty(t2, "single", { enumerable: true, get: function() {
|
|
28315
|
-
return
|
|
28315
|
+
return Tt.single;
|
|
28316
28316
|
} });
|
|
28317
28317
|
var At = r(7516);
|
|
28318
28318
|
Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
|
|
@@ -34012,12 +34012,24 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
34012
34012
|
static create() {
|
|
34013
34013
|
return new r;
|
|
34014
34014
|
}
|
|
34015
|
+
get(e3) {
|
|
34016
|
+
return this._map.get(e3);
|
|
34017
|
+
}
|
|
34015
34018
|
getOrCreateValue(e3, t3) {
|
|
34016
34019
|
if (this._map.has(e3))
|
|
34017
34020
|
return this._map.get(e3);
|
|
34018
34021
|
let r2 = t3(e3);
|
|
34019
34022
|
return this._map.set(e3, r2), r2;
|
|
34020
34023
|
}
|
|
34024
|
+
delete(e3) {
|
|
34025
|
+
return this._map.delete(e3);
|
|
34026
|
+
}
|
|
34027
|
+
values() {
|
|
34028
|
+
return this._map.values();
|
|
34029
|
+
}
|
|
34030
|
+
clear() {
|
|
34031
|
+
this._map.clear();
|
|
34032
|
+
}
|
|
34021
34033
|
}
|
|
34022
34034
|
t2.Dictionary = r;
|
|
34023
34035
|
}, 4444: function(e2, t2, r) {
|
|
@@ -35390,25 +35402,61 @@ Object name: '${e3}'.`), t3;
|
|
|
35390
35402
|
Object.defineProperty(t2, "__esModule", { value: true }), o(r(1476), t2), o(r(9108), t2), o(r(4236), t2), o(r(2988), t2), o(r(5276), t2), o(r(7540), t2), o(r(2432), t2), o(r(712), t2);
|
|
35391
35403
|
}, 1816: (e2, t2) => {
|
|
35392
35404
|
Object.defineProperty(t2, "__esModule", { value: true });
|
|
35393
|
-
}, 5284: (e2, t2, r)
|
|
35405
|
+
}, 5284: function(e2, t2, r) {
|
|
35406
|
+
var n = this && this.__awaiter || function(e3, t3, r2, n2) {
|
|
35407
|
+
return new (r2 || (r2 = Promise))(function(o2, i3) {
|
|
35408
|
+
function s2(e4) {
|
|
35409
|
+
try {
|
|
35410
|
+
c2(n2.next(e4));
|
|
35411
|
+
} catch (e5) {
|
|
35412
|
+
i3(e5);
|
|
35413
|
+
}
|
|
35414
|
+
}
|
|
35415
|
+
function a2(e4) {
|
|
35416
|
+
try {
|
|
35417
|
+
c2(n2.throw(e4));
|
|
35418
|
+
} catch (e5) {
|
|
35419
|
+
i3(e5);
|
|
35420
|
+
}
|
|
35421
|
+
}
|
|
35422
|
+
function c2(e4) {
|
|
35423
|
+
var t4;
|
|
35424
|
+
e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
|
|
35425
|
+
e5(t4);
|
|
35426
|
+
})).then(s2, a2);
|
|
35427
|
+
}
|
|
35428
|
+
c2((n2 = n2.apply(e3, t3 || [])).next());
|
|
35429
|
+
});
|
|
35430
|
+
};
|
|
35394
35431
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
|
|
35395
|
-
const
|
|
35432
|
+
const o = r(5188), i2 = r(3212), s = r(4104), a = r(2760), c = r(9100);
|
|
35396
35433
|
t2.IpcCoreBase = class {
|
|
35397
35434
|
constructor() {
|
|
35398
35435
|
this._db = new Map;
|
|
35399
35436
|
}
|
|
35400
35437
|
};
|
|
35401
35438
|
|
|
35402
|
-
class
|
|
35439
|
+
class u {
|
|
35403
35440
|
constructor(e3, t3, r2) {
|
|
35404
|
-
this.addressBuilder = e3, this.proxy = new
|
|
35441
|
+
this.addressBuilder = e3, this.proxy = new u.ProxySource(this), this.config = new u.Configuration(this), this.callback = new c.CallbackImpl(this), this.configStore = new i2.ConfigStore(this), this.proxySource = new s.ProxySource(this), this.dispatchProxies = new s.DispatchProxyClassStore, this.wire = new s.Wire(this), this.contractStore = new a.ContractStore, this.callbackStore = new s.CallbackStoreImpl, this.$service = t3 != null ? t3 : new i2.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new i2.OperationAnnotationsWrapper(this).iface;
|
|
35405
35442
|
}
|
|
35406
35443
|
getAddress(e3) {
|
|
35407
35444
|
const t3 = new this.addressBuilder;
|
|
35408
35445
|
return e3(t3), t3.assertAddress();
|
|
35409
35446
|
}
|
|
35447
|
+
disposeChannel(e3) {
|
|
35448
|
+
return n(this, undefined, undefined, function* () {
|
|
35449
|
+
const t3 = this.getAddress(e3);
|
|
35450
|
+
yield this.wire.disposeChannel(t3.key);
|
|
35451
|
+
});
|
|
35452
|
+
}
|
|
35453
|
+
disposeAllChannels() {
|
|
35454
|
+
return n(this, undefined, undefined, function* () {
|
|
35455
|
+
yield this.wire.disposeAllChannels();
|
|
35456
|
+
});
|
|
35457
|
+
}
|
|
35410
35458
|
}
|
|
35411
|
-
t2.IpcBaseImpl =
|
|
35459
|
+
t2.IpcBaseImpl = u, function(e3) {
|
|
35412
35460
|
e3.ProxySource = class {
|
|
35413
35461
|
constructor(e4) {
|
|
35414
35462
|
this._serviceProvider = e4;
|
|
@@ -35424,7 +35472,7 @@ Object name: '${e3}'.`), t3;
|
|
|
35424
35472
|
this._serviceProvider = e4, this._address = t4;
|
|
35425
35473
|
}
|
|
35426
35474
|
withService(e4) {
|
|
35427
|
-
const t4 = new
|
|
35475
|
+
const t4 = new s.ProxyId(e4, this._address);
|
|
35428
35476
|
return this._serviceProvider.proxySource.resolve(t4);
|
|
35429
35477
|
}
|
|
35430
35478
|
}
|
|
@@ -35446,27 +35494,27 @@ Object name: '${e3}'.`), t3;
|
|
|
35446
35494
|
this._ipc = e4, this._address = t4;
|
|
35447
35495
|
}
|
|
35448
35496
|
setConnectHelper(e4) {
|
|
35449
|
-
(0,
|
|
35497
|
+
(0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
|
|
35450
35498
|
}
|
|
35451
35499
|
forAnyService() {
|
|
35452
|
-
return new
|
|
35500
|
+
return new n2(this._ipc, this._address);
|
|
35453
35501
|
}
|
|
35454
35502
|
forService(e4) {
|
|
35455
|
-
return new
|
|
35503
|
+
return new n2(this._ipc, this._address, e4);
|
|
35456
35504
|
}
|
|
35457
35505
|
}
|
|
35458
35506
|
e3.ConfigurationWithAddress = r2;
|
|
35459
35507
|
|
|
35460
|
-
class
|
|
35508
|
+
class n2 {
|
|
35461
35509
|
constructor(e4, t4, r3) {
|
|
35462
35510
|
this._ipc = e4, this._address = t4, this._service = r3;
|
|
35463
35511
|
}
|
|
35464
35512
|
setRequestTimeout(e4) {
|
|
35465
|
-
(0,
|
|
35513
|
+
(0, o.assertArgument)({ value: e4 }, "number", o.TimeSpan), typeof e4 == "number" && (e4 = o.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
|
|
35466
35514
|
}
|
|
35467
35515
|
}
|
|
35468
|
-
e3.ConfigurationWithAddressService =
|
|
35469
|
-
}(
|
|
35516
|
+
e3.ConfigurationWithAddressService = n2;
|
|
35517
|
+
}(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
|
|
35470
35518
|
}, 3552: (e2, t2) => {
|
|
35471
35519
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
|
|
35472
35520
|
constructor(e3, t3, r, n) {
|
|
@@ -35539,7 +35587,13 @@ Object name: '${e3}'.`), t3;
|
|
|
35539
35587
|
}
|
|
35540
35588
|
disposeAsync() {
|
|
35541
35589
|
return n(this, undefined, undefined, function* () {
|
|
35542
|
-
this._ctsLoop.cancel()
|
|
35590
|
+
this._ctsLoop.cancel();
|
|
35591
|
+
try {
|
|
35592
|
+
yield this._loop;
|
|
35593
|
+
} catch (e3) {
|
|
35594
|
+
e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
|
|
35595
|
+
}
|
|
35596
|
+
this._stream.dispose();
|
|
35543
35597
|
});
|
|
35544
35598
|
}
|
|
35545
35599
|
static toMessageTypeString(e3) {
|
|
@@ -35724,8 +35778,8 @@ ${e3.Data}`);
|
|
|
35724
35778
|
static create(e3, t3, r2, n2, o2, i3) {
|
|
35725
35779
|
return new a(e3, t3, r2, n2, o2, i3);
|
|
35726
35780
|
}
|
|
35727
|
-
constructor(e3, t3, r2, n2,
|
|
35728
|
-
this._observer =
|
|
35781
|
+
constructor(e3, t3, r2, n2, s2, c) {
|
|
35782
|
+
this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
|
|
35729
35783
|
constructor(e4) {
|
|
35730
35784
|
this._owner = e4;
|
|
35731
35785
|
}
|
|
@@ -35738,8 +35792,8 @@ ${e3.Data}`);
|
|
|
35738
35792
|
complete() {
|
|
35739
35793
|
this._owner.dispatchNetworkComplete();
|
|
35740
35794
|
}
|
|
35741
|
-
}(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(
|
|
35742
|
-
this.disposeAsync();
|
|
35795
|
+
}(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
|
|
35796
|
+
o.Trace.traceErrorNoThrow(this.disposeAsync());
|
|
35743
35797
|
});
|
|
35744
35798
|
}
|
|
35745
35799
|
disposeAsync() {
|
|
@@ -35978,6 +36032,12 @@ ${e3.Data}`);
|
|
|
35978
36032
|
complete() {}
|
|
35979
36033
|
}(this);
|
|
35980
36034
|
}
|
|
36035
|
+
disposeAsync() {
|
|
36036
|
+
return n(this, undefined, undefined, function* () {
|
|
36037
|
+
const e3 = this._latestChannel;
|
|
36038
|
+
this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
|
|
36039
|
+
});
|
|
36040
|
+
}
|
|
35981
36041
|
invokeMethod(e3, t3, r2) {
|
|
35982
36042
|
return n(this, undefined, undefined, function* () {
|
|
35983
36043
|
const [n2, a, c, u] = s.RpcRequestFactory.create({ sp: this._sp, service: e3, address: this._address, methodName: t3, args: r2 }), l = yield this.ensureConnection(o.Timeout.infiniteTimeSpan, c), f = yield l.call(n2, u, c), d = i2.Converter.unwrapRpcResponse(f, n2);
|
|
@@ -36132,18 +36192,55 @@ ${e3.Data}`);
|
|
|
36132
36192
|
return !d || e3.args.length !== 0 && e3.args[e3.args.length - 1] instanceof n.CancellationToken || (y = [...y, n.CancellationToken.none]), [o.Converter.toRpcRequest(l, f, y, b), p, v, b];
|
|
36133
36193
|
}
|
|
36134
36194
|
};
|
|
36135
|
-
}, 4156: (e2, t2, r)
|
|
36195
|
+
}, 4156: function(e2, t2, r) {
|
|
36196
|
+
var n = this && this.__awaiter || function(e3, t3, r2, n2) {
|
|
36197
|
+
return new (r2 || (r2 = Promise))(function(o2, i3) {
|
|
36198
|
+
function s2(e4) {
|
|
36199
|
+
try {
|
|
36200
|
+
c(n2.next(e4));
|
|
36201
|
+
} catch (e5) {
|
|
36202
|
+
i3(e5);
|
|
36203
|
+
}
|
|
36204
|
+
}
|
|
36205
|
+
function a(e4) {
|
|
36206
|
+
try {
|
|
36207
|
+
c(n2.throw(e4));
|
|
36208
|
+
} catch (e5) {
|
|
36209
|
+
i3(e5);
|
|
36210
|
+
}
|
|
36211
|
+
}
|
|
36212
|
+
function c(e4) {
|
|
36213
|
+
var t4;
|
|
36214
|
+
e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
|
|
36215
|
+
e5(t4);
|
|
36216
|
+
})).then(s2, a);
|
|
36217
|
+
}
|
|
36218
|
+
c((n2 = n2.apply(e3, t3 || [])).next());
|
|
36219
|
+
});
|
|
36220
|
+
};
|
|
36136
36221
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
|
|
36137
|
-
const
|
|
36222
|
+
const o = r(3212), i2 = r(4104), s = r(5188);
|
|
36138
36223
|
t2.Wire = class {
|
|
36139
36224
|
invokeMethod(e3, t3, r2) {
|
|
36140
36225
|
return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
|
|
36141
36226
|
}
|
|
36142
|
-
constructor(e3, t3 =
|
|
36143
|
-
this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new
|
|
36227
|
+
constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
|
|
36228
|
+
this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
|
|
36144
36229
|
}
|
|
36145
36230
|
getOrCreateChannelManager(e3) {
|
|
36146
|
-
return this._map.getOrCreateValue(e3.key, () => new
|
|
36231
|
+
return this._map.getOrCreateValue(e3.key, () => new i2.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
|
|
36232
|
+
}
|
|
36233
|
+
disposeChannel(e3) {
|
|
36234
|
+
return n(this, undefined, undefined, function* () {
|
|
36235
|
+
const t3 = this._map.get(e3);
|
|
36236
|
+
t3 && (this._map.delete(e3), yield t3.disposeAsync());
|
|
36237
|
+
});
|
|
36238
|
+
}
|
|
36239
|
+
disposeAllChannels() {
|
|
36240
|
+
return n(this, undefined, undefined, function* () {
|
|
36241
|
+
const e3 = [...this._map.values()];
|
|
36242
|
+
this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
|
|
36243
|
+
});
|
|
36147
36244
|
}
|
|
36148
36245
|
};
|
|
36149
36246
|
}, 4104: function(e2, t2, r) {
|
|
@@ -37106,7 +37203,7 @@ ${e3.Data}`);
|
|
|
37106
37203
|
}
|
|
37107
37204
|
};
|
|
37108
37205
|
}, 5144: (e2, t2, r) => {
|
|
37109
|
-
const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13],
|
|
37206
|
+
const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], C = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], T = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
|
|
37110
37207
|
|
|
37111
37208
|
class A extends n {
|
|
37112
37209
|
constructor(e3, t3, r2) {
|
|
@@ -37229,7 +37326,7 @@ ${e3.Data}`);
|
|
|
37229
37326
|
let g2, O2;
|
|
37230
37327
|
if (s2.createConnection = l2 ? F : R, s2.defaultPort = s2.defaultPort || v2, s2.port = a2.port || v2, s2.host = a2.hostname.startsWith("[") ? a2.hostname.slice(1, -1) : a2.hostname, s2.headers = { ...s2.headers, "Sec-WebSocket-Version": s2.protocolVersion, "Sec-WebSocket-Key": b2, Connection: "Upgrade", Upgrade: "websocket" }, s2.path = a2.pathname + a2.search, s2.timeout = s2.handshakeTimeout, s2.perMessageDeflate && (g2 = new d(s2.perMessageDeflate !== true ? s2.perMessageDeflate : {}, false, s2.maxPayload), s2.headers["Sec-WebSocket-Extensions"] = j({ [d.extensionName]: g2.offer() })), r2.length) {
|
|
37231
37328
|
for (const e4 of r2) {
|
|
37232
|
-
if (typeof e4 != "string" || !
|
|
37329
|
+
if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
|
|
37233
37330
|
throw new SyntaxError("An invalid or duplicated subprotocol was specified");
|
|
37234
37331
|
m2.add(e4);
|
|
37235
37332
|
}
|
|
@@ -37328,7 +37425,7 @@ ${e3.Data}`);
|
|
|
37328
37425
|
const r3 = x(t3).length;
|
|
37329
37426
|
e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
|
|
37330
37427
|
}
|
|
37331
|
-
r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${
|
|
37428
|
+
r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
|
|
37332
37429
|
}
|
|
37333
37430
|
function W(e3, t3) {
|
|
37334
37431
|
const r2 = this[O];
|
|
@@ -37374,7 +37471,7 @@ ${e3.Data}`);
|
|
|
37374
37471
|
const e3 = this[O];
|
|
37375
37472
|
this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
|
|
37376
37473
|
}
|
|
37377
|
-
Object.defineProperty(A, "CONNECTING", { enumerable: true, value:
|
|
37474
|
+
Object.defineProperty(A, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
|
|
37378
37475
|
Object.defineProperty(A.prototype, e3, { enumerable: true });
|
|
37379
37476
|
}), ["open", "error", "close", "message"].forEach((e3) => {
|
|
37380
37477
|
Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
|
|
@@ -44051,11 +44148,13 @@ var require_handle_consent_code_message = __commonJS((exports) => {
|
|
|
44051
44148
|
var coreipc_1 = require_coreipc();
|
|
44052
44149
|
|
|
44053
44150
|
class HandleConsentCodeMessage extends coreipc_1.Message {
|
|
44054
|
-
constructor(Accept, Domain, ConsentCode) {
|
|
44151
|
+
constructor(Accept, Domain, ConsentCode, SignInUrl) {
|
|
44055
44152
|
super();
|
|
44056
44153
|
this.Accept = Accept;
|
|
44057
44154
|
this.Domain = Domain;
|
|
44058
44155
|
this.ConsentCode = ConsentCode;
|
|
44156
|
+
this.SignInUrl = SignInUrl;
|
|
44157
|
+
this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
|
|
44059
44158
|
}
|
|
44060
44159
|
}
|
|
44061
44160
|
exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
|
|
@@ -44856,8 +44955,8 @@ var require_robotjs_services2 = __commonJS((exports) => {
|
|
|
44856
44955
|
constructor(_consentCodeServices) {
|
|
44857
44956
|
this._consentCodeServices = _consentCodeServices;
|
|
44858
44957
|
}
|
|
44859
|
-
HandleConsentCode(accept, domain2, consentCode) {
|
|
44860
|
-
return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
|
|
44958
|
+
HandleConsentCode(accept, domain2, consentCode, signInUrl) {
|
|
44959
|
+
return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
|
|
44861
44960
|
}
|
|
44862
44961
|
IsDomainAllowed(domain2) {
|
|
44863
44962
|
return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
|
|
@@ -44999,7 +45098,10 @@ var require_robot_agent_proxy2 = __commonJS((exports) => {
|
|
|
44999
45098
|
this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
|
|
45000
45099
|
}
|
|
45001
45100
|
CloseAsync() {
|
|
45002
|
-
return __awaiter(this, undefined, undefined, function* () {
|
|
45101
|
+
return __awaiter(this, undefined, undefined, function* () {
|
|
45102
|
+
yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
|
|
45103
|
+
yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
|
|
45104
|
+
});
|
|
45003
45105
|
}
|
|
45004
45106
|
get RobotStatusChanged() {
|
|
45005
45107
|
return this._robotStatusChanged;
|
|
@@ -46605,7 +46707,7 @@ var {
|
|
|
46605
46707
|
// package.json
|
|
46606
46708
|
var package_default = {
|
|
46607
46709
|
name: "@uipath/rpa-legacy-tool",
|
|
46608
|
-
version: "0.9.
|
|
46710
|
+
version: "0.9.1",
|
|
46609
46711
|
description: "uipcli plugin for validating, analyzing and building RPA projects using the legacy UiPath CLI",
|
|
46610
46712
|
private: false,
|
|
46611
46713
|
maintainers: [
|
package/dist/tool.js
CHANGED
|
@@ -25405,7 +25405,7 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
25405
25405
|
if (S(n3))
|
|
25406
25406
|
return r3;
|
|
25407
25407
|
for (var i3 = function(e6) {
|
|
25408
|
-
var t5 =
|
|
25408
|
+
var t5 = T(e6, o2);
|
|
25409
25409
|
if (!k(t5))
|
|
25410
25410
|
throw new TypeError;
|
|
25411
25411
|
var r4 = t5.call(e6);
|
|
@@ -25468,7 +25468,7 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
25468
25468
|
case 5:
|
|
25469
25469
|
return e5;
|
|
25470
25470
|
}
|
|
25471
|
-
var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 =
|
|
25471
|
+
var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
|
|
25472
25472
|
if (o3 !== undefined) {
|
|
25473
25473
|
var i3 = o3.call(e5, r3);
|
|
25474
25474
|
if (j(i3))
|
|
@@ -25505,10 +25505,10 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
25505
25505
|
function k(e5) {
|
|
25506
25506
|
return typeof e5 == "function";
|
|
25507
25507
|
}
|
|
25508
|
-
function
|
|
25508
|
+
function C(e5) {
|
|
25509
25509
|
return typeof e5 == "function";
|
|
25510
25510
|
}
|
|
25511
|
-
function
|
|
25511
|
+
function T(e5, t4) {
|
|
25512
25512
|
var r3 = e5[t4];
|
|
25513
25513
|
if (r3 != null) {
|
|
25514
25514
|
if (!k(r3))
|
|
@@ -25543,13 +25543,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
25543
25543
|
if (S(r3)) {
|
|
25544
25544
|
if (!M(e5))
|
|
25545
25545
|
throw new TypeError;
|
|
25546
|
-
if (!
|
|
25546
|
+
if (!C(t4))
|
|
25547
25547
|
throw new TypeError;
|
|
25548
25548
|
return function(e6, t5) {
|
|
25549
25549
|
for (var r4 = e6.length - 1;r4 >= 0; --r4) {
|
|
25550
25550
|
var n4 = (0, e6[r4])(t5);
|
|
25551
25551
|
if (!S(n4) && !P(n4)) {
|
|
25552
|
-
if (!
|
|
25552
|
+
if (!C(n4))
|
|
25553
25553
|
throw new TypeError;
|
|
25554
25554
|
t5 = n4;
|
|
25555
25555
|
}
|
|
@@ -25759,13 +25759,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
25759
25759
|
Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
|
|
25760
25760
|
return k.EmptyError;
|
|
25761
25761
|
} });
|
|
25762
|
-
var
|
|
25762
|
+
var C = r(7628);
|
|
25763
25763
|
Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
|
|
25764
|
-
return
|
|
25764
|
+
return C.NotFoundError;
|
|
25765
25765
|
} });
|
|
25766
|
-
var
|
|
25766
|
+
var T = r(740);
|
|
25767
25767
|
Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
|
|
25768
|
-
return
|
|
25768
|
+
return T.ObjectUnsubscribedError;
|
|
25769
25769
|
} });
|
|
25770
25770
|
var A = r(6968);
|
|
25771
25771
|
Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
|
|
@@ -25975,13 +25975,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
25975
25975
|
Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
|
|
25976
25976
|
return ke.debounceTime;
|
|
25977
25977
|
} });
|
|
25978
|
-
var
|
|
25978
|
+
var Ce = r(6204);
|
|
25979
25979
|
Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
|
|
25980
|
-
return
|
|
25980
|
+
return Ce.defaultIfEmpty;
|
|
25981
25981
|
} });
|
|
25982
|
-
var
|
|
25982
|
+
var Te = r(7752);
|
|
25983
25983
|
Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
|
|
25984
|
-
return
|
|
25984
|
+
return Te.delay;
|
|
25985
25985
|
} });
|
|
25986
25986
|
var Ae = r(7532);
|
|
25987
25987
|
Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
|
|
@@ -26191,13 +26191,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
26191
26191
|
Object.defineProperty(t2, "share", { enumerable: true, get: function() {
|
|
26192
26192
|
return kt.share;
|
|
26193
26193
|
} });
|
|
26194
|
-
var
|
|
26194
|
+
var Ct = r(4980);
|
|
26195
26195
|
Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
|
|
26196
|
-
return
|
|
26196
|
+
return Ct.shareReplay;
|
|
26197
26197
|
} });
|
|
26198
|
-
var
|
|
26198
|
+
var Tt = r(1400);
|
|
26199
26199
|
Object.defineProperty(t2, "single", { enumerable: true, get: function() {
|
|
26200
|
-
return
|
|
26200
|
+
return Tt.single;
|
|
26201
26201
|
} });
|
|
26202
26202
|
var At = r(7516);
|
|
26203
26203
|
Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
|
|
@@ -31897,12 +31897,24 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
31897
31897
|
static create() {
|
|
31898
31898
|
return new r;
|
|
31899
31899
|
}
|
|
31900
|
+
get(e3) {
|
|
31901
|
+
return this._map.get(e3);
|
|
31902
|
+
}
|
|
31900
31903
|
getOrCreateValue(e3, t3) {
|
|
31901
31904
|
if (this._map.has(e3))
|
|
31902
31905
|
return this._map.get(e3);
|
|
31903
31906
|
let r2 = t3(e3);
|
|
31904
31907
|
return this._map.set(e3, r2), r2;
|
|
31905
31908
|
}
|
|
31909
|
+
delete(e3) {
|
|
31910
|
+
return this._map.delete(e3);
|
|
31911
|
+
}
|
|
31912
|
+
values() {
|
|
31913
|
+
return this._map.values();
|
|
31914
|
+
}
|
|
31915
|
+
clear() {
|
|
31916
|
+
this._map.clear();
|
|
31917
|
+
}
|
|
31906
31918
|
}
|
|
31907
31919
|
t2.Dictionary = r;
|
|
31908
31920
|
}, 4444: function(e2, t2, r) {
|
|
@@ -33275,25 +33287,61 @@ Object name: '${e3}'.`), t3;
|
|
|
33275
33287
|
Object.defineProperty(t2, "__esModule", { value: true }), o(r(1476), t2), o(r(9108), t2), o(r(4236), t2), o(r(2988), t2), o(r(5276), t2), o(r(7540), t2), o(r(2432), t2), o(r(712), t2);
|
|
33276
33288
|
}, 1816: (e2, t2) => {
|
|
33277
33289
|
Object.defineProperty(t2, "__esModule", { value: true });
|
|
33278
|
-
}, 5284: (e2, t2, r)
|
|
33290
|
+
}, 5284: function(e2, t2, r) {
|
|
33291
|
+
var n = this && this.__awaiter || function(e3, t3, r2, n2) {
|
|
33292
|
+
return new (r2 || (r2 = Promise))(function(o2, i3) {
|
|
33293
|
+
function s2(e4) {
|
|
33294
|
+
try {
|
|
33295
|
+
c2(n2.next(e4));
|
|
33296
|
+
} catch (e5) {
|
|
33297
|
+
i3(e5);
|
|
33298
|
+
}
|
|
33299
|
+
}
|
|
33300
|
+
function a2(e4) {
|
|
33301
|
+
try {
|
|
33302
|
+
c2(n2.throw(e4));
|
|
33303
|
+
} catch (e5) {
|
|
33304
|
+
i3(e5);
|
|
33305
|
+
}
|
|
33306
|
+
}
|
|
33307
|
+
function c2(e4) {
|
|
33308
|
+
var t4;
|
|
33309
|
+
e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
|
|
33310
|
+
e5(t4);
|
|
33311
|
+
})).then(s2, a2);
|
|
33312
|
+
}
|
|
33313
|
+
c2((n2 = n2.apply(e3, t3 || [])).next());
|
|
33314
|
+
});
|
|
33315
|
+
};
|
|
33279
33316
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
|
|
33280
|
-
const
|
|
33317
|
+
const o = r(5188), i2 = r(3212), s = r(4104), a = r(2760), c = r(9100);
|
|
33281
33318
|
t2.IpcCoreBase = class {
|
|
33282
33319
|
constructor() {
|
|
33283
33320
|
this._db = new Map;
|
|
33284
33321
|
}
|
|
33285
33322
|
};
|
|
33286
33323
|
|
|
33287
|
-
class
|
|
33324
|
+
class u {
|
|
33288
33325
|
constructor(e3, t3, r2) {
|
|
33289
|
-
this.addressBuilder = e3, this.proxy = new
|
|
33326
|
+
this.addressBuilder = e3, this.proxy = new u.ProxySource(this), this.config = new u.Configuration(this), this.callback = new c.CallbackImpl(this), this.configStore = new i2.ConfigStore(this), this.proxySource = new s.ProxySource(this), this.dispatchProxies = new s.DispatchProxyClassStore, this.wire = new s.Wire(this), this.contractStore = new a.ContractStore, this.callbackStore = new s.CallbackStoreImpl, this.$service = t3 != null ? t3 : new i2.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new i2.OperationAnnotationsWrapper(this).iface;
|
|
33290
33327
|
}
|
|
33291
33328
|
getAddress(e3) {
|
|
33292
33329
|
const t3 = new this.addressBuilder;
|
|
33293
33330
|
return e3(t3), t3.assertAddress();
|
|
33294
33331
|
}
|
|
33332
|
+
disposeChannel(e3) {
|
|
33333
|
+
return n(this, undefined, undefined, function* () {
|
|
33334
|
+
const t3 = this.getAddress(e3);
|
|
33335
|
+
yield this.wire.disposeChannel(t3.key);
|
|
33336
|
+
});
|
|
33337
|
+
}
|
|
33338
|
+
disposeAllChannels() {
|
|
33339
|
+
return n(this, undefined, undefined, function* () {
|
|
33340
|
+
yield this.wire.disposeAllChannels();
|
|
33341
|
+
});
|
|
33342
|
+
}
|
|
33295
33343
|
}
|
|
33296
|
-
t2.IpcBaseImpl =
|
|
33344
|
+
t2.IpcBaseImpl = u, function(e3) {
|
|
33297
33345
|
e3.ProxySource = class {
|
|
33298
33346
|
constructor(e4) {
|
|
33299
33347
|
this._serviceProvider = e4;
|
|
@@ -33309,7 +33357,7 @@ Object name: '${e3}'.`), t3;
|
|
|
33309
33357
|
this._serviceProvider = e4, this._address = t4;
|
|
33310
33358
|
}
|
|
33311
33359
|
withService(e4) {
|
|
33312
|
-
const t4 = new
|
|
33360
|
+
const t4 = new s.ProxyId(e4, this._address);
|
|
33313
33361
|
return this._serviceProvider.proxySource.resolve(t4);
|
|
33314
33362
|
}
|
|
33315
33363
|
}
|
|
@@ -33331,27 +33379,27 @@ Object name: '${e3}'.`), t3;
|
|
|
33331
33379
|
this._ipc = e4, this._address = t4;
|
|
33332
33380
|
}
|
|
33333
33381
|
setConnectHelper(e4) {
|
|
33334
|
-
(0,
|
|
33382
|
+
(0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
|
|
33335
33383
|
}
|
|
33336
33384
|
forAnyService() {
|
|
33337
|
-
return new
|
|
33385
|
+
return new n2(this._ipc, this._address);
|
|
33338
33386
|
}
|
|
33339
33387
|
forService(e4) {
|
|
33340
|
-
return new
|
|
33388
|
+
return new n2(this._ipc, this._address, e4);
|
|
33341
33389
|
}
|
|
33342
33390
|
}
|
|
33343
33391
|
e3.ConfigurationWithAddress = r2;
|
|
33344
33392
|
|
|
33345
|
-
class
|
|
33393
|
+
class n2 {
|
|
33346
33394
|
constructor(e4, t4, r3) {
|
|
33347
33395
|
this._ipc = e4, this._address = t4, this._service = r3;
|
|
33348
33396
|
}
|
|
33349
33397
|
setRequestTimeout(e4) {
|
|
33350
|
-
(0,
|
|
33398
|
+
(0, o.assertArgument)({ value: e4 }, "number", o.TimeSpan), typeof e4 == "number" && (e4 = o.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
|
|
33351
33399
|
}
|
|
33352
33400
|
}
|
|
33353
|
-
e3.ConfigurationWithAddressService =
|
|
33354
|
-
}(
|
|
33401
|
+
e3.ConfigurationWithAddressService = n2;
|
|
33402
|
+
}(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
|
|
33355
33403
|
}, 3552: (e2, t2) => {
|
|
33356
33404
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
|
|
33357
33405
|
constructor(e3, t3, r, n) {
|
|
@@ -33424,7 +33472,13 @@ Object name: '${e3}'.`), t3;
|
|
|
33424
33472
|
}
|
|
33425
33473
|
disposeAsync() {
|
|
33426
33474
|
return n(this, undefined, undefined, function* () {
|
|
33427
|
-
this._ctsLoop.cancel()
|
|
33475
|
+
this._ctsLoop.cancel();
|
|
33476
|
+
try {
|
|
33477
|
+
yield this._loop;
|
|
33478
|
+
} catch (e3) {
|
|
33479
|
+
e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
|
|
33480
|
+
}
|
|
33481
|
+
this._stream.dispose();
|
|
33428
33482
|
});
|
|
33429
33483
|
}
|
|
33430
33484
|
static toMessageTypeString(e3) {
|
|
@@ -33609,8 +33663,8 @@ ${e3.Data}`);
|
|
|
33609
33663
|
static create(e3, t3, r2, n2, o2, i3) {
|
|
33610
33664
|
return new a(e3, t3, r2, n2, o2, i3);
|
|
33611
33665
|
}
|
|
33612
|
-
constructor(e3, t3, r2, n2,
|
|
33613
|
-
this._observer =
|
|
33666
|
+
constructor(e3, t3, r2, n2, s2, c) {
|
|
33667
|
+
this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
|
|
33614
33668
|
constructor(e4) {
|
|
33615
33669
|
this._owner = e4;
|
|
33616
33670
|
}
|
|
@@ -33623,8 +33677,8 @@ ${e3.Data}`);
|
|
|
33623
33677
|
complete() {
|
|
33624
33678
|
this._owner.dispatchNetworkComplete();
|
|
33625
33679
|
}
|
|
33626
|
-
}(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(
|
|
33627
|
-
this.disposeAsync();
|
|
33680
|
+
}(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
|
|
33681
|
+
o.Trace.traceErrorNoThrow(this.disposeAsync());
|
|
33628
33682
|
});
|
|
33629
33683
|
}
|
|
33630
33684
|
disposeAsync() {
|
|
@@ -33863,6 +33917,12 @@ ${e3.Data}`);
|
|
|
33863
33917
|
complete() {}
|
|
33864
33918
|
}(this);
|
|
33865
33919
|
}
|
|
33920
|
+
disposeAsync() {
|
|
33921
|
+
return n(this, undefined, undefined, function* () {
|
|
33922
|
+
const e3 = this._latestChannel;
|
|
33923
|
+
this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
|
|
33924
|
+
});
|
|
33925
|
+
}
|
|
33866
33926
|
invokeMethod(e3, t3, r2) {
|
|
33867
33927
|
return n(this, undefined, undefined, function* () {
|
|
33868
33928
|
const [n2, a, c, u] = s.RpcRequestFactory.create({ sp: this._sp, service: e3, address: this._address, methodName: t3, args: r2 }), l = yield this.ensureConnection(o.Timeout.infiniteTimeSpan, c), f = yield l.call(n2, u, c), d = i2.Converter.unwrapRpcResponse(f, n2);
|
|
@@ -34017,18 +34077,55 @@ ${e3.Data}`);
|
|
|
34017
34077
|
return !d || e3.args.length !== 0 && e3.args[e3.args.length - 1] instanceof n.CancellationToken || (y = [...y, n.CancellationToken.none]), [o.Converter.toRpcRequest(l, f, y, b), p, v, b];
|
|
34018
34078
|
}
|
|
34019
34079
|
};
|
|
34020
|
-
}, 4156: (e2, t2, r)
|
|
34080
|
+
}, 4156: function(e2, t2, r) {
|
|
34081
|
+
var n = this && this.__awaiter || function(e3, t3, r2, n2) {
|
|
34082
|
+
return new (r2 || (r2 = Promise))(function(o2, i3) {
|
|
34083
|
+
function s2(e4) {
|
|
34084
|
+
try {
|
|
34085
|
+
c(n2.next(e4));
|
|
34086
|
+
} catch (e5) {
|
|
34087
|
+
i3(e5);
|
|
34088
|
+
}
|
|
34089
|
+
}
|
|
34090
|
+
function a(e4) {
|
|
34091
|
+
try {
|
|
34092
|
+
c(n2.throw(e4));
|
|
34093
|
+
} catch (e5) {
|
|
34094
|
+
i3(e5);
|
|
34095
|
+
}
|
|
34096
|
+
}
|
|
34097
|
+
function c(e4) {
|
|
34098
|
+
var t4;
|
|
34099
|
+
e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
|
|
34100
|
+
e5(t4);
|
|
34101
|
+
})).then(s2, a);
|
|
34102
|
+
}
|
|
34103
|
+
c((n2 = n2.apply(e3, t3 || [])).next());
|
|
34104
|
+
});
|
|
34105
|
+
};
|
|
34021
34106
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
|
|
34022
|
-
const
|
|
34107
|
+
const o = r(3212), i2 = r(4104), s = r(5188);
|
|
34023
34108
|
t2.Wire = class {
|
|
34024
34109
|
invokeMethod(e3, t3, r2) {
|
|
34025
34110
|
return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
|
|
34026
34111
|
}
|
|
34027
|
-
constructor(e3, t3 =
|
|
34028
|
-
this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new
|
|
34112
|
+
constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
|
|
34113
|
+
this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
|
|
34029
34114
|
}
|
|
34030
34115
|
getOrCreateChannelManager(e3) {
|
|
34031
|
-
return this._map.getOrCreateValue(e3.key, () => new
|
|
34116
|
+
return this._map.getOrCreateValue(e3.key, () => new i2.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
|
|
34117
|
+
}
|
|
34118
|
+
disposeChannel(e3) {
|
|
34119
|
+
return n(this, undefined, undefined, function* () {
|
|
34120
|
+
const t3 = this._map.get(e3);
|
|
34121
|
+
t3 && (this._map.delete(e3), yield t3.disposeAsync());
|
|
34122
|
+
});
|
|
34123
|
+
}
|
|
34124
|
+
disposeAllChannels() {
|
|
34125
|
+
return n(this, undefined, undefined, function* () {
|
|
34126
|
+
const e3 = [...this._map.values()];
|
|
34127
|
+
this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
|
|
34128
|
+
});
|
|
34032
34129
|
}
|
|
34033
34130
|
};
|
|
34034
34131
|
}, 4104: function(e2, t2, r) {
|
|
@@ -34991,7 +35088,7 @@ ${e3.Data}`);
|
|
|
34991
35088
|
}
|
|
34992
35089
|
};
|
|
34993
35090
|
}, 5144: (e2, t2, r) => {
|
|
34994
|
-
const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13],
|
|
35091
|
+
const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], C = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], T = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
|
|
34995
35092
|
|
|
34996
35093
|
class A extends n {
|
|
34997
35094
|
constructor(e3, t3, r2) {
|
|
@@ -35114,7 +35211,7 @@ ${e3.Data}`);
|
|
|
35114
35211
|
let g2, O2;
|
|
35115
35212
|
if (s2.createConnection = l2 ? F : R, s2.defaultPort = s2.defaultPort || v2, s2.port = a2.port || v2, s2.host = a2.hostname.startsWith("[") ? a2.hostname.slice(1, -1) : a2.hostname, s2.headers = { ...s2.headers, "Sec-WebSocket-Version": s2.protocolVersion, "Sec-WebSocket-Key": b2, Connection: "Upgrade", Upgrade: "websocket" }, s2.path = a2.pathname + a2.search, s2.timeout = s2.handshakeTimeout, s2.perMessageDeflate && (g2 = new d(s2.perMessageDeflate !== true ? s2.perMessageDeflate : {}, false, s2.maxPayload), s2.headers["Sec-WebSocket-Extensions"] = j({ [d.extensionName]: g2.offer() })), r2.length) {
|
|
35116
35213
|
for (const e4 of r2) {
|
|
35117
|
-
if (typeof e4 != "string" || !
|
|
35214
|
+
if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
|
|
35118
35215
|
throw new SyntaxError("An invalid or duplicated subprotocol was specified");
|
|
35119
35216
|
m2.add(e4);
|
|
35120
35217
|
}
|
|
@@ -35213,7 +35310,7 @@ ${e3.Data}`);
|
|
|
35213
35310
|
const r3 = x(t3).length;
|
|
35214
35311
|
e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
|
|
35215
35312
|
}
|
|
35216
|
-
r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${
|
|
35313
|
+
r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
|
|
35217
35314
|
}
|
|
35218
35315
|
function W(e3, t3) {
|
|
35219
35316
|
const r2 = this[O];
|
|
@@ -35259,7 +35356,7 @@ ${e3.Data}`);
|
|
|
35259
35356
|
const e3 = this[O];
|
|
35260
35357
|
this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
|
|
35261
35358
|
}
|
|
35262
|
-
Object.defineProperty(A, "CONNECTING", { enumerable: true, value:
|
|
35359
|
+
Object.defineProperty(A, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
|
|
35263
35360
|
Object.defineProperty(A.prototype, e3, { enumerable: true });
|
|
35264
35361
|
}), ["open", "error", "close", "message"].forEach((e3) => {
|
|
35265
35362
|
Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
|
|
@@ -41936,11 +42033,13 @@ var require_handle_consent_code_message = __commonJS((exports) => {
|
|
|
41936
42033
|
var coreipc_1 = require_coreipc();
|
|
41937
42034
|
|
|
41938
42035
|
class HandleConsentCodeMessage extends coreipc_1.Message {
|
|
41939
|
-
constructor(Accept, Domain, ConsentCode) {
|
|
42036
|
+
constructor(Accept, Domain, ConsentCode, SignInUrl) {
|
|
41940
42037
|
super();
|
|
41941
42038
|
this.Accept = Accept;
|
|
41942
42039
|
this.Domain = Domain;
|
|
41943
42040
|
this.ConsentCode = ConsentCode;
|
|
42041
|
+
this.SignInUrl = SignInUrl;
|
|
42042
|
+
this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
|
|
41944
42043
|
}
|
|
41945
42044
|
}
|
|
41946
42045
|
exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
|
|
@@ -42741,8 +42840,8 @@ var require_robotjs_services2 = __commonJS((exports) => {
|
|
|
42741
42840
|
constructor(_consentCodeServices) {
|
|
42742
42841
|
this._consentCodeServices = _consentCodeServices;
|
|
42743
42842
|
}
|
|
42744
|
-
HandleConsentCode(accept, domain2, consentCode) {
|
|
42745
|
-
return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
|
|
42843
|
+
HandleConsentCode(accept, domain2, consentCode, signInUrl) {
|
|
42844
|
+
return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
|
|
42746
42845
|
}
|
|
42747
42846
|
IsDomainAllowed(domain2) {
|
|
42748
42847
|
return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
|
|
@@ -42884,7 +42983,10 @@ var require_robot_agent_proxy2 = __commonJS((exports) => {
|
|
|
42884
42983
|
this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
|
|
42885
42984
|
}
|
|
42886
42985
|
CloseAsync() {
|
|
42887
|
-
return __awaiter(this, undefined, undefined, function* () {
|
|
42986
|
+
return __awaiter(this, undefined, undefined, function* () {
|
|
42987
|
+
yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
|
|
42988
|
+
yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
|
|
42989
|
+
});
|
|
42888
42990
|
}
|
|
42889
42991
|
get RobotStatusChanged() {
|
|
42890
42992
|
return this._robotStatusChanged;
|
|
@@ -44474,7 +44576,7 @@ var init_src3 = __esm(() => {
|
|
|
44474
44576
|
// package.json
|
|
44475
44577
|
var package_default = {
|
|
44476
44578
|
name: "@uipath/rpa-legacy-tool",
|
|
44477
|
-
version: "0.9.
|
|
44579
|
+
version: "0.9.1",
|
|
44478
44580
|
description: "uipcli plugin for validating, analyzing and building RPA projects using the legacy UiPath CLI",
|
|
44479
44581
|
private: false,
|
|
44480
44582
|
maintainers: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/rpa-legacy-tool",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "uipcli plugin for validating, analyzing and building RPA projects using the legacy UiPath CLI",
|
|
5
5
|
"private": false,
|
|
6
6
|
"maintainers": [
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"commander": "^14.0.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@uipath/auth": "0.9.
|
|
44
|
-
"@uipath/common": "0.9.
|
|
45
|
-
"@uipath/filesystem": "0.9.
|
|
43
|
+
"@uipath/auth": "0.9.1",
|
|
44
|
+
"@uipath/common": "0.9.1",
|
|
45
|
+
"@uipath/filesystem": "0.9.1",
|
|
46
46
|
"adm-zip": "^0.5.16",
|
|
47
47
|
"@types/adm-zip": "^0.5.7",
|
|
48
48
|
"@types/bun": "^1.3.9",
|
|
49
49
|
"typescript": "^5"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "e8da2857e37a9495c4907cd39f47c9d6ed1a5566"
|
|
52
52
|
}
|