@teamscale/javascript-instrumenter 1.0.0-beta.6 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +0 -25
  2. package/dist/main.mjs +216 -0
  3. package/dist/vaccine.js +1 -1
  4. package/package.json +28 -19
  5. package/dist/package.json +0 -69
  6. package/dist/src/App.d.ts +0 -52
  7. package/dist/src/App.d.ts.map +0 -1
  8. package/dist/src/App.js +0 -283
  9. package/dist/src/instrumenter/FileSystem.d.ts +0 -38
  10. package/dist/src/instrumenter/FileSystem.d.ts.map +0 -1
  11. package/dist/src/instrumenter/FileSystem.js +0 -134
  12. package/dist/src/instrumenter/Instrumenter.d.ts +0 -92
  13. package/dist/src/instrumenter/Instrumenter.d.ts.map +0 -1
  14. package/dist/src/instrumenter/Instrumenter.js +0 -376
  15. package/dist/src/instrumenter/InstrumenterConfig.d.ts +0 -37
  16. package/dist/src/instrumenter/InstrumenterConfig.d.ts.map +0 -1
  17. package/dist/src/instrumenter/InstrumenterConfig.js +0 -165
  18. package/dist/src/instrumenter/RelativeCollectorPatternParser.d.ts +0 -8
  19. package/dist/src/instrumenter/RelativeCollectorPatternParser.d.ts.map +0 -1
  20. package/dist/src/instrumenter/RelativeCollectorPatternParser.js +0 -53
  21. package/dist/src/instrumenter/RelativeCollectorPatternParser.test.d.ts +0 -2
  22. package/dist/src/instrumenter/RelativeCollectorPatternParser.test.d.ts.map +0 -1
  23. package/dist/src/instrumenter/RelativeCollectorPatternParser.test.js +0 -28
  24. package/dist/src/instrumenter/Task.d.ts +0 -224
  25. package/dist/src/instrumenter/Task.d.ts.map +0 -1
  26. package/dist/src/instrumenter/Task.js +0 -309
  27. package/dist/src/instrumenter/TaskBuilder.d.ts +0 -75
  28. package/dist/src/instrumenter/TaskBuilder.d.ts.map +0 -1
  29. package/dist/src/instrumenter/TaskBuilder.js +0 -228
  30. package/dist/src/instrumenter/WebToolkit.d.ts +0 -40
  31. package/dist/src/instrumenter/WebToolkit.d.ts.map +0 -1
  32. package/dist/src/instrumenter/WebToolkit.js +0 -146
  33. package/dist/src/main.d.ts +0 -3
  34. package/dist/src/main.d.ts.map +0 -1
  35. package/dist/src/main.js +0 -8
  36. package/dist/src/vaccine/types.d.ts +0 -65
  37. package/dist/src/vaccine/types.d.ts.map +0 -1
  38. package/dist/src/vaccine/types.js +0 -2
@@ -1,165 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buildInstrumenterConfigurationParameters = buildInstrumenterConfigurationParameters;
4
- const commons_1 = require("@cqse/commons");
5
- const commons_2 = require("@cqse/commons");
6
- const CONFIG_GROUP_INPUT = {
7
- order: 1,
8
- title: 'Instrumenter Input and Output'
9
- };
10
- const CONFIG_GROUP_TARGET_PARAMS = {
11
- order: 2,
12
- title: 'Coverage Target Parameters'
13
- };
14
- const CONFIG_GROUP_COVERAGE_SUBJECT = {
15
- order: 3,
16
- title: 'Coverage Subject'
17
- };
18
- const CONFIG_GROUP_DEBUGGING = {
19
- order: 4,
20
- title: 'Troubleshooting'
21
- };
22
- /**
23
- * Builds and returns a configuration parameters object for the JavaScript instrumenter.
24
- * This function defines all supported command-line arguments and their descriptions.
25
- */
26
- function buildInstrumenterConfigurationParameters() {
27
- const parameters = new commons_1.ConfigurationParameters();
28
- function addParameter(shortParameter, longParameter, type, options) {
29
- parameters.addParameter(shortParameter, longParameter, type, options);
30
- }
31
- addParameter('-i', '--input', 'string[]', {
32
- help: 'The input file(s) or folder(s) to instrument.',
33
- group: CONFIG_GROUP_INPUT
34
- });
35
- addParameter('-l', '--in-place', 'bool', {
36
- help: 'If set, the original files to instrument are replaced by their instrumented counterparts.',
37
- group: CONFIG_GROUP_INPUT
38
- });
39
- addParameter('-o', '--to', 'string', {
40
- help: 'Path (directory or file name) to write the instrumented version to.',
41
- group: CONFIG_GROUP_INPUT
42
- });
43
- addParameter('-r', '--commit', 'string', {
44
- help: 'The commit (<branch name>:<UNIX timestamp in milliseconds>) or revision (Git hash) of the code to report coverage for.',
45
- group: CONFIG_GROUP_TARGET_PARAMS
46
- });
47
- addParameter('-c', '--collector', 'string', {
48
- help: 'The collector (`host:port` or `wss://host:port/` or `ws://host:port/`) to send coverage information to.',
49
- default: 'ws://localhost:54678',
50
- group: CONFIG_GROUP_TARGET_PARAMS
51
- });
52
- addParameter('-a', '--app-name', 'string', {
53
- help: 'The name of the application to report coverage for. Will be used to make the automatically generated application ID more readable.',
54
- group: CONFIG_GROUP_TARGET_PARAMS
55
- });
56
- addParameter(undefined, '--coverage-target-from-collector', 'bool', {
57
- help: 'All coverage target (upload) parameters, for example, the target partition, shall be specified by the collector.',
58
- group: CONFIG_GROUP_TARGET_PARAMS
59
- });
60
- addParameter('-f', '--config-id', 'string', {
61
- help: 'The ID of the profiler configuration to use; this configuration is refetched from Teamscale once a minute.',
62
- group: CONFIG_GROUP_TARGET_PARAMS
63
- });
64
- addParameter('-t', '--collector-config-file', 'string', {
65
- help: 'Provide a configuration file that specifies or overwrites the configuration of the Coverage Collector.',
66
- group: CONFIG_GROUP_TARGET_PARAMS
67
- });
68
- addParameter(undefined, '--collector-option', 'string[]', {
69
- help: 'Sets a given collector configuration option. Provided as key=value pairs.',
70
- group: CONFIG_GROUP_TARGET_PARAMS
71
- });
72
- addParameter(undefined, '--collector-options-list', 'bool', {
73
- help: 'Lists the options that can be set for the collector, via a --collector-config-file or via --collector-option.',
74
- group: CONFIG_GROUP_TARGET_PARAMS
75
- });
76
- addParameter(undefined, '--source-map', 'string', {
77
- help: 'External location of source-map files to consider.',
78
- group: CONFIG_GROUP_COVERAGE_SUBJECT
79
- });
80
- addParameter(undefined, '--relative-collector', 'string', {
81
- help: 'Pattern used to determine the collector URL from the application hostname.'
82
- + ' Useful for Kubernetes deployments where the collector URL is not known at instrumentation time.'
83
- + ' Example: `replace-in-host:app collector,scheme:wss`.'
84
- + ' This causes the first occurrence of `app` in the application hostname to be replaced with `collector`'
85
- + ' and the URL scheme changed to wss.'
86
- + ' Available operations:'
87
- + ' `replace-in-host:SEARCH REPLACE` replaces the literal term SEARCH once in the hostname with REPLACE.'
88
- + ' `port:NUMBER` changes the port to NUMBER.'
89
- + ' `port:keep` keeps the port of the application (instead of using the chosen scheme\'s default port).'
90
- + ' `scheme:SCHEME` changes the URL scheme to one of ws, wss, http or https.'
91
- + ' `path:PATH` uses the URL path PATH (instead of no path).',
92
- group: CONFIG_GROUP_TARGET_PARAMS
93
- });
94
- addParameter('-x', '--exclude-origin', 'string[]', {
95
- help: 'Glob pattern(s) of files in the source origin to not produce coverage for. Multiple patterns can be separated by comma.',
96
- group: CONFIG_GROUP_INPUT
97
- });
98
- addParameter('-k', '--include-origin', 'string[]', {
99
- help: 'Glob pattern(s) of files in the source origin to produce coverage for. Multiple patterns can be separated by comma.',
100
- group: CONFIG_GROUP_INPUT
101
- });
102
- addParameter('-e', '--exclude-bundle', 'string[]', {
103
- help: 'Glob pattern(s) of input (bundle) files to keep unchanged (to not instrument).',
104
- group: CONFIG_GROUP_INPUT
105
- });
106
- addParameter('-p', '--dump-origins-to', 'string', {
107
- help: 'Path specifying where to dump source origins file names, based on the source maps, as a JSON file.',
108
- group: CONFIG_GROUP_DEBUGGING
109
- });
110
- addParameter('-m', '--dump-origin-matches-to', 'string', {
111
- help: 'Path specifying where to dump a JSON with the names of the files that have matched the origin include/exclude patterns.',
112
- group: CONFIG_GROUP_DEBUGGING
113
- });
114
- addParameter(undefined, '--log-level', 'string', {
115
- help: 'Log level', default: 'info', group: CONFIG_GROUP_DEBUGGING
116
- });
117
- parameters.addArgumentCheck(options => {
118
- if (!Array.isArray(options.input) || options.input.length === 0) {
119
- return 'The --input parameter must be provided with the list of files or folders to instrument.';
120
- }
121
- });
122
- parameters.addRequiredArgumentFor('commit');
123
- parameters.addArgumentCheck(options => {
124
- if (!(0, commons_2.isValidCommitInfo)(options.commit)) {
125
- return 'The given commit must be of the form <branch>:<UNIX timestamp in milliseconds> or a Git hash.';
126
- }
127
- });
128
- parameters.addArgumentCheck(options => {
129
- if (!options.collector && !options.relativeCollector) {
130
- return 'Either a collector URL or a relative collector URL must be specified.';
131
- }
132
- });
133
- parameters.addArgumentCheck(options => {
134
- if (options.coverageTargetFromCollector) {
135
- // No other coverage target specifiers shall be set.
136
- if (Array.isArray(options.collectorOption) && options.collectorOption.length > 0) {
137
- const optionsSet = new Set(options.collectorOption.map((value) => value.split("=")[0]));
138
- if (optionsSet.has("teamscale-partition")
139
- || optionsSet.has("teamscale-project")
140
- || optionsSet.has("teamscale-repository")
141
- || optionsSet.has("teamscale-message")) {
142
- return 'The parameter `--coverage-target-from-collector` cannot be combined ' +
143
- 'with explicitly setting upload target options in the instrumenter.';
144
- }
145
- }
146
- }
147
- else {
148
- // Only if the coverage target parameters shall be set in the instrumented app only (see TS-44625).
149
- if (!options.configId && !options.collectorConfigFile && !(Array.isArray(options.collectorOption) && options.collectorOption.length > 0)) {
150
- return 'Either a configuration ID (--config-id), a collector configuration file (--collector-config-file) ' +
151
- 'or explicit collector options (--collector-option) must be specified. You can also decide to set all ' +
152
- 'coverage upload parameters on the collector side only by setting --coverage-target-from-collector.';
153
- }
154
- }
155
- });
156
- parameters.addArgumentCheck(options => {
157
- if (options.logLevel !== undefined) {
158
- const validLevels = ["trace", "debug", "info", "warn", "error", "fatal"];
159
- if (!validLevels.includes(options.logLevel)) {
160
- return "Please provide a valid value for --log-level. One of: " + validLevels.join(", ");
161
- }
162
- }
163
- });
164
- return parameters;
165
- }
@@ -1,8 +0,0 @@
1
- import { CollectorSpecifierRelative } from "@src/vaccine/types";
2
- /** Parses a relative collector pattern. */
3
- export declare class RelativeCollectorPatternParser {
4
- /** Parses the given pattern. */
5
- static parse(pattern: string): CollectorSpecifierRelative;
6
- private static apply;
7
- }
8
- //# sourceMappingURL=RelativeCollectorPatternParser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RelativeCollectorPatternParser.d.ts","sourceRoot":"","sources":["../../../src/instrumenter/RelativeCollectorPatternParser.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,2CAA2C;AAC3C,qBAAa,8BAA8B;IAEvC,gCAAgC;IAChC,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,0BAA0B;IAkBzD,OAAO,CAAC,MAAM,CAAC,KAAK;CAgCvB"}
@@ -1,53 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RelativeCollectorPatternParser = void 0;
4
- const commons_1 = require("@cqse/commons");
5
- /** Parses a relative collector pattern. */
6
- class RelativeCollectorPatternParser {
7
- /** Parses the given pattern. */
8
- static parse(pattern) {
9
- const parts = pattern.split(",");
10
- const specifier = {
11
- type: "relative"
12
- };
13
- for (const part of parts) {
14
- const colonIndex = part.indexOf(":");
15
- commons_1.Contract.require(colonIndex > -1, `Invalid relative collector pattern ${pattern}: ${part} has no colon after the operation`);
16
- const operation = part.substring(0, colonIndex);
17
- const value = part.substring(colonIndex + 1);
18
- RelativeCollectorPatternParser.apply(operation, value, specifier);
19
- }
20
- return specifier;
21
- }
22
- static apply(operation, value, specifier) {
23
- switch (operation) {
24
- case "port":
25
- commons_1.Contract.requireStringPattern(value, /[0-9]+|keep/, `Invalid relative collector pattern: port must be a number: ${value}`);
26
- if (value === "keep") {
27
- specifier.port = value;
28
- }
29
- else {
30
- specifier.port = parseInt(value);
31
- }
32
- break;
33
- case "replace-in-host":
34
- commons_1.Contract.requireStringPattern(value, /[^ ]+ [^ ]*/, `Invalid relative collector pattern: replace-in-host must contain exactly one space to separate search string and replacement: ${value}`);
35
- const parts = value.split(" ");
36
- specifier.hostReplace = {
37
- search: parts[0],
38
- replace: parts[1],
39
- };
40
- break;
41
- case "path":
42
- specifier.path = value;
43
- break;
44
- case "scheme":
45
- commons_1.Contract.requireStringPattern(value, /ws|wss|http|https/i, `Invalid relative collector pattern: scheme must be one of ws, wss, http or https: ${value}`);
46
- specifier.scheme = value.toLowerCase();
47
- break;
48
- default:
49
- throw new commons_1.IllegalArgumentException(`Invalid relative collector pattern: unknown operation ${operation}`);
50
- }
51
- }
52
- }
53
- exports.RelativeCollectorPatternParser = RelativeCollectorPatternParser;
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=RelativeCollectorPatternParser.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RelativeCollectorPatternParser.test.d.ts","sourceRoot":"","sources":["../../../src/instrumenter/RelativeCollectorPatternParser.test.ts"],"names":[],"mappings":""}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const RelativeCollectorPatternParser_1 = require("./RelativeCollectorPatternParser");
4
- describe("SubstitutionPatternParser", () => {
5
- test('empty pattern', () => {
6
- expect(RelativeCollectorPatternParser_1.RelativeCollectorPatternParser.parse("")).toEqual({
7
- type: "relative",
8
- });
9
- });
10
- test('keep port', () => {
11
- expect(RelativeCollectorPatternParser_1.RelativeCollectorPatternParser.parse("")).toEqual({
12
- type: "relative",
13
- port: "keep",
14
- });
15
- });
16
- test('all features', () => {
17
- expect(RelativeCollectorPatternParser_1.RelativeCollectorPatternParser.parse("scheme:wss,port:1234,replace-in-host:foo bar,path:path/path")).toEqual({
18
- type: "relative",
19
- hostReplace: {
20
- search: "foo",
21
- replace: "bar",
22
- },
23
- path: "path/path",
24
- port: 1234,
25
- scheme: "wss",
26
- });
27
- });
28
- });
@@ -1,224 +0,0 @@
1
- import { CollectorSpecifier, CoverageBucketSpecifier } from '../vaccine/types';
2
- /**
3
- * An abstract source map type.
4
- */
5
- export declare abstract class SourceMapReference {
6
- }
7
- type BaseBundle = {
8
- content: string;
9
- codeArguments: string[];
10
- };
11
- /**
12
- * A standard JavaScript bundle. Produced, for example, with bundlers
13
- * like Webpack or Vite.
14
- */
15
- export type StandardBundle = BaseBundle & {
16
- type: 'javascript';
17
- };
18
- /**
19
- * A Google Web-Toolkit Js bundle file.
20
- */
21
- export type GwtBundle = BaseBundle & {
22
- type: 'gwt';
23
- functionName: string;
24
- fragmentId: string;
25
- codeAsArrayArgument: boolean;
26
- };
27
- /**
28
- * A bundle to be handled by the instrumenter.
29
- */
30
- export type Bundle = BaseBundle & (StandardBundle | GwtBundle);
31
- /**
32
- * One element of an instrumentation task.
33
- * It corresponds to instrumenting a single file.
34
- */
35
- export declare class TaskElement {
36
- /** The source file */
37
- readonly fromFile: string;
38
- /** The destination file */
39
- readonly toFile: string;
40
- /** An external source map file relevant for the file at hand */
41
- readonly externalSourceMapFile?: SourceMapReference;
42
- constructor(fromFile: string, toFile: string, externalSourceMap?: SourceMapReference);
43
- /**
44
- * Is it an in-place instrumentation task?
45
- */
46
- isInPlace(): boolean;
47
- }
48
- /**
49
- * Given a command-line URL and an optional relative pattern, create a specifier for how the vaccine can
50
- * locate the connector.
51
- *
52
- * If a relative pattern is given, it is preferred, since the command-line interface always provides a URL
53
- * (the default URL in case the user didn't explicitly specify one).
54
- */
55
- export declare function createCollectorSpecifier(commandLineUrl: string, relativePattern?: string): CollectorSpecifier;
56
- /**
57
- * Patterns that define which parts of a given bundle to instrument or not.
58
- *
59
- * The patterns describe a set of filenames that can be found in the origin,
60
- * that is, before conducting all the transpilation steps. The source maps
61
- * are used to determine the original file names.
62
- */
63
- export declare class OriginSourcePattern {
64
- /** Glob pattern describing the set of files in the origin for that coverage should be produced. */
65
- private readonly include;
66
- /**
67
- * Glob pattern describing the set of files in the origin for that coverage should EXPLICITLY NOT be produced.
68
- * An exclude is stronger than an include.
69
- */
70
- private readonly exclude;
71
- /**
72
- * Files that did match the `include` pattern.
73
- */
74
- private readonly includeMatches;
75
- /**
76
- * Files that did match the `exclude` pattern.
77
- */
78
- private readonly excludeMatches;
79
- /**
80
- * Files that did neither match the `exclude` nor the `include` pattern.
81
- */
82
- private readonly neitherExcludedNorIncluded;
83
- constructor(include: string[] | undefined, exclude: string[] | undefined);
84
- /**
85
- * Does the given pattern require to include the given file?
86
- *
87
- * For example, a JavaScript bundle is compiled from several (origin) source files.
88
- * If one of the files in the bundle is needed, then the full bundle is needed, that is,
89
- * this function is required to return `true`.
90
- *
91
- * @param originFile - The file to decide for include or exclude.
92
- *
93
- * @returns `false` if (1) the given file is supposed to be excluded,
94
- * or (2) `true` if the given file is supposed to be included.
95
- */
96
- isIncluded(originFile: string): boolean;
97
- /**
98
- * Variant of `isIncluded` working on a list of files to check.
99
- * (Primarily, used for testing.)
100
- */
101
- isAnyIncluded(originFiles: string[]): boolean;
102
- /**
103
- * Retrieve the file names that have been matching the different patterns.
104
- */
105
- retrieveMatchingFiles(): {
106
- includePatterns: string[];
107
- excludePatterns: string[];
108
- excludeMatches: string[];
109
- includeMatches: string[];
110
- neitherExcludedNorIncluded: string[];
111
- };
112
- /**
113
- * Returns if include/exclude patterns are specified.
114
- */
115
- patternsSpecified(): boolean;
116
- }
117
- /**
118
- * Pattern describing files (bundles) to not instrument.
119
- */
120
- export declare class FileExcludePattern {
121
- /**
122
- * Glob pattern describing a set of files to be excluded in the instrumentation process.
123
- */
124
- private readonly exclude;
125
- constructor(exclude: string[] | undefined);
126
- /**
127
- * Return `true` if the given `filePath` is matched by any of the patterns in `exclude`.
128
- */
129
- isExcluded(filePath: string): boolean;
130
- }
131
- /**
132
- * The actual instrumentation task.
133
- */
134
- export declare class InstrumentationTask {
135
- /**
136
- * The collector to send coverage information to.
137
- */
138
- readonly collector: CollectorSpecifier;
139
- /**
140
- * The target bucket within the collector the coverage is supposed to be sent to.
141
- */
142
- readonly targetBucket: CoverageBucketSpecifier;
143
- /**
144
- * The files to instrument along with a specification of the target.
145
- */
146
- private readonly _elements;
147
- /**
148
- * A pattern describing which files or fragments of a bundle to instrument
149
- * based on the original file names the code was transpiled from.
150
- */
151
- readonly originSourcePattern: OriginSourcePattern;
152
- /**
153
- * A pattern describing the set of files to not instrument but to output
154
- * without adding instrumentations.
155
- */
156
- readonly excludeFilesPattern: FileExcludePattern;
157
- /**
158
- * File to write the file-origin-mapping to.
159
- */
160
- readonly dumpOriginsFile: string | undefined;
161
- /**
162
- * File to write the matched files to.
163
- */
164
- readonly dumpMatchedOriginsFile: string | undefined;
165
- constructor(collector: CollectorSpecifier, targetBucket: CoverageBucketSpecifier, elements: TaskElement[], excludeFilesPattern: FileExcludePattern, originSourcePattern: OriginSourcePattern, dumpOriginsFile: string | undefined, dumpMatchedOriginsFile: string | undefined);
166
- /**
167
- * @returns the elements of the task.
168
- */
169
- get elements(): TaskElement[];
170
- }
171
- /**
172
- * A summary of executing the instrumentation task.
173
- */
174
- export declare class TaskResult {
175
- /** Number of task elements that were performed (instrumented) */
176
- readonly translated: number;
177
- /** Number of task elements that were excluded because of corresponding include/exclude patterns. */
178
- readonly excluded: number;
179
- /** Number of instrumentations that were taken from a cache */
180
- readonly translatedFromCache: number;
181
- /** Number of skips due to a present instrumentation */
182
- readonly alreadyInstrumented: number;
183
- /** Number of files not support by the instrumenter */
184
- readonly unsupported: number;
185
- /** Number of elements for that the instrumentation failed */
186
- readonly failed: number;
187
- /** Number of warnings that were produced during the instrumentation process */
188
- readonly warnings: number;
189
- /** The instrumentation task for that the results were produced. */
190
- readonly task?: InstrumentationTask;
191
- constructor(translated: number, excluded: number, translatedFromCache: number, alreadyInstrumented: number, unsupported: number, failed: number, warnings: number, task?: InstrumentationTask);
192
- /**
193
- * Returns the sum of the present task results and the given one.
194
- *
195
- * @param incBy - The task result to add (as delta).
196
- */
197
- withIncrement(incBy: TaskResult): TaskResult;
198
- /**
199
- * @returns the neutral task element (adding it with {@code withIncrement} does not change the result).
200
- */
201
- static neutral(task?: InstrumentationTask): TaskResult;
202
- /**
203
- * @returns a task result signaling one error.
204
- *
205
- * @param e - The error to add.
206
- */
207
- static error(e: Error): TaskResult;
208
- /**
209
- * @returns a task result signaling one warning.
210
- *
211
- * @param msg - The warning message to add.
212
- */
213
- static warning(msg: string): TaskResult;
214
- }
215
- /**
216
- * A source map in an external file.
217
- */
218
- export declare class SourceMapFileReference extends SourceMapReference {
219
- /** The path the source map is stored in */
220
- readonly sourceMapFilePath: string;
221
- constructor(sourceMapFilePath: string);
222
- }
223
- export {};
224
- //# sourceMappingURL=Task.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../../src/instrumenter/Task.ts"],"names":[],"mappings":"AAEA,OAAO,EACN,kBAAkB,EAElB,uBAAuB,EACvB,MAAM,kBAAkB,CAAC;AAG1B;;GAEG;AACH,8BAAsB,kBAAkB;CAAI;AAE5C,KAAK,UAAU,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG;IACpC,IAAI,EAAE,KAAK,CAAC;IACZ,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,UAAU,GAAG,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;AAE/D;;;GAGG;AACH,qBAAa,WAAW;IACvB,sBAAsB;IACtB,SAAgB,QAAQ,EAAE,MAAM,CAAC;IAEjC,2BAA2B;IAC3B,SAAgB,MAAM,EAAE,MAAM,CAAC;IAE/B,gEAAgE;IAChE,SAAgB,qBAAqB,CAAC,EAAE,kBAAkB,CAAC;gBAE/C,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,kBAAkB;IAMpF;;OAEG;IACI,SAAS,IAAI,OAAO;CAK3B;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,cAAc,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,GA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