lightrun 1.74.0 → 1.77.0

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.
Files changed (50) hide show
  1. package/build/src/agent/agent-logger.js +1 -1
  2. package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
  3. package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
  4. package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
  5. package/build/src/agent/config.js +1 -1
  6. package/build/src/agent/configuration-provider.js +1 -1
  7. package/build/src/agent/controller.js +1 -1
  8. package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
  9. package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
  10. package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
  11. package/build/src/agent/debuglet-helpers/delimit.js +1 -1
  12. package/build/src/agent/debuglet-helpers/format.js +1 -1
  13. package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
  14. package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
  15. package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
  16. package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
  17. package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
  18. package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
  19. package/build/src/agent/debuglet.js +1 -1
  20. package/build/src/agent/environment-metadata.js +1 -1
  21. package/build/src/agent/io/file-index.js +1 -1
  22. package/build/src/agent/io/scan-results.js +1 -1
  23. package/build/src/agent/io/scanner.js +1 -1
  24. package/build/src/agent/io/sourcemapper.js +1 -1
  25. package/build/src/agent/leaky-bucket.js +1 -1
  26. package/build/src/agent/log-data.js +1 -1
  27. package/build/src/agent/piping-manager.js +1 -1
  28. package/build/src/agent/quota-manager.js +1 -1
  29. package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
  30. package/build/src/agent/reduction/redaction-manager.js +1 -1
  31. package/build/src/agent/serverless.js +1 -0
  32. package/build/src/agent/state/inspector-state.js +1 -1
  33. package/build/src/agent/util/debug-assert.js +1 -1
  34. package/build/src/agent/util/utils.js +1 -1
  35. package/build/src/agent/util/validator.js +1 -1
  36. package/build/src/agent/v8/debugapi.js +1 -1
  37. package/build/src/agent/v8/inspector-debugapi.js +1 -1
  38. package/build/src/agent/v8/v8inspector.js +1 -1
  39. package/build/src/client/stackdriver/debug.js +1 -1
  40. package/build/src/client/stackdriver/status-message.js +1 -1
  41. package/build/src/debuggee.js +1 -1
  42. package/build/src/gcp.js +1 -1
  43. package/build/src/index.d.ts +91 -18
  44. package/build/src/index.js +1 -1
  45. package/build/src/lambda.js +1 -1
  46. package/build/src/resources/version.txt +1 -1
  47. package/build/src/types/lightrun.js +1 -1
  48. package/build/src/types/stackdriver.js +1 -1
  49. package/build/src/types/v8.js +1 -1
  50. package/package.json +46 -32
@@ -1 +1 @@
1
- const a42_0x574d14=a42_0xb361;(function(_0x24470d,_0x48eb7d){const _0x4842f7=a42_0xb361,_0x5823fd=_0x24470d();while(!![]){try{const _0x256e1d=-parseInt(_0x4842f7(0xea))/0x1*(parseInt(_0x4842f7(0xd1))/0x2)+-parseInt(_0x4842f7(0xcb))/0x3*(-parseInt(_0x4842f7(0xdc))/0x4)+parseInt(_0x4842f7(0xe7))/0x5*(parseInt(_0x4842f7(0xee))/0x6)+parseInt(_0x4842f7(0xcf))/0x7+parseInt(_0x4842f7(0xd0))/0x8*(-parseInt(_0x4842f7(0xc7))/0x9)+-parseInt(_0x4842f7(0x102))/0xa+-parseInt(_0x4842f7(0xe1))/0xb;if(_0x256e1d===_0x48eb7d)break;else _0x5823fd['push'](_0x5823fd['shift']());}catch(_0x43c67d){_0x5823fd['push'](_0x5823fd['shift']());}}}(a42_0x10a5,0x25c8e));const a42_0x5f5b00=(function(){let _0x46c77d=!![];return function(_0x46bf97,_0x566745){const _0x39c856=_0x46c77d?function(){const _0x4ba183=a42_0xb361;if(_0x566745){const _0x4ea087=_0x566745[_0x4ba183(0xde)](_0x46bf97,arguments);return _0x566745=null,_0x4ea087;}}:function(){};return _0x46c77d=![],_0x39c856;};}()),a42_0x26b545=a42_0x5f5b00(this,function(){const _0x52b3c4=a42_0xb361;return a42_0x26b545[_0x52b3c4(0x101)]()['search'](_0x52b3c4(0x100))['toString']()[_0x52b3c4(0xfa)](a42_0x26b545)['search'](_0x52b3c4(0x100));});a42_0x26b545();'use strict';Object['defineProperty'](exports,a42_0x574d14(0xf4),{'value':!![]}),exports['stop']=exports['wrap']=void 0x0;const lightrun=require(a42_0x574d14(0xf6)),DEFAULT_API_ENDPOINT=a42_0x574d14(0xeb),DEFAULT_WAIT_FOR_INIT_MS=0x1388;let isDebug=![];const debug=_0x4e72cd=>{const _0x1e0e55=a42_0x574d14;isDebug&&console[_0x1e0e55(0xf1)](_0x1e0e55(0xc9)+_0x4e72cd);};class LightrunLambdaWrapper{constructor(_0x349396,_0x35d945){const _0x14a9c4=a42_0x574d14;this[_0x14a9c4(0xd4)]=_0x349396,this[_0x14a9c4(0xce)]=_0x35d945,this['isStarted']=![],this['lastAttemptTimestamp']=null;}async[a42_0x574d14(0xe9)](_0x63fd81,_0x178198){const _0x167085=a42_0x574d14;await this[_0x167085(0xd7)](_0x63fd81),await this[_0x167085(0xca)](),debug(_0x167085(0xf7));const _0x24e698=await this[_0x167085(0xd4)](_0x63fd81,_0x178198);return debug(_0x167085(0xfc)),await this[_0x167085(0xdb)](),_0x24e698;}async['stop'](){const _0x1b6167=a42_0x574d14;if(!this['isStarted']){debug(_0x1b6167(0xe2));return;}debug(_0x1b6167(0xf0)),await lightrun[_0x1b6167(0xd3)](),this[_0x1b6167(0xda)]=![],this[_0x1b6167(0xe8)]=null,debug(_0x1b6167(0xfd));}async[a42_0x574d14(0xd7)](_0x378ef2){const _0x227f58=a42_0x574d14;try{if(this[_0x227f58(0xda)]){debug(_0x227f58(0xef));return;}debug('STARTING\x20THE\x20AGENT'),this[_0x227f58(0xda)]=!![];const _0x43386a=_0x378ef2[_0x227f58(0xf5)]||DEFAULT_API_ENDPOINT,_0x16bf9f=_0x378ef2[_0x227f58(0xcc)];await lightrun['asyncStart']({'apiEndpoint':_0x43386a,'lightrunSecret':_0x16bf9f,'lightrunInitWaitTimeMs':DEFAULT_WAIT_FOR_INIT_MS,...this[_0x227f58(0xce)],'internal':{...this[_0x227f58(0xce)]?.['internal']??{},'isLambda':!![]},'lightrunWaitForInit':!![],'fetchBreakpointsOnce':!![]}),debug(_0x227f58(0xf2));}catch(_0x36d74c){console['log'](_0x227f58(0xcd)),console[_0x227f58(0xf1)](_0x36d74c);}this[_0x227f58(0xe8)]=Date[_0x227f58(0xfb)]();}async[a42_0x574d14(0xca)](){const _0xf3c0fc=a42_0x574d14;try{const _0x1d6763=lightrun[_0xf3c0fc(0xdf)]();if(!_0x1d6763){console[_0xf3c0fc(0xf1)](_0xf3c0fc(0xe5));return;}const _0x19db95=_0x1d6763[_0xf3c0fc(0xd2)]()||0xa;if(!this['lastAttemptTimestamp']||Date[_0xf3c0fc(0xfb)]()-this[_0xf3c0fc(0xe8)]<_0x19db95*0x3e8){debug('SKIPPING\x20BREAKPOINTS\x20FETCH\x20BECAUSE\x20OF\x20RATE\x20LIMIT');return;}_0x1d6763[_0xf3c0fc(0xd6)]()?_0x1d6763[_0xf3c0fc(0xd8)]():(debug(_0xf3c0fc(0xe0)),_0x1d6763[_0xf3c0fc(0xdd)]());const _0x12f2f1=await lightrun[_0xf3c0fc(0xdf)]()?.[_0xf3c0fc(0xec)](this[_0xf3c0fc(0xce)]?.['lightrunInitWaitTimeMs']??DEFAULT_WAIT_FOR_INIT_MS);_0x12f2f1?debug(_0xf3c0fc(0xe4)):debug(_0xf3c0fc(0xfe));}catch(_0x2f4be2){console[_0xf3c0fc(0xf1)](_0xf3c0fc(0xd9)+_0x2f4be2?.[_0xf3c0fc(0xff)]);}this[_0xf3c0fc(0xe8)]=Date[_0xf3c0fc(0xfb)]();}async[a42_0x574d14(0xdb)](){const _0xe9a377=a42_0x574d14;try{const _0x3f77a1=0x3e8,_0x5c7ba8=this[_0xe9a377(0xce)]?.[_0xe9a377(0xf9)]??_0x3f77a1;await lightrun[_0xe9a377(0xdf)]()?.[_0xe9a377(0xdb)](_0x5c7ba8);}catch(_0x2b24fd){console[_0xe9a377(0xf1)](_0xe9a377(0xe3)+_0x2b24fd?.[_0xe9a377(0xff)]);}}}let wrapper=null;function a42_0x10a5(){const _0x589320=['COLD\x20START','[[\x20LIGHTRUN\x20LAMBDA\x20]]\x20\x20','waitForBreakpointsUpdate','488871PbFnzX','lightrunSecret','Failed\x20to\x20start\x20the\x20Lightrun\x20agent','lightrunOptions','1636768iMPUtZ','239352NvgEck','128730bCMTGZ','getClientConnectionTimeoutInSeconds','stop','handler','Lightrun\x20Lambda\x20wrapper\x20already\x20initialized','isRegistered','ensureStarted','fetchBreakpointsOnce','Failed\x20to\x20wait\x20for\x20breakpoints\x20update.\x20','isStarted','waitForTransmissionQueueDrain','4Rhautm','register','apply','get','REGISTERING\x20DEBUGGEE','984610prHDGV','NOTHING\x20TO\x20STOP,\x20AGENT\x20IS\x20NOT\x20STARTED','Failed\x20to\x20wait\x20for\x20transmission\x20queue\x20drain.\x20','BREAKPOINTS\x20FETCHED','Debuglet\x20not\x20found','wrap','4775KWesgL','lastAttemptTimestamp','run','1zIFmMX','app.lightrun.com','waitForBreakpoints','internal','1506iqZDtF','AGENT\x20ALREADY\x20STARTED','STOPPING\x20THE\x20AGENT','log','AGENT\x20STARTED','error','__esModule','apiEndpoint','./index','BEFORE\x20HANDLER','lambdaDebug','lightrunInitWaitTimeMs','constructor','now','AFTER\x20HANDLER','AGENT\x20STOPPED','BREAKPOINTS\x20NOT\x20FETCHED\x20IN\x20TIME','message','(((.+)+)+)+$','toString','2380880HRrhIX','27mpEJBZ'];a42_0x10a5=function(){return _0x589320;};return a42_0x10a5();}function wrap(_0x2aa143,_0x39d6d0){const _0x1a6a6c=a42_0x574d14;if(wrapper!==null)throw new Error(_0x1a6a6c(0xd5));isDebug=_0x39d6d0?.[_0x1a6a6c(0xed)]?.[_0x1a6a6c(0xf8)]||![],debug(_0x1a6a6c(0xc8));let _0x4151ac=!![];return wrapper=new LightrunLambdaWrapper(_0x2aa143,_0x39d6d0),async(_0x1b5fe0,_0x13f57e)=>{const _0x2be8d4=_0x1a6a6c;return!_0x4151ac&&debug('WARM\x20START'),_0x4151ac=![],wrapper?.[_0x2be8d4(0xe9)](_0x1b5fe0,_0x13f57e);};}function a42_0xb361(_0x510e3c,_0x5def58){const _0x2bbb4f=a42_0x10a5();return a42_0xb361=function(_0x26b545,_0x5f5b00){_0x26b545=_0x26b545-0xc7;let _0x10a5e=_0x2bbb4f[_0x26b545];return _0x10a5e;},a42_0xb361(_0x510e3c,_0x5def58);}exports[a42_0x574d14(0xe6)]=wrap;async function stop(){const _0x1005ce=a42_0x574d14;if(wrapper===null){console[_0x1005ce(0xf3)]('Lightrun\x20Lambda\x20wrapper\x20not\x20initialized,\x20nothing\x20to\x20stop');return;}debug('STOPPING\x20LIGHTRUN\x20LAMBDA\x20WRAPPER'),await wrapper['stop'](),wrapper=null,debug('LIGHTRUN\x20LAMBDA\x20WRAPPER\x20STOPPED');}exports[a42_0x574d14(0xd3)]=stop;
1
+ const a43_0x4b039e=a43_0x4906;function a43_0xf592(){const _0x4b8d5c=['defineProperty','apiEndpoint','waitForBreakpoints','wrap','STOPPING\x20THE\x20AGENT','STARTING\x20THE\x20AGENT','lastAttemptTimestamp','Lightrun\x20Lambda\x20wrapper\x20not\x20initialized,\x20nothing\x20to\x20stop','register','BREAKPOINTS\x20NOT\x20FETCHED\x20IN\x20TIME','__esModule','2779368WoqZkk','490956hYflhy','AFTER\x20HANDLER','4239693uIXWbF','lightrunOptions','BEFORE\x20HANDLER','toString','getClientConnectionTimeoutInSeconds','message','[[\x20LIGHTRUN\x20LAMBDA\x20]]\x20\x20','app.lightrun.com','2987866oSoQsR','(((.+)+)+)+$','log','waitForTransmissionQueueDrain','LIGHTRUN\x20LAMBDA\x20WRAPPER\x20STOPPED','1163972VbYOzz','constructor','now','AGENT\x20STOPPED','12WkNhhp','COLD\x20START','774384eoYlmn','STOPPING\x20LIGHTRUN\x20LAMBDA\x20WRAPPER','Failed\x20to\x20start\x20the\x20Lightrun\x20agent','ensureStarted','apply','search','internal','AGENT\x20ALREADY\x20STARTED','asyncStart','Debuglet\x20not\x20found','handler','SKIPPING\x20BREAKPOINTS\x20FETCH\x20BECAUSE\x20OF\x20RATE\x20LIMIT','Lightrun\x20Lambda\x20wrapper\x20already\x20initialized','get','lambdaDebug','fetchBreakpointsOnce','BREAKPOINTS\x20FETCHED','lightrunInitWaitTimeMs','6683896eEslMY','20AblDBo','stop','isRegistered','Failed\x20to\x20wait\x20for\x20breakpoints\x20update.\x20','waitForBreakpointsUpdate','run','isStarted'];a43_0xf592=function(){return _0x4b8d5c;};return a43_0xf592();}(function(_0x15ead4,_0x38ba54){const _0x1ebc78=a43_0x4906,_0x23122e=_0x15ead4();while(!![]){try{const _0x1fa830=-parseInt(_0x1ebc78(0x96))/0x1+parseInt(_0x1ebc78(0x90))/0x2+-parseInt(_0x1ebc78(0x80))/0x3+-parseInt(_0x1ebc78(0x81))/0x4*(parseInt(_0x1ebc78(0xa9))/0x5)+parseInt(_0x1ebc78(0x94))/0x6*(parseInt(_0x1ebc78(0x8b))/0x7)+parseInt(_0x1ebc78(0xa8))/0x8+parseInt(_0x1ebc78(0x83))/0x9;if(_0x1fa830===_0x38ba54)break;else _0x23122e['push'](_0x23122e['shift']());}catch(_0x3376c){_0x23122e['push'](_0x23122e['shift']());}}}(a43_0xf592,0x8661e));const a43_0x2686e3=(function(){let _0x1a00b2=!![];return function(_0x5d56f8,_0x487529){const _0xc87b24=_0x1a00b2?function(){const _0x19f978=a43_0x4906;if(_0x487529){const _0x8b335c=_0x487529[_0x19f978(0x9a)](_0x5d56f8,arguments);return _0x487529=null,_0x8b335c;}}:function(){};return _0x1a00b2=![],_0xc87b24;};}()),a43_0x3372ce=a43_0x2686e3(this,function(){const _0x4eaea1=a43_0x4906;return a43_0x3372ce[_0x4eaea1(0x86)]()[_0x4eaea1(0x9b)](_0x4eaea1(0x8c))[_0x4eaea1(0x86)]()[_0x4eaea1(0x91)](a43_0x3372ce)[_0x4eaea1(0x9b)](_0x4eaea1(0x8c));});a43_0x3372ce();'use strict';Object[a43_0x4b039e(0xb0)](exports,a43_0x4b039e(0x7f),{'value':!![]}),exports[a43_0x4b039e(0xb3)]=wrap,exports[a43_0x4b039e(0xaa)]=stop;const lightrun=require('./index'),DEFAULT_API_ENDPOINT=a43_0x4b039e(0x8a),DEFAULT_WAIT_FOR_INIT_MS=0x1388;let isDebug=![];const debug=_0x8ec8f2=>{const _0x23c2f=a43_0x4b039e;isDebug&&console[_0x23c2f(0x8d)](_0x23c2f(0x89)+_0x8ec8f2);};class LightrunLambdaWrapper{constructor(_0x106d43,_0x5b79c2){const _0x521dd3=a43_0x4b039e;this[_0x521dd3(0xa0)]=_0x106d43,this[_0x521dd3(0x84)]=_0x5b79c2,this[_0x521dd3(0xaf)]=![],this[_0x521dd3(0xb6)]=null;}async['run'](_0x45a2c4,_0x41b1cb){const _0x57c34c=a43_0x4b039e;await this[_0x57c34c(0x99)](_0x45a2c4),await this[_0x57c34c(0xad)](),debug(_0x57c34c(0x85));const _0x11d526=await this[_0x57c34c(0xa0)](_0x45a2c4,_0x41b1cb);return debug(_0x57c34c(0x82)),await this['waitForTransmissionQueueDrain'](),_0x11d526;}async[a43_0x4b039e(0xaa)](){const _0x5ccd12=a43_0x4b039e;if(!this['isStarted']){debug('NOTHING\x20TO\x20STOP,\x20AGENT\x20IS\x20NOT\x20STARTED');return;}debug(_0x5ccd12(0xb4)),lightrun[_0x5ccd12(0xaa)](),this[_0x5ccd12(0xaf)]=![],this[_0x5ccd12(0xb6)]=null,debug(_0x5ccd12(0x93));}async[a43_0x4b039e(0x99)](_0x1eea42){const _0xca7bb0=a43_0x4b039e;try{if(this[_0xca7bb0(0xaf)]){debug(_0xca7bb0(0x9d));return;}debug(_0xca7bb0(0xb5)),this[_0xca7bb0(0xaf)]=!![];const _0x32cc1d=_0x1eea42[_0xca7bb0(0xb1)]??DEFAULT_API_ENDPOINT,{lightrunSecret:_0xb788f3}=_0x1eea42;await lightrun[_0xca7bb0(0x9e)]({'apiEndpoint':_0x32cc1d,'lightrunSecret':_0xb788f3,'lightrunInitWaitTimeMs':DEFAULT_WAIT_FOR_INIT_MS,...this[_0xca7bb0(0x84)],'internal':{...this[_0xca7bb0(0x84)]?.[_0xca7bb0(0x9c)]??{},'isLambda':!![]},'lightrunWaitForInit':!![],'fetchBreakpointsOnce':!![]}),debug('AGENT\x20STARTED');}catch(_0x20b643){console[_0xca7bb0(0x8d)](_0xca7bb0(0x98)),console[_0xca7bb0(0x8d)](_0x20b643);}this[_0xca7bb0(0xb6)]=Date[_0xca7bb0(0x92)]();}async['waitForBreakpointsUpdate'](){const _0x5d7062=a43_0x4b039e;try{const _0x13bab4=lightrun[_0x5d7062(0xa3)]();if(!_0x13bab4){console[_0x5d7062(0x8d)](_0x5d7062(0x9f));return;}const _0x3510e7=_0x13bab4[_0x5d7062(0x87)]()??0xa;if(!this[_0x5d7062(0xb6)]||Date[_0x5d7062(0x92)]()-this[_0x5d7062(0xb6)]<_0x3510e7*0x3e8){debug(_0x5d7062(0xa1));return;}_0x13bab4[_0x5d7062(0xab)]()?_0x13bab4[_0x5d7062(0xa5)]():(debug('REGISTERING\x20DEBUGGEE'),_0x13bab4[_0x5d7062(0xb8)]());const _0x5613df=await lightrun[_0x5d7062(0xa3)]()?.[_0x5d7062(0xb2)](this['lightrunOptions']?.['lightrunInitWaitTimeMs']??DEFAULT_WAIT_FOR_INIT_MS);_0x5613df?debug(_0x5d7062(0xa6)):debug(_0x5d7062(0xb9));}catch(_0x349470){console[_0x5d7062(0x8d)](_0x5d7062(0xac)+_0x349470?.[_0x5d7062(0x88)]);}this[_0x5d7062(0xb6)]=Date['now']();}async[a43_0x4b039e(0x8e)](){const _0x1ebe1c=a43_0x4b039e;try{const _0x230096=0x3e8,_0x5a4202=this[_0x1ebe1c(0x84)]?.[_0x1ebe1c(0xa7)]??_0x230096;await lightrun['get']()?.[_0x1ebe1c(0x8e)](_0x5a4202);}catch(_0xea0495){console[_0x1ebe1c(0x8d)]('Failed\x20to\x20wait\x20for\x20transmission\x20queue\x20drain.\x20'+_0xea0495?.[_0x1ebe1c(0x88)]);}}}function a43_0x4906(_0x5b080e,_0x5bc182){const _0x3502e0=a43_0xf592();return a43_0x4906=function(_0x3372ce,_0x2686e3){_0x3372ce=_0x3372ce-0x7f;let _0xf592ab=_0x3502e0[_0x3372ce];return _0xf592ab;},a43_0x4906(_0x5b080e,_0x5bc182);}let wrapper=null;function wrap(_0x250732,_0x14b82d){const _0x32c0e1=a43_0x4b039e;if(wrapper!==null)throw new Error(_0x32c0e1(0xa2));isDebug=_0x14b82d?.[_0x32c0e1(0x9c)]?.[_0x32c0e1(0xa4)]||![],debug(_0x32c0e1(0x95));let _0x1832f4=!![];return wrapper=new LightrunLambdaWrapper(_0x250732,_0x14b82d),async(_0xef535c,_0xfa0a5e)=>{const _0x4f43a5=_0x32c0e1;return!_0x1832f4&&debug('WARM\x20START'),_0x1832f4=![],wrapper?.[_0x4f43a5(0xae)](_0xef535c,_0xfa0a5e);};}async function stop(){const _0x1d0b30=a43_0x4b039e;if(wrapper===null){console['error'](_0x1d0b30(0xb7));return;}debug(_0x1d0b30(0x97)),await wrapper['stop'](),wrapper=null,debug(_0x1d0b30(0x8f));}
@@ -1 +1 @@
1
- 1.74.0-release.9e9887f587
1
+ 1.77.0-release.b059f02cd1
@@ -1 +1 @@
1
- var a43_0x133807=a43_0x3582;(function(_0x20bf06,_0xc000ed){var _0x541a8c=a43_0x3582,_0x962d20=_0x20bf06();while(!![]){try{var _0x5aeacc=parseInt(_0x541a8c(0x86))/0x1*(-parseInt(_0x541a8c(0x90))/0x2)+-parseInt(_0x541a8c(0x8b))/0x3*(-parseInt(_0x541a8c(0x84))/0x4)+parseInt(_0x541a8c(0x87))/0x5+-parseInt(_0x541a8c(0x91))/0x6+parseInt(_0x541a8c(0x8c))/0x7+-parseInt(_0x541a8c(0x89))/0x8+parseInt(_0x541a8c(0x93))/0x9;if(_0x5aeacc===_0xc000ed)break;else _0x962d20['push'](_0x962d20['shift']());}catch(_0x3034d7){_0x962d20['push'](_0x962d20['shift']());}}}(a43_0xfd29,0x9cfce));var a43_0x414b5f=(function(){var _0x1d58d4=!![];return function(_0xaf9ecf,_0x980993){var _0x5f0795=_0x1d58d4?function(){var _0x48c33b=a43_0x3582;if(_0x980993){var _0x45a50f=_0x980993[_0x48c33b(0x8e)](_0xaf9ecf,arguments);return _0x980993=null,_0x45a50f;}}:function(){};return _0x1d58d4=![],_0x5f0795;};}()),a43_0x535328=a43_0x414b5f(this,function(){var _0x258551=a43_0x3582;return a43_0x535328[_0x258551(0x85)]()[_0x258551(0x88)](_0x258551(0x8d))[_0x258551(0x85)]()[_0x258551(0x92)](a43_0x535328)[_0x258551(0x88)](_0x258551(0x8d));});function a43_0x3582(_0x2e687f,_0x1b30d6){var _0x568118=a43_0xfd29();return a43_0x3582=function(_0x535328,_0x414b5f){_0x535328=_0x535328-0x82;var _0xfd290b=_0x568118[_0x535328];return _0xfd290b;},a43_0x3582(_0x2e687f,_0x1b30d6);}function a43_0xfd29(){var _0xfc4e97=['toString','1223dIPhiZ','16945JggBTW','search','5468552vpbQGk','defineProperty','63306CZaLLP','7198429GaGKVs','(((.+)+)+)+$','apply','PatternDTOTypeEnum','398pxwPbM','4589100BPKwWJ','constructor','7359624cWgSaj','BY_NAME','BY_VALUE','92AdWDjr'];a43_0xfd29=function(){return _0xfc4e97;};return a43_0xfd29();}a43_0x535328();'use strict';Object[a43_0x133807(0x8a)](exports,'__esModule',{'value':!![]}),exports[a43_0x133807(0x8f)]=void 0x0,exports['PatternDTOTypeEnum']={'Name':a43_0x133807(0x82),'Value':a43_0x133807(0x83)};
1
+ function a44_0x1ec9(){var _0x6b7994=['5000320QPbLcd','176252LoKJIB','BY_NAME','apply','search','2ofCSfA','PatternDTOTypeEnum','51PANTdO','(((.+)+)+)+$','65UxaNZQ','constructor','6660342cifhFh','66525iUKTca','189896NccZlJ','21574949ovBWhd','defineProperty','__esModule','toString','BY_VALUE','216096MoebEI','12wpOleQ','147MJiCei'];a44_0x1ec9=function(){return _0x6b7994;};return a44_0x1ec9();}var a44_0x475a9d=a44_0x5285;(function(_0x440f35,_0x43b03b){var _0x2bece2=a44_0x5285,_0x212de2=_0x440f35();while(!![]){try{var _0x4b6144=parseInt(_0x2bece2(0x16d))/0x1*(-parseInt(_0x2bece2(0x17c))/0x2)+parseInt(_0x2bece2(0x17e))/0x3*(-parseInt(_0x2bece2(0x178))/0x4)+parseInt(_0x2bece2(0x180))/0x5*(parseInt(_0x2bece2(0x174))/0x6)+parseInt(_0x2bece2(0x176))/0x7*(parseInt(_0x2bece2(0x16e))/0x8)+-parseInt(_0x2bece2(0x16c))/0x9+-parseInt(_0x2bece2(0x177))/0xa+parseInt(_0x2bece2(0x16f))/0xb*(parseInt(_0x2bece2(0x175))/0xc);if(_0x4b6144===_0x43b03b)break;else _0x212de2['push'](_0x212de2['shift']());}catch(_0xd05d24){_0x212de2['push'](_0x212de2['shift']());}}}(a44_0x1ec9,0xd4fba));var a44_0x51d8bf=(function(){var _0x3c8d6c=!![];return function(_0x206ccb,_0x16af68){var _0x121c6c=_0x3c8d6c?function(){var _0x2fc52f=a44_0x5285;if(_0x16af68){var _0x48cfbc=_0x16af68[_0x2fc52f(0x17a)](_0x206ccb,arguments);return _0x16af68=null,_0x48cfbc;}}:function(){};return _0x3c8d6c=![],_0x121c6c;};}()),a44_0x427d5e=a44_0x51d8bf(this,function(){var _0xb8d526=a44_0x5285;return a44_0x427d5e[_0xb8d526(0x172)]()[_0xb8d526(0x17b)](_0xb8d526(0x17f))['toString']()[_0xb8d526(0x16b)](a44_0x427d5e)[_0xb8d526(0x17b)](_0xb8d526(0x17f));});a44_0x427d5e();'use strict';function a44_0x5285(_0x2b65cc,_0x5e4e94){var _0x3c05b0=a44_0x1ec9();return a44_0x5285=function(_0x427d5e,_0x51d8bf){_0x427d5e=_0x427d5e-0x16b;var _0x1ec90b=_0x3c05b0[_0x427d5e];return _0x1ec90b;},a44_0x5285(_0x2b65cc,_0x5e4e94);}Object[a44_0x475a9d(0x170)](exports,a44_0x475a9d(0x171),{'value':!![]}),exports[a44_0x475a9d(0x17d)]=void 0x0,exports['PatternDTOTypeEnum']={'Name':a44_0x475a9d(0x179),'Value':a44_0x475a9d(0x173)};
@@ -1 +1 @@
1
- const a44_0x5f3c71=a44_0x4cbc;(function(_0x2bf0d4,_0x815fb2){const _0x24198b=a44_0x4cbc,_0x279b2=_0x2bf0d4();while(!![]){try{const _0x17fd8a=-parseInt(_0x24198b(0x81))/0x1+parseInt(_0x24198b(0x7a))/0x2+parseInt(_0x24198b(0x84))/0x3*(-parseInt(_0x24198b(0x7e))/0x4)+-parseInt(_0x24198b(0x82))/0x5*(-parseInt(_0x24198b(0x75))/0x6)+parseInt(_0x24198b(0x72))/0x7*(parseInt(_0x24198b(0x7f))/0x8)+parseInt(_0x24198b(0x70))/0x9+-parseInt(_0x24198b(0x77))/0xa;if(_0x17fd8a===_0x815fb2)break;else _0x279b2['push'](_0x279b2['shift']());}catch(_0x577475){_0x279b2['push'](_0x279b2['shift']());}}}(a44_0x1bd9,0x93030));const a44_0x1e5029=(function(){let _0x46abc4=!![];return function(_0x25e145,_0x218466){const _0x23ba8a=_0x46abc4?function(){const _0x461f56=a44_0x4cbc;if(_0x218466){const _0x569d74=_0x218466[_0x461f56(0x7d)](_0x25e145,arguments);return _0x218466=null,_0x569d74;}}:function(){};return _0x46abc4=![],_0x23ba8a;};}()),a44_0x3196ad=a44_0x1e5029(this,function(){const _0x3d8792=a44_0x4cbc;return a44_0x3196ad[_0x3d8792(0x71)]()[_0x3d8792(0x83)](_0x3d8792(0x78))[_0x3d8792(0x71)]()[_0x3d8792(0x80)](a44_0x3196ad)[_0x3d8792(0x83)]('(((.+)+)+)+$');});function a44_0x1bd9(){const _0x4897fd=['36SHjQHV','defineProperty','3405610DipHoT','(((.+)+)+)+$','assign','664912VObnhu','location','line','apply','2577996IeRtpI','3382312gXlHsn','constructor','92405igjJSj','383665FZtlUc','search','3DMSPeq','370737sGDoVq','toString','14sJrZIk','path','Breakpoint'];a44_0x1bd9=function(){return _0x4897fd;};return a44_0x1bd9();}a44_0x3196ad();'use strict';Object[a44_0x5f3c71(0x76)](exports,'__esModule',{'value':!![]}),exports['Breakpoint']=void 0x0;class Breakpoint{constructor(_0x587a08){const _0x61698a=a44_0x5f3c71;_0x587a08&&Object[_0x61698a(0x79)](this,_0x587a08);}[a44_0x5f3c71(0x71)](){const _0x7f6a65=a44_0x5f3c71,_0x2e5446=this[_0x7f6a65(0x7b)]?'\x20'+this[_0x7f6a65(0x7b)][_0x7f6a65(0x73)]+':'+this['location'][_0x7f6a65(0x7c)]:'';return'\x22'+this['action']+_0x2e5446+',\x20id='+this['id']+'\x22';}}function a44_0x4cbc(_0x105522,_0x527282){const _0x236023=a44_0x1bd9();return a44_0x4cbc=function(_0x3196ad,_0x1e5029){_0x3196ad=_0x3196ad-0x70;let _0x1bd990=_0x236023[_0x3196ad];return _0x1bd990;},a44_0x4cbc(_0x105522,_0x527282);}exports[a44_0x5f3c71(0x74)]=Breakpoint;
1
+ const a45_0x13021e=a45_0x1963;(function(_0x327bd3,_0x34ec3d){const _0x5484d4=a45_0x1963,_0x2f28e8=_0x327bd3();while(!![]){try{const _0x47472a=parseInt(_0x5484d4(0x1ed))/0x1*(parseInt(_0x5484d4(0x1ff))/0x2)+parseInt(_0x5484d4(0x1f2))/0x3+-parseInt(_0x5484d4(0x1f1))/0x4*(parseInt(_0x5484d4(0x1ef))/0x5)+-parseInt(_0x5484d4(0x1f0))/0x6*(parseInt(_0x5484d4(0x1ee))/0x7)+parseInt(_0x5484d4(0x1f5))/0x8+parseInt(_0x5484d4(0x1fb))/0x9+-parseInt(_0x5484d4(0x201))/0xa;if(_0x47472a===_0x34ec3d)break;else _0x2f28e8['push'](_0x2f28e8['shift']());}catch(_0x391b7e){_0x2f28e8['push'](_0x2f28e8['shift']());}}}(a45_0x11a3,0x38803));const a45_0x4cd7aa=(function(){let _0x439f85=!![];return function(_0x2ab60b,_0x319b9f){const _0x7c0b99=_0x439f85?function(){const _0x4a9e1b=a45_0x1963;if(_0x319b9f){const _0x1a9e96=_0x319b9f[_0x4a9e1b(0x1f3)](_0x2ab60b,arguments);return _0x319b9f=null,_0x1a9e96;}}:function(){};return _0x439f85=![],_0x7c0b99;};}()),a45_0x2bb409=a45_0x4cd7aa(this,function(){const _0x245c0f=a45_0x1963;return a45_0x2bb409[_0x245c0f(0x1fc)]()[_0x245c0f(0x1f7)](_0x245c0f(0x1f6))[_0x245c0f(0x1fc)]()[_0x245c0f(0x1f8)](a45_0x2bb409)[_0x245c0f(0x1f7)](_0x245c0f(0x1f6));});function a45_0x11a3(){const _0x5159ef=['assign','1006upBeIB',',\x20id=','4619590DMhvkN','location','619TmOzOs','14qpVJTp','665eGQixW','720510sDHrPb','2708LKpvio','432951iYUtZP','apply','__esModule','3180424EHEYHW','(((.+)+)+)+$','search','constructor','action','defineProperty','1533330GPehnc','toString','path'];a45_0x11a3=function(){return _0x5159ef;};return a45_0x11a3();}a45_0x2bb409();function a45_0x1963(_0x4b1ef9,_0x20d351){const _0x22ad03=a45_0x11a3();return a45_0x1963=function(_0x2bb409,_0x4cd7aa){_0x2bb409=_0x2bb409-0x1ed;let _0x11a367=_0x22ad03[_0x2bb409];return _0x11a367;},a45_0x1963(_0x4b1ef9,_0x20d351);}'use strict';Object[a45_0x13021e(0x1fa)](exports,a45_0x13021e(0x1f4),{'value':!![]}),exports['Breakpoint']=void 0x0;class Breakpoint{constructor(_0x3aa0fc){const _0x431eed=a45_0x13021e;_0x3aa0fc&&Object[_0x431eed(0x1fe)](this,_0x3aa0fc);}[a45_0x13021e(0x1fc)](){const _0x184ae7=a45_0x13021e,_0x196895=this[_0x184ae7(0x202)]?'\x20'+this['location'][_0x184ae7(0x1fd)]+':'+this[_0x184ae7(0x202)]['line']:'';return'\x22'+this[_0x184ae7(0x1f9)]+_0x196895+_0x184ae7(0x200)+this['id']+'\x22';}}exports['Breakpoint']=Breakpoint;
@@ -1 +1 @@
1
- var a45_0x531b35=a45_0x46e9;function a45_0x46e9(_0x1e79dd,_0x39fbb9){var _0x259b64=a45_0x33a7();return a45_0x46e9=function(_0x4ed96b,_0xd93e83){_0x4ed96b=_0x4ed96b-0x115;var _0x33a7f0=_0x259b64[_0x4ed96b];return _0x33a7f0;},a45_0x46e9(_0x1e79dd,_0x39fbb9);}function a45_0x33a7(){var _0x2a4098=['(((.+)+)+)+$','481944bfPNVS','toString','2906516RfheIH','6988200uGlXYH','3071285biUECt','search','1448768dEVtpF','defineProperty','__esModule','8BZufDo','constructor','413156pqEfPs','4490773qEjSAg'];a45_0x33a7=function(){return _0x2a4098;};return a45_0x33a7();}(function(_0x4e2d5a,_0x522c77){var _0x66a245=a45_0x46e9,_0x2168ab=_0x4e2d5a();while(!![]){try{var _0x523d8a=-parseInt(_0x66a245(0x11e))/0x1+parseInt(_0x66a245(0x119))/0x2+-parseInt(_0x66a245(0x121))/0x3+-parseInt(_0x66a245(0x115))/0x4+-parseInt(_0x66a245(0x117))/0x5+parseInt(_0x66a245(0x116))/0x6+-parseInt(_0x66a245(0x11f))/0x7*(-parseInt(_0x66a245(0x11c))/0x8);if(_0x523d8a===_0x522c77)break;else _0x2168ab['push'](_0x2168ab['shift']());}catch(_0x3b9eff){_0x2168ab['push'](_0x2168ab['shift']());}}}(a45_0x33a7,0x965fd));var a45_0xd93e83=(function(){var _0x4dd633=!![];return function(_0x5dcc77,_0x13bc86){var _0x555c52=_0x4dd633?function(){if(_0x13bc86){var _0x16b1d2=_0x13bc86['apply'](_0x5dcc77,arguments);return _0x13bc86=null,_0x16b1d2;}}:function(){};return _0x4dd633=![],_0x555c52;};}()),a45_0x4ed96b=a45_0xd93e83(this,function(){var _0x15140d=a45_0x46e9;return a45_0x4ed96b[_0x15140d(0x122)]()['search'](_0x15140d(0x120))[_0x15140d(0x122)]()[_0x15140d(0x11d)](a45_0x4ed96b)[_0x15140d(0x118)](_0x15140d(0x120));});a45_0x4ed96b();'use strict';Object[a45_0x531b35(0x11a)](exports,a45_0x531b35(0x11b),{'value':!![]});
1
+ var a46_0x30649f=a46_0x4d65;function a46_0x4d65(_0x33c0f5,_0xeae575){var _0x36ff0f=a46_0x2e3a();return a46_0x4d65=function(_0x56737a,_0x1774d7){_0x56737a=_0x56737a-0xee;var _0x2e3ae0=_0x36ff0f[_0x56737a];return _0x2e3ae0;},a46_0x4d65(_0x33c0f5,_0xeae575);}(function(_0x1391d0,_0x290832){var _0x13b0b2=a46_0x4d65,_0x2462df=_0x1391d0();while(!![]){try{var _0x479383=parseInt(_0x13b0b2(0xfa))/0x1*(parseInt(_0x13b0b2(0xf6))/0x2)+-parseInt(_0x13b0b2(0xf9))/0x3*(parseInt(_0x13b0b2(0xf1))/0x4)+parseInt(_0x13b0b2(0xef))/0x5+parseInt(_0x13b0b2(0xf3))/0x6+-parseInt(_0x13b0b2(0xf4))/0x7*(parseInt(_0x13b0b2(0xee))/0x8)+parseInt(_0x13b0b2(0xf8))/0x9*(parseInt(_0x13b0b2(0xf2))/0xa)+parseInt(_0x13b0b2(0xfd))/0xb;if(_0x479383===_0x290832)break;else _0x2462df['push'](_0x2462df['shift']());}catch(_0x572670){_0x2462df['push'](_0x2462df['shift']());}}}(a46_0x2e3a,0x42363));var a46_0x1774d7=(function(){var _0x3ca696=!![];return function(_0x566126,_0x2481d4){var _0x241de8=_0x3ca696?function(){if(_0x2481d4){var _0x1c69be=_0x2481d4['apply'](_0x566126,arguments);return _0x2481d4=null,_0x1c69be;}}:function(){};return _0x3ca696=![],_0x241de8;};}()),a46_0x56737a=a46_0x1774d7(this,function(){var _0x25a74f=a46_0x4d65;return a46_0x56737a[_0x25a74f(0xfb)]()[_0x25a74f(0xf5)]('(((.+)+)+)+$')[_0x25a74f(0xfb)]()[_0x25a74f(0xfc)](a46_0x56737a)[_0x25a74f(0xf5)](_0x25a74f(0xf0));});a46_0x56737a();'use strict';function a46_0x2e3a(){var _0x4812f9=['1735784WNXrIe','1692790ebfmef','1624050UdVHBw','7CKQuKz','search','20416QcGGQP','defineProperty','18yWODBV','3uklQVf','12QsaSmi','toString','constructor','934802AUZQyq','__esModule','3732040RsantX','1774715LfOJyG','(((.+)+)+)+$'];a46_0x2e3a=function(){return _0x4812f9;};return a46_0x2e3a();}Object[a46_0x30649f(0xf7)](exports,a46_0x30649f(0xfe),{'value':!![]});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lightrun",
3
- "version": "1.74.0",
3
+ "version": "1.77.0",
4
4
  "author": "Lightrun platform Inc.",
5
5
  "description": "Lightrun Debug Agent for Node.js",
6
6
  "license": "UNLICENSED",
@@ -32,17 +32,23 @@
32
32
  "./lambda": {
33
33
  "require": "./lambda.js",
34
34
  "import": "./lambda.js"
35
+ },
36
+ "./gcp": {
37
+ "require": "./gcp.js",
38
+ "import": "./gcp.js"
35
39
  }
36
40
  },
37
41
  "scripts": {
38
42
  "clean": "gts clean",
39
43
  "precompile": "gts clean",
40
44
  "compile": "tsc -p .",
41
- "postcompile": "shx cp -r src/resources build/src && shx mkdir -p build/test/misc && shx cp -r test/*.js build/test && shx cp -r test/misc/*.js build/test/misc && shx cp -r test/fixtures build/test",
45
+ "postcompile": "shx cp -r src/resources build/src && shx mkdir -p build/test/misc && shx cp -r test/misc/*.js build/test/misc && shx cp -r test/fixtures build/test",
42
46
  "build": "npm run compile",
43
47
  "presystem-test": "npm run compile-test",
44
- "system-test": "nyc mocha build/system-test --timeout 600000",
45
- "test": "npm run prettier:check && npm run lint && nyc cross-env CLOUD_DEBUG_ASSERTIONS=1 mocha --exit -p build/test --retries 2",
48
+ "system-test": "MOCHA_REPORTER_OUTPUT=test-system.xml nyc mocha build/system-test --timeout 600000",
49
+ "test": "npm run prettier:check && npm run lint && npm run test-unit",
50
+ "test-single": "npm run compile-test && mocha --exit -p build/test/test-module.js",
51
+ "test-unit": "nyc cross-env CLOUD_DEBUG_ASSERTIONS=1 mocha --exit -p build/test --retries 2",
46
52
  "test-all": "npm run build && npm run test && npm run system-test",
47
53
  "compile-test": "tsc -p tsconfig.test.json",
48
54
  "fix": "gts fix",
@@ -55,62 +61,70 @@
55
61
  "prettier:check": "prettier --list-different \"./{src,test,system-test}/**/*.ts\""
56
62
  },
57
63
  "dependencies": {
58
- "@google-cloud/common": "^3.10.0",
59
- "acorn": "^8.14.0",
60
- "axios": "^1.12.0",
64
+ "@google-cloud/common": "^6.0.0",
65
+ "acorn": "^8.15.0",
66
+ "axios": "^1.13.2",
61
67
  "extend": "^3.0.2",
62
68
  "findit2": "^2.2.3",
63
- "https-proxy-agent": "5.0.1",
69
+ "https-proxy-agent": "^7.0.6",
64
70
  "java-properties": "^1.0.2",
65
71
  "js-yaml": "^4.1.1",
66
72
  "memory-streams": "^0.1.3",
67
73
  "p-limit": "^3.1.0",
68
- "re2js": "0.4.3",
69
- "semver": "^7.6.3",
74
+ "re2js": "^1.2.0",
75
+ "semver": "^7.7.3",
70
76
  "source-map": "^0.6.1",
71
77
  "split": "^1.0.1",
72
- "triple-beam": "1.4.1",
73
- "winston": "3.5.0",
74
- "winston-daily-rotate-file": "^4.7.1",
75
- "yup": "^1.4.0"
78
+ "triple-beam": "^1.4.1",
79
+ "winston": "^3.19.0",
80
+ "winston-daily-rotate-file": "^5.0.0",
81
+ "yup": "^1.7.1"
76
82
  },
77
83
  "overrides": {
78
- "node-forge": "1.3.2"
84
+ "node-forge": "1.3.2",
85
+ "jws": "4.0.1",
86
+ "@microsoft/api-extractor": {
87
+ "minimatch": "9.0.5"
88
+ }
79
89
  },
80
90
  "devDependencies": {
81
- "@babel/preset-env": "7.16.11",
82
- "@microsoft/api-extractor": "7.38.5",
83
- "@types/acorn": "^4.0.6",
84
- "@types/estree": "^1.0.6",
91
+ "@babel/preset-env": "^7.28.5",
92
+ "@eslint/eslintrc": "^3.3.3",
93
+ "@eslint/js": "^9.39.2",
94
+ "@microsoft/api-extractor": "^7.55.2",
95
+ "@types/estree": "^1.0.8",
85
96
  "@types/events": "^3.0.3",
86
97
  "@types/extend": "^3.0.4",
87
- "@types/mocha": "^8.0.0",
98
+ "@types/js-yaml": "^4.0.9",
99
+ "@types/mocha": "^10.0.10",
88
100
  "@types/mv": "^2.1.4",
89
101
  "@types/ncp": "^2.0.8",
90
102
  "@types/node": "^16.11.7",
91
103
  "@types/proxyquire": "^1.3.31",
92
- "@types/semver": "^7.5.8",
93
- "@types/sinon": "^10.0.11",
104
+ "@types/semver": "^7.7.1",
105
+ "@types/sinon": "^21.0.0",
94
106
  "@types/tmp": "^0.2.6",
95
107
  "@types/uuid": "^10.0.0",
96
108
  "cross-env": "^7.0.3",
97
109
  "execa": "^4.0.0",
98
- "gts": "^4.0.1",
99
- "javascript-obfuscator": "4.1.1",
100
- "mocha": "9.2.2",
110
+ "gts": "^7.0.0",
111
+ "javascript-obfuscator": "^4.1.1",
112
+ "mocha": "^11.7.5",
101
113
  "mocha-sinon": "^2.1.2",
102
114
  "mv": "^2.1.1",
103
115
  "ncp": "^2.0.0",
104
- "nock": "^13.5.6",
105
- "nyc": "^15.1.0",
116
+ "nock": "^14.0.10",
117
+ "nyc": "^17.1.0",
106
118
  "proxyquire": "^2.1.3",
107
- "send": "0.19.0",
108
- "shx": "^0.3.4",
109
- "sinon": "^13.0.2",
110
- "teeny-request": "^7.0.0",
119
+ "send": "^0.19.0",
120
+ "shx": "^0.4.0",
121
+ "sinon": "^21.0.1",
122
+ "teeny-request": "^10.1.0",
111
123
  "timekeeper": "^2.3.1",
112
124
  "tmp-promise": "^3.0.3",
113
- "typescript": "5.2.2",
125
+ "ts-node": "^10.9.2",
126
+ "typescript": "^5.9.3",
127
+ "undici-types": "^6.20.0",
114
128
  "uuid": "^11.0.3"
115
129
  }
116
130
  }