lightrun 1.4.1 → 1.5.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/build/src/agent/agent-logger.d.ts +0 -1
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/agent-logger.js.map +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.d.ts +9 -0
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/config.js.map +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/debuglet.js.map +1 -1
- package/build/src/agent/io/scanner.d.ts +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/scanner.js.map +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/quota-manager.js.map +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/inspector-state.js.map +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.d.ts +0 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/utils.js.map +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.d.ts +1 -0
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js.map +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +4 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a20_0x9056=['bind','quotaRecoverySeconds','extname','14675zwlRfW','capture\x20time:\x20','variableTable','path','versions','acorn','exec','V8_BREAKPOINT_CLEAR_ERROR','../util/utils','>=4.5','ERROR_EVALUATING_CONDITION','isJavaScriptFile','length','433293iOaeHU','shouldBlock','MODULE_WRAP_PREFIX_LENGTH','keys','needsRecoveryTime','config','captureBreakpointData','quotaManager','COULD_NOT_FIND_OUTPUT_FILE','quota','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','fileStats','\x09the\x20breakpoint\x20condition\x20wasn\x27t\x20met','133882UxyRHi','undefined','wait','numBreakpoints','105980bbPazU','disable','.\x20Loaded\x20script\x20contained\x20','setByRegExp','setErrorStatusAndCallback','logger','V8_BREAKPOINT_ERROR','./debugapi','set','542569IDfEBB','messages','column','script_break_point','findBreakPoint','Unable\x20to\x20compile\x20condition\x20>>\x20','apiBreakpoint','../../client/stackdriver/status-message','\x20lines.\x20Please\x20ensure','breakpoints','V8BreakpointData','apply','hrtime','hasMappingInfo','satisfies','isValid','log','javascriptFileExtensions','v8Breakpoint','lines','ERROR_COMPILING_CONDITION','blocklistManager','setBlocklistManager','breakPointsHit','evaluate','../util/validator.js','VARIABLE_VALUE','location','LOG','BREAKPOINT_SOURCE_LOCATION','stackFrames','map','warn','enable','usePermanentListener','.\x20Potential\x20matches:\x20','DummyBlocklistManager','v8Version','push','Unable\x20to\x20unambiguously\x20find\x20','SOURCE_FILE_AMBIGUOUS','activating\x20v8\x20breakpoint\x20listener','setScriptBreakPointByRegExp','active','mappingInfo','value','__esModule','^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}','enabled','206919usaIkz','parsedCondition','expressions','recovered','Debug','forEach','handleDebugEvents','INVALID_LINE_NUMBER','52785GwRTXM','onBreakpointHit','line','clear','\x20<<','setListener','CAPTURE_BREAKPOINT_DATA','4EyORLj','action','frame','formatInterval','concat','BREAKPOINT_PATH_BLOCKED','number','error','sourcemapper','includes','StatusMessage','return\x20/\x22\x20+\x20this\x20+\x20\x22/','pathToRegExp','runInDebugContext','condition','activating\x20v8\x20breakpoint\x20listener\x20(permanent)','info','checkCondition','BREAKPOINT_CONDITION','evaluatedExpressions','SYNTAX_ERROR_IN_CONDITION','../state/legacy-state','capture','compile','DISALLOWED_EXPRESSION','mirror','constructor','logMessageFormat','numListeners_','V8_BREAKPOINT_DISABLED','17POKWui','listeners','\x20deployed\x20source.','clearBreakPoint','setInternal'];const a20_0xd9c650=a20_0x4ccb;(function(_0x30f85b,_0x358807){const _0xd39f26=a20_0x4ccb;while(!![]){try{const _0x5aeb2a=parseInt(_0xd39f26(0x124))+-parseInt(_0xd39f26(0x155))+parseInt(_0xd39f26(0x11b))+-parseInt(_0xd39f26(0x10a))+-parseInt(_0xd39f26(0xfd))*-parseInt(_0xd39f26(0xf5))+parseInt(_0xd39f26(0x15d))*parseInt(_0xd39f26(0x164))+-parseInt(_0xd39f26(0x117));if(_0x5aeb2a===_0x358807)break;else _0x30f85b['push'](_0x30f85b['shift']());}catch(_0x12d3c5){_0x30f85b['push'](_0x30f85b['shift']());}}}(a20_0x9056,0x51cde));function a20_0x4ccb(_0x198ec7,_0x3446e2){_0x198ec7=_0x198ec7-0xd9;let _0x57fae7=a20_0x9056[_0x198ec7];return _0x57fae7;}const a20_0x3bb43a=function(){let _0x1a1ff3=!![];return function(_0xe93989,_0x1b3b09){const _0x181a06=_0x1a1ff3?function(){const _0x18abe5=a20_0x4ccb;if(_0x1b3b09){const _0x132369=_0x1b3b09[_0x18abe5(0x12f)](_0xe93989,arguments);return _0x1b3b09=null,_0x132369;}}:function(){};return _0x1a1ff3=![],_0x181a06;};}(),a20_0x1f809d=a20_0x3bb43a(this,function(){const _0x146488=function(){const _0x541664=a20_0x4ccb,_0x2c2de6=_0x146488[_0x541664(0xf1)](_0x541664(0xe2))()[_0x541664(0xf1)](_0x541664(0x153));return!_0x2c2de6['test'](a20_0x1f809d);};return _0x146488();});a20_0x1f809d();'use strict';Object['defineProperty'](exports,a20_0xd9c650(0x152),{'value':!![]}),exports['V8DebugApi']=exports[a20_0xd9c650(0x12e)]=void 0x0;const acorn=require(a20_0xd9c650(0x102)),path=require(a20_0xd9c650(0x100)),semver=require('semver'),vm=require('vm'),status_message_1=require(a20_0xd9c650(0x12b)),state=require(a20_0xd9c650(0xec)),utils=require(a20_0xd9c650(0x105)),debugapi=require(a20_0xd9c650(0x122)),dummy_blocklist_manager_1=require('../blocklisting/dummy-blocklist-manager');class V8BreakpointData{constructor(_0x369430,_0x47ccd5,_0x5e9add,_0x3e6633){const _0x259524=a20_0xd9c650;this[_0x259524(0x12a)]=_0x369430,this['v8Breakpoint']=_0x47ccd5,this[_0x259524(0x156)]=_0x5e9add,this['compile']=_0x3e6633;}}exports[a20_0xd9c650(0x12e)]=V8BreakpointData;class V8DebugApi{constructor(_0x7bea1f,_0xbc42e8,_0x2138eb,_0x46fc75,_0x25b13f){const _0x6732e2=a20_0xd9c650;this['breakpoints']={},this['listeners']={},this[_0x6732e2(0x11a)]=0x0,this['sourcemapper']=_0x46fc75,this['v8']=vm[_0x6732e2(0xe4)](_0x6732e2(0x159)),this[_0x6732e2(0x10f)]=_0xbc42e8,this['fileStats']=_0x2138eb,this[_0x6732e2(0x149)]=/(\d+\.\d+\.\d+)\.\d+/[_0x6732e2(0x103)](process[_0x6732e2(0x101)]['v8']),this[_0x6732e2(0x120)]=_0x7bea1f,this[_0x6732e2(0x146)]=semver[_0x6732e2(0x132)](this[_0x6732e2(0x149)][0x1],_0x6732e2(0x106)),this['quotaManager']=_0x25b13f,this[_0x6732e2(0x139)]=new dummy_blocklist_manager_1[(_0x6732e2(0x148))](!![]),this[_0x6732e2(0x15b)]=(_0x5dbfb4,_0x494f81,_0x41f519)=>{const _0x54517d=_0x6732e2;try{switch(_0x5dbfb4){case this['v8']['DebugEvent']['Break']:_0x41f519[_0x54517d(0x13b)]()[_0x54517d(0x15a)](_0x5eb690=>{const _0x2cfa1b=_0x54517d,_0x1a33e0=_0x5eb690[_0x2cfa1b(0x127)]()['number']();this[_0x2cfa1b(0xf6)][_0x1a33e0][_0x2cfa1b(0x154)]&&(this[_0x2cfa1b(0x120)][_0x2cfa1b(0xe7)]('>>>V8\x20breakpoint\x20hit<<<\x20number:\x20'+_0x1a33e0),this[_0x2cfa1b(0xf6)][_0x1a33e0]['listener'](_0x494f81,_0x41f519));});break;default:}}catch(_0x201dd9){this['logger']['warn'](_0x54517d(0x114)+_0x201dd9);}},this[_0x6732e2(0x146)]&&(this[_0x6732e2(0x120)][_0x6732e2(0xe7)](_0x6732e2(0xe6)),this['v8']['setListener'](this['handleDebugEvents']));}[a20_0xd9c650(0x123)](_0x2368af,_0x4d33dd){const _0x31129d=a20_0xd9c650;if(!this['v8']||!_0x2368af||typeof _0x2368af['id']===_0x31129d(0x118)||!_0x2368af['location']||!_0x2368af['location'][_0x31129d(0x100)]||!_0x2368af[_0x31129d(0x13f)][_0x31129d(0x15f)])return utils[_0x31129d(0x11f)](_0x4d33dd,_0x2368af,status_message_1['StatusMessage']['UNSPECIFIED'],utils[_0x31129d(0x125)]['INVALID_BREAKPOINT']);const _0x228861=path['normalize'](_0x2368af[_0x31129d(0x13f)][_0x31129d(0x100)]);if(this[_0x31129d(0x139)][_0x31129d(0x10b)](_0x228861))return utils['setErrorStatusAndCallback'](_0x4d33dd,_0x2368af,status_message_1[_0x31129d(0xe1)][_0x31129d(0x141)],utils[_0x31129d(0x125)][_0x31129d(0xdc)]);if(!this['sourcemapper'][_0x31129d(0x131)](_0x228861)){const _0x38739f=path[_0x31129d(0xfc)](_0x228861);if(!this['config'][_0x31129d(0x135)][_0x31129d(0xe0)](_0x38739f))return utils['setErrorStatusAndCallback'](_0x4d33dd,_0x2368af,status_message_1[_0x31129d(0xe1)][_0x31129d(0x141)],utils['messages'][_0x31129d(0x112)]);this[_0x31129d(0xf9)](_0x2368af,null,null,_0x4d33dd);}else{const _0x3e776a=_0x2368af[_0x31129d(0x13f)][_0x31129d(0x15f)],_0x280d56=0x0,_0x3f12cd=this[_0x31129d(0xdf)][_0x31129d(0x150)](_0x228861,_0x3e776a,_0x280d56),_0x39ff0e=utils['getBreakpointCompiler'](_0x2368af);if(_0x2368af[_0x31129d(0xe5)]&&_0x39ff0e)try{_0x2368af[_0x31129d(0xe5)]=_0x39ff0e(_0x2368af[_0x31129d(0xe5)]);}catch(_0x89c458){return this['logger'][_0x31129d(0xe7)](_0x31129d(0x129)+_0x2368af['condition']+_0x31129d(0x161)),utils[_0x31129d(0x11f)](_0x4d33dd,_0x2368af,status_message_1[_0x31129d(0xe1)][_0x31129d(0xe9)],utils[_0x31129d(0x125)][_0x31129d(0x138)]);}this['setInternal'](_0x2368af,_0x3f12cd,_0x39ff0e,_0x4d33dd);}}[a20_0xd9c650(0x160)](_0x27dd22,_0x37de43){const _0x136419=a20_0xd9c650;if(typeof _0x27dd22['id']===_0x136419(0x118))return utils[_0x136419(0x11f)](_0x37de43,_0x27dd22,status_message_1[_0x136419(0xe1)]['BREAKPOINT_CONDITION'],utils[_0x136419(0x125)]['V8_BREAKPOINT_CLEAR_ERROR']);const _0x2b9799=this[_0x136419(0x12d)][_0x27dd22['id']];if(!_0x2b9799)return utils[_0x136419(0x11f)](_0x37de43,_0x27dd22,status_message_1['StatusMessage'][_0x136419(0xe9)],utils[_0x136419(0x125)][_0x136419(0x104)]);const _0x350d8b=_0x2b9799[_0x136419(0x136)];this['v8'][_0x136419(0xf8)](_0x350d8b[_0x136419(0xdd)]()),delete this[_0x136419(0x12d)][_0x27dd22['id']],delete this['listeners'][_0x350d8b['number']()],this['numBreakpoints']--,this['numBreakpoints']===0x0&&!this[_0x136419(0x146)]&&(this[_0x136419(0x120)][_0x136419(0xe7)]('deactivating\x20v8\x20breakpoint\x20listener'),this['v8'][_0x136419(0x162)](null)),setImmediate(()=>{_0x37de43(null);});}[a20_0xd9c650(0x119)](_0x505676,_0x2ff3df){const _0x28c52f=a20_0xd9c650,_0x2220f0=this,_0xc3565f=_0x2220f0[_0x28c52f(0x12d)][_0x505676['id']][_0x28c52f(0x136)][_0x28c52f(0xdd)](),_0x2d7bb6=this['onBreakpointHit'][_0x28c52f(0xfa)](this,_0x505676,_0x471e72=>{const _0x2c687a=_0x28c52f;_0x2220f0[_0x2c687a(0xf6)][_0xc3565f]['enabled']=![],setImmediate(()=>{_0x2ff3df(_0x471e72||undefined);});});_0x2220f0[_0x28c52f(0xf6)][_0xc3565f]={'enabled':!![],'listener':_0x2d7bb6};}[a20_0xd9c650(0x134)](_0x12edce,_0x35e90f,_0x17083a,_0x46bb10){const _0x339606=a20_0xd9c650,_0x224218=this,_0xb85a9f=_0x224218[_0x339606(0x12d)][_0x12edce['id']][_0x339606(0x136)][_0x339606(0xdd)](),_0x234c7d=this['onBreakpointHit'][_0x339606(0xfa)](this,_0x12edce,_0x594d1b=>{const _0x4020a5=_0x339606;_0x594d1b&&(this['listeners'][_0x12edce['id']][_0x4020a5(0x154)]=![],setImmediate(()=>{_0x46bb10(_0x594d1b||undefined);})),_0x35e90f(_0x12edce[_0x4020a5(0xf2)],_0x12edce['evaluatedExpressions'][_0x4020a5(0x143)](_0x54dbf3=>JSON['stringify'](_0x54dbf3))),_0x17083a()?_0x224218[_0x4020a5(0xf6)][_0xb85a9f][_0x4020a5(0x154)]=![]:this[_0x4020a5(0x111)][_0x4020a5(0x10e)](_0x12edce['id'])&&(_0x224218[_0x4020a5(0xf6)][_0xb85a9f]['enabled']=![],setTimeout(()=>{const _0x3d6e31=_0x4020a5;!_0x17083a()&&_0x224218[_0x3d6e31(0xf6)][_0xb85a9f]&&(_0x224218['listeners'][_0xb85a9f][_0x3d6e31(0x154)]=!![]),this['quotaManager'][_0x3d6e31(0x158)](_0x12edce['id']);},_0x224218['config'][_0x4020a5(0x113)][_0x4020a5(0xfb)]*0x3e8));});_0x224218[_0x339606(0xf6)][_0xb85a9f]={'enabled':!![],'listener':_0x234c7d};}['disconnect'](){return;}[a20_0xd9c650(0x145)](){}[a20_0xd9c650(0x11c)](){}['numBreakpoints_'](){const _0x29c418=a20_0xd9c650;return Object[_0x29c418(0x10d)](this[_0x29c418(0x12d)])['length'];}[a20_0xd9c650(0xf3)](){const _0x950b33=a20_0xd9c650;return Object['keys'](this[_0x950b33(0xf6)])[_0x950b33(0x109)];}['remainingHits'](){return 0x0;}[a20_0xd9c650(0x13a)](_0x3d75c7){const _0x3988d9=a20_0xd9c650;this[_0x3988d9(0x139)]=_0x3d75c7;}[a20_0xd9c650(0xf9)](_0x5aaa26,_0x14da56,_0x4523ae,_0x505c70){const _0x524078=a20_0xd9c650;let _0x4c05e8=null;if(_0x5aaa26[_0x524078(0xe5)])try{_0x4c05e8=acorn['parse'](_0x5aaa26[_0x524078(0xe5)],{'sourceType':'script','ecmaVersion':0x6});const _0x24d89f=require(_0x524078(0x13d));if(!_0x24d89f[_0x524078(0x133)](_0x4c05e8,!![]))return utils[_0x524078(0x11f)](_0x505c70,_0x5aaa26,status_message_1[_0x524078(0xe1)][_0x524078(0xe9)],utils[_0x524078(0x125)][_0x524078(0xef)]);}catch(_0x22ce91){return utils['setErrorStatusAndCallback'](_0x505c70,_0x5aaa26,status_message_1[_0x524078(0xe1)][_0x524078(0xe9)],utils[_0x524078(0x125)][_0x524078(0xeb)]+_0x22ce91['message']);}let _0x5c2c0f;const _0x29939d=_0x14da56?_0x14da56['file']:path['normalize'](_0x5aaa26['location'][_0x524078(0x100)]),_0x27129f=utils['findScripts'](_0x29939d,this['config'],this['fileStats'],this[_0x524078(0x120)]);if(_0x27129f[_0x524078(0x109)]===0x0)return utils[_0x524078(0x11f)](_0x505c70,_0x5aaa26,status_message_1[_0x524078(0xe1)]['BREAKPOINT_SOURCE_LOCATION'],utils[_0x524078(0x125)]['SOURCE_FILE_NOT_FOUND']);else{if(_0x27129f[_0x524078(0x109)]===0x1)_0x5c2c0f=_0x27129f[0x0];else return this[_0x524078(0x120)][_0x524078(0x144)](_0x524078(0x14b)+_0x29939d+_0x524078(0x147)+_0x27129f),utils[_0x524078(0x11f)](_0x505c70,_0x5aaa26,status_message_1[_0x524078(0xe1)][_0x524078(0x141)],utils[_0x524078(0x125)][_0x524078(0x14c)]);}let _0x35fb69=_0x14da56&&_0x14da56[_0x524078(0x126)]?_0x14da56[_0x524078(0x126)]:_0x5aaa26[_0x524078(0x13f)][_0x524078(0x126)]||0x1;const _0x266856=_0x14da56?_0x14da56[_0x524078(0x15f)]:_0x5aaa26[_0x524078(0x13f)][_0x524078(0x15f)];_0x266856===0x1&&(_0x35fb69+=debugapi[_0x524078(0x10c)]-0x1);if(_0x266856>=this[_0x524078(0x115)][_0x5c2c0f][_0x524078(0x137)])return utils[_0x524078(0x11f)](_0x505c70,_0x5aaa26,status_message_1[_0x524078(0xe1)]['BREAKPOINT_SOURCE_LOCATION'],utils[_0x524078(0x125)][_0x524078(0x15c)]+_0x5c2c0f+':'+_0x266856+_0x524078(0x11d)+this['fileStats'][_0x5c2c0f][_0x524078(0x137)]+_0x524078(0x12c)+'\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the'+_0x524078(0xf7));const _0x398df5=this[_0x524078(0x11e)](_0x5c2c0f,_0x266856,_0x35fb69);if(!_0x398df5)return utils['setErrorStatusAndCallback'](_0x505c70,_0x5aaa26,status_message_1['StatusMessage'][_0x524078(0x141)],utils['messages'][_0x524078(0x121)]);this[_0x524078(0x11a)]===0x0&&!this[_0x524078(0x146)]&&(this[_0x524078(0x120)][_0x524078(0xe7)](_0x524078(0x14d)),this['v8'][_0x524078(0x162)](this[_0x524078(0x15b)])),this[_0x524078(0x12d)][_0x5aaa26['id']]=new V8BreakpointData(_0x5aaa26,_0x398df5,_0x4c05e8,_0x4523ae),this[_0x524078(0x11a)]++,setImmediate(()=>{_0x505c70(null);});}[a20_0xd9c650(0x11e)](_0x3b8478,_0x3a90f2,_0x44130f){const _0x351d4c=a20_0xd9c650,_0x32044c=utils[_0x351d4c(0xe3)](_0x3b8478),_0x4dec81=this['v8'][_0x351d4c(0x14e)](_0x32044c,_0x3a90f2-0x1,_0x44130f-0x1),_0x40b0e1=this['v8'][_0x351d4c(0x128)](_0x4dec81);return _0x40b0e1;}[a20_0xd9c650(0x15e)](_0x57c6da,_0x3ce59a,_0x4113da){const _0x4605bb=a20_0xd9c650,_0x497323=this[_0x4605bb(0x12d)][_0x57c6da['id']][_0x4605bb(0x136)];if(!_0x497323[_0x4605bb(0x14f)]())return utils['setErrorStatusAndCallback'](_0x3ce59a,_0x57c6da,status_message_1[_0x4605bb(0xe1)][_0x4605bb(0x141)],utils[_0x4605bb(0x125)][_0x4605bb(0xf4)]);const _0x57791c=this[_0x4605bb(0xe8)](_0x57c6da,_0x4113da);if(_0x57791c[_0x4605bb(0xde)])return utils['setErrorStatusAndCallback'](_0x3ce59a,_0x57c6da,status_message_1['StatusMessage'][_0x4605bb(0xe9)],utils[_0x4605bb(0x125)][_0x4605bb(0x107)]+_0x57791c['error']);else{if(!_0x57791c[_0x4605bb(0x151)]){this['logger'][_0x4605bb(0xe7)](_0x4605bb(0x116));return;}}const _0x6a8025=process[_0x4605bb(0x130)]();try{this[_0x4605bb(0x110)](_0x57c6da,_0x4113da);}catch(_0x29dea5){return utils[_0x4605bb(0x11f)](_0x3ce59a,_0x57c6da,status_message_1['StatusMessage'][_0x4605bb(0x141)],utils[_0x4605bb(0x125)][_0x4605bb(0x163)]+_0x29dea5);}const _0x17b944=process['hrtime'](_0x6a8025);this[_0x4605bb(0x120)]['info'](utils[_0x4605bb(0xda)](_0x4605bb(0xfe),_0x17b944)),_0x3ce59a(null);}[a20_0xd9c650(0xe8)](_0x59f666,_0x4d2efd){const _0x4fb6bc=a20_0xd9c650;if(!_0x59f666[_0x4fb6bc(0xe5)])return{'value':!![]};const _0x48681=state[_0x4fb6bc(0x13c)](_0x59f666[_0x4fb6bc(0xe5)],_0x4d2efd[_0x4fb6bc(0xd9)](0x0));if(_0x48681[_0x4fb6bc(0xde)])return{'error':_0x48681[_0x4fb6bc(0xde)]};return{'value':!!_0x48681[_0x4fb6bc(0xf0)][_0x4fb6bc(0x151)]()};}[a20_0xd9c650(0x110)](_0x56b44a,_0x3a19a2){const _0x36202f=a20_0xd9c650,_0x188f6d=[];if(_0x56b44a['expressions']&&this[_0x36202f(0x12d)][_0x56b44a['id']][_0x36202f(0xee)])for(let _0x4d3c2f=0x0;_0x4d3c2f<_0x56b44a[_0x36202f(0x157)][_0x36202f(0x109)];_0x4d3c2f++){try{_0x56b44a[_0x36202f(0x157)][_0x4d3c2f]=this['breakpoints'][_0x56b44a['id']][_0x36202f(0xee)](_0x56b44a['expressions'][_0x4d3c2f]);}catch(_0x2e6d77){this[_0x36202f(0x120)][_0x36202f(0xe7)]('Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20'+_0x56b44a['expressions'][_0x4d3c2f]+_0x36202f(0x161)),_0x188f6d[_0x36202f(0x14a)]({'name':_0x56b44a[_0x36202f(0x157)][_0x4d3c2f],'status':new status_message_1[(_0x36202f(0xe1))](status_message_1[_0x36202f(0xe1)][_0x36202f(0x13e)],'Error\x20Compiling\x20Expression',!![])}),_0x56b44a[_0x36202f(0x157)]['splice'](_0x4d3c2f,0x1),_0x4d3c2f--;}}if(_0x56b44a[_0x36202f(0x165)]===_0x36202f(0x140)){if(!_0x56b44a['expressions'])_0x56b44a['evaluatedExpressions']=[];else{const _0x2c567f=_0x3a19a2[_0x36202f(0xd9)](0x0),_0x3d923f=_0x56b44a[_0x36202f(0x157)]['map'](_0x5c94f9=>{const _0x4bfe5e=_0x36202f,_0xec7832=state[_0x4bfe5e(0x13c)](_0x5c94f9,_0x2c567f);return _0xec7832[_0x4bfe5e(0xde)]?_0xec7832[_0x4bfe5e(0xde)]:_0xec7832['mirror'][_0x4bfe5e(0x151)]();});_0x56b44a[_0x36202f(0xea)]=_0x3d923f;}}else{const _0x4c16aa=state[_0x36202f(0xed)](_0x3a19a2,_0x56b44a[_0x36202f(0x157)],this['config'],this['v8'],this['blocklistManager']);_0x56b44a[_0x36202f(0x13f)]&&utils[_0x36202f(0x108)](_0x56b44a[_0x36202f(0x13f)][_0x36202f(0x100)])&&_0x4c16aa[_0x36202f(0x13f)]&&_0x4c16aa[_0x36202f(0x13f)][_0x36202f(0x15f)]&&(_0x56b44a[_0x36202f(0x13f)][_0x36202f(0x15f)]=_0x4c16aa[_0x36202f(0x13f)][_0x36202f(0x15f)]),_0x56b44a[_0x36202f(0x142)]=_0x4c16aa[_0x36202f(0x142)],_0x56b44a[_0x36202f(0xff)]=_0x4c16aa[_0x36202f(0xff)],_0x56b44a['evaluatedExpressions']=_0x188f6d[_0x36202f(0xdb)](_0x4c16aa[_0x36202f(0xea)]);}}}exports['V8DebugApi']=V8DebugApi;
|
|
1
|
+
const a20_0x4393=['frame','parse','\x20deployed\x20source.','script','line','3xFBKue','COULD_NOT_FIND_OUTPUT_FILE','19rnfZZz','103591psacHF','Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20','setInternal','DummyBlocklistManager','logMessageFormat','sourcemapper','14FmKzfW','v8Breakpoint','satisfies','bind','concat','path','358683ARpYuh','stackFrames','numBreakpoints','ERROR_EVALUATING_CONDITION','splice','V8DebugApi','UNSPECIFIED','usePermanentListener','mirror','v8Version','DebugEvent','versions','Debug','setListener','evaluate','202754ZWJVTe','remainingHits','StatusMessage','V8BreakpointData','map','evaluatedExpressions','undefined','expressions','value','findScripts','43033SDUVPn','pathToRegExp','>>>V8\x20breakpoint\x20hit<<<\x20number:\x20','info','test','__esModule','needsRecoveryTime','location','formatInterval','active','breakpoints','handleDebugEvents','hasMappingInfo','../state/legacy-state','apply','SYNTAX_ERROR_IN_CONDITION','.\x20Loaded\x20script\x20contained\x20','activating\x20v8\x20breakpoint\x20listener','condition','Unable\x20to\x20compile\x20condition\x20>>\x20','../util/utils','.\x20Potential\x20matches:\x20','shouldBlock','breakPointsHit','Unable\x20to\x20unambiguously\x20find\x20','BREAKPOINT_SOURCE_LOCATION','logger','5690JqzrGi','checkCondition','action','./debugapi','isValid','error','enabled','326444zcoGgi','isJavaScriptFile','setByRegExp','variableTable','semver','return\x20/\x22\x20+\x20this\x20+\x20\x22/','disconnect','Break','normalize','SOURCE_FILE_AMBIGUOUS','INVALID_BREAKPOINT','../../client/stackdriver/status-message','BREAKPOINT_CONDITION','MODULE_WRAP_PREFIX_LENGTH','messages','numListeners_','disable','quotaManager','55695PMlaHJ','>=4.5','blocklistManager','getBreakpointCompiler','DISALLOWED_EXPRESSION','javascriptFileExtensions','fileStats','push','numBreakpoints_','extname','constructor','config','number','deactivating\x20v8\x20breakpoint\x20listener','mappingInfo','listeners','capture','column','../util/validator.js','clear','wait','ERROR_COMPILING_CONDITION','enable','hrtime','onBreakpointHit','\x09the\x20breakpoint\x20condition\x20wasn\x27t\x20met','stringify','message','apiBreakpoint','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','LOG','25gyDucT','set','keys','setErrorStatusAndCallback','length','\x20<<','compile','captureBreakpointData','V8_BREAKPOINT_CLEAR_ERROR','warn','setBlocklistManager','listener','quotaRecoverySeconds'];function a20_0x7492(_0x361f48,_0x2b0f29){_0x361f48=_0x361f48-0xd1;let _0x5f42b8=a20_0x4393[_0x361f48];return _0x5f42b8;}const a20_0x186b30=a20_0x7492;(function(_0x5a44c9,_0x2447ee){const _0x19731e=a20_0x7492;while(!![]){try{const _0x593cfa=-parseInt(_0x19731e(0xe6))*parseInt(_0x19731e(0xd7))+parseInt(_0x19731e(0xff))*parseInt(_0x19731e(0xd9))+parseInt(_0x19731e(0x11a))*-parseInt(_0x19731e(0x152))+parseInt(_0x19731e(0x121))+-parseInt(_0x19731e(0xf5))+parseInt(_0x19731e(0x133))*parseInt(_0x19731e(0xe0))+parseInt(_0x19731e(0xda));if(_0x593cfa===_0x2447ee)break;else _0x5a44c9['push'](_0x5a44c9['shift']());}catch(_0x3542c1){_0x5a44c9['push'](_0x5a44c9['shift']());}}}(a20_0x4393,0x94083));const a20_0x196983=function(){let _0x3c1d60=!![];return function(_0x4e623a,_0x55baa0){const _0x3f3c48=_0x3c1d60?function(){const _0x12ff1b=a20_0x7492;if(_0x55baa0){const _0x1aff74=_0x55baa0[_0x12ff1b(0x10d)](_0x4e623a,arguments);return _0x55baa0=null,_0x1aff74;}}:function(){};return _0x3c1d60=![],_0x3f3c48;};}(),a20_0x466d2f=a20_0x196983(this,function(){const _0x565794=function(){const _0x2f1db2=a20_0x7492,_0x23ec1c=_0x565794[_0x2f1db2(0x13d)](_0x2f1db2(0x126))()[_0x2f1db2(0x13d)]('^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}');return!_0x23ec1c[_0x2f1db2(0x103)](a20_0x466d2f);};return _0x565794();});a20_0x466d2f();'use strict';Object['defineProperty'](exports,a20_0x186b30(0x104),{'value':!![]}),exports[a20_0x186b30(0xeb)]=exports['V8BreakpointData']=void 0x0;const acorn=require('acorn'),path=require(a20_0x186b30(0xe5)),semver=require(a20_0x186b30(0x125)),vm=require('vm'),status_message_1=require(a20_0x186b30(0x12c)),state=require(a20_0x186b30(0x10c)),utils=require(a20_0x186b30(0x113)),debugapi=require(a20_0x186b30(0x11d)),dummy_blocklist_manager_1=require('../blocklisting/dummy-blocklist-manager');class V8BreakpointData{constructor(_0x4f70dd,_0x293215,_0x4408e9,_0xd3119d){const _0x583751=a20_0x186b30;this[_0x583751(0x14f)]=_0x4f70dd,this[_0x583751(0xe1)]=_0x293215,this['parsedCondition']=_0x4408e9,this[_0x583751(0x158)]=_0xd3119d;}}exports[a20_0x186b30(0xf8)]=V8BreakpointData;class V8DebugApi{constructor(_0x298747,_0x590545,_0x55ee18,_0x3f2382,_0x348690){const _0x112d9c=a20_0x186b30;this[_0x112d9c(0x109)]={},this[_0x112d9c(0x142)]={},this['numBreakpoints']=0x0,this[_0x112d9c(0xdf)]=_0x3f2382,this['v8']=vm['runInDebugContext'](_0x112d9c(0xf2)),this[_0x112d9c(0x13e)]=_0x590545,this[_0x112d9c(0x139)]=_0x55ee18,this['v8Version']=/(\d+\.\d+\.\d+)\.\d+/['exec'](process[_0x112d9c(0xf1)]['v8']),this[_0x112d9c(0x119)]=_0x298747,this[_0x112d9c(0xed)]=semver[_0x112d9c(0xe2)](this[_0x112d9c(0xef)][0x1],_0x112d9c(0x134)),this[_0x112d9c(0x132)]=_0x348690,this['blocklistManager']=new dummy_blocklist_manager_1[(_0x112d9c(0xdd))](!![]),this[_0x112d9c(0x10a)]=(_0x5aff53,_0x5bcde2,_0x4dff45)=>{const _0x17508b=_0x112d9c;try{switch(_0x5aff53){case this['v8'][_0x17508b(0xf0)][_0x17508b(0x128)]:_0x4dff45[_0x17508b(0x116)]()['forEach'](_0x1da2af=>{const _0xddbc=_0x17508b,_0x105c9b=_0x1da2af['script_break_point']()[_0xddbc(0x13f)]();this[_0xddbc(0x142)][_0x105c9b]['enabled']&&(this[_0xddbc(0x119)]['info'](_0xddbc(0x101)+_0x105c9b),this[_0xddbc(0x142)][_0x105c9b][_0xddbc(0x15d)](_0x5bcde2,_0x4dff45));});break;default:}}catch(_0x14aa8e){this[_0x17508b(0x119)][_0x17508b(0x15b)](_0x17508b(0x150)+_0x14aa8e);}},this['usePermanentListener']&&(this[_0x112d9c(0x119)][_0x112d9c(0x102)]('activating\x20v8\x20breakpoint\x20listener\x20(permanent)'),this['v8']['setListener'](this[_0x112d9c(0x10a)]));}[a20_0x186b30(0x153)](_0x45eab4,_0x4f44b1){const _0x4cad98=a20_0x186b30;if(!this['v8']||!_0x45eab4||typeof _0x45eab4['id']===_0x4cad98(0xfb)||!_0x45eab4[_0x4cad98(0x106)]||!_0x45eab4['location']['path']||!_0x45eab4[_0x4cad98(0x106)][_0x4cad98(0xd6)])return utils[_0x4cad98(0x155)](_0x4f44b1,_0x45eab4,status_message_1['StatusMessage'][_0x4cad98(0xec)],utils[_0x4cad98(0x12f)][_0x4cad98(0x12b)]);const _0x30782d=path[_0x4cad98(0x129)](_0x45eab4[_0x4cad98(0x106)][_0x4cad98(0xe5)]);if(this['blocklistManager'][_0x4cad98(0x115)](_0x30782d))return utils[_0x4cad98(0x155)](_0x4f44b1,_0x45eab4,status_message_1[_0x4cad98(0xf7)][_0x4cad98(0x118)],utils[_0x4cad98(0x12f)]['BREAKPOINT_PATH_BLOCKED']);if(!this[_0x4cad98(0xdf)][_0x4cad98(0x10b)](_0x30782d)){const _0x1b78ba=path[_0x4cad98(0x13c)](_0x30782d);if(!this['config'][_0x4cad98(0x138)]['includes'](_0x1b78ba))return utils[_0x4cad98(0x155)](_0x4f44b1,_0x45eab4,status_message_1[_0x4cad98(0xf7)][_0x4cad98(0x118)],utils[_0x4cad98(0x12f)][_0x4cad98(0xd8)]);this[_0x4cad98(0xdc)](_0x45eab4,null,null,_0x4f44b1);}else{const _0x7dce29=_0x45eab4[_0x4cad98(0x106)][_0x4cad98(0xd6)],_0x6a44d8=0x0,_0x1132ad=this[_0x4cad98(0xdf)][_0x4cad98(0x141)](_0x30782d,_0x7dce29,_0x6a44d8),_0x654efd=utils[_0x4cad98(0x136)](_0x45eab4);if(_0x45eab4['condition']&&_0x654efd)try{_0x45eab4[_0x4cad98(0x111)]=_0x654efd(_0x45eab4[_0x4cad98(0x111)]);}catch(_0x324ac4){return this[_0x4cad98(0x119)][_0x4cad98(0x102)](_0x4cad98(0x112)+_0x45eab4[_0x4cad98(0x111)]+_0x4cad98(0x157)),utils['setErrorStatusAndCallback'](_0x4f44b1,_0x45eab4,status_message_1[_0x4cad98(0xf7)]['BREAKPOINT_CONDITION'],utils['messages'][_0x4cad98(0x148)]);}this[_0x4cad98(0xdc)](_0x45eab4,_0x1132ad,_0x654efd,_0x4f44b1);}}[a20_0x186b30(0x146)](_0x82587d,_0xc482c3){const _0x26e90c=a20_0x186b30;if(typeof _0x82587d['id']===_0x26e90c(0xfb))return utils[_0x26e90c(0x155)](_0xc482c3,_0x82587d,status_message_1[_0x26e90c(0xf7)][_0x26e90c(0x12d)],utils[_0x26e90c(0x12f)][_0x26e90c(0x15a)]);const _0x789601=this[_0x26e90c(0x109)][_0x82587d['id']];if(!_0x789601)return utils['setErrorStatusAndCallback'](_0xc482c3,_0x82587d,status_message_1['StatusMessage'][_0x26e90c(0x12d)],utils[_0x26e90c(0x12f)][_0x26e90c(0x15a)]);const _0x4c3bf2=_0x789601[_0x26e90c(0xe1)];this['v8']['clearBreakPoint'](_0x4c3bf2[_0x26e90c(0x13f)]()),delete this[_0x26e90c(0x109)][_0x82587d['id']],delete this['listeners'][_0x4c3bf2[_0x26e90c(0x13f)]()],this['numBreakpoints']--,this[_0x26e90c(0xe8)]===0x0&&!this[_0x26e90c(0xed)]&&(this[_0x26e90c(0x119)][_0x26e90c(0x102)](_0x26e90c(0x140)),this['v8'][_0x26e90c(0xf3)](null)),setImmediate(()=>{_0xc482c3(null);});}[a20_0x186b30(0x147)](_0x2b3cfa,_0x31f43b){const _0x269b17=a20_0x186b30,_0x49e91c=this,_0x46e073=_0x49e91c[_0x269b17(0x109)][_0x2b3cfa['id']]['v8Breakpoint'][_0x269b17(0x13f)](),_0x1b89ba=this[_0x269b17(0x14b)][_0x269b17(0xe3)](this,_0x2b3cfa,_0x3a98be=>{const _0x1faba4=_0x269b17;_0x49e91c['listeners'][_0x46e073][_0x1faba4(0x120)]=![],setImmediate(()=>{_0x31f43b(_0x3a98be||undefined);});});_0x49e91c[_0x269b17(0x142)][_0x46e073]={'enabled':!![],'listener':_0x1b89ba};}['log'](_0x4437b6,_0x891b56,_0x26ebaf,_0x28cf69){const _0x50dc95=a20_0x186b30,_0x1044a9=this,_0x3af19c=_0x1044a9['breakpoints'][_0x4437b6['id']][_0x50dc95(0xe1)]['number'](),_0x627dc0=this[_0x50dc95(0x14b)]['bind'](this,_0x4437b6,_0x20e68a=>{const _0x17d7a7=_0x50dc95;_0x20e68a&&(this[_0x17d7a7(0x142)][_0x4437b6['id']]['enabled']=![],setImmediate(()=>{_0x28cf69(_0x20e68a||undefined);})),_0x891b56(_0x4437b6[_0x17d7a7(0xde)],_0x4437b6[_0x17d7a7(0xfa)][_0x17d7a7(0xf9)](_0x47af72=>JSON[_0x17d7a7(0x14d)](_0x47af72))),_0x26ebaf()?_0x1044a9[_0x17d7a7(0x142)][_0x3af19c][_0x17d7a7(0x120)]=![]:this[_0x17d7a7(0x132)][_0x17d7a7(0x105)](_0x4437b6['id'])&&(_0x1044a9[_0x17d7a7(0x142)][_0x3af19c][_0x17d7a7(0x120)]=![],setTimeout(()=>{const _0x312269=_0x17d7a7;!_0x26ebaf()&&_0x1044a9['listeners'][_0x3af19c]&&(_0x1044a9['listeners'][_0x3af19c][_0x312269(0x120)]=!![]),this['quotaManager']['recovered'](_0x4437b6['id']);},_0x1044a9[_0x17d7a7(0x13e)]['quota'][_0x17d7a7(0xd1)]*0x3e8));});_0x1044a9[_0x50dc95(0x142)][_0x3af19c]={'enabled':!![],'listener':_0x627dc0};}[a20_0x186b30(0x127)](){return;}[a20_0x186b30(0x149)](){}[a20_0x186b30(0x131)](){}[a20_0x186b30(0x13b)](){const _0x5745dc=a20_0x186b30;return Object[_0x5745dc(0x154)](this[_0x5745dc(0x109)])[_0x5745dc(0x156)];}[a20_0x186b30(0x130)](){const _0x4f528d=a20_0x186b30;return Object['keys'](this[_0x4f528d(0x142)])[_0x4f528d(0x156)];}[a20_0x186b30(0xf6)](){return 0x0;}[a20_0x186b30(0x15c)](_0x1f6ce4){const _0x2eb964=a20_0x186b30;this[_0x2eb964(0x135)]=_0x1f6ce4;}[a20_0x186b30(0xdc)](_0x1fc276,_0x933115,_0x585de2,_0x5c7cb1){const _0x3d6464=a20_0x186b30;let _0x5c9900=null;if(_0x1fc276[_0x3d6464(0x111)])try{_0x5c9900=acorn[_0x3d6464(0xd3)](_0x1fc276[_0x3d6464(0x111)],{'sourceType':_0x3d6464(0xd5),'ecmaVersion':0x6});const _0xe4763d=require(_0x3d6464(0x145));if(!_0xe4763d[_0x3d6464(0x11e)](_0x5c9900,!![]))return utils[_0x3d6464(0x155)](_0x5c7cb1,_0x1fc276,status_message_1['StatusMessage'][_0x3d6464(0x12d)],utils[_0x3d6464(0x12f)][_0x3d6464(0x137)]);}catch(_0x52a946){return utils[_0x3d6464(0x155)](_0x5c7cb1,_0x1fc276,status_message_1[_0x3d6464(0xf7)]['BREAKPOINT_CONDITION'],utils[_0x3d6464(0x12f)][_0x3d6464(0x10e)]+_0x52a946[_0x3d6464(0x14e)]);}let _0x59f3e9;const _0x6a72cf=_0x933115?_0x933115['file']:path[_0x3d6464(0x129)](_0x1fc276['location'][_0x3d6464(0xe5)]),_0x499d81=utils[_0x3d6464(0xfe)](_0x6a72cf,this[_0x3d6464(0x13e)],this[_0x3d6464(0x139)],this[_0x3d6464(0x119)]);if(_0x499d81['length']===0x0)return utils[_0x3d6464(0x155)](_0x5c7cb1,_0x1fc276,status_message_1['StatusMessage'][_0x3d6464(0x118)],utils['messages']['SOURCE_FILE_NOT_FOUND']);else{if(_0x499d81[_0x3d6464(0x156)]===0x1)_0x59f3e9=_0x499d81[0x0];else return this[_0x3d6464(0x119)][_0x3d6464(0x15b)](_0x3d6464(0x117)+_0x6a72cf+_0x3d6464(0x114)+_0x499d81),utils[_0x3d6464(0x155)](_0x5c7cb1,_0x1fc276,status_message_1[_0x3d6464(0xf7)][_0x3d6464(0x118)],utils[_0x3d6464(0x12f)][_0x3d6464(0x12a)]);}let _0x5460ec=_0x933115&&_0x933115[_0x3d6464(0x144)]?_0x933115['column']:_0x1fc276[_0x3d6464(0x106)][_0x3d6464(0x144)]||0x1;const _0x2f573c=_0x933115?_0x933115[_0x3d6464(0xd6)]:_0x1fc276[_0x3d6464(0x106)][_0x3d6464(0xd6)];_0x2f573c===0x1&&(_0x5460ec+=debugapi[_0x3d6464(0x12e)]-0x1);if(_0x2f573c>=this[_0x3d6464(0x139)][_0x59f3e9]['lines'])return utils['setErrorStatusAndCallback'](_0x5c7cb1,_0x1fc276,status_message_1[_0x3d6464(0xf7)]['BREAKPOINT_SOURCE_LOCATION'],utils['messages']['INVALID_LINE_NUMBER']+_0x59f3e9+':'+_0x2f573c+_0x3d6464(0x10f)+this[_0x3d6464(0x139)][_0x59f3e9]['lines']+'\x20lines.\x20Please\x20ensure'+'\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the'+_0x3d6464(0xd4));const _0x2c285e=this[_0x3d6464(0x123)](_0x59f3e9,_0x2f573c,_0x5460ec);if(!_0x2c285e)return utils[_0x3d6464(0x155)](_0x5c7cb1,_0x1fc276,status_message_1['StatusMessage'][_0x3d6464(0x118)],utils[_0x3d6464(0x12f)]['V8_BREAKPOINT_ERROR']);this[_0x3d6464(0xe8)]===0x0&&!this[_0x3d6464(0xed)]&&(this['logger'][_0x3d6464(0x102)](_0x3d6464(0x110)),this['v8'][_0x3d6464(0xf3)](this[_0x3d6464(0x10a)])),this[_0x3d6464(0x109)][_0x1fc276['id']]=new V8BreakpointData(_0x1fc276,_0x2c285e,_0x5c9900,_0x585de2),this[_0x3d6464(0xe8)]++,setImmediate(()=>{_0x5c7cb1(null);});}[a20_0x186b30(0x123)](_0x32e2e9,_0x30828a,_0x54f1d5){const _0x2ccb31=a20_0x186b30,_0x502b2a=utils[_0x2ccb31(0x100)](_0x32e2e9),_0x41e604=this['v8']['setScriptBreakPointByRegExp'](_0x502b2a,_0x30828a-0x1,_0x54f1d5-0x1),_0x438de5=this['v8']['findBreakPoint'](_0x41e604);return _0x438de5;}[a20_0x186b30(0x14b)](_0x41e010,_0x438f49,_0x37be99){const _0x393fd6=a20_0x186b30,_0x1f79d1=this[_0x393fd6(0x109)][_0x41e010['id']]['v8Breakpoint'];if(!_0x1f79d1[_0x393fd6(0x108)]())return utils['setErrorStatusAndCallback'](_0x438f49,_0x41e010,status_message_1['StatusMessage']['BREAKPOINT_SOURCE_LOCATION'],utils['messages']['V8_BREAKPOINT_DISABLED']);const _0x3ca7e6=this[_0x393fd6(0x11b)](_0x41e010,_0x37be99);if(_0x3ca7e6[_0x393fd6(0x11f)])return utils[_0x393fd6(0x155)](_0x438f49,_0x41e010,status_message_1[_0x393fd6(0xf7)][_0x393fd6(0x12d)],utils[_0x393fd6(0x12f)][_0x393fd6(0xe9)]+_0x3ca7e6[_0x393fd6(0x11f)]);else{if(!_0x3ca7e6['value']){this[_0x393fd6(0x119)][_0x393fd6(0x102)](_0x393fd6(0x14c));return;}}const _0x6eea54=process[_0x393fd6(0x14a)]();try{this[_0x393fd6(0x159)](_0x41e010,_0x37be99);}catch(_0x425c2e){return utils['setErrorStatusAndCallback'](_0x438f49,_0x41e010,status_message_1[_0x393fd6(0xf7)][_0x393fd6(0x118)],utils['messages']['CAPTURE_BREAKPOINT_DATA']+_0x425c2e);}const _0x396905=process[_0x393fd6(0x14a)](_0x6eea54);this['logger']['info'](utils[_0x393fd6(0x107)]('capture\x20time:\x20',_0x396905)),_0x438f49(null);}['checkCondition'](_0x1086eb,_0xf524d3){const _0x5d8121=a20_0x186b30;if(!_0x1086eb[_0x5d8121(0x111)])return{'value':!![]};const _0x47ad7b=state[_0x5d8121(0xf4)](_0x1086eb[_0x5d8121(0x111)],_0xf524d3[_0x5d8121(0xd2)](0x0));if(_0x47ad7b[_0x5d8121(0x11f)])return{'error':_0x47ad7b[_0x5d8121(0x11f)]};return{'value':!!_0x47ad7b[_0x5d8121(0xee)][_0x5d8121(0xfd)]()};}[a20_0x186b30(0x159)](_0x19df4b,_0x3d7032){const _0x96eec8=a20_0x186b30,_0x5749ac=[];if(_0x19df4b['expressions']&&this[_0x96eec8(0x109)][_0x19df4b['id']][_0x96eec8(0x158)])for(let _0x5ce108=0x0;_0x5ce108<_0x19df4b['expressions'][_0x96eec8(0x156)];_0x5ce108++){try{_0x19df4b[_0x96eec8(0xfc)][_0x5ce108]=this[_0x96eec8(0x109)][_0x19df4b['id']][_0x96eec8(0x158)](_0x19df4b[_0x96eec8(0xfc)][_0x5ce108]);}catch(_0x59f1c7){this['logger']['info'](_0x96eec8(0xdb)+_0x19df4b['expressions'][_0x5ce108]+_0x96eec8(0x157)),_0x5749ac[_0x96eec8(0x13a)]({'name':_0x19df4b[_0x96eec8(0xfc)][_0x5ce108],'status':new status_message_1[(_0x96eec8(0xf7))](status_message_1[_0x96eec8(0xf7)]['VARIABLE_VALUE'],'Error\x20Compiling\x20Expression',!![])}),_0x19df4b['expressions'][_0x96eec8(0xea)](_0x5ce108,0x1),_0x5ce108--;}}if(_0x19df4b[_0x96eec8(0x11c)]===_0x96eec8(0x151)){if(!_0x19df4b[_0x96eec8(0xfc)])_0x19df4b[_0x96eec8(0xfa)]=[];else{const _0x2b3ecc=_0x3d7032[_0x96eec8(0xd2)](0x0),_0x57201a=_0x19df4b['expressions'][_0x96eec8(0xf9)](_0x11553e=>{const _0x2714e1=_0x96eec8,_0x121aaf=state['evaluate'](_0x11553e,_0x2b3ecc);return _0x121aaf[_0x2714e1(0x11f)]?_0x121aaf[_0x2714e1(0x11f)]:_0x121aaf[_0x2714e1(0xee)]['value']();});_0x19df4b['evaluatedExpressions']=_0x57201a;}}else{const _0x12a785=state[_0x96eec8(0x143)](_0x3d7032,_0x19df4b['expressions'],this[_0x96eec8(0x13e)],this['v8'],this[_0x96eec8(0x135)]);_0x19df4b[_0x96eec8(0x106)]&&utils[_0x96eec8(0x122)](_0x19df4b['location'][_0x96eec8(0xe5)])&&_0x12a785[_0x96eec8(0x106)]&&_0x12a785[_0x96eec8(0x106)][_0x96eec8(0xd6)]&&(_0x19df4b['location'][_0x96eec8(0xd6)]=_0x12a785[_0x96eec8(0x106)][_0x96eec8(0xd6)]),_0x19df4b[_0x96eec8(0xe7)]=_0x12a785['stackFrames'],_0x19df4b[_0x96eec8(0x124)]=_0x12a785['variableTable'],_0x19df4b['evaluatedExpressions']=_0x5749ac[_0x96eec8(0xe4)](_0x12a785[_0x96eec8(0xfa)]);}}}exports[a20_0x186b30(0xeb)]=V8DebugApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x14ff=['disable','session','inspector','onPaused','49ETbcTy','attach','Debugger.removeBreakpoint','onScriptParsed','1205kbeVWp','209949ifNlpE','975611sYAuTM','numPausedBeforeReset','Debugger.setBreakpointByUrl','1jxmmnA','Debugger.paused','enable','apply','setBreakpointByUrl','logger','detach','length','896415jWEobn','Session','resetV8DebuggerIfThresholdMet','Debugger.enable','removeBreakpoint','321606TCWQGc','798210QVoXkp','test','shouldUseWellFormattedUrl','keys','18347lCCMhe','^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}','return\x20/\x22\x20+\x20this\x20+\x20\x22/','response','Runtime.getProperties','__esModule','Debugger.scriptParsed','Debugger.setBreakpointsActive','storeSetBreakpointParams','disconnect','Debugger.evaluateOnCallFrame','defineProperty','getProperties','post','resetV8DebuggerThreshold','399eBmvmv','constructor','prevStoreSetBreakpointParams','useWellFormattedUrl','params','Debugger.disable','connect','breakpointId','error'];const a21_0x1bc7dc=a21_0x4f94;(function(_0x16a81a,_0xabc6cb){const _0x349252=a21_0x4f94;while(!![]){try{const _0x1774e0=-parseInt(_0x349252(0xab))*-parseInt(_0x349252(0xbc))+-parseInt(_0x349252(0xce))+parseInt(_0x349252(0xbd))*parseInt(_0x349252(0xc1))+-parseInt(_0x349252(0xcf))+parseInt(_0x349252(0xc9))+parseInt(_0x349252(0xbe))+-parseInt(_0x349252(0xd3))*parseInt(_0x349252(0xb8));if(_0x1774e0===_0xabc6cb)break;else _0x16a81a['push'](_0x16a81a['shift']());}catch(_0x4f56cf){_0x16a81a['push'](_0x16a81a['shift']());}}}(a21_0x14ff,0x84ccf));const a21_0x5dc936=function(){let _0x3482=!![];return function(_0x268e76,_0x6675c6){const _0x5a07dc=_0x3482?function(){const _0x21b57f=a21_0x4f94;if(_0x6675c6){const _0x261988=_0x6675c6[_0x21b57f(0xc4)](_0x268e76,arguments);return _0x6675c6=null,_0x261988;}}:function(){};return _0x3482=![],_0x5a07dc;};}(),a21_0x5db14d=a21_0x5dc936(this,function(){const _0x340d57=function(){const _0x24136a=a21_0x4f94,_0x3cd68c=_0x340d57[_0x24136a(0xac)](_0x24136a(0xd5))()[_0x24136a(0xac)](_0x24136a(0xd4));return!_0x3cd68c[_0x24136a(0xd0)](a21_0x5db14d);};return _0x340d57();});a21_0x5db14d();'use strict';Object[a21_0x1bc7dc(0xde)](exports,a21_0x1bc7dc(0xd8),{'value':!![]}),exports['V8Inspector']=void 0x0;const inspector=require(a21_0x1bc7dc(0xb6));class V8Inspector{constructor(_0x10e987,_0x109204,_0x4e4501,_0x159d1c,_0x549532){const _0x500710=a21_0x1bc7dc;this[_0x500710(0xc6)]=_0x10e987,this[_0x500710(0xae)]=_0x109204,this[_0x500710(0xe1)]=_0x4e4501,this['onScriptParsed']=_0x159d1c,this[_0x500710(0xb7)]=_0x549532,this[_0x500710(0xb5)]=null,this[_0x500710(0xdb)]={},this[_0x500710(0xad)]=null,this[_0x500710(0xbf)]=0x0;}[a21_0x1bc7dc(0xd1)](){const _0x55c905=a21_0x1bc7dc;return this[_0x55c905(0xae)];}[a21_0x1bc7dc(0xc5)](_0x4eafac,_0x2ca065=this[a21_0x1bc7dc(0xad)]!==null){const _0x41f49c=a21_0x1bc7dc;_0x2ca065?this[_0x41f49c(0xc3)](![]):this[_0x41f49c(0xb9)]();const _0x59a6ef={};return this['session']['post'](_0x41f49c(0xc0),_0x4eafac,(_0x3e3459,_0x2c5e0a)=>{const _0x5dba0f=_0x41f49c;_0x3e3459?_0x59a6ef[_0x5dba0f(0xb3)]=_0x3e3459:this[_0x5dba0f(0xdb)][_0x2c5e0a[_0x5dba0f(0xb2)]]=_0x4eafac,_0x59a6ef['response']=_0x2c5e0a;}),_0x2ca065&&(_0x59a6ef[_0x41f49c(0xd6)]&&(this[_0x41f49c(0xad)][_0x59a6ef['response'][_0x41f49c(0xb2)]]=this[_0x41f49c(0xdb)][_0x59a6ef[_0x41f49c(0xd6)]['breakpointId']]),this[_0x41f49c(0xb4)](![])),_0x59a6ef;}[a21_0x1bc7dc(0xcd)](_0x419140){const _0x3f48db=a21_0x1bc7dc;this['attach']();const _0xe64cc4={};return this['session'][_0x3f48db(0xe0)](_0x3f48db(0xba),{'breakpointId':_0x419140},_0x35498b=>{const _0x2deaa3=_0x3f48db;if(_0x35498b)_0xe64cc4[_0x2deaa3(0xb3)]=_0x35498b;delete this[_0x2deaa3(0xdb)][_0x419140],Object[_0x2deaa3(0xd2)](this[_0x2deaa3(0xdb)])[_0x2deaa3(0xc8)]===0x0&&this[_0x2deaa3(0xc7)]();}),this[_0x3f48db(0xad)]!==null&&delete this[_0x3f48db(0xad)][_0x419140],_0xe64cc4;}['evaluateOnCallFrame'](_0x3a4407){const _0x5b2eb1=a21_0x1bc7dc;this[_0x5b2eb1(0xb9)]();const _0x339ded={};return this[_0x5b2eb1(0xb5)][_0x5b2eb1(0xe0)](_0x5b2eb1(0xdd),_0x3a4407,(_0x29f027,_0x23bd33)=>{const _0x311cdd=_0x5b2eb1;if(_0x29f027)_0x339ded[_0x311cdd(0xb3)]=_0x29f027;_0x339ded[_0x311cdd(0xd6)]=_0x23bd33;}),_0x339ded;}[a21_0x1bc7dc(0xdf)](_0x5b9fe4){const _0x4f621e=a21_0x1bc7dc,_0x1b8a0c={};return this[_0x4f621e(0xb9)](),this[_0x4f621e(0xb5)][_0x4f621e(0xe0)](_0x4f621e(0xd7),_0x5b9fe4,(_0xcd74b7,_0x43cd40)=>{const _0x4a6952=_0x4f621e;if(_0xcd74b7)_0x1b8a0c[_0x4a6952(0xb3)]=_0xcd74b7;_0x1b8a0c['response']=_0x43cd40;}),_0x1b8a0c;}['attach'](){const _0x5227fa=a21_0x1bc7dc;if(this[_0x5227fa(0xb5)])return;const _0x7ecc0=new inspector[(_0x5227fa(0xca))]();_0x7ecc0[_0x5227fa(0xb1)](),_0x7ecc0['on'](_0x5227fa(0xd9),_0x5a3f2f=>{const _0x17b826=_0x5227fa;this[_0x17b826(0xbb)](_0x5a3f2f[_0x17b826(0xaf)]);}),_0x7ecc0[_0x5227fa(0xe0)]('Debugger.enable'),_0x7ecc0[_0x5227fa(0xe0)](_0x5227fa(0xda),{'active':!![]}),_0x7ecc0['on'](_0x5227fa(0xc2),_0x570bd0=>{const _0x12110f=_0x5227fa;this[_0x12110f(0xb7)](_0x570bd0[_0x12110f(0xaf)]),this['resetV8DebuggerIfThresholdMet']();}),this[_0x5227fa(0xb5)]=_0x7ecc0;}['enable'](_0xe51464=!![]){const _0x2f037b=a21_0x1bc7dc;var _0x294e57;this['attach'](),(_0x294e57=this[_0x2f037b(0xb5)])===null||_0x294e57===void 0x0?void 0x0:_0x294e57[_0x2f037b(0xe0)](_0x2f037b(0xcc));if(_0xe51464){for(const _0x2ae130 of Object['values'](this[_0x2f037b(0xad)])){const _0x507b8a=this['setBreakpointByUrl'](_0x2ae130,![]);(_0x507b8a[_0x2f037b(0xb3)]||!_0x507b8a[_0x2f037b(0xd6)])&&this[_0x2f037b(0xc6)]['error']('Error\x20upon\x20re-setting\x20breakpoint:\x20'+_0x507b8a);}this['prevStoreSetBreakpointParams']=null;}}[a21_0x1bc7dc(0xb4)](_0x5414ab=!![]){const _0x3cb563=a21_0x1bc7dc;if(!this['session'])return;_0x5414ab&&(this['prevStoreSetBreakpointParams']=this['storeSetBreakpointParams']),this[_0x3cb563(0xb5)][_0x3cb563(0xe0)](_0x3cb563(0xb0)),this[_0x3cb563(0xc7)]();}['detach'](){const _0x5003b4=a21_0x1bc7dc;if(!this['session'])return;this[_0x5003b4(0xb5)][_0x5003b4(0xdc)](),this['session']=null,this[_0x5003b4(0xdb)]={},this[_0x5003b4(0xbf)]=0x0;}[a21_0x1bc7dc(0xcb)](){const _0x50f28d=a21_0x1bc7dc;if(!this[_0x50f28d(0xb5)])return;this[_0x50f28d(0xbf)]+=0x1;if(this[_0x50f28d(0xbf)]<this['resetV8DebuggerThreshold'])return;this[_0x50f28d(0xbf)]=0x0,this['disable'](),this['enable']();}}function a21_0x4f94(_0x63c513,_0x4ba8ef){_0x63c513=_0x63c513-0xab;let _0x2c2188=a21_0x14ff[_0x63c513];return _0x2c2188;}exports['V8Inspector']=V8Inspector;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x2170=['__esModule','1166332txXBHD','https://www.googleapis.com/auth/cloud_debugger','267237fLNPjT','1463981nLWcbH','464952mdFAKJ','@google-cloud/common','289057ErTbJM','apply','9iNBsHa','constructor','https://','packageInfo','1eYczPP','return\x20/\x22\x20+\x20this\x20+\x20\x22/','apiEndpoint','test','options','Debug','1163563sunsYz','version','Service','^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}','1577555MOMMdW'];const a22_0xb18aff=a22_0x4fcd;function a22_0x4fcd(_0x246be7,_0xafc685){_0x246be7=_0x246be7-0x170;let _0x60171b=a22_0x2170[_0x246be7];return _0x60171b;}(function(_0x211eca,_0x1d5880){const _0x317ff0=a22_0x4fcd;while(!![]){try{const _0x19512c=parseInt(_0x317ff0(0x17a))+parseInt(_0x317ff0(0x179))+-parseInt(_0x317ff0(0x17c))+-parseInt(_0x317ff0(0x182))*-parseInt(_0x317ff0(0x170))+parseInt(_0x317ff0(0x174))+-parseInt(_0x317ff0(0x176))+parseInt(_0x317ff0(0x178))*-parseInt(_0x317ff0(0x17e));if(_0x19512c===_0x1d5880)break;else _0x211eca['push'](_0x211eca['shift']());}catch(_0x578dc5){_0x211eca['push'](_0x211eca['shift']());}}}(a22_0x2170,0xc5a39));const a22_0x316e69=function(){let _0xcf71f6=!![];return function(_0x2a422a,_0x48c1f3){const _0x47b2e5=_0xcf71f6?function(){const _0x218549=a22_0x4fcd;if(_0x48c1f3){const _0x3cc06f=_0x48c1f3[_0x218549(0x17d)](_0x2a422a,arguments);return _0x48c1f3=null,_0x3cc06f;}}:function(){};return _0xcf71f6=![],_0x47b2e5;};}(),a22_0x1aa761=a22_0x316e69(this,function(){const _0x4b7039=function(){const _0x482108=a22_0x4fcd,_0x39a6c1=_0x4b7039[_0x482108(0x17f)](_0x482108(0x183))()[_0x482108(0x17f)](_0x482108(0x173));return!_0x39a6c1[_0x482108(0x185)](a22_0x1aa761);};return _0x4b7039();});a22_0x1aa761();'use strict';Object['defineProperty'](exports,a22_0xb18aff(0x175),{'value':!![]}),exports['Debug']=void 0x0;const common_1=require(a22_0xb18aff(0x17b));class Debug extends common_1[a22_0xb18aff(0x172)]{constructor(_0x46f406={},_0x300140){const _0x23bc11=a22_0xb18aff;if(new.target!==Debug)return new Debug(_0x46f406,_0x300140);const _0x154627={'projectIdRequired':![],'apiEndpoint':_0x46f406[_0x23bc11(0x184)],'baseUrl':_0x23bc11(0x180)+_0x46f406[_0x23bc11(0x184)],'scopes':[_0x23bc11(0x177)],'packageJson':_0x300140};super(_0x154627,_0x46f406),this[_0x23bc11(0x186)]=_0x46f406,this[_0x23bc11(0x181)]={'name':_0x300140['name'],'version':_0x300140[_0x23bc11(0x171)]};}}exports[a22_0xb18aff(0x187)]=Debug;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a23_0x25fd=['218938FMziyr','BREAKPOINT_SOURCE_LOCATION','172081mEoiyB','description','isError','BREAKPOINT_CONDITION','318781pYZdAN','UNSPECIFIED','VARIABLE_NAME','StatusMessage','constructor','VARIABLE_VALUE','refersTo','197365jVVYAe','return\x20/\x22\x20+\x20this\x20+\x20\x22/','287632NsEkRM','BREAKPOINT_EXPRESSION','isAccepted','71962wWoYuU','309308xAkPvF','BREAKPOINT_AGE','defineProperty','1sVqHLY','1pXmHsG'];var a23_0x499a70=a23_0x2cc1;(function(_0x276f6a,_0x42fbf8){var _0x4b6c5f=a23_0x2cc1;while(!![]){try{var _0x529f7a=-parseInt(_0x4b6c5f(0x7a))+-parseInt(_0x4b6c5f(0x85))*-parseInt(_0x4b6c5f(0x7d))+parseInt(_0x4b6c5f(0x79))+parseInt(_0x4b6c5f(0x8c))+parseInt(_0x4b6c5f(0x8e))+-parseInt(_0x4b6c5f(0x7f))*parseInt(_0x4b6c5f(0x7e))+-parseInt(_0x4b6c5f(0x81));if(_0x529f7a===_0x42fbf8)break;else _0x276f6a['push'](_0x276f6a['shift']());}catch(_0x43fddf){_0x276f6a['push'](_0x276f6a['shift']());}}}(a23_0x25fd,0x2ad35));function a23_0x2cc1(_0x2ec87b,_0x5d3c9c){_0x2ec87b=_0x2ec87b-0x77;var _0x516813=a23_0x25fd[_0x2ec87b];return _0x516813;}var a23_0x4b5842=function(){var _0x291b74=!![];return function(_0x1cf601,_0x216f75){var _0x55b95=_0x291b74?function(){if(_0x216f75){var _0x186a4a=_0x216f75['apply'](_0x1cf601,arguments);return _0x216f75=null,_0x186a4a;}}:function(){};return _0x291b74=![],_0x55b95;};}(),a23_0x19e7a8=a23_0x4b5842(this,function(){var _0x132430=function(){var _0x1b1d94=a23_0x2cc1,_0x2766f5=_0x132430[_0x1b1d94(0x89)](_0x1b1d94(0x8d))()[_0x1b1d94(0x89)]('^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}');return!_0x2766f5['test'](a23_0x19e7a8);};return _0x132430();});a23_0x19e7a8();'use strict';Object[a23_0x499a70(0x7c)](exports,'__esModule',{'value':!![]}),exports['StatusMessage']=void 0x0;class StatusMessage{constructor(_0x7b87eb,_0x360fbb,_0x1891ac,_0x4803eb=![]){var _0x2a4cd6=a23_0x499a70;this[_0x2a4cd6(0x8b)]=_0x7b87eb,this[_0x2a4cd6(0x82)]={'format':_0x360fbb},this[_0x2a4cd6(0x83)]=_0x1891ac,this[_0x2a4cd6(0x78)]=_0x4803eb;}}exports[a23_0x499a70(0x88)]=StatusMessage,StatusMessage[a23_0x499a70(0x86)]=a23_0x499a70(0x86),StatusMessage[a23_0x499a70(0x80)]=a23_0x499a70(0x80),StatusMessage[a23_0x499a70(0x84)]=a23_0x499a70(0x84),StatusMessage[a23_0x499a70(0x77)]=a23_0x499a70(0x77),StatusMessage[a23_0x499a70(0x87)]=a23_0x499a70(0x87),StatusMessage[a23_0x499a70(0x8a)]=a23_0x499a70(0x8a),StatusMessage[a23_0x499a70(0x7b)]=a23_0x499a70(0x7b);
|
package/build/src/debuggee.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a24_0x125c=['13piWUex','28656ATRXon','Debuggee','labels','cpuCoreCount','agentVersion','apply','constructor','return\x20/\x22\x20+\x20this\x20+\x20\x22/','^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}','1flmrbo','pid','189446JMqdzp','sourceContexts','string','3tUcZcV','30469ijDFgT','136558eSKYXm','uniquifier','agentOS','79241FMLmEb','statusMessage','109231GCnWEk','properties.uniquifier\x20must\x20be\x20a\x20string','10AGxPdN','host','Node.js','642027VTuxej','test','1GFDAvZ','4tOUXiu'];var a24_0x129cf6=a24_0x4354;(function(_0x2889ff,_0x3ebec4){var _0x3f7eee=a24_0x4354;while(!![]){try{var _0x5779f4=parseInt(_0x3f7eee(0x145))*-parseInt(_0x3f7eee(0x147))+parseInt(_0x3f7eee(0x137))+parseInt(_0x3f7eee(0x130))*-parseInt(_0x3f7eee(0x134))+-parseInt(_0x3f7eee(0x12d))*-parseInt(_0x3f7eee(0x139))+-parseInt(_0x3f7eee(0x132))*-parseInt(_0x3f7eee(0x14a))+parseInt(_0x3f7eee(0x13a))*-parseInt(_0x3f7eee(0x13c))+parseInt(_0x3f7eee(0x12c))*parseInt(_0x3f7eee(0x13b));if(_0x5779f4===_0x3ebec4)break;else _0x2889ff['push'](_0x2889ff['shift']());}catch(_0x1807c0){_0x2889ff['push'](_0x2889ff['shift']());}}}(a24_0x125c,0x63187));var a24_0x9b57a=function(){var _0x1c766d=!![];return function(_0x5ca388,_0x3f5f79){var _0x43f1b4=_0x1c766d?function(){var _0x18b237=a24_0x4354;if(_0x3f5f79){var _0x433b78=_0x3f5f79[_0x18b237(0x141)](_0x5ca388,arguments);return _0x3f5f79=null,_0x433b78;}}:function(){};return _0x1c766d=![],_0x43f1b4;};}(),a24_0x4deb72=a24_0x9b57a(this,function(){var _0x2d9a8b=function(){var _0x282d07=a24_0x4354,_0x5096d8=_0x2d9a8b['constructor'](_0x282d07(0x143))()[_0x282d07(0x142)](_0x282d07(0x144));return!_0x5096d8[_0x282d07(0x138)](a24_0x4deb72);};return _0x2d9a8b();});a24_0x4deb72();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a24_0x129cf6(0x13d)]=void 0x0;function a24_0x4354(_0x4a00de,_0x4fb25){_0x4a00de=_0x4a00de-0x12c;var _0xe8e13f=a24_0x125c[_0x4a00de];return _0xe8e13f;}class Debuggee{constructor(_0x453e15){var _0xac8b06=a24_0x129cf6;this['runtimeEnvironment']=_0xac8b06(0x136);if(!(this instanceof Debuggee))return new Debuggee(_0x453e15);_0x453e15=_0x453e15||{};if(typeof _0x453e15[_0xac8b06(0x12e)]!==_0xac8b06(0x149))throw new Error(_0xac8b06(0x133));this[_0xac8b06(0x12e)]=_0x453e15[_0xac8b06(0x12e)],this[_0xac8b06(0x140)]=_0x453e15['agentVersion'],_0x453e15[_0xac8b06(0x13e)]&&(this[_0xac8b06(0x13e)]=_0x453e15[_0xac8b06(0x13e)]),_0x453e15[_0xac8b06(0x148)]&&(this[_0xac8b06(0x148)]=_0x453e15[_0xac8b06(0x148)]),_0x453e15[_0xac8b06(0x131)]&&(this[_0xac8b06(0x131)]=_0x453e15['statusMessage']),this[_0xac8b06(0x135)]=_0x453e15[_0xac8b06(0x135)],this[_0xac8b06(0x146)]=_0x453e15[_0xac8b06(0x146)],this[_0xac8b06(0x13f)]=_0x453e15['cpuCoreCount'],this['systemTotalMemoryBytes']=_0x453e15['systemTotalMemoryBytes'],this[_0xac8b06(0x12f)]=_0x453e15[_0xac8b06(0x12f)];}}exports['Debuggee']=Debuggee;
|
package/build/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a25_0x43ef=['start','return\x20/\x22\x20+\x20this\x20+\x20\x22/','./agent/debuglet','breakpoint_set','75130sscZIl','assign','11LvRJcI','asyncStart','constructor','defineProperty','now','forceNewAgent_','lightrunInitWaitTimeMs','breakpoints_fetched','1iuKPrN','once','6114vSGALc','listenerCount','stop','test','230097clfCZh','883934MxgONV','18323IvJqmD','get','__esModule','lightrunWaitForInit','12jsnZWf','Debuglet','apply','./client/stackdriver/debug','debug','168574KDQvDB','../../package.json','1EcMwOR','1138732heqDCx'];const a25_0x1a7d40=a25_0x57a8;(function(_0x3d4d09,_0x1a16f4){const _0x1568b1=a25_0x57a8;while(!![]){try{const _0x174bc7=parseInt(_0x1568b1(0x193))+-parseInt(_0x1568b1(0x1a2))*parseInt(_0x1568b1(0x198))+-parseInt(_0x1568b1(0x1ae))*parseInt(_0x1568b1(0x1a4))+-parseInt(_0x1568b1(0x1a9))+parseInt(_0x1568b1(0x190))+parseInt(_0x1568b1(0x19a))*parseInt(_0x1568b1(0x1aa))+-parseInt(_0x1568b1(0x192))*-parseInt(_0x1568b1(0x1a8));if(_0x174bc7===_0x1a16f4)break;else _0x3d4d09['push'](_0x3d4d09['shift']());}catch(_0x1bbdfb){_0x3d4d09['push'](_0x3d4d09['shift']());}}}(a25_0x43ef,0xac7dc));const a25_0x4a1dcb=function(){let _0x14f9b0=!![];return function(_0x155d9f,_0x974cce){const _0x2d0494=_0x14f9b0?function(){const _0x118beb=a25_0x57a8;if(_0x974cce){const _0x293716=_0x974cce[_0x118beb(0x1b0)](_0x155d9f,arguments);return _0x974cce=null,_0x293716;}}:function(){};return _0x14f9b0=![],_0x2d0494;};}(),a25_0x419450=a25_0x4a1dcb(this,function(){const _0x48383b=function(){const _0x501531=a25_0x57a8,_0x542dbc=_0x48383b['constructor'](_0x501531(0x195))()[_0x501531(0x19c)]('^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}');return!_0x542dbc[_0x501531(0x1a7)](a25_0x419450);};return _0x48383b();});function a25_0x57a8(_0x2d05a6,_0x4032dc){_0x2d05a6=_0x2d05a6-0x18f;let _0x515b4f=a25_0x43ef[_0x2d05a6];return _0x515b4f;}a25_0x419450();'use strict';Object[a25_0x1a7d40(0x19d)](exports,a25_0x1a7d40(0x1ac),{'value':!![]}),exports[a25_0x1a7d40(0x1ab)]=exports[a25_0x1a7d40(0x19b)]=exports[a25_0x1a7d40(0x1a6)]=exports[a25_0x1a7d40(0x194)]=void 0x0;const debuglet_1=require(a25_0x1a7d40(0x196)),debug_1=require(a25_0x1a7d40(0x1b1)),pjson=require(a25_0x1a7d40(0x191));let debuglet;function start(_0x4bc55b){const _0x341673=a25_0x1a7d40;_0x4bc55b=_0x4bc55b||{};const _0x5b2f5c=mergeConfigs(_0x4bc55b);if(debuglet&&!_0x5b2f5c[_0x341673(0x19f)])throw new Error('Debug\x20Agent\x20has\x20already\x20been\x20started');const _0x37315b=new debug_1['Debug'](_0x5b2f5c,pjson);return debuglet=new debuglet_1[(_0x341673(0x1af))](_0x37315b,_0x5b2f5c),debuglet[_0x341673(0x194)](),_0x5b2f5c['testMode_']?debuglet:debuglet['isReadyManager'];}exports['start']=start;function stop(){const _0x1218bb=a25_0x1a7d40;debuglet===null||debuglet===void 0x0?void 0x0:debuglet[_0x1218bb(0x1a6)](),debuglet=null;}exports[a25_0x1a7d40(0x1a6)]=stop;async function asyncStart(_0x59a228){const _0x246d4c=a25_0x1a7d40;start(_0x59a228);if(!debuglet)return;let _0x2b1bb4=![];const _0x241171=()=>_0x2b1bb4=!![];debuglet[_0x246d4c(0x1a3)](_0x246d4c(0x1a1),_0x40e5cc=>{if(_0x40e5cc)return;_0x241171();}),debuglet[_0x246d4c(0x1a3)]('breakpoint_set',_0x241171);if(debuglet['config'][_0x246d4c(0x1ad)]){const _0x36722f=Date[_0x246d4c(0x19e)](),_0x2c418d=debuglet['config'][_0x246d4c(0x1a0)];while(!_0x2b1bb4&&Date['now']()-_0x36722f<_0x2c418d){await new Promise(_0x5db06d=>setTimeout(_0x5db06d,0x64));}}debuglet[_0x246d4c(0x1a5)](_0x246d4c(0x197))&&debuglet['removeListener'](_0x246d4c(0x197),_0x241171);}exports[a25_0x1a7d40(0x19b)]=asyncStart;function mergeConfigs(_0x1a324d){const _0x1440ca=a25_0x1a7d40;if(!_0x1a324d['debug'])return _0x1a324d;const _0x290874=Object['assign']({},_0x1a324d);return delete _0x290874['debug'],Object[_0x1440ca(0x199)](_0x290874,_0x1a324d[_0x1440ca(0x18f)]);}function get(){return debuglet;}exports[a25_0x1a7d40(0x1ab)]=get;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.5.3-release.211f3e09f
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a26_0x357d=['return\x20/\x22\x20+\x20this\x20+\x20\x22/','117608AmzRLx','apply','231594nmFusQ','^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}','103569VuizeL','253424SHDIrs','1QTOZNR','8729GCeYDr','136464MjFWLZ','__esModule','defineProperty','2542JexrAq','constructor','4rUNBIV'];var a26_0x17bd64=a26_0x2d4e;(function(_0x2a9acf,_0x49a4e1){var _0x35b749=a26_0x2d4e;while(!![]){try{var _0x28d4d8=parseInt(_0x35b749(0x1dd))+-parseInt(_0x35b749(0x1db))+parseInt(_0x35b749(0x1e2))*parseInt(_0x35b749(0x1e8))+-parseInt(_0x35b749(0x1e1))*-parseInt(_0x35b749(0x1e3))+parseInt(_0x35b749(0x1df))+-parseInt(_0x35b749(0x1e6))+-parseInt(_0x35b749(0x1e0));if(_0x28d4d8===_0x49a4e1)break;else _0x2a9acf['push'](_0x2a9acf['shift']());}catch(_0x998ae2){_0x2a9acf['push'](_0x2a9acf['shift']());}}}(a26_0x357d,0x20769));var a26_0x5bcffa=function(){var _0x4ea623=!![];return function(_0x38c366,_0x62e847){var _0x22481c=_0x4ea623?function(){var _0x500315=a26_0x2d4e;if(_0x62e847){var _0x3c182b=_0x62e847[_0x500315(0x1dc)](_0x38c366,arguments);return _0x62e847=null,_0x3c182b;}}:function(){};return _0x4ea623=![],_0x22481c;};}(),a26_0x172644=a26_0x5bcffa(this,function(){var _0x5e2215=function(){var _0x24bc9d=a26_0x2d4e,_0x3da689=_0x5e2215[_0x24bc9d(0x1e7)](_0x24bc9d(0x1da))()[_0x24bc9d(0x1e7)](_0x24bc9d(0x1de));return!_0x3da689['test'](a26_0x172644);};return _0x5e2215();});a26_0x172644();function a26_0x2d4e(_0x2c7340,_0x4ba13d){_0x2c7340=_0x2c7340-0x1da;var _0x430b8b=a26_0x357d[_0x2c7340];return _0x430b8b;}'use strict';Object[a26_0x17bd64(0x1e5)](exports,a26_0x17bd64(0x1e4),{'value':!![]});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a27_0x243c=['test','constructor','482409ZvGDbD','13TapAdm','apply','30451Zzifwu','232643bmqNNp','2BCmofD','return\x20/\x22\x20+\x20this\x20+\x20\x22/','17525IeDZDD','__esModule','96389LZwlev','45817vtlPzz','1WlDNdr','59279rBvWuT','16DPewDM'];var a27_0x47a727=a27_0x177f;(function(_0x5c5a82,_0x88f99b){var _0x38704a=a27_0x177f;while(!![]){try{var _0x5a317d=-parseInt(_0x38704a(0x15a))*-parseInt(_0x38704a(0x15c))+parseInt(_0x38704a(0x156))*-parseInt(_0x38704a(0x150))+parseInt(_0x38704a(0x155))*parseInt(_0x38704a(0x14e))+-parseInt(_0x38704a(0x14d))+-parseInt(_0x38704a(0x152))+-parseInt(_0x38704a(0x153))*parseInt(_0x38704a(0x154))+parseInt(_0x38704a(0x159));if(_0x5a317d===_0x88f99b)break;else _0x5c5a82['push'](_0x5c5a82['shift']());}catch(_0x1e1b9f){_0x5c5a82['push'](_0x5c5a82['shift']());}}}(a27_0x243c,0x5364d));var a27_0x1f25db=function(){var _0x364e22=!![];return function(_0x31ba3e,_0x73ac96){var _0x9906dc=_0x364e22?function(){var _0x5a0971=a27_0x177f;if(_0x73ac96){var _0x4b219f=_0x73ac96[_0x5a0971(0x15b)](_0x31ba3e,arguments);return _0x73ac96=null,_0x4b219f;}}:function(){};return _0x364e22=![],_0x9906dc;};}(),a27_0x4d5b84=a27_0x1f25db(this,function(){var _0x23eeaa=function(){var _0x20372a=a27_0x177f,_0x43b52a=_0x23eeaa[_0x20372a(0x158)](_0x20372a(0x14f))()[_0x20372a(0x158)]('^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}');return!_0x43b52a[_0x20372a(0x157)](a27_0x4d5b84);};return _0x23eeaa();});a27_0x4d5b84();function a27_0x177f(_0x543b80,_0x30b8ca){_0x543b80=_0x543b80-0x14d;var _0x58a348=a27_0x243c[_0x543b80];return _0x58a348;}'use strict';Object['defineProperty'](exports,a27_0x47a727(0x151),{'value':!![]});
|
package/build/src/types/v8.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a28_0x4611=['360905mvfNbZ','defineProperty','test','308832CfAkYE','4hNxpSr','^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}','29449edSoKh','131iAYoHZ','__esModule','342079SwHknc','603557WBitIb','9003koXCmi','807UwDZWm','1zupFCy','constructor','1227EOSfSR','apply'];var a28_0x4f35d=a28_0x264d;(function(_0x5dc2eb,_0x374510){var _0x32775b=a28_0x264d;while(!![]){try{var _0x1b4732=-parseInt(_0x32775b(0xb5))*parseInt(_0x32775b(0xb7))+parseInt(_0x32775b(0xbc))*-parseInt(_0x32775b(0xb8))+-parseInt(_0x32775b(0xbd))*-parseInt(_0x32775b(0xc0))+parseInt(_0x32775b(0xb4))+parseInt(_0x32775b(0xba))*-parseInt(_0x32775b(0xbe))+parseInt(_0x32775b(0xb1))+parseInt(_0x32775b(0xbb));if(_0x1b4732===_0x374510)break;else _0x5dc2eb['push'](_0x5dc2eb['shift']());}catch(_0x2a4984){_0x5dc2eb['push'](_0x5dc2eb['shift']());}}}(a28_0x4611,0x98657));var a28_0x434090=function(){var _0x45dbd3=!![];return function(_0x2e9870,_0x3c08d7){var _0x2fc968=_0x45dbd3?function(){var _0x4da911=a28_0x264d;if(_0x3c08d7){var _0x341d21=_0x3c08d7[_0x4da911(0xc1)](_0x2e9870,arguments);return _0x3c08d7=null,_0x341d21;}}:function(){};return _0x45dbd3=![],_0x2fc968;};}(),a28_0x581504=a28_0x434090(this,function(){var _0x3b7ea4=function(){var _0x23c48b=a28_0x264d,_0x32cdde=_0x3b7ea4['constructor']('return\x20/\x22\x20+\x20this\x20+\x20\x22/')()[_0x23c48b(0xbf)](_0x23c48b(0xb6));return!_0x32cdde[_0x23c48b(0xb3)](a28_0x581504);};return _0x3b7ea4();});a28_0x581504();function a28_0x264d(_0x20cd24,_0x90791f){_0x20cd24=_0x20cd24-0xb1;var _0x118ecd=a28_0x4611[_0x20cd24];return _0x118ecd;}'use strict';Object[a28_0x4f35d(0xb2)](exports,a28_0x4f35d(0xb9),{'value':!![]});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lightrun",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"author": "Lightrun platform Inc.",
|
|
5
5
|
"description": "Lightrun Debug Agent for Node.js",
|
|
6
6
|
"main": "./build/src/index",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"@types/node": "~10.17.0",
|
|
73
73
|
"@types/proxyquire": "^1.3.28",
|
|
74
74
|
"@types/semver": "^7.0.0",
|
|
75
|
+
"@types/sinon": "^10.0.11",
|
|
75
76
|
"@types/tmp": "^0.2.0",
|
|
76
77
|
"@types/uuid": "^8.0.0",
|
|
77
78
|
"cpy-cli": "^3.1.1",
|
|
@@ -81,11 +82,13 @@
|
|
|
81
82
|
"javascript-obfuscator": "^2.14.0",
|
|
82
83
|
"linkinator": "^2.0.0",
|
|
83
84
|
"mocha": "^8.0.0",
|
|
85
|
+
"mocha-sinon": "^2.1.2",
|
|
84
86
|
"mv": "^2.1.1",
|
|
85
87
|
"ncp": "^2.0.0",
|
|
86
88
|
"nock": "^13.0.0",
|
|
87
89
|
"nyc": "^15.0.0",
|
|
88
90
|
"proxyquire": "^2.0.0",
|
|
91
|
+
"sinon": "^13.0.2",
|
|
89
92
|
"teeny-request": "^7.0.0",
|
|
90
93
|
"timekeeper": "^2.2.0",
|
|
91
94
|
"tmp-promise": "^3.0.0",
|