@uipath/api-workflow-runtime 14.1.3 → 14.1.4

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.
@@ -1,4 +1,4 @@
1
- @uipath/api-workflow-runtime v14.1.3
1
+ @uipath/api-workflow-runtime v14.1.4
2
2
 
3
3
  THIRD-PARTY SOFTWARE NOTICES
4
4
 
@@ -115,6 +115,32 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
115
115
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
116
116
  SOFTWARE.
117
117
 
118
+ ==============================================================================
119
+ @azure/core-process 1.0.0 -- MIT
120
+ ==============================================================================
121
+
122
+ The MIT License (MIT)
123
+
124
+ Copyright (c) 2018 Microsoft
125
+
126
+ Permission is hereby granted, free of charge, to any person obtaining a copy
127
+ of this software and associated documentation files (the "Software"), to deal
128
+ in the Software without restriction, including without limitation the rights
129
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
130
+ copies of the Software, and to permit persons to whom the Software is
131
+ furnished to do so, subject to the following conditions:
132
+
133
+ The above copyright notice and this permission notice shall be included in all
134
+ copies or substantial portions of the Software.
135
+
136
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
137
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
138
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
139
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
140
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
141
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
142
+ SOFTWARE.
143
+
118
144
  ==============================================================================
119
145
  @azure/core-rest-pipeline 1.24.0 -- MIT
120
146
  ==============================================================================
@@ -220,7 +246,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
220
246
  SOFTWARE.
221
247
 
222
248
  ==============================================================================
223
- @azure/identity 4.13.1 -- MIT
249
+ @azure/identity 4.14.1 -- MIT
224
250
  ==============================================================================
225
251
 
226
252
  Copyright (c) Microsoft Corporation.
@@ -298,7 +324,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
298
324
  SOFTWARE
299
325
 
300
326
  ==============================================================================
301
- @azure/msal-common 16.13.0 -- MIT
327
+ @azure/msal-common 16.14.0 -- MIT
302
328
  ==============================================================================
303
329
 
304
330
  MIT License
@@ -324,7 +350,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
324
350
  SOFTWARE
325
351
 
326
352
  ==============================================================================
327
- @azure/msal-common 16.14.0 -- MIT
353
+ @azure/msal-common 16.15.0 -- MIT
328
354
  ==============================================================================
329
355
 
330
356
  MIT License
@@ -350,7 +376,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
350
376
  SOFTWARE
351
377
 
352
378
  ==============================================================================
353
- @azure/msal-node 5.6.0 -- MIT
379
+ @azure/msal-node 7.1.2 -- MIT
354
380
  ==============================================================================
355
381
 
356
382
  MIT License
@@ -1760,7 +1786,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1760
1786
  SOFTWARE.
1761
1787
 
1762
1788
  ==============================================================================
1763
- fast-uri 3.1.8 -- BSD-3-Clause
1789
+ fast-uri 3.1.9 -- BSD-3-Clause
1764
1790
  ==============================================================================
1765
1791
 
1766
1792
  Copyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
@@ -2252,6 +2278,20 @@ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
2252
2278
  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2253
2279
  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2254
2280
 
2281
+ ==============================================================================
2282
+ is-in-ssh 1.0.0 -- MIT
2283
+ ==============================================================================
2284
+
2285
+ MIT License
2286
+
2287
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
2288
+
2289
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2290
+
2291
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
2292
+
2293
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2294
+
2255
2295
  ==============================================================================
2256
2296
  is-inside-container 1.0.0 -- MIT
2257
2297
  ==============================================================================
@@ -2848,7 +2888,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2848
2888
  SOFTWARE.
2849
2889
 
2850
2890
  ==============================================================================
2851
- open 10.2.0 -- MIT
2891
+ open 11.0.4 -- MIT
2852
2892
  ==============================================================================
2853
2893
 
2854
2894
  MIT License
@@ -2887,6 +2927,20 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2887
2927
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2888
2928
  SOFTWARE.
2889
2929
 
2930
+ ==============================================================================
2931
+ powershell-utils 0.2.1 -- MIT
2932
+ ==============================================================================
2933
+
2934
+ MIT License
2935
+
2936
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
2937
+
2938
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2939
+
2940
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
2941
+
2942
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2943
+
2890
2944
  ==============================================================================
2891
2945
  process 0.11.10 -- MIT
2892
2946
  ==============================================================================
@@ -3716,7 +3770,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3716
3770
  SOFTWARE.
3717
3771
 
3718
3772
  ==============================================================================
3719
- semver 7.8.5 -- ISC
3773
+ semver 7.8.6 -- ISC
3720
3774
  ==============================================================================
3721
3775
 
3722
3776
  The ISC License
@@ -4013,7 +4067,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4013
4067
  SOFTWARE.
4014
4068
 
4015
4069
  ==============================================================================
4016
- wsl-utils 0.1.0 -- MIT
4070
+ wsl-utils 1.0.1 -- MIT
4017
4071
  ==============================================================================
4018
4072
 
4019
4073
  MIT License
@@ -1,4 +1,4 @@
1
- // @uipath/api-workflow-runtime v14.1.3 (1cd094a7)
1
+ // @uipath/api-workflow-runtime v14.1.4 (3efcd0d0)
2
2
  var Kj=Object.create;var mv=Object.defineProperty;var zj=Object.getOwnPropertyDescriptor;var Yj=Object.getOwnPropertyNames;var Gj=Object.getPrototypeOf,Jj=Object.prototype.hasOwnProperty;import{createRequire as __deno_internal_createRequire} from "node:module";var He=__deno_internal_createRequire(import.meta.url);var Ie=(o,t)=>()=>(o&&(t=o(o=0)),t);var O=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports),vv=(o,t)=>{for(var r in t)mv(o,r,{get:t[r],enumerable:!0})},Xj=(o,t,r,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Yj(t))!Jj.call(o,n)&&n!==r&&mv(o,n,{get:()=>t[n],enumerable:!(e=zj(t,n))||e.enumerable});return o};var Ve=(o,t,r)=>(r=o!=null?Kj(Gj(o)):{},Xj(1 ?mv(r,"default",{value:o,enumerable:!0}):r,o));var P0=O(k0=>{"use strict";Object.defineProperty(k0,"__esModule",{value:!0})});var A0=O(Mc=>{"use strict";Object.defineProperty(Mc,"__esModule",{value:!0});Mc.ActivityType=void 0;var R0;(function(o){o.HttpRequest="HttpRequest",o.IntSvcApiRequest="IntSvcApiRequest",o.IntSvcEventRequest="IntSvcEventRequest",o.ScriptExecution="ScriptExecution",o.LogMessage="LogMessage"})(R0||(Mc.ActivityType=R0={}))});var yv=O(no=>{"use strict";var Qj=no&&no.__createBinding||(Object.create?function(o,t,r,e){e===void 0&&(e=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(o,e,n)}:function(o,t,r,e){e===void 0&&(e=r),o[e]=t[r]}),I0=no&&no.__exportStar||function(o,t){for(var r in o)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Qj(t,o,r)};Object.defineProperty(no,"__esModule",{value:!0});I0(P0(),no);I0(A0(),no)});var x0=O(Cc=>{"use strict";Object.defineProperty(Cc,"__esModule",{value:!0});Cc.isBlobFileReference=Zj;Cc.getAttachmentEncoding=eN;function Zj(o){if(!o||typeof o!="object")return!1;let t=o;return typeof t.ID=="string"&&t.ID.length>0&&typeof t.FullName=="string"&&t.FullName.length>0&&typeof t.MimeType=="string"&&t.MimeType.length>0}function eN(o){return o.Metadata?.Encoding==="base64"?"base64":"byte-array"}});var M0=O(gv=>{"use strict";Object.defineProperty(gv,"__esModule",{value:!0});gv.isWorkflowFile=tN;function tN(o){if(!o||typeof o!="object")return!1;let t=o;return typeof t.name=="string"&&typeof t.mimeType=="string"&&typeof t.size=="number"&&t.content instanceof Uint8Array}});var j0=O(oo=>{"use strict";var rN=oo&&oo.__createBinding||(Object.create?function(o,t,r,e){e===void 0&&(e=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(o,e,n)}:function(o,t,r,e){e===void 0&&(e=r),o[e]=t[r]}),C0=oo&&oo.__exportStar||function(o,t){for(var r in o)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&rN(t,o,r)};Object.defineProperty(oo,"__esModule",{value:!0});C0(x0(),oo);C0(M0(),oo)});var ti=O(io=>{"use strict";var nN=io&&io.__createBinding||(Object.create?function(o,t,r,e){e===void 0&&(e=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(o,e,n)}:function(o,t,r,e){e===void 0&&(e=r),o[e]=t[r]}),N0=io&&io.__exportStar||function(o,t){for(var r in o)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&nN(t,o,r)};Object.defineProperty(io,"__esModule",{value:!0});N0(yv(),io);N0(j0(),io)});var ri=O(jc=>{"use strict";Object.defineProperty(jc,"__esModule",{value:!0});jc.ActivityBase=void 0;var bv=class{constructor(t){this.logger=t}};jc.ActivityBase=bv});var Ca=O(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});Zi.getNewGuid=oN;Zi.getErrorMessage=iN;Zi.isError=D0;Zi.hasProperty=sN;function oN(){return crypto.randomUUID()}function iN(o){try{return D0(o)?o.message:o?typeof o=="object"?JSON.stringify(o):String(o):"Unknown Error"}catch{return console.error("Error getting error message - circular reference or stringify failed"),"Unknown Error"}}function D0(o){return o?typeof o=="object"&&"message"in o&&"name"in o:!1}function sN(o,t){return o!=null&&typeof o=="object"&&t in o}});var F0=O((qee,L0)=>{"use strict";L0.exports=aN;function aN(o={}){let{ERR_PATHS_MUST_BE_STRINGS:t=()=>"fast-redact - Paths must be (non-empty) strings",ERR_INVALID_PATH:r=e=>`fast-redact \u2013 Invalid path (${e})`}=o;return function({paths:n}){n.forEach(i=>{if(typeof i!="string")throw Error(t());try{if(/〇/.test(i))throw Error();let s=(i[0]==="["?"":".")+i.replace(/^\*/,"\u3007").replace(/\.\*/g,".\u3007").replace(/\[\*\]/g,"[\u3007]");if(/\n|\r|;/.test(s)||/\/\*/.test(s))throw Error();Function(`
3
3
  'use strict'
4
4
  const o = new Proxy({}, { get: () => o, set: () => { throw Error() } });
@@ -1436,7 +1436,7 @@ ${a.Data}`)}}static createRemoteError(a,l){return l.Type==="System.TimeoutExcept
1436
1436
  \r
1437
1437
  `+P)}function b(w,S,P,k,I){if(w.listenerCount("wsClientError")){let x=new Error(I);Error.captureStackTrace(x,b),w.emit("wsClientError",x,P,S)}else g(P,k,I)}r.exports=class extends i{constructor(w,S){if(super(),(w={maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:d,...w}).port==null&&!w.server&&!w.noServer||w.port!=null&&(w.server||w.noServer)||w.server&&w.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(w.port!=null?(this._server=s.createServer((P,k)=>{let I=s.STATUS_CODES[426];k.writeHead(426,{"Content-Length":I.length,"Content-Type":"text/plain"}),k.end(I)}),this._server.listen(w.port,w.host,w.backlog,S)):w.server&&(this._server=w.server),this._server){let P=this.emit.bind(this,"connection");this._removeListeners=function(k,I){for(let x of Object.keys(I))k.on(x,I[x]);return function(){for(let x of Object.keys(I))k.removeListener(x,I[x])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(k,I,x)=>{this.handleUpgrade(k,I,x,P)}})}w.perMessageDeflate===!0&&(w.perMessageDeflate={}),w.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=w,this._state=0}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(w){if(this._state===2)return w&&this.once("close",()=>{w(new Error("The server is not running"))}),void process.nextTick(m,this);if(w&&this.once("close",w),this._state!==1)if(this._state=1,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients&&this.clients.size?this._shouldEmitClose=!0:process.nextTick(m,this);else{let S=this._server;this._removeListeners(),this._removeListeners=this._server=null,S.close(()=>{m(this)})}}shouldHandle(w){if(this.options.path){let S=w.url.indexOf("?");if((S!==-1?w.url.slice(0,S):w.url)!==this.options.path)return!1}return!0}handleUpgrade(w,S,P,k){S.on("error",v);let I=w.headers["sec-websocket-key"],x=+w.headers["sec-websocket-version"];if(w.method!=="GET")return void b(this,w,S,405,"Invalid HTTP method");if(w.headers.upgrade.toLowerCase()!=="websocket")return void b(this,w,S,400,"Invalid Upgrade header");if(!I||!_.test(I))return void b(this,w,S,400,"Missing or invalid Sec-WebSocket-Key header");if(x!==8&&x!==13)return void b(this,w,S,400,"Missing or invalid Sec-WebSocket-Version header");if(!this.shouldHandle(w))return void g(S,400);let D=w.headers["sec-websocket-protocol"],j=new Set;if(D!==void 0)try{j=l.parse(D)}catch{return void b(this,w,S,400,"Invalid Sec-WebSocket-Protocol header")}let F=w.headers["sec-websocket-extensions"],C={};if(this.options.perMessageDeflate&&F!==void 0){let L=new a(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let q=c.parse(F);q[a.extensionName]&&(L.accept(q[a.extensionName]),C[a.extensionName]=L)}catch{return void b(this,w,S,400,"Invalid or unacceptable Sec-WebSocket-Extensions header")}}if(this.options.verifyClient){let L={origin:w.headers[x===8?"sec-websocket-origin":"origin"],secure:!(!w.socket.authorized&&!w.socket.encrypted),req:w};if(this.options.verifyClient.length===2)return void this.options.verifyClient(L,(q,K,G,ie)=>{if(!q)return g(S,K||401,G,ie);this.completeUpgrade(C,I,j,w,S,P,k)});if(!this.options.verifyClient(L))return g(S,401)}this.completeUpgrade(C,I,j,w,S,P,k)}completeUpgrade(w,S,P,k,I,x,D){if(!I.readable||!I.writable)return I.destroy();if(I[h])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return g(I,503);let j=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${u("sha1").update(S+f).digest("base64")}`],F=new this.options.WebSocket(null);if(P.size){let C=this.options.handleProtocols?this.options.handleProtocols(P,k):P.values().next().value;C&&(j.push(`Sec-WebSocket-Protocol: ${C}`),F._protocol=C)}if(w[a.extensionName]){let C=w[a.extensionName].params,L=c.format({[a.extensionName]:[C]});j.push(`Sec-WebSocket-Extensions: ${L}`),F._extensions=w}this.emit("headers",j,k),I.write(j.concat(`\r
1438
1438
  `).join(`\r
1439
- `)),I.removeListener("error",v),F.setSocket(I,x,{maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(F),F.on("close",()=>{this.clients.delete(F),this._shouldEmitClose&&!this.clients.size&&process.nextTick(m,this)})),D(F,k)}}},5144:(r,e,n)=>{"use strict";let i=n(467),s=n(1256),u=n(3755),c=n(5256),a=n(192),{randomBytes:l,createHash:d}=n(7968),{Readable:f}=n(8378),{URL:h}=n(8716),_=n(516),m=n(6804),v=n(957),{BINARY_TYPES:g,EMPTY_BUFFER:b,GUID:w,kForOnEventAttribute:S,kListener:P,kStatusCode:k,kWebSocket:I,NOOP:x}=n(5820),{EventTarget:{addEventListener:D,removeEventListener:j}}=n(2584),{format:F,parse:C}=n(1056),{toBuffer:L}=n(3092),q=Symbol("kAborted"),K=[8,13],G=["CONNECTING","OPEN","CLOSING","CLOSED"],ie=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class Q extends i{constructor(B,ne,ye){super(),this._binaryType=g[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=b,this._closeTimer=null,this._extensions={},this._paused=!1,this._protocol="",this._readyState=Q.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,B!==null?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,ne===void 0?ne=[]:Array.isArray(ne)||(typeof ne=="object"&&ne!==null?(ye=ne,ne=[]):ne=[ne]),ve(this,B,ne,ye)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(B){g.includes(B)&&(this._binaryType=B,this._receiver&&(this._receiver._binaryType=B))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(B,ne,ye){let ue=new m({binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:ye.maxPayload,skipUTF8Validation:ye.skipUTF8Validation});this._sender=new v(B,this._extensions,ye.generateMask),this._receiver=ue,this._socket=B,ue[I]=this,B[I]=this,ue.on("conclude",Rt),ue.on("drain",Gr),ue.on("error",Jr),ue.on("message",H),ue.on("ping",Y),ue.on("pong",se),B.setTimeout(0),B.setNoDelay(),ne.length>0&&B.unshift(ne),B.on("close",Oe),B.on("data",fe),B.on("end",J),B.on("error",le),this._readyState=Q.OPEN,this.emit("open")}emitClose(){if(!this._socket)return this._readyState=Q.CLOSED,void this.emit("close",this._closeCode,this._closeMessage);this._extensions[_.extensionName]&&this._extensions[_.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=Q.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(B,ne){if(this.readyState!==Q.CLOSED){if(this.readyState===Q.CONNECTING)return $e(this,this._req,"WebSocket was closed before the connection was established");this.readyState!==Q.CLOSING?(this._readyState=Q.CLOSING,this._sender.close(B,ne,!this._isServer,ye=>{ye||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)):this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end()}}pause(){this.readyState!==Q.CONNECTING&&this.readyState!==Q.CLOSED&&(this._paused=!0,this._socket.pause())}ping(B,ne,ye){if(this.readyState===Q.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");typeof B=="function"?(ye=B,B=ne=void 0):typeof ne=="function"&&(ye=ne,ne=void 0),typeof B=="number"&&(B=B.toString()),this.readyState===Q.OPEN?(ne===void 0&&(ne=!this._isServer),this._sender.ping(B||b,ne,ye)):st(this,B,ye)}pong(B,ne,ye){if(this.readyState===Q.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");typeof B=="function"?(ye=B,B=ne=void 0):typeof ne=="function"&&(ye=ne,ne=void 0),typeof B=="number"&&(B=B.toString()),this.readyState===Q.OPEN?(ne===void 0&&(ne=!this._isServer),this._sender.pong(B||b,ne,ye)):st(this,B,ye)}resume(){this.readyState!==Q.CONNECTING&&this.readyState!==Q.CLOSED&&(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(B,ne,ye){if(this.readyState===Q.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof ne=="function"&&(ye=ne,ne={}),typeof B=="number"&&(B=B.toString()),this.readyState!==Q.OPEN)return void st(this,B,ye);let ue={binary:typeof B!="string",mask:!this._isServer,compress:!0,fin:!0,...ne};this._extensions[_.extensionName]||(ue.compress=!1),this._sender.send(B||b,ue,ye)}terminate(){if(this.readyState!==Q.CLOSED){if(this.readyState===Q.CONNECTING)return $e(this,this._req,"WebSocket was closed before the connection was established");this._socket&&(this._readyState=Q.CLOSING,this._socket.destroy())}}}function ve(N,B,ne,ye){let ue={protocolVersion:K[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...ye,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(!K.includes(ue.protocolVersion))throw new RangeError(`Unsupported protocol version: ${ue.protocolVersion} (supported versions: ${K.join(", ")})`);let Je;if(B instanceof h)Je=B,N._url=B.href;else{try{Je=new h(B)}catch{throw new SyntaxError(`Invalid URL: ${B}`)}N._url=B}let qt=Je.protocol==="wss:",Ct=Je.protocol==="ws+unix:",Sr;if(Je.protocol==="ws:"||qt||Ct?Ct&&!Je.pathname?Sr="The URL's pathname is empty":Je.hash&&(Sr="The URL contains a fragment identifier"):Sr=`The URL's protocol must be one of "ws:", "wss:", or "ws+unix:"`,Sr){let re=new SyntaxError(Sr);if(N._redirects===0)throw re;return void ee(N,re)}let En=qt?443:80,te=l(16).toString("base64"),zi=qt?s.request:u.request,Tn=new Set,gt,Re;if(ue.createConnection=qt?Z:De,ue.defaultPort=ue.defaultPort||En,ue.port=Je.port||En,ue.host=Je.hostname.startsWith("[")?Je.hostname.slice(1,-1):Je.hostname,ue.headers={...ue.headers,"Sec-WebSocket-Version":ue.protocolVersion,"Sec-WebSocket-Key":te,Connection:"Upgrade",Upgrade:"websocket"},ue.path=Je.pathname+Je.search,ue.timeout=ue.handshakeTimeout,ue.perMessageDeflate&&(gt=new _(ue.perMessageDeflate!==!0?ue.perMessageDeflate:{},!1,ue.maxPayload),ue.headers["Sec-WebSocket-Extensions"]=F({[_.extensionName]:gt.offer()})),ne.length){for(let re of ne){if(typeof re!="string"||!ie.test(re)||Tn.has(re))throw new SyntaxError("An invalid or duplicated subprotocol was specified");Tn.add(re)}ue.headers["Sec-WebSocket-Protocol"]=ne.join(",")}if(ue.origin&&(ue.protocolVersion<13?ue.headers["Sec-WebSocket-Origin"]=ue.origin:ue.headers.Origin=ue.origin),(Je.username||Je.password)&&(ue.auth=`${Je.username}:${Je.password}`),Ct){let re=ue.path.split(":");ue.socketPath=re[0],ue.path=re[1]}if(ue.followRedirects){if(N._redirects===0){N._originalIpc=Ct,N._originalSecure=qt,N._originalHostOrSocketPath=Ct?ue.socketPath:Je.host;let re=ye&&ye.headers;if(ye={...ye,headers:{}},re)for(let[nt,Ee]of Object.entries(re))ye.headers[nt.toLowerCase()]=Ee}else if(N.listenerCount("redirect")===0){let re=Ct?!!N._originalIpc&&ue.socketPath===N._originalHostOrSocketPath:!N._originalIpc&&Je.host===N._originalHostOrSocketPath;(!re||N._originalSecure&&!qt)&&(delete ue.headers.authorization,delete ue.headers.cookie,re||delete ue.headers.host,ue.auth=void 0)}ue.auth&&!ye.headers.authorization&&(ye.headers.authorization="Basic "+Buffer.from(ue.auth).toString("base64")),Re=N._req=zi(ue),N._redirects&&N.emit("redirect",N.url,Re)}else Re=N._req=zi(ue);ue.timeout&&Re.on("timeout",()=>{$e(N,Re,"Opening handshake has timed out")}),Re.on("error",re=>{Re===null||Re[q]||(Re=N._req=null,ee(N,re))}),Re.on("response",re=>{let nt=re.headers.location,Ee=re.statusCode;if(nt&&ue.followRedirects&&Ee>=300&&Ee<400){if(++N._redirects>ue.maxRedirects)return void $e(N,Re,"Maximum redirects exceeded");let er;Re.abort();try{er=new h(nt,B)}catch{let Wt=new SyntaxError(`Invalid URL: ${nt}`);return void ee(N,Wt)}ve(N,er,ne,ye)}else N.emit("unexpected-response",Re,re)||$e(N,Re,`Unexpected server response: ${re.statusCode}`)}),Re.on("upgrade",(re,nt,Ee)=>{if(N.emit("upgrade",re),N.readyState!==Q.CONNECTING)return;if(Re=N._req=null,re.headers.upgrade.toLowerCase()!=="websocket")return void $e(N,nt,"Invalid Upgrade header");let er=d("sha1").update(te+w).digest("base64");if(re.headers["sec-websocket-accept"]!==er)return void $e(N,nt,"Invalid Sec-WebSocket-Accept header");let Sn=re.headers["sec-websocket-protocol"],Wt;if(Sn!==void 0?Tn.size?Tn.has(Sn)||(Wt="Server sent an invalid subprotocol"):Wt="Server sent a subprotocol but none was requested":Tn.size&&(Wt="Server sent no subprotocol"),Wt)return void $e(N,nt,Wt);Sn&&(N._protocol=Sn);let Be=re.headers["sec-websocket-extensions"];if(Be!==void 0){if(!gt)return void $e(N,nt,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");let at;try{at=C(Be)}catch{return void $e(N,nt,"Invalid Sec-WebSocket-Extensions header")}let ut=Object.keys(at);if(ut.length!==1||ut[0]!==_.extensionName)return void $e(N,nt,"Server indicated an extension that was not requested");try{gt.accept(at[_.extensionName])}catch{return void $e(N,nt,"Invalid Sec-WebSocket-Extensions header")}N._extensions[_.extensionName]=gt}N.setSocket(nt,Ee,{generateMask:ue.generateMask,maxPayload:ue.maxPayload,skipUTF8Validation:ue.skipUTF8Validation})}),Re.end()}function ee(N,B){N._readyState=Q.CLOSING,N.emit("error",B),N.emitClose()}function De(N){return N.path=N.socketPath,c.connect(N)}function Z(N){return N.path=void 0,N.servername||N.servername===""||(N.servername=c.isIP(N.host)?"":N.host),a.connect(N)}function $e(N,B,ne){N._readyState=Q.CLOSING;let ye=new Error(ne);Error.captureStackTrace(ye,$e),B.setHeader?(B[q]=!0,B.abort(),B.socket&&!B.socket.destroyed&&B.socket.destroy(),process.nextTick(ee,N,ye)):(B.destroy(ye),B.once("error",N.emit.bind(N,"error")),B.once("close",N.emitClose.bind(N)))}function st(N,B,ne){if(B){let ye=L(B).length;N._socket?N._sender._bufferedBytes+=ye:N._bufferedAmount+=ye}ne&&ne(new Error(`WebSocket is not open: readyState ${N.readyState} (${G[N.readyState]})`))}function Rt(N,B){let ne=this[I];ne._closeFrameReceived=!0,ne._closeMessage=B,ne._closeCode=N,ne._socket[I]!==void 0&&(ne._socket.removeListener("data",fe),process.nextTick(ae,ne._socket),N===1005?ne.close():ne.close(N,B))}function Gr(){let N=this[I];N.isPaused||N._socket.resume()}function Jr(N){let B=this[I];B._socket[I]!==void 0&&(B._socket.removeListener("data",fe),process.nextTick(ae,B._socket),B.close(N[k])),B.emit("error",N)}function W(){this[I].emitClose()}function H(N,B){this[I].emit("message",N,B)}function Y(N){let B=this[I];B.pong(N,!B._isServer,x),B.emit("ping",N)}function se(N){this[I].emit("pong",N)}function ae(N){N.resume()}function Oe(){let N=this[I],B;this.removeListener("close",Oe),this.removeListener("data",fe),this.removeListener("end",J),N._readyState=Q.CLOSING,this._readableState.endEmitted||N._closeFrameReceived||N._receiver._writableState.errorEmitted||(B=N._socket.read())===null||N._receiver.write(B),N._receiver.end(),this[I]=void 0,clearTimeout(N._closeTimer),N._receiver._writableState.finished||N._receiver._writableState.errorEmitted?N.emitClose():(N._receiver.on("error",W),N._receiver.on("finish",W))}function fe(N){this[I]._receiver.write(N)||this.pause()}function J(){let N=this[I];N._readyState=Q.CLOSING,N._receiver.end(),this.end()}function le(){let N=this[I];this.removeListener("error",le),this.on("error",x),N&&(N._readyState=Q.CLOSING,this.destroy())}Object.defineProperty(Q,"CONNECTING",{enumerable:!0,value:G.indexOf("CONNECTING")}),Object.defineProperty(Q.prototype,"CONNECTING",{enumerable:!0,value:G.indexOf("CONNECTING")}),Object.defineProperty(Q,"OPEN",{enumerable:!0,value:G.indexOf("OPEN")}),Object.defineProperty(Q.prototype,"OPEN",{enumerable:!0,value:G.indexOf("OPEN")}),Object.defineProperty(Q,"CLOSING",{enumerable:!0,value:G.indexOf("CLOSING")}),Object.defineProperty(Q.prototype,"CLOSING",{enumerable:!0,value:G.indexOf("CLOSING")}),Object.defineProperty(Q,"CLOSED",{enumerable:!0,value:G.indexOf("CLOSED")}),Object.defineProperty(Q.prototype,"CLOSED",{enumerable:!0,value:G.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach(N=>{Object.defineProperty(Q.prototype,N,{enumerable:!0})}),["open","error","close","message"].forEach(N=>{Object.defineProperty(Q.prototype,`on${N}`,{enumerable:!0,get(){for(let B of this.listeners(N))if(B[S])return B[P];return null},set(B){for(let ne of this.listeners(N))if(ne[S]){this.removeListener(N,ne);break}typeof B=="function"&&this.addEventListener(N,B,{[S]:!0})}})}),Q.prototype.addEventListener=D,Q.prototype.removeEventListener=j,r.exports=Q},7968:r=>{"use strict";r.exports=He("node:crypto")},467:r=>{"use strict";r.exports=He("node:events")},2058:r=>{"use strict";r.exports=He("node:fs")},3755:r=>{"use strict";r.exports=He("node:http")},1256:r=>{"use strict";r.exports=He("node:https")},5256:r=>{"use strict";r.exports=He("node:net")},8558:r=>{"use strict";r.exports=He("node:os")},7072:r=>{"use strict";r.exports=He("node:path")},8378:r=>{"use strict";r.exports=He("node:stream")},192:r=>{"use strict";r.exports=He("node:tls")},8716:r=>{"use strict";r.exports=He("node:url")},592:r=>{"use strict";r.exports=He("node:zlib")}},t={},function r(e){var n=t[e];if(n!==void 0)return n.exports;var i=t[e]={exports:{}};return o[e].call(i.exports,i,i.exports,r),i.exports}(4856);var o,t})});var Y_=Ve(Pe()),Yr=Ve(Qt());import{readFile as cee}from"node:fs/promises";import{basename as n1,dirname as lee,join as Qw,resolve as dee}from"node:path";var MQ="14.1.3" ,CQ="1cd094a7" ,jQ="@uipath/api-workflow-runtime",qx=(o,t)=>/^__[A-Z_]+__$/.test(o)?t:o,Wx={version:qx(MQ,"0.0.0-dev"),commit:qx(CQ,"local")};function Ux(){return`${jQ} v${Wx.version} (${Wx.commit})`}var v_=Ve(Qt());var Bx=Ve(Qt());import{Worker as NQ}from"node:worker_threads";var DQ=typeof globalThis.Deno<"u",LQ=`
1439
+ `)),I.removeListener("error",v),F.setSocket(I,x,{maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(F),F.on("close",()=>{this.clients.delete(F),this._shouldEmitClose&&!this.clients.size&&process.nextTick(m,this)})),D(F,k)}}},5144:(r,e,n)=>{"use strict";let i=n(467),s=n(1256),u=n(3755),c=n(5256),a=n(192),{randomBytes:l,createHash:d}=n(7968),{Readable:f}=n(8378),{URL:h}=n(8716),_=n(516),m=n(6804),v=n(957),{BINARY_TYPES:g,EMPTY_BUFFER:b,GUID:w,kForOnEventAttribute:S,kListener:P,kStatusCode:k,kWebSocket:I,NOOP:x}=n(5820),{EventTarget:{addEventListener:D,removeEventListener:j}}=n(2584),{format:F,parse:C}=n(1056),{toBuffer:L}=n(3092),q=Symbol("kAborted"),K=[8,13],G=["CONNECTING","OPEN","CLOSING","CLOSED"],ie=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class Q extends i{constructor(B,ne,ye){super(),this._binaryType=g[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=b,this._closeTimer=null,this._extensions={},this._paused=!1,this._protocol="",this._readyState=Q.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,B!==null?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,ne===void 0?ne=[]:Array.isArray(ne)||(typeof ne=="object"&&ne!==null?(ye=ne,ne=[]):ne=[ne]),ve(this,B,ne,ye)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(B){g.includes(B)&&(this._binaryType=B,this._receiver&&(this._receiver._binaryType=B))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(B,ne,ye){let ue=new m({binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:ye.maxPayload,skipUTF8Validation:ye.skipUTF8Validation});this._sender=new v(B,this._extensions,ye.generateMask),this._receiver=ue,this._socket=B,ue[I]=this,B[I]=this,ue.on("conclude",Rt),ue.on("drain",Gr),ue.on("error",Jr),ue.on("message",H),ue.on("ping",Y),ue.on("pong",se),B.setTimeout(0),B.setNoDelay(),ne.length>0&&B.unshift(ne),B.on("close",Oe),B.on("data",fe),B.on("end",J),B.on("error",le),this._readyState=Q.OPEN,this.emit("open")}emitClose(){if(!this._socket)return this._readyState=Q.CLOSED,void this.emit("close",this._closeCode,this._closeMessage);this._extensions[_.extensionName]&&this._extensions[_.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=Q.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(B,ne){if(this.readyState!==Q.CLOSED){if(this.readyState===Q.CONNECTING)return $e(this,this._req,"WebSocket was closed before the connection was established");this.readyState!==Q.CLOSING?(this._readyState=Q.CLOSING,this._sender.close(B,ne,!this._isServer,ye=>{ye||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)):this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end()}}pause(){this.readyState!==Q.CONNECTING&&this.readyState!==Q.CLOSED&&(this._paused=!0,this._socket.pause())}ping(B,ne,ye){if(this.readyState===Q.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");typeof B=="function"?(ye=B,B=ne=void 0):typeof ne=="function"&&(ye=ne,ne=void 0),typeof B=="number"&&(B=B.toString()),this.readyState===Q.OPEN?(ne===void 0&&(ne=!this._isServer),this._sender.ping(B||b,ne,ye)):st(this,B,ye)}pong(B,ne,ye){if(this.readyState===Q.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");typeof B=="function"?(ye=B,B=ne=void 0):typeof ne=="function"&&(ye=ne,ne=void 0),typeof B=="number"&&(B=B.toString()),this.readyState===Q.OPEN?(ne===void 0&&(ne=!this._isServer),this._sender.pong(B||b,ne,ye)):st(this,B,ye)}resume(){this.readyState!==Q.CONNECTING&&this.readyState!==Q.CLOSED&&(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(B,ne,ye){if(this.readyState===Q.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof ne=="function"&&(ye=ne,ne={}),typeof B=="number"&&(B=B.toString()),this.readyState!==Q.OPEN)return void st(this,B,ye);let ue={binary:typeof B!="string",mask:!this._isServer,compress:!0,fin:!0,...ne};this._extensions[_.extensionName]||(ue.compress=!1),this._sender.send(B||b,ue,ye)}terminate(){if(this.readyState!==Q.CLOSED){if(this.readyState===Q.CONNECTING)return $e(this,this._req,"WebSocket was closed before the connection was established");this._socket&&(this._readyState=Q.CLOSING,this._socket.destroy())}}}function ve(N,B,ne,ye){let ue={protocolVersion:K[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...ye,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(!K.includes(ue.protocolVersion))throw new RangeError(`Unsupported protocol version: ${ue.protocolVersion} (supported versions: ${K.join(", ")})`);let Je;if(B instanceof h)Je=B,N._url=B.href;else{try{Je=new h(B)}catch{throw new SyntaxError(`Invalid URL: ${B}`)}N._url=B}let qt=Je.protocol==="wss:",Ct=Je.protocol==="ws+unix:",Sr;if(Je.protocol==="ws:"||qt||Ct?Ct&&!Je.pathname?Sr="The URL's pathname is empty":Je.hash&&(Sr="The URL contains a fragment identifier"):Sr=`The URL's protocol must be one of "ws:", "wss:", or "ws+unix:"`,Sr){let re=new SyntaxError(Sr);if(N._redirects===0)throw re;return void ee(N,re)}let En=qt?443:80,te=l(16).toString("base64"),zi=qt?s.request:u.request,Tn=new Set,gt,Re;if(ue.createConnection=qt?Z:De,ue.defaultPort=ue.defaultPort||En,ue.port=Je.port||En,ue.host=Je.hostname.startsWith("[")?Je.hostname.slice(1,-1):Je.hostname,ue.headers={...ue.headers,"Sec-WebSocket-Version":ue.protocolVersion,"Sec-WebSocket-Key":te,Connection:"Upgrade",Upgrade:"websocket"},ue.path=Je.pathname+Je.search,ue.timeout=ue.handshakeTimeout,ue.perMessageDeflate&&(gt=new _(ue.perMessageDeflate!==!0?ue.perMessageDeflate:{},!1,ue.maxPayload),ue.headers["Sec-WebSocket-Extensions"]=F({[_.extensionName]:gt.offer()})),ne.length){for(let re of ne){if(typeof re!="string"||!ie.test(re)||Tn.has(re))throw new SyntaxError("An invalid or duplicated subprotocol was specified");Tn.add(re)}ue.headers["Sec-WebSocket-Protocol"]=ne.join(",")}if(ue.origin&&(ue.protocolVersion<13?ue.headers["Sec-WebSocket-Origin"]=ue.origin:ue.headers.Origin=ue.origin),(Je.username||Je.password)&&(ue.auth=`${Je.username}:${Je.password}`),Ct){let re=ue.path.split(":");ue.socketPath=re[0],ue.path=re[1]}if(ue.followRedirects){if(N._redirects===0){N._originalIpc=Ct,N._originalSecure=qt,N._originalHostOrSocketPath=Ct?ue.socketPath:Je.host;let re=ye&&ye.headers;if(ye={...ye,headers:{}},re)for(let[nt,Ee]of Object.entries(re))ye.headers[nt.toLowerCase()]=Ee}else if(N.listenerCount("redirect")===0){let re=Ct?!!N._originalIpc&&ue.socketPath===N._originalHostOrSocketPath:!N._originalIpc&&Je.host===N._originalHostOrSocketPath;(!re||N._originalSecure&&!qt)&&(delete ue.headers.authorization,delete ue.headers.cookie,re||delete ue.headers.host,ue.auth=void 0)}ue.auth&&!ye.headers.authorization&&(ye.headers.authorization="Basic "+Buffer.from(ue.auth).toString("base64")),Re=N._req=zi(ue),N._redirects&&N.emit("redirect",N.url,Re)}else Re=N._req=zi(ue);ue.timeout&&Re.on("timeout",()=>{$e(N,Re,"Opening handshake has timed out")}),Re.on("error",re=>{Re===null||Re[q]||(Re=N._req=null,ee(N,re))}),Re.on("response",re=>{let nt=re.headers.location,Ee=re.statusCode;if(nt&&ue.followRedirects&&Ee>=300&&Ee<400){if(++N._redirects>ue.maxRedirects)return void $e(N,Re,"Maximum redirects exceeded");let er;Re.abort();try{er=new h(nt,B)}catch{let Wt=new SyntaxError(`Invalid URL: ${nt}`);return void ee(N,Wt)}ve(N,er,ne,ye)}else N.emit("unexpected-response",Re,re)||$e(N,Re,`Unexpected server response: ${re.statusCode}`)}),Re.on("upgrade",(re,nt,Ee)=>{if(N.emit("upgrade",re),N.readyState!==Q.CONNECTING)return;if(Re=N._req=null,re.headers.upgrade.toLowerCase()!=="websocket")return void $e(N,nt,"Invalid Upgrade header");let er=d("sha1").update(te+w).digest("base64");if(re.headers["sec-websocket-accept"]!==er)return void $e(N,nt,"Invalid Sec-WebSocket-Accept header");let Sn=re.headers["sec-websocket-protocol"],Wt;if(Sn!==void 0?Tn.size?Tn.has(Sn)||(Wt="Server sent an invalid subprotocol"):Wt="Server sent a subprotocol but none was requested":Tn.size&&(Wt="Server sent no subprotocol"),Wt)return void $e(N,nt,Wt);Sn&&(N._protocol=Sn);let Be=re.headers["sec-websocket-extensions"];if(Be!==void 0){if(!gt)return void $e(N,nt,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");let at;try{at=C(Be)}catch{return void $e(N,nt,"Invalid Sec-WebSocket-Extensions header")}let ut=Object.keys(at);if(ut.length!==1||ut[0]!==_.extensionName)return void $e(N,nt,"Server indicated an extension that was not requested");try{gt.accept(at[_.extensionName])}catch{return void $e(N,nt,"Invalid Sec-WebSocket-Extensions header")}N._extensions[_.extensionName]=gt}N.setSocket(nt,Ee,{generateMask:ue.generateMask,maxPayload:ue.maxPayload,skipUTF8Validation:ue.skipUTF8Validation})}),Re.end()}function ee(N,B){N._readyState=Q.CLOSING,N.emit("error",B),N.emitClose()}function De(N){return N.path=N.socketPath,c.connect(N)}function Z(N){return N.path=void 0,N.servername||N.servername===""||(N.servername=c.isIP(N.host)?"":N.host),a.connect(N)}function $e(N,B,ne){N._readyState=Q.CLOSING;let ye=new Error(ne);Error.captureStackTrace(ye,$e),B.setHeader?(B[q]=!0,B.abort(),B.socket&&!B.socket.destroyed&&B.socket.destroy(),process.nextTick(ee,N,ye)):(B.destroy(ye),B.once("error",N.emit.bind(N,"error")),B.once("close",N.emitClose.bind(N)))}function st(N,B,ne){if(B){let ye=L(B).length;N._socket?N._sender._bufferedBytes+=ye:N._bufferedAmount+=ye}ne&&ne(new Error(`WebSocket is not open: readyState ${N.readyState} (${G[N.readyState]})`))}function Rt(N,B){let ne=this[I];ne._closeFrameReceived=!0,ne._closeMessage=B,ne._closeCode=N,ne._socket[I]!==void 0&&(ne._socket.removeListener("data",fe),process.nextTick(ae,ne._socket),N===1005?ne.close():ne.close(N,B))}function Gr(){let N=this[I];N.isPaused||N._socket.resume()}function Jr(N){let B=this[I];B._socket[I]!==void 0&&(B._socket.removeListener("data",fe),process.nextTick(ae,B._socket),B.close(N[k])),B.emit("error",N)}function W(){this[I].emitClose()}function H(N,B){this[I].emit("message",N,B)}function Y(N){let B=this[I];B.pong(N,!B._isServer,x),B.emit("ping",N)}function se(N){this[I].emit("pong",N)}function ae(N){N.resume()}function Oe(){let N=this[I],B;this.removeListener("close",Oe),this.removeListener("data",fe),this.removeListener("end",J),N._readyState=Q.CLOSING,this._readableState.endEmitted||N._closeFrameReceived||N._receiver._writableState.errorEmitted||(B=N._socket.read())===null||N._receiver.write(B),N._receiver.end(),this[I]=void 0,clearTimeout(N._closeTimer),N._receiver._writableState.finished||N._receiver._writableState.errorEmitted?N.emitClose():(N._receiver.on("error",W),N._receiver.on("finish",W))}function fe(N){this[I]._receiver.write(N)||this.pause()}function J(){let N=this[I];N._readyState=Q.CLOSING,N._receiver.end(),this.end()}function le(){let N=this[I];this.removeListener("error",le),this.on("error",x),N&&(N._readyState=Q.CLOSING,this.destroy())}Object.defineProperty(Q,"CONNECTING",{enumerable:!0,value:G.indexOf("CONNECTING")}),Object.defineProperty(Q.prototype,"CONNECTING",{enumerable:!0,value:G.indexOf("CONNECTING")}),Object.defineProperty(Q,"OPEN",{enumerable:!0,value:G.indexOf("OPEN")}),Object.defineProperty(Q.prototype,"OPEN",{enumerable:!0,value:G.indexOf("OPEN")}),Object.defineProperty(Q,"CLOSING",{enumerable:!0,value:G.indexOf("CLOSING")}),Object.defineProperty(Q.prototype,"CLOSING",{enumerable:!0,value:G.indexOf("CLOSING")}),Object.defineProperty(Q,"CLOSED",{enumerable:!0,value:G.indexOf("CLOSED")}),Object.defineProperty(Q.prototype,"CLOSED",{enumerable:!0,value:G.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach(N=>{Object.defineProperty(Q.prototype,N,{enumerable:!0})}),["open","error","close","message"].forEach(N=>{Object.defineProperty(Q.prototype,`on${N}`,{enumerable:!0,get(){for(let B of this.listeners(N))if(B[S])return B[P];return null},set(B){for(let ne of this.listeners(N))if(ne[S]){this.removeListener(N,ne);break}typeof B=="function"&&this.addEventListener(N,B,{[S]:!0})}})}),Q.prototype.addEventListener=D,Q.prototype.removeEventListener=j,r.exports=Q},7968:r=>{"use strict";r.exports=He("node:crypto")},467:r=>{"use strict";r.exports=He("node:events")},2058:r=>{"use strict";r.exports=He("node:fs")},3755:r=>{"use strict";r.exports=He("node:http")},1256:r=>{"use strict";r.exports=He("node:https")},5256:r=>{"use strict";r.exports=He("node:net")},8558:r=>{"use strict";r.exports=He("node:os")},7072:r=>{"use strict";r.exports=He("node:path")},8378:r=>{"use strict";r.exports=He("node:stream")},192:r=>{"use strict";r.exports=He("node:tls")},8716:r=>{"use strict";r.exports=He("node:url")},592:r=>{"use strict";r.exports=He("node:zlib")}},t={},function r(e){var n=t[e];if(n!==void 0)return n.exports;var i=t[e]={exports:{}};return o[e].call(i.exports,i,i.exports,r),i.exports}(4856);var o,t})});var Y_=Ve(Pe()),Yr=Ve(Qt());import{readFile as cee}from"node:fs/promises";import{basename as n1,dirname as lee,join as Qw,resolve as dee}from"node:path";var MQ="14.1.4" ,CQ="3efcd0d0" ,jQ="@uipath/api-workflow-runtime",qx=(o,t)=>/^__[A-Z_]+__$/.test(o)?t:o,Wx={version:qx(MQ,"0.0.0-dev"),commit:qx(CQ,"local")};function Ux(){return`${jQ} v${Wx.version} (${Wx.commit})`}var v_=Ve(Qt());var Bx=Ve(Qt());import{Worker as NQ}from"node:worker_threads";var DQ=typeof globalThis.Deno<"u",LQ=`
1440
1440
  if (typeof self === 'undefined') {
1441
1441
  const { parentPort } = require('worker_threads');
1442
1442
  globalThis.self = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/api-workflow-runtime",
3
- "version": "14.1.3",
3
+ "version": "14.1.4",
4
4
  "description": "The UiPath API Workflow runtime, bundled as one self-contained file.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "type": "module",
package/sbom.cdx.json CHANGED
@@ -7,13 +7,13 @@
7
7
  "component": {
8
8
  "type": "application",
9
9
  "name": "@uipath/api-workflow-runtime",
10
- "version": "14.1.3",
11
- "bom-ref": "@uipath/api-workflow-runtime@14.1.3#7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519",
12
- "purl": "pkg:npm/%40uipath/api-workflow-runtime@14.1.3",
10
+ "version": "14.1.4",
11
+ "bom-ref": "@uipath/api-workflow-runtime@14.1.4#7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519",
12
+ "purl": "pkg:npm/%40uipath/api-workflow-runtime@14.1.4",
13
13
  "properties": [
14
14
  {
15
15
  "name": "uipath:sbom:commit",
16
- "value": "1cd094a7bdad8f92b0844c888b0824420b86a9f6"
16
+ "value": "3efcd0d05c2eafdad61c3c6f3135256be0ab5007"
17
17
  }
18
18
  ]
19
19
  },
@@ -61,9 +61,9 @@
61
61
  {
62
62
  "type": "library",
63
63
  "name": "@uipath/api-workflow-commons",
64
- "version": "14.1.3",
65
- "bom-ref": "@uipath/api-workflow-commons@14.1.3#decfa1d6a7d8ca965346fa17ed5e62056bca946ef77f81434a35c02dc7f50175",
66
- "purl": "pkg:npm/%40uipath/api-workflow-commons@14.1.3",
64
+ "version": "14.1.4",
65
+ "bom-ref": "@uipath/api-workflow-commons@14.1.4#decfa1d6a7d8ca965346fa17ed5e62056bca946ef77f81434a35c02dc7f50175",
66
+ "purl": "pkg:npm/%40uipath/api-workflow-commons@14.1.4",
67
67
  "licenses": [
68
68
  {
69
69
  "license": {
@@ -75,9 +75,9 @@
75
75
  {
76
76
  "type": "library",
77
77
  "name": "@uipath/api-workflow-executor",
78
- "version": "14.1.3",
79
- "bom-ref": "@uipath/api-workflow-executor@14.1.3#dc0cc1d8dc5b0285d554f9bf29e955cfd9931faa4602409848827378c09d1030",
80
- "purl": "pkg:npm/%40uipath/api-workflow-executor@14.1.3",
78
+ "version": "14.1.4",
79
+ "bom-ref": "@uipath/api-workflow-executor@14.1.4#dc0cc1d8dc5b0285d554f9bf29e955cfd9931faa4602409848827378c09d1030",
80
+ "purl": "pkg:npm/%40uipath/api-workflow-executor@14.1.4",
81
81
  "licenses": [
82
82
  {
83
83
  "license": {
@@ -148,7 +148,7 @@
148
148
  "hashes": [
149
149
  {
150
150
  "alg": "SHA-256",
151
- "content": "4bfed42194b803b1ceb455d8ad84626b35ee075784d3c9daac104df76c267349"
151
+ "content": "f1fd281b2cb77ad3ba8e5ff7e0a5645d03acb25e57d61f3349b0bc1ff8611f07"
152
152
  }
153
153
  ]
154
154
  },
@@ -187,25 +187,25 @@
187
187
  "dependsOn": []
188
188
  },
189
189
  {
190
- "ref": "@uipath/api-workflow-commons@14.1.3#decfa1d6a7d8ca965346fa17ed5e62056bca946ef77f81434a35c02dc7f50175",
190
+ "ref": "@uipath/api-workflow-commons@14.1.4#decfa1d6a7d8ca965346fa17ed5e62056bca946ef77f81434a35c02dc7f50175",
191
191
  "dependsOn": [
192
192
  "fast-redact@3.5.0#10eb49a9fcccd9f7809ebc0501361297e7cb0fbe4b04ee63bb6abb4ed0a3349d"
193
193
  ]
194
194
  },
195
195
  {
196
- "ref": "@uipath/api-workflow-executor@14.1.3#dc0cc1d8dc5b0285d554f9bf29e955cfd9931faa4602409848827378c09d1030",
196
+ "ref": "@uipath/api-workflow-executor@14.1.4#dc0cc1d8dc5b0285d554f9bf29e955cfd9931faa4602409848827378c09d1030",
197
197
  "dependsOn": [
198
- "@uipath/api-workflow-commons@14.1.3#decfa1d6a7d8ca965346fa17ed5e62056bca946ef77f81434a35c02dc7f50175",
198
+ "@uipath/api-workflow-commons@14.1.4#decfa1d6a7d8ca965346fa17ed5e62056bca946ef77f81434a35c02dc7f50175",
199
199
  "moment@2.31.0#f6b083cd5b1bc69fc16047889af61a59c4ebb1248554bdc4d16fcb98539275cc",
200
200
  "rxjs@7.8.0#6a38ba27393e9c55af8215176b5cbc0f777f78285918bba0c5e82bd86c7bd631"
201
201
  ]
202
202
  },
203
203
  {
204
- "ref": "@uipath/api-workflow-runtime@14.1.3#7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519",
204
+ "ref": "@uipath/api-workflow-runtime@14.1.4#7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519",
205
205
  "dependsOn": [
206
206
  "@microsoft/signalr@8.0.7#247c5d157bca9339e19f40d77055d7e19ab4b3352359a1be03d61fee675afd5f",
207
- "@uipath/api-workflow-commons@14.1.3#decfa1d6a7d8ca965346fa17ed5e62056bca946ef77f81434a35c02dc7f50175",
208
- "@uipath/api-workflow-executor@14.1.3#dc0cc1d8dc5b0285d554f9bf29e955cfd9931faa4602409848827378c09d1030",
207
+ "@uipath/api-workflow-commons@14.1.4#decfa1d6a7d8ca965346fa17ed5e62056bca946ef77f81434a35c02dc7f50175",
208
+ "@uipath/api-workflow-executor@14.1.4#dc0cc1d8dc5b0285d554f9bf29e955cfd9931faa4602409848827378c09d1030",
209
209
  "@uipath/coreipc@2.5.1-20260324-07#731274d308d63a544d77b078cb5d0518b30b60480c43e1e96ec1d84bea26acbd",
210
210
  "@uipath/tracing@1.4.0#e0a14feae7ab181c00c2c4ab62c14b65de3e02d321d513e8f2a3f64d449678a2",
211
211
  "moment@2.31.0#f6b083cd5b1bc69fc16047889af61a59c4ebb1248554bdc4d16fcb98539275cc",
@@ -238,7 +238,7 @@
238
238
  {
239
239
  "aggregate": "incomplete",
240
240
  "assemblies": [
241
- "@uipath/api-workflow-runtime@14.1.3#7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519"
241
+ "@uipath/api-workflow-runtime@14.1.4#7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519"
242
242
  ]
243
243
  },
244
244
  {