lightrun 0.0.0 → 1.2.3
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/README.md +67 -0
- package/build/src/agent/blocklisting/blocklisting-patterns.d.ts +6 -0
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -0
- package/build/src/agent/blocklisting/blocklisting-patterns.js.map +1 -0
- package/build/src/agent/blocklisting/dummy-blocklist-manager.d.ts +6 -0
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -0
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js.map +1 -0
- package/build/src/agent/blocklisting/patterns-blocklist-manager.d.ts +10 -0
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -0
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js.map +1 -0
- package/build/src/agent/config.d.ts +376 -0
- package/build/src/agent/config.js +1 -0
- package/build/src/agent/config.js.map +1 -0
- package/build/src/agent/controller.d.ts +62 -0
- package/build/src/agent/controller.js +1 -0
- package/build/src/agent/controller.js.map +1 -0
- package/build/src/agent/debuglet.d.ts +224 -0
- package/build/src/agent/debuglet.js +1 -0
- package/build/src/agent/debuglet.js.map +1 -0
- package/build/src/agent/io/scanner.d.ts +15 -0
- package/build/src/agent/io/scanner.js +1 -0
- package/build/src/agent/io/scanner.js.map +1 -0
- package/build/src/agent/io/sourcemapper.d.ts +72 -0
- package/build/src/agent/io/sourcemapper.js +1 -0
- package/build/src/agent/io/sourcemapper.js.map +1 -0
- package/build/src/agent/leaky-bucket.d.ts +16 -0
- package/build/src/agent/leaky-bucket.js +1 -0
- package/build/src/agent/leaky-bucket.js.map +1 -0
- package/build/src/agent/log-data.d.ts +13 -0
- package/build/src/agent/log-data.js +1 -0
- package/build/src/agent/log-data.js.map +1 -0
- package/build/src/agent/piping-manager.d.ts +34 -0
- package/build/src/agent/piping-manager.js +1 -0
- package/build/src/agent/piping-manager.js.map +1 -0
- package/build/src/agent/quota-manager.d.ts +36 -0
- package/build/src/agent/quota-manager.js +1 -0
- package/build/src/agent/quota-manager.js.map +1 -0
- package/build/src/agent/state/inspector-state.d.ts +28 -0
- package/build/src/agent/state/inspector-state.js +1 -0
- package/build/src/agent/state/inspector-state.js.map +1 -0
- package/build/src/agent/state/legacy-state.d.ts +22 -0
- package/build/src/agent/state/legacy-state.js +1 -0
- package/build/src/agent/state/legacy-state.js.map +1 -0
- package/build/src/agent/util/debug-assert.d.ts +22 -0
- package/build/src/agent/util/debug-assert.js +1 -0
- package/build/src/agent/util/debug-assert.js.map +1 -0
- package/build/src/agent/util/utils.d.ts +107 -0
- package/build/src/agent/util/utils.js +1 -0
- package/build/src/agent/util/utils.js.map +1 -0
- package/build/src/agent/util/validator.d.ts +12 -0
- package/build/src/agent/util/validator.js +1 -0
- package/build/src/agent/util/validator.js.map +1 -0
- package/build/src/agent/v8/debugapi.d.ts +21 -0
- package/build/src/agent/v8/debugapi.js +1 -0
- package/build/src/agent/v8/debugapi.js.map +1 -0
- package/build/src/agent/v8/inspector-debugapi.d.ts +79 -0
- package/build/src/agent/v8/inspector-debugapi.js +1 -0
- package/build/src/agent/v8/inspector-debugapi.js.map +1 -0
- package/build/src/agent/v8/legacy-debugapi.d.ts +56 -0
- package/build/src/agent/v8/legacy-debugapi.js +1 -0
- package/build/src/agent/v8/legacy-debugapi.js.map +1 -0
- package/build/src/agent/v8/v8inspector.d.ts +48 -0
- package/build/src/agent/v8/v8inspector.js +1 -0
- package/build/src/agent/v8/v8inspector.js.map +1 -0
- package/build/src/client/stackdriver/debug.d.ts +43 -0
- package/build/src/client/stackdriver/debug.js +1 -0
- package/build/src/client/stackdriver/debug.js.map +1 -0
- package/build/src/client/stackdriver/status-message.d.ts +34 -0
- package/build/src/client/stackdriver/status-message.js +1 -0
- package/build/src/client/stackdriver/status-message.js.map +1 -0
- package/build/src/debuggee.d.ts +64 -0
- package/build/src/debuggee.js +1 -0
- package/build/src/debuggee.js.map +1 -0
- package/build/src/index.d.ts +16 -0
- package/build/src/index.js +1 -0
- package/build/src/index.js.map +1 -0
- package/build/src/resources/lightrun-self-signed.pem +24 -0
- package/build/src/resources/version.txt +1 -0
- package/build/src/types/lightrun.d.ts +3 -0
- package/build/src/types/lightrun.js +1 -0
- package/build/src/types/lightrun.js.map +1 -0
- package/build/src/types/stackdriver.d.ts +76 -0
- package/build/src/types/stackdriver.js +1 -0
- package/build/src/types/stackdriver.js.map +1 -0
- package/build/src/types/v8.d.ts +214 -0
- package/build/src/types/v8.js +1 -0
- package/build/src/types/v8.js.map +1 -0
- package/package.json +90 -5
- package/start.js +4 -0
- package/index.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAGjC,+CAAmD;AACnD,sDAAiD;AAEjD,8DAA8D;AAC9D,MAAM,KAAK,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;AAE5C,aAAa;AACb,IAAI,QAAkB,CAAC;AAEvB;;;;;;;;;;;GAWG;AACH,SAAgB,KAAK,CACnB,OAA8C,CAAC,4CAA4C;;IAE3F,OAAO,GAAG,OAAO,IAAI,EAAE,CAAC;IACxB,MAAM,WAAW,GAAqB,YAAY,CAAC,OAAO,CAAC,CAAC;IAE5D,+CAA+C;IAC/C,IAAI,QAAQ,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE;QAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;KACzD;IAED,MAAM,KAAK,GAAG,IAAI,aAAK,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;IAC5C,QAAQ,GAAG,IAAI,mBAAQ,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;IAC5C,QAAQ,CAAC,KAAK,EAAE,CAAC;IAEjB,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC;AACpE,CAAC;AAhBD,sBAgBC;AAED;;;;;;;GAOG;AACH,SAAS,YAAY,CAAI,OAAwB;IAC/C,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE;QAClB,OAAO,OAAO,CAAC;KAChB;IACD,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1C,OAAO,MAAM,CAAC,KAAK,CAAC;IACpB,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9C,CAAC;AAED;;GAEG;AACH,SAAgB,GAAG;IACjB,OAAO,QAAQ,CAAC;AAClB,CAAC;AAFD,kBAEC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
Bag Attributes
|
|
2
|
+
localKeyID: 7E 3D 6E 68 85 5D ED 56 01 BB 67 00 28 FC EF A6 18 42 CC 28
|
|
3
|
+
subject=O = Lightrun, OU = Lightrun
|
|
4
|
+
|
|
5
|
+
issuer=O = Lightrun, OU = Lightrun
|
|
6
|
+
|
|
7
|
+
-----BEGIN CERTIFICATE-----
|
|
8
|
+
MIIC6zCCAdOgAwIBAgIEL7XobDANBgkqhkiG9w0BAQsFADAmMREwDwYDVQQKEwhM
|
|
9
|
+
aWdodHJ1bjERMA8GA1UECxMITGlnaHRydW4wHhcNMjAwNTE0MTI0NzQzWhcNMzAw
|
|
10
|
+
NTEyMTI0NzQzWjAmMREwDwYDVQQKEwhMaWdodHJ1bjERMA8GA1UECxMITGlnaHRy
|
|
11
|
+
dW4wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDY3Q/etIlocaJn9dQn
|
|
12
|
+
2sDoqTO+TJ9k8YzZdnGDhcilmOYAfYFYcfCuYti5+eHNwKCy41+0SoIlnnFKc71e
|
|
13
|
+
y92eKLPzl8wuiT1oyqLuVchpqJpYXHLZ3Rh+ywRwh5D9EiIQ1ATRM4vMw+DlAodX
|
|
14
|
+
T66XCKQY4lk/AIkvedB7wJLuZd0d+hI0ZBPnC2McJF/Q503KJMfj/fKPwWOeFuYo
|
|
15
|
+
5tDct8zIrT8Wj9njyjAovDGgO9AvVnedmHJF1IFtMQ7XODGZNq1+Tg+frdnk8iEE
|
|
16
|
+
LgahIo/vFAV6uCdZ9rjtqim2q3/RK3BRdTr7ZHsGYxqekRb5CyUsGfeS82JCwRvl
|
|
17
|
+
tCmLAgMBAAGjITAfMB0GA1UdDgQWBBShkPSLB3MRySaAT2QJL7qPSQpZOTANBgkq
|
|
18
|
+
hkiG9w0BAQsFAAOCAQEAAb2YWZfdJgnbSaymkAxnGkKTZegLc88FbQBy7iPwO00D
|
|
19
|
+
PdbX9D0g0fDmJmfDcCmEa0u4o7pVMli9MXJ1WHDEiJxpkWp4OdeFQbRq8C+E+PWI
|
|
20
|
+
LjTS9lTmT6czKz681GI35vg8JIBoxzrOC9lIAYEijfyYZUjEO0Ud9EQDpY3f3NV5
|
|
21
|
+
GyCHxtawul7HOCXKLuBPfzI2yeDqCzgzSdr6ebyYaAmSFnJ9meeK1BWRlAEyxoa+
|
|
22
|
+
l4PAAo660UtpcekYMVRqIc0JGFo6pxi0kYQUFDHoSS2L8P9EBOQfhEAYjqADDyoc
|
|
23
|
+
QmJ0WxM9D2ETVBqsezZD5tv6MwHLADEN2UXWx+8URw==
|
|
24
|
+
-----END CERTIFICATE-----
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.2.1-saas.1.2.2.672c22191
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a25_0x59fd=['81539sUsCot','1229465orHCrR','3FdKpCa','383523GvqTYu','defineProperty','constructor','1005206ZrVZlx','432961eeFqJT','return\x20/\x22\x20+\x20this\x20+\x20\x22/','__esModule','1087626qQTlHx','test','108774mhdafp'];function a25_0x4cf5(_0x154047,_0x29a5d1){_0x154047=_0x154047-0xe2;var _0x330e8c=a25_0x59fd[_0x154047];return _0x330e8c;}var a25_0x505d73=a25_0x4cf5;(function(_0x5a8f56,_0x1bde38){var _0x58506b=a25_0x4cf5;while(!![]){try{var _0x5976d0=-parseInt(_0x58506b(0xe7))+parseInt(_0x58506b(0xe9))+-parseInt(_0x58506b(0xed))+-parseInt(_0x58506b(0xec))+-parseInt(_0x58506b(0xe6))+-parseInt(_0x58506b(0xe5))+parseInt(_0x58506b(0xe3))*parseInt(_0x58506b(0xe8));if(_0x5976d0===_0x1bde38)break;else _0x5a8f56['push'](_0x5a8f56['shift']());}catch(_0x270a9d){_0x5a8f56['push'](_0x5a8f56['shift']());}}}(a25_0x59fd,0xc07e8));var a25_0x58d3a0=function(){var _0x89c6b9=!![];return function(_0xb61e0d,_0x59aa85){var _0x3f9ab5=_0x89c6b9?function(){if(_0x59aa85){var _0x43294c=_0x59aa85['apply'](_0xb61e0d,arguments);return _0x59aa85=null,_0x43294c;}}:function(){};return _0x89c6b9=![],_0x3f9ab5;};}(),a25_0x460060=a25_0x58d3a0(this,function(){var _0x4613a9=function(){var _0x5a1c6b=a25_0x4cf5,_0x4f64c6=_0x4613a9[_0x5a1c6b(0xeb)](_0x5a1c6b(0xee))()[_0x5a1c6b(0xeb)]('^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}');return!_0x4f64c6[_0x5a1c6b(0xe4)](a25_0x460060);};return _0x4613a9();});a25_0x460060();'use strict';Object[a25_0x505d73(0xea)](exports,a25_0x505d73(0xe2),{'value':!![]});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lightrun.js","sourceRoot":"","sources":["../../../src/types/lightrun.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export declare type Action = 'CAPTURE' | 'LOG';
|
|
2
|
+
export declare type Reference = 'UNSPECIFIED' | 'BREAKPOINT_SOURCE_LOCATION' | 'BREAKPOINT_CONDITION' | 'BREAKPOINT_EXPRESSION' | 'BREAKPOINT_AGE' | 'VARIABLE_NAME' | 'VARIABLE_VALUE';
|
|
3
|
+
export interface FormatMessage {
|
|
4
|
+
format: string;
|
|
5
|
+
parameters?: string[];
|
|
6
|
+
}
|
|
7
|
+
export interface StatusMessage {
|
|
8
|
+
isAccepted?: boolean;
|
|
9
|
+
isError: boolean;
|
|
10
|
+
refersTo: Reference;
|
|
11
|
+
description: FormatMessage;
|
|
12
|
+
}
|
|
13
|
+
export interface SourceLocation {
|
|
14
|
+
path: string;
|
|
15
|
+
column?: number;
|
|
16
|
+
line: number;
|
|
17
|
+
}
|
|
18
|
+
export declare type LogLevel = 'INFO' | 'WARN' | 'ERROR';
|
|
19
|
+
export interface Variable {
|
|
20
|
+
varTableIndex?: number;
|
|
21
|
+
name?: string;
|
|
22
|
+
value?: string;
|
|
23
|
+
type?: string;
|
|
24
|
+
members?: Variable[];
|
|
25
|
+
status?: StatusMessage;
|
|
26
|
+
}
|
|
27
|
+
export interface StackFrame {
|
|
28
|
+
function: string;
|
|
29
|
+
location: SourceLocation;
|
|
30
|
+
arguments: Variable[];
|
|
31
|
+
locals: Variable[];
|
|
32
|
+
}
|
|
33
|
+
export interface Timestamp {
|
|
34
|
+
seconds: string;
|
|
35
|
+
nanos: number;
|
|
36
|
+
}
|
|
37
|
+
export declare type Piping = 'APP_ONLY' | 'PLUGIN_ONLY' | 'BOTH' | 'NOT_SET';
|
|
38
|
+
export interface Breakpoint {
|
|
39
|
+
stackFrames: StackFrame[];
|
|
40
|
+
evaluatedExpressions: Array<Variable | null>;
|
|
41
|
+
variableTable: Array<Variable | null>;
|
|
42
|
+
id: BreakpointId;
|
|
43
|
+
action?: Action;
|
|
44
|
+
location?: SourceLocation;
|
|
45
|
+
condition?: string;
|
|
46
|
+
expressions?: string[];
|
|
47
|
+
logMessageFormat?: string;
|
|
48
|
+
logLevel?: LogLevel;
|
|
49
|
+
isFinalState?: boolean;
|
|
50
|
+
createTime?: Timestamp;
|
|
51
|
+
expirationSeconds?: number;
|
|
52
|
+
finalTime?: string;
|
|
53
|
+
userEmail?: string;
|
|
54
|
+
status?: StatusMessage;
|
|
55
|
+
labels?: {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
};
|
|
58
|
+
maxHitCount: number;
|
|
59
|
+
ignoreQuota: boolean;
|
|
60
|
+
pipingStatus: Piping;
|
|
61
|
+
expirationTime?: number;
|
|
62
|
+
}
|
|
63
|
+
export declare type BreakpointId = string;
|
|
64
|
+
export interface ListBreakpointsQuery {
|
|
65
|
+
waitToken?: string;
|
|
66
|
+
successOnTimeout?: boolean;
|
|
67
|
+
agentId?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface ListBreakpointsResponse {
|
|
70
|
+
breakpoints: Breakpoint[];
|
|
71
|
+
nextWaitToken: string;
|
|
72
|
+
waitExpired: boolean;
|
|
73
|
+
collectAndSendLog: boolean;
|
|
74
|
+
collectLogRequestId: string;
|
|
75
|
+
pipeLogs: Piping;
|
|
76
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a26_0x1db2=['1unyWdv','4gIeFdU','222119qmrexm','return\x20/\x22\x20+\x20this\x20+\x20\x22/','22121PycsAd','199424sPEZOp','193TalMTe','1GsmLhN','731VpZdpf','apply','defineProperty','66605NhuQDB','53741WfQYCl','34973vclgRH'];var a26_0x548013=a26_0x3e78;function a26_0x3e78(_0x35db60,_0x374da8){_0x35db60=_0x35db60-0x1be;var _0x518be7=a26_0x1db2[_0x35db60];return _0x518be7;}(function(_0x12af95,_0x1e3003){var _0x3e5127=a26_0x3e78;while(!![]){try{var _0x5b3055=parseInt(_0x3e5127(0x1be))+-parseInt(_0x3e5127(0x1c1))*parseInt(_0x3e5127(0x1bf))+parseInt(_0x3e5127(0x1c0))*-parseInt(_0x3e5127(0x1c5))+-parseInt(_0x3e5127(0x1c7))*-parseInt(_0x3e5127(0x1c9))+-parseInt(_0x3e5127(0x1cb))+parseInt(_0x3e5127(0x1c4))+parseInt(_0x3e5127(0x1c8))*-parseInt(_0x3e5127(0x1c6));if(_0x5b3055===_0x1e3003)break;else _0x12af95['push'](_0x12af95['shift']());}catch(_0x6c22f){_0x12af95['push'](_0x12af95['shift']());}}}(a26_0x1db2,0x200ef));var a26_0x236bb3=function(){var _0x2bc8f1=!![];return function(_0x45ff82,_0x14c015){var _0x5caef5=_0x2bc8f1?function(){var _0x2822b8=a26_0x3e78;if(_0x14c015){var _0x1ea9a5=_0x14c015[_0x2822b8(0x1c2)](_0x45ff82,arguments);return _0x14c015=null,_0x1ea9a5;}}:function(){};return _0x2bc8f1=![],_0x5caef5;};}(),a26_0x1b3b0f=a26_0x236bb3(this,function(){var _0x56a977=function(){var _0x5607f0=a26_0x3e78,_0x4ea3ba=_0x56a977['constructor'](_0x5607f0(0x1ca))()['constructor']('^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}');return!_0x4ea3ba['test'](a26_0x1b3b0f);};return _0x56a977();});a26_0x1b3b0f();'use strict';Object[a26_0x548013(0x1c3)](exports,'__esModule',{'value':!![]});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stackdriver.js","sourceRoot":"","sources":["../../../src/types/stackdriver.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
export declare type MirrorType = 'undefined' | 'null' | 'boolean' | 'number' | 'string' | 'symbol' | 'object' | 'function' | 'regexp' | 'error' | 'property' | 'internalProperty' | 'frame' | 'script' | 'context' | 'scope' | 'promise' | 'map' | 'set' | 'iterator' | 'generator';
|
|
2
|
+
export interface Mirror {
|
|
3
|
+
type: () => MirrorType;
|
|
4
|
+
isValue: () => boolean;
|
|
5
|
+
isUndefined: () => boolean;
|
|
6
|
+
isNull: () => boolean;
|
|
7
|
+
isBoolean: () => boolean;
|
|
8
|
+
isNumber: () => boolean;
|
|
9
|
+
isString: () => boolean;
|
|
10
|
+
isSymbol: () => boolean;
|
|
11
|
+
isObject: () => boolean;
|
|
12
|
+
isFunction: () => boolean;
|
|
13
|
+
isUnresolvedFunction: () => boolean;
|
|
14
|
+
isArray: () => boolean;
|
|
15
|
+
isDate: () => boolean;
|
|
16
|
+
isRegExp: () => boolean;
|
|
17
|
+
isError: () => boolean;
|
|
18
|
+
isPromise: () => boolean;
|
|
19
|
+
isGenerator: () => boolean;
|
|
20
|
+
isProperty: () => boolean;
|
|
21
|
+
isInternalProperty: () => boolean;
|
|
22
|
+
isFrame: () => boolean;
|
|
23
|
+
isScript: () => boolean;
|
|
24
|
+
isContext: () => boolean;
|
|
25
|
+
isScope: () => boolean;
|
|
26
|
+
isMap: () => boolean;
|
|
27
|
+
isSet: () => boolean;
|
|
28
|
+
isIterator: () => boolean;
|
|
29
|
+
toText: () => string;
|
|
30
|
+
}
|
|
31
|
+
export interface ValueMirror extends Mirror {
|
|
32
|
+
value_: any;
|
|
33
|
+
isPrimitive: () => boolean;
|
|
34
|
+
value: () => any;
|
|
35
|
+
}
|
|
36
|
+
export interface UndefinedMirror extends ValueMirror {
|
|
37
|
+
}
|
|
38
|
+
export interface InternalPropertyMirror extends Mirror {
|
|
39
|
+
name: () => string;
|
|
40
|
+
value: () => any;
|
|
41
|
+
}
|
|
42
|
+
export interface ObjectMirror extends ValueMirror {
|
|
43
|
+
className: () => string;
|
|
44
|
+
constructorFunction: () => Mirror;
|
|
45
|
+
prototypeObject: () => Mirror;
|
|
46
|
+
protoObject: () => Mirror;
|
|
47
|
+
hasNamedInterceptor: () => boolean;
|
|
48
|
+
hasIndexedInterceptor: () => boolean;
|
|
49
|
+
propertyNames: (kind: number, limit: number) => string[];
|
|
50
|
+
properties: (kind?: number, limit?: number) => PropertyMirror[];
|
|
51
|
+
internalProperties: () => PropertyMirror[];
|
|
52
|
+
property: () => PropertyMirror | UndefinedMirror;
|
|
53
|
+
lookupProperty: (value: Mirror) => PropertyMirror | UndefinedMirror;
|
|
54
|
+
referencedBy: (opt_max_objects?: number) => Mirror[];
|
|
55
|
+
GetInternalProperties: (value: any) => InternalPropertyMirror[];
|
|
56
|
+
}
|
|
57
|
+
export interface PropertyMirror extends Mirror {
|
|
58
|
+
mirror_: ObjectMirror;
|
|
59
|
+
isReadOnly: () => boolean;
|
|
60
|
+
isEnum: () => boolean;
|
|
61
|
+
canDelete: () => boolean;
|
|
62
|
+
name: () => string;
|
|
63
|
+
isIndexed: () => boolean;
|
|
64
|
+
value: () => ValueMirror;
|
|
65
|
+
isException: () => boolean;
|
|
66
|
+
attributes: () => any;
|
|
67
|
+
propertyType: () => any;
|
|
68
|
+
hasGetter: () => boolean;
|
|
69
|
+
hasSetter: () => boolean;
|
|
70
|
+
getter: () => Mirror;
|
|
71
|
+
setter: () => Mirror;
|
|
72
|
+
isNative: () => boolean;
|
|
73
|
+
}
|
|
74
|
+
export interface FrameDetails {
|
|
75
|
+
arguments: Array<{
|
|
76
|
+
name: string;
|
|
77
|
+
value: any;
|
|
78
|
+
}>;
|
|
79
|
+
locals: Array<{
|
|
80
|
+
name: string;
|
|
81
|
+
value: any;
|
|
82
|
+
}>;
|
|
83
|
+
break_id_: number;
|
|
84
|
+
details_: any;
|
|
85
|
+
frameId: () => any;
|
|
86
|
+
receiver: () => any;
|
|
87
|
+
func: () => any;
|
|
88
|
+
script: () => any;
|
|
89
|
+
isConstructCall: () => any;
|
|
90
|
+
isAtReturn: () => any;
|
|
91
|
+
isDebuggerFrame: () => any;
|
|
92
|
+
isOptimizedFrame: () => any;
|
|
93
|
+
isInlinedFrame: () => any;
|
|
94
|
+
inlinedFrameIndex: () => any;
|
|
95
|
+
argumentCount: () => any;
|
|
96
|
+
argumentName: (index: number) => any;
|
|
97
|
+
argumentValue: (index: number) => any;
|
|
98
|
+
localCount: () => any;
|
|
99
|
+
sourcePosition: () => any;
|
|
100
|
+
localName: () => any;
|
|
101
|
+
localValue: () => any;
|
|
102
|
+
returnValue: () => any;
|
|
103
|
+
scopeCount: () => any;
|
|
104
|
+
}
|
|
105
|
+
export interface FrameMirror extends Mirror {
|
|
106
|
+
break_id_: number;
|
|
107
|
+
index_: number;
|
|
108
|
+
details_: FrameDetails;
|
|
109
|
+
details: () => FrameDetails;
|
|
110
|
+
index: () => number;
|
|
111
|
+
func: () => FunctionMirror;
|
|
112
|
+
script: () => Mirror;
|
|
113
|
+
receiver: () => Mirror;
|
|
114
|
+
isConstructCall: () => boolean;
|
|
115
|
+
isAtReturn: () => boolean;
|
|
116
|
+
isDebuggerFrame: () => boolean;
|
|
117
|
+
isOptimizedFrame: () => boolean;
|
|
118
|
+
isInlinedFrame: () => boolean;
|
|
119
|
+
inlinedFrameIndex: () => number;
|
|
120
|
+
argumentCount: () => number;
|
|
121
|
+
argumentName: () => string;
|
|
122
|
+
argumentValue: () => Mirror;
|
|
123
|
+
localCount: () => number;
|
|
124
|
+
localName: () => string;
|
|
125
|
+
localValue: () => Mirror;
|
|
126
|
+
returnValue: () => Mirror;
|
|
127
|
+
sourcePosition: () => any;
|
|
128
|
+
sourceLocation: () => any;
|
|
129
|
+
sourceLine: () => number;
|
|
130
|
+
sourceColumn: () => number;
|
|
131
|
+
sourceLineText: () => string;
|
|
132
|
+
scopeCount: () => number;
|
|
133
|
+
scope: () => Mirror;
|
|
134
|
+
allScopes: (opt_ignore_nested_scopes?: boolean) => ScopeMirror[];
|
|
135
|
+
evaluate: (source: string, throw_on_side_effect?: boolean) => ValueMirror;
|
|
136
|
+
invocationText: () => string;
|
|
137
|
+
sourceAndPositionText: () => string;
|
|
138
|
+
localsText: () => string;
|
|
139
|
+
restart: () => any;
|
|
140
|
+
}
|
|
141
|
+
export interface ScopeDetails {
|
|
142
|
+
type: () => any;
|
|
143
|
+
object: () => any;
|
|
144
|
+
name: () => any;
|
|
145
|
+
startPosition: () => any;
|
|
146
|
+
endPosition: () => any;
|
|
147
|
+
func: () => any;
|
|
148
|
+
setVariableValueImpl: (name: string, new_value: any) => void;
|
|
149
|
+
}
|
|
150
|
+
export interface ScopeMirror extends Mirror {
|
|
151
|
+
details: () => ScopeDetails;
|
|
152
|
+
frameIndex: () => number;
|
|
153
|
+
scopeIndex: () => number;
|
|
154
|
+
scopeType: () => any;
|
|
155
|
+
scopeObject: () => Mirror;
|
|
156
|
+
setVariableValue: (name: string, new_value: any) => void;
|
|
157
|
+
}
|
|
158
|
+
export interface ScriptMirror {
|
|
159
|
+
name: () => string;
|
|
160
|
+
}
|
|
161
|
+
export interface Location {
|
|
162
|
+
}
|
|
163
|
+
export interface ContextMirror {
|
|
164
|
+
}
|
|
165
|
+
export interface FunctionMirror extends ObjectMirror {
|
|
166
|
+
resolved: () => boolean;
|
|
167
|
+
name: () => string;
|
|
168
|
+
debugName: () => string;
|
|
169
|
+
inferredName: () => string;
|
|
170
|
+
source: () => string | undefined;
|
|
171
|
+
script: () => ScriptMirror | undefined;
|
|
172
|
+
sourcePosition: () => number | undefined;
|
|
173
|
+
sourceLocation: () => Location | undefined;
|
|
174
|
+
constructedBy: (opt_max_instances?: number) => Mirror[] | undefined;
|
|
175
|
+
scopeCount: () => number;
|
|
176
|
+
scope: (index: number) => ScopeMirror;
|
|
177
|
+
toText: () => string;
|
|
178
|
+
context: () => ContextMirror;
|
|
179
|
+
}
|
|
180
|
+
export interface ExecutionState {
|
|
181
|
+
frame: (index: number) => FrameMirror;
|
|
182
|
+
frameCount: () => number;
|
|
183
|
+
}
|
|
184
|
+
export interface BreakPoint {
|
|
185
|
+
script_break_point: () => ScriptBreakPoint;
|
|
186
|
+
number: () => number;
|
|
187
|
+
active: () => boolean;
|
|
188
|
+
}
|
|
189
|
+
export interface ScriptBreakPoint {
|
|
190
|
+
number: () => number;
|
|
191
|
+
}
|
|
192
|
+
export interface BreakEvent {
|
|
193
|
+
eventType: () => DebugEvent;
|
|
194
|
+
func: () => any;
|
|
195
|
+
sourceLine: () => number;
|
|
196
|
+
sourceColumn: () => number;
|
|
197
|
+
sourceLineText: () => string;
|
|
198
|
+
breakPointsHit: () => BreakPoint[];
|
|
199
|
+
}
|
|
200
|
+
export interface DebugEvent {
|
|
201
|
+
Break: DebugEvent;
|
|
202
|
+
Exception: DebugEvent;
|
|
203
|
+
AfterCompile: DebugEvent;
|
|
204
|
+
CompileError: DebugEvent;
|
|
205
|
+
AsyncTaskEvent: DebugEvent;
|
|
206
|
+
}
|
|
207
|
+
export interface Debug {
|
|
208
|
+
DebugEvent: DebugEvent;
|
|
209
|
+
setListener: (listener: any, opt_data?: any) => void;
|
|
210
|
+
clearBreakPoint: (break_point_number: number) => void;
|
|
211
|
+
setScriptBreakPointByRegExp: (script_regexp: RegExp, opt_line?: number, opt_column?: number, opt_condition?: any, opt_groupId?: number) => number;
|
|
212
|
+
findBreakPoint: (break_point_number: number, remove?: boolean) => BreakPoint;
|
|
213
|
+
MakeMirror: (value: any) => Mirror;
|
|
214
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a27_0x300b=['defineProperty','return\x20/\x22\x20+\x20this\x20+\x20\x22/','apply','490159MQiqjI','214981mrhQdt','test','2363405wWSeUH','1bSQLOL','3aLzHmd','^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}','1923256DGtrNy','constructor','231548YYxKRV','1099988sQliMJ','464687pRiEnS'];var a27_0x66f1b0=a27_0x3c4f;(function(_0x882aba,_0x22856f){var _0x8ed34f=a27_0x3c4f;while(!![]){try{var _0x47d818=parseInt(_0x8ed34f(0xde))*-parseInt(_0x8ed34f(0xd9))+-parseInt(_0x8ed34f(0xd5))*-parseInt(_0x8ed34f(0xdd))+-parseInt(_0x8ed34f(0xe0))+parseInt(_0x8ed34f(0xda))+parseInt(_0x8ed34f(0xd3))+parseInt(_0x8ed34f(0xd4))+parseInt(_0x8ed34f(0xdc));if(_0x47d818===_0x22856f)break;else _0x882aba['push'](_0x882aba['shift']());}catch(_0x1a0a87){_0x882aba['push'](_0x882aba['shift']());}}}(a27_0x300b,0xef78c));function a27_0x3c4f(_0x4f7589,_0x1771d4){_0x4f7589=_0x4f7589-0xd2;var _0x156926=a27_0x300b[_0x4f7589];return _0x156926;}var a27_0x2115a9=function(){var _0x282723=!![];return function(_0x3d4139,_0x14a0a9){var _0x317f6a=_0x282723?function(){var _0x4e87da=a27_0x3c4f;if(_0x14a0a9){var _0x5dd144=_0x14a0a9[_0x4e87da(0xd8)](_0x3d4139,arguments);return _0x14a0a9=null,_0x5dd144;}}:function(){};return _0x282723=![],_0x317f6a;};}(),a27_0x50a328=a27_0x2115a9(this,function(){var _0x222a89=function(){var _0x9ff1cc=a27_0x3c4f,_0x3a0d8b=_0x222a89[_0x9ff1cc(0xd2)](_0x9ff1cc(0xd7))()[_0x9ff1cc(0xd2)](_0x9ff1cc(0xdf));return!_0x3a0d8b[_0x9ff1cc(0xdb)](a27_0x50a328);};return _0x222a89();});a27_0x50a328();'use strict';Object[a27_0x66f1b0(0xd6)](exports,'__esModule',{'value':!![]});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v8.js","sourceRoot":"","sources":["../../../src/types/v8.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,95 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lightrun",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "1.2.3",
|
|
4
|
+
"author": "Lightrun platform Inc.",
|
|
5
|
+
"description": "Lightrun Debug Agent for Node.js",
|
|
6
|
+
"main": "./build/src/index",
|
|
7
|
+
"types": "./build/src/index.d.ts",
|
|
8
|
+
"repository": "lightrun/lightrun",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"lightrun",
|
|
11
|
+
"debugger",
|
|
12
|
+
"debug",
|
|
13
|
+
"cloud",
|
|
14
|
+
"cloud debug",
|
|
15
|
+
"cloud debugger"
|
|
16
|
+
],
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=10"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"build/src",
|
|
22
|
+
"start.js"
|
|
23
|
+
],
|
|
6
24
|
"scripts": {
|
|
25
|
+
"prepare": "npm run compile",
|
|
26
|
+
"presystem-test": "npm run compile",
|
|
27
|
+
"system-test": "nyc mocha build/system-test --timeout 600000",
|
|
28
|
+
"test": "nyc cross-env CLOUD_DEBUG_ASSERTIONS=1 mocha build/test",
|
|
29
|
+
"compile": "tsc -p .",
|
|
30
|
+
"postcompile": "cpy src/resources test/*.js test/**/*.js test/fixtures build --parents",
|
|
31
|
+
"fix": "gts fix",
|
|
32
|
+
"pretest": "npm run compile",
|
|
33
|
+
"prepack": "npm run obfuscate",
|
|
34
|
+
"lint": "gts check",
|
|
35
|
+
"docs": "compodoc src/",
|
|
36
|
+
"docs-test": "linkinator docs",
|
|
37
|
+
"predocs-test": "npm run docs",
|
|
38
|
+
"clean": "gts clean",
|
|
39
|
+
"precompile": "gts clean",
|
|
40
|
+
"api-extractor": "api-extractor run --local",
|
|
41
|
+
"api-documenter": "api-documenter yaml --input-folder=temp",
|
|
42
|
+
"obfuscate": "javascript-obfuscator build -o build/ --config obfuscating-options.json"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@google-cloud/common": "^3.0.0",
|
|
46
|
+
"acorn": "^8.0.0",
|
|
47
|
+
"coffeescript": "^2.0.0",
|
|
48
|
+
"extend": "^3.0.2",
|
|
49
|
+
"findit2": "^2.2.3",
|
|
50
|
+
"gcp-metadata": "^4.0.0",
|
|
51
|
+
"p-limit": "^3.0.1",
|
|
52
|
+
"semver": "^7.0.0",
|
|
53
|
+
"source-map": "^0.6.1",
|
|
54
|
+
"split": "^1.0.0",
|
|
55
|
+
"gaxios": "^4.2.0",
|
|
56
|
+
"log4js": "^6.3.0",
|
|
57
|
+
"moment": "^2.29.1",
|
|
58
|
+
"memory-streams": "^0.1.3",
|
|
59
|
+
"js-yaml": "^4.1.0",
|
|
60
|
+
"java-properties": "^1.0.2"
|
|
7
61
|
},
|
|
8
|
-
"
|
|
9
|
-
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@compodoc/compodoc": "1.1.11",
|
|
64
|
+
"@types/acorn": "^4.0.2",
|
|
65
|
+
"@types/estree": "0.0.45",
|
|
66
|
+
"@types/extend": "^3.0.0",
|
|
67
|
+
"@types/mocha": "^8.0.0",
|
|
68
|
+
"@types/mv": "^2.1.0",
|
|
69
|
+
"@types/ncp": "^2.0.3",
|
|
70
|
+
"@types/node": "~10.17.0",
|
|
71
|
+
"@types/proxyquire": "^1.3.28",
|
|
72
|
+
"@types/semver": "^7.0.0",
|
|
73
|
+
"@types/tmp": "^0.2.0",
|
|
74
|
+
"@types/uuid": "^8.0.0",
|
|
75
|
+
"cpy-cli": "^3.1.1",
|
|
76
|
+
"cross-env": "^7.0.0",
|
|
77
|
+
"execa": "^4.0.0",
|
|
78
|
+
"gts": "^2.0.0",
|
|
79
|
+
"linkinator": "^2.0.0",
|
|
80
|
+
"mocha": "^8.0.0",
|
|
81
|
+
"mv": "^2.1.1",
|
|
82
|
+
"ncp": "^2.0.0",
|
|
83
|
+
"nock": "^13.0.0",
|
|
84
|
+
"nyc": "^15.0.0",
|
|
85
|
+
"proxyquire": "^2.0.0",
|
|
86
|
+
"teeny-request": "^7.0.0",
|
|
87
|
+
"tmp-promise": "^3.0.0",
|
|
88
|
+
"typescript": "^3.8.3",
|
|
89
|
+
"uuid": "^8.0.0",
|
|
90
|
+
"@microsoft/api-documenter": "^7.8.10",
|
|
91
|
+
"@microsoft/api-extractor": "^7.8.10",
|
|
92
|
+
"timekeeper": "^2.2.0",
|
|
93
|
+
"javascript-obfuscator": "^2.14.0"
|
|
94
|
+
}
|
|
10
95
|
}
|
package/start.js
ADDED
package/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
console.log("Coming Soon...");
|