lightrun 1.23.0 → 1.25.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.
- package/build/src/agent/agent-logger.js +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.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -0
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -0
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -0
- package/build/src/agent/debuglet-helpers/delimit.js +1 -0
- package/build/src/agent/debuglet-helpers/format.js +1 -0
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -0
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -0
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -0
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -0
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -0
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +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/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +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.js +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.js +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/gcp.js +1 -1
- package/build/src/index.d.ts +561 -18
- package/build/src/index.js +1 -1
- package/build/src/lambda.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 +8 -11
- package/build/src/agent/agent-logger.d.ts +0 -10
- package/build/src/agent/agent-logger.js.map +0 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.d.ts +0 -6
- package/build/src/agent/blocklisting/blocklisting-patterns.js.map +0 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.d.ts +0 -6
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js.map +0 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.d.ts +0 -10
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js.map +0 -1
- package/build/src/agent/config.d.ts +0 -418
- package/build/src/agent/config.js.map +0 -1
- package/build/src/agent/configuration-provider.d.ts +0 -19
- package/build/src/agent/configuration-provider.js.map +0 -1
- package/build/src/agent/controller.d.ts +0 -71
- package/build/src/agent/controller.js.map +0 -1
- package/build/src/agent/debuglet.d.ts +0 -234
- package/build/src/agent/debuglet.js.map +0 -1
- package/build/src/agent/environment-metadata.d.ts +0 -36
- package/build/src/agent/environment-metadata.js.map +0 -1
- package/build/src/agent/io/file-index.d.ts +0 -76
- package/build/src/agent/io/file-index.js.map +0 -1
- package/build/src/agent/io/scan-results.d.ts +0 -60
- package/build/src/agent/io/scan-results.js.map +0 -1
- package/build/src/agent/io/scanner.d.ts +0 -43
- package/build/src/agent/io/scanner.js.map +0 -1
- package/build/src/agent/io/sourcemapper.d.ts +0 -72
- package/build/src/agent/io/sourcemapper.js.map +0 -1
- package/build/src/agent/leaky-bucket.d.ts +0 -16
- package/build/src/agent/leaky-bucket.js.map +0 -1
- package/build/src/agent/log-data.d.ts +0 -13
- package/build/src/agent/log-data.js.map +0 -1
- package/build/src/agent/piping-manager.d.ts +0 -39
- package/build/src/agent/piping-manager.js.map +0 -1
- package/build/src/agent/quota-manager.d.ts +0 -40
- package/build/src/agent/quota-manager.js.map +0 -1
- package/build/src/agent/reduction/redaction-manager-re2.d.ts +0 -8
- package/build/src/agent/reduction/redaction-manager-re2.js +0 -1
- package/build/src/agent/reduction/redaction-manager-re2.js.map +0 -1
- package/build/src/agent/reduction/redaction-manager-re2js.d.ts +0 -8
- package/build/src/agent/reduction/redaction-manager-re2js.js.map +0 -1
- package/build/src/agent/reduction/redaction-manager.d.ts +0 -6
- package/build/src/agent/reduction/redaction-manager.js.map +0 -1
- package/build/src/agent/state/inspector-state.d.ts +0 -28
- package/build/src/agent/state/inspector-state.js.map +0 -1
- package/build/src/agent/state/legacy-state.d.ts +0 -22
- package/build/src/agent/state/legacy-state.js.map +0 -1
- package/build/src/agent/util/debug-assert.d.ts +0 -22
- package/build/src/agent/util/debug-assert.js.map +0 -1
- package/build/src/agent/util/utils.d.ts +0 -65
- package/build/src/agent/util/utils.js.map +0 -1
- package/build/src/agent/util/validator.d.ts +0 -12
- package/build/src/agent/util/validator.js.map +0 -1
- package/build/src/agent/v8/debugapi.d.ts +0 -23
- package/build/src/agent/v8/debugapi.js.map +0 -1
- package/build/src/agent/v8/inspector-debugapi.d.ts +0 -82
- package/build/src/agent/v8/inspector-debugapi.js.map +0 -1
- package/build/src/agent/v8/legacy-debugapi.d.ts +0 -58
- package/build/src/agent/v8/legacy-debugapi.js.map +0 -1
- package/build/src/agent/v8/v8inspector.d.ts +0 -53
- package/build/src/agent/v8/v8inspector.js.map +0 -1
- package/build/src/client/stackdriver/debug.d.ts +0 -43
- package/build/src/client/stackdriver/debug.js.map +0 -1
- package/build/src/client/stackdriver/status-message.d.ts +0 -35
- package/build/src/client/stackdriver/status-message.js.map +0 -1
- package/build/src/debuggee.d.ts +0 -80
- package/build/src/debuggee.js.map +0 -1
- package/build/src/gcp.d.ts +0 -2
- package/build/src/gcp.js.map +0 -1
- package/build/src/index.js.map +0 -1
- package/build/src/lambda.d.ts +0 -2
- package/build/src/lambda.js.map +0 -1
- package/build/src/types/lightrun.d.ts +0 -18
- package/build/src/types/lightrun.js.map +0 -1
- package/build/src/types/stackdriver.d.ts +0 -79
- package/build/src/types/stackdriver.js.map +0 -1
- package/build/src/types/v8.d.ts +0 -214
- package/build/src/types/v8.js.map +0 -1
package/build/src/types/v8.d.ts
DELETED
|
@@ -1,214 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|