@teamscale/javascript-instrumenter 0.1.0-beta.6 → 0.1.0-beta.8
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/dist/package.json +14 -14
- package/dist/src/App.d.ts +7 -0
- package/dist/src/App.d.ts.map +1 -1
- package/dist/src/App.js +12 -5
- package/dist/src/instrumenter/TaskBuilder.d.ts +1 -1
- package/dist/src/instrumenter/TaskBuilder.d.ts.map +1 -1
- package/dist/src/instrumenter/TaskBuilder.js +1 -1
- package/dist/src/vaccine/types.d.ts +13 -0
- package/dist/src/vaccine/types.d.ts.map +1 -1
- package/dist/vaccine.js +1 -1
- package/package.json +15 -15
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamscale/javascript-instrumenter",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.8",
|
|
4
4
|
"description": "JavaScript coverage instrumenter with coverage forwarding to a collector process",
|
|
5
5
|
"main": "dist/src/main.js",
|
|
6
6
|
"bin": "dist/src/main.js",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"dist/**/*"
|
|
24
24
|
],
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@babel/core": "^7.
|
|
27
|
-
"@babel/plugin-transform-modules-commonjs": "^7.
|
|
28
|
-
"@babel/preset-env": "^7.
|
|
29
|
-
"@types/argparse": "^2.0.
|
|
26
|
+
"@babel/core": "^7.24.4",
|
|
27
|
+
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
|
|
28
|
+
"@babel/preset-env": "^7.24.4",
|
|
29
|
+
"@types/argparse": "^2.0.16",
|
|
30
30
|
"@types/async": "^3.2.24",
|
|
31
31
|
"@types/babel__generator": "^7.6.8",
|
|
32
32
|
"@types/babel__traverse": "^7.20.5",
|
|
@@ -35,32 +35,32 @@
|
|
|
35
35
|
"@types/glob": "^8.1.0",
|
|
36
36
|
"@types/istanbul-lib-instrument": "^1.7.7",
|
|
37
37
|
"@types/jest": "^29.5.12",
|
|
38
|
-
"@types/node": "^20.
|
|
38
|
+
"@types/node": "^20.12.6",
|
|
39
39
|
"@types/ws": "^8.5.10",
|
|
40
40
|
"babel-jest": "^29.7.0",
|
|
41
|
-
"esbuild": "^0.20.
|
|
41
|
+
"esbuild": "^0.20.2",
|
|
42
42
|
"esbuild-plugin-inline-worker": "^0.1.1",
|
|
43
43
|
"jest": "^29.7.0",
|
|
44
44
|
"rimraf": "^5.0.5",
|
|
45
45
|
"ts-jest": "^29.1.2",
|
|
46
46
|
"ts-node": "^10.9.2",
|
|
47
47
|
"tslib": "^2.6.2",
|
|
48
|
-
"typescript": "^5.
|
|
48
|
+
"typescript": "^5.4.4"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@cqse/commons": "0.1.0-beta.
|
|
51
|
+
"@cqse/commons": "0.1.0-beta.7",
|
|
52
52
|
"@teamscale/lib-instrument": "workspace:../lib-instrument",
|
|
53
|
-
"@babel/generator": "^7.
|
|
54
|
-
"@babel/parser": "^7.
|
|
55
|
-
"@babel/traverse": "^7.
|
|
56
|
-
"@babel/types": "^7.
|
|
53
|
+
"@babel/generator": "^7.24.4",
|
|
54
|
+
"@babel/parser": "^7.24.4",
|
|
55
|
+
"@babel/traverse": "^7.24.1",
|
|
56
|
+
"@babel/types": "^7.24.0",
|
|
57
57
|
"@types/micromatch": "^4.0.6",
|
|
58
58
|
"argparse": "^2.0.1",
|
|
59
59
|
"async": "^3.2.5",
|
|
60
60
|
"bunyan": "^1.8.15",
|
|
61
61
|
"convert-source-map": "^2.0.0",
|
|
62
62
|
"foreground-child": "^3.1.1",
|
|
63
|
-
"glob": "^10.3.
|
|
63
|
+
"glob": "^10.3.12",
|
|
64
64
|
"micromatch": "4.0.5",
|
|
65
65
|
"mkdirp": "^3.0.1",
|
|
66
66
|
"source-map": "0.7.4",
|
package/dist/src/App.d.ts
CHANGED
|
@@ -10,6 +10,13 @@ export declare class App {
|
|
|
10
10
|
* Parses the command line options and the instrumentation accordingly.
|
|
11
11
|
*/
|
|
12
12
|
static run(): Promise<TaskResult>;
|
|
13
|
+
/**
|
|
14
|
+
* Parses the command-line arguments.
|
|
15
|
+
*
|
|
16
|
+
* @param args Optional. For testing. If given, uses this as the arguments to parse and does not exit the process on errors.
|
|
17
|
+
* If not given, uses the NodeJS process's arguments and exits on errors.
|
|
18
|
+
*/
|
|
19
|
+
static parseCommandLine(args?: string[]): ConfigurationParameters;
|
|
13
20
|
/**
|
|
14
21
|
* Sometimes we get inputs from shell environments where the strings are
|
|
15
22
|
* still quoted. We remove those here.
|
package/dist/src/App.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.ts"],"names":[],"mappings":"AACA,OAAO,EAAuB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGtE,OAAO,EAAE,uBAAuB,EAAe,MAAM,4BAA4B,CAAC;AAKlF,OAAO,MAAM,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,qBAAa,GAAG;IACf;;;OAGG;WACiB,GAAG,IAAI,OAAO,CAAC,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.ts"],"names":[],"mappings":"AACA,OAAO,EAAuB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGtE,OAAO,EAAE,uBAAuB,EAAe,MAAM,4BAA4B,CAAC;AAKlF,OAAO,MAAM,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,qBAAa,GAAG;IACf;;;OAGG;WACiB,GAAG,IAAI,OAAO,CAAC,UAAU,CAAC;IAY9C;;;;;OAKG;WACW,gBAAgB,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,uBAAuB;IAKxE;;;OAGG;WACW,iBAAiB,CAAC,MAAM,EAAE,uBAAuB,GAAG,IAAI;IAwCtE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;IA0D1B;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;IA+B1B;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAI/B;;;;;OAKG;WACW,qBAAqB,CAAC,MAAM,EAAE,uBAAuB,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC;IAS1G,OAAO,CAAC,MAAM,CAAC,yBAAyB;IAIxC,OAAO,CAAC,MAAM,CAAC,kBAAkB;CAajC"}
|
package/dist/src/App.js
CHANGED
|
@@ -45,10 +45,7 @@ class App {
|
|
|
45
45
|
* Parses the command line options and the instrumentation accordingly.
|
|
46
46
|
*/
|
|
47
47
|
static async run() {
|
|
48
|
-
|
|
49
|
-
// Build the configuration object from the command line arguments.
|
|
50
|
-
const parser = this.buildParser();
|
|
51
|
-
const config = parser.parse_args();
|
|
48
|
+
const config = this.parseCommandLine();
|
|
52
49
|
// Build the logger
|
|
53
50
|
const logger = this.buildLogger(config);
|
|
54
51
|
logger.trace('Retrieved arguments', process.argv);
|
|
@@ -56,6 +53,16 @@ class App {
|
|
|
56
53
|
// Run the instrumenter with the given configuration.
|
|
57
54
|
return this.runForConfigArguments(config, logger);
|
|
58
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Parses the command-line arguments.
|
|
58
|
+
*
|
|
59
|
+
* @param args Optional. For testing. If given, uses this as the arguments to parse and does not exit the process on errors.
|
|
60
|
+
* If not given, uses the NodeJS process's arguments and exits on errors.
|
|
61
|
+
*/
|
|
62
|
+
static parseCommandLine(args) {
|
|
63
|
+
const parser = this.buildParser();
|
|
64
|
+
return parser.parse_args(args);
|
|
65
|
+
}
|
|
59
66
|
/**
|
|
60
67
|
* Sometimes we get inputs from shell environments where the strings are
|
|
61
68
|
* still quoted. We remove those here.
|
|
@@ -105,7 +112,7 @@ class App {
|
|
|
105
112
|
*/
|
|
106
113
|
static buildParser() {
|
|
107
114
|
const parser = new argparse_1.ArgumentParser({
|
|
108
|
-
description: 'Instrumenter of the Teamscale JavaScript Profiler'
|
|
115
|
+
description: 'Instrumenter of the Teamscale JavaScript Profiler',
|
|
109
116
|
});
|
|
110
117
|
parser.add_argument('-v', '--version', { action: 'version', version: package_json_1.version });
|
|
111
118
|
parser.add_argument('-i', '--in-place', {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskBuilder.d.ts","sourceRoot":"","sources":["../../../src/instrumenter/TaskBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,mBAAmB,EAGnB,kBAAkB,EAGlB,MAAM,QAAQ,CAAC;AAOhB,2DAA2D;AAC3D,MAAM,MAAM,uBAAuB,GAAG;IACrC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"TaskBuilder.d.ts","sourceRoot":"","sources":["../../../src/instrumenter/TaskBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,mBAAmB,EAGnB,kBAAkB,EAGlB,MAAM,QAAQ,CAAC;AAOhB,2DAA2D;AAC3D,MAAM,MAAM,uBAAuB,GAAG;IACrC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAElB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAE1B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAE1B,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
|
|
|
91
91
|
const sourceMap = config.source_map;
|
|
92
92
|
this.dumpOriginsFile = config.dump_origins_to;
|
|
93
93
|
this.dumpMatchedOriginsFile = config.dump_origin_matches_to;
|
|
94
|
-
this.setCollectorFromCommandLine(config.collector, config.
|
|
94
|
+
this.setCollectorFromCommandLine(config.collector, config.relative_collector);
|
|
95
95
|
this.setOriginSourceIncludePatterns(config.include_origin);
|
|
96
96
|
this.setOriginSourceExcludePatterns(config.exclude_origin);
|
|
97
97
|
this.setBundleExcludePatterns(config.exclude_bundle);
|
|
@@ -33,4 +33,17 @@ export interface CollectorSpecifierRelative {
|
|
|
33
33
|
* Specifies how the vaccine can reach the collector.
|
|
34
34
|
*/
|
|
35
35
|
export type CollectorSpecifier = CollectorSpecifierUrl | CollectorSpecifierRelative;
|
|
36
|
+
/**
|
|
37
|
+
* Message to the worker to report the location of the profiled document.
|
|
38
|
+
*/
|
|
39
|
+
export interface LocationMessage {
|
|
40
|
+
/** Message type. */
|
|
41
|
+
type: 'location';
|
|
42
|
+
/** Hostname of the profiled document, e.g. "localhost". */
|
|
43
|
+
hostname: string;
|
|
44
|
+
/** Port of the profiled document, e.g. "1234" */
|
|
45
|
+
port: string;
|
|
46
|
+
}
|
|
47
|
+
/** Enumerates all types of messages to the worker. */
|
|
48
|
+
export type WorkerMessage = LocationMessage;
|
|
36
49
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/vaccine/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACrC,mCAAmC;IACnC,IAAI,EAAE,KAAK,CAAC;IACZ,mEAAmE;IACnE,GAAG,EAAE,MAAM,CAAC;CACZ;AAED,qEAAqE;AACrE,MAAM,WAAW,aAAa;IAC7B,oCAAoC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,OAAO,EAAE,MAAM,CAAC;CAChB;AA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jB,iDAAiD;IACjD,IAAI,EAAE,MAAM,CAAC;CACb;AAED,sDAAsD;AACtD,MAAM,MAAM,aAAa,GAAG,eAAe,CAAA"}
|
package/dist/vaccine.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{function u(
|
|
1
|
+
"use strict";(()=>{function u(e){let n=new Blob([e],{type:"text/javascript"}),t=URL.createObjectURL(n),a=new Worker(t);return URL.revokeObjectURL(t),a}function d(){return u('var i=class{constructor(){this.cachedMessages=[]}connect(e){this.url=e,this.socket=this.createSocket()}createSocket(){let e=new WebSocket(this.url);return e.onopen=()=>this.onopen(),e.onclose=()=>this.onclose(),e}onclose(){this.socket=this.createSocket()}onopen(){console.log("Connection to Coverage Collector established."),this.cachedMessages.forEach(e=>this.socket.send(e)),this.cachedMessages=[]}send(e){this.socket!==null&&this.socket.readyState===WebSocket.OPEN?this.socket.send(e):(this.cachedMessages.push(e),this.cachedMessages.length%500===0&&console.log(`More than ${this.cachedMessages.length} messages are queued to be sent.`))}};var a=class{constructor(e,o){this.milliseconds=e;this.onCountedToZero=o;this.timerHandle=null}restartCountdown(){this.stopCountdown(),this.timerHandle=self.setTimeout(()=>{this.stopCountdown(),this.onCountedToZero()},this.milliseconds)}stopCountdown(){this.timerHandle!==null&&(self.clearTimeout(this.timerHandle),this.timerHandle=null)}};var C=20,f=1e3,v="c",c=class{constructor(e){this.socket=e,this.cachedCoveredRanges=new Map,this.numberOfCachedPositions=0,this.flushCountdown=new a(f,()=>this.flush())}addLines(e,o){let t=this.cachedCoveredRanges.get(e);t||(t=new Set,this.cachedCoveredRanges.set(e,t)),o.forEach(n=>t.add(n)),this.numberOfCachedPositions+=1,this.flushCountdown.restartCountdown(),this.numberOfCachedPositions>=C&&this.flush()}arrayToLineCov(e){let o=[];for(let t of e)o.push(`${t}`);return o.join(";")}flush(){if(this.numberOfCachedPositions===0)return;this.flushCountdown.stopCountdown();let e=[];this.cachedCoveredRanges.forEach((o,t)=>{e.push(`@${t}`),e.push(this.arrayToLineCov(o))}),this.socket.send(`${v} ${e.join(";")}`),this.cachedCoveredRanges.clear(),this.numberOfCachedPositions=0}};var l=class s{static resolve(e,o,t){switch(e.type){case"url":return e.url;case"relative":return s.resolveRelative(o,t,e)}}static resolveRelative(e,o,t){var u;let n=e;t.hostReplace&&(n=e.replace(t.hostReplace.search,t.hostReplace.replace));let m=(u=t.scheme)!=null?u:"ws",r;t.port===void 0?r="":t.port==="keep"?r=`:${o}`:r=`:${t.port}`;let h="";t.path&&(h=`/${t.path}`);let d=`${m}://${n}${r}${h}`;return console.debug(`Resolved collector URL ${d} from ${e}:${o}`),d}};console.log("Starting coverage forwarding worker.");var g=new i,p=new c(g);onmessage=s=>{if(Array.isArray(s.data)){let[e,o]=s.data;p.addLines(e,o)}else if(s.data==="unload")p.flush();else if(s.data.type==="location"){let e=s.data,o=l.resolve($COLLECTOR_SPECIFIER,e.hostname,e.port);g.connect(`${o}/socket`)}else console.error(`No handler for message: ${s.data}`)};\n')}function c(){return f()}function f(){return window}function g(e,n){let t=c()[e];return t||(t=n,c()[e]=t),t}function p(e,n){let t=new Map;function a(i){let o=t.get(i);return o||(o={lines:new Set},t.set(i,o),o)}function s(i,o,w=o){let h=a(i).lines;for(let l=o;l<=w;l++)h.add(l);h.size>255&&r()}function r(){n(t),t.clear()}return setInterval(()=>r(),e),{putLineCoverage:s,flush:r}}var v=g("__TS_AGENT",{});function m(){return v._$BcWorker}function b(e){return v._$BcWorker=e,e}var C=p(250,e=>{for(let n of e.entries())m().postMessage([n[0],Array.from(n[1].lines)])});c()._$l=C.putLineCoverage;if(!m()){let e=b(new d),n={type:"location",hostname:document.location.hostname,port:document.location.port};e.postMessage(n),function(){let a=()=>{C.flush(),e.postMessage("unload")},s=function(i,o){o&&o.addEventListener(i,a,{capture:!0})},r=f();s("blur",r),s("unload",r),s("visibilitychange",r),s("beforeunload",r)}()}})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamscale/javascript-instrumenter",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.8",
|
|
4
4
|
"description": "JavaScript coverage instrumenter with coverage forwarding to a collector process",
|
|
5
5
|
"main": "dist/src/main.js",
|
|
6
6
|
"bin": "dist/src/main.js",
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"dist/**/*"
|
|
16
16
|
],
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@babel/core": "^7.
|
|
19
|
-
"@babel/plugin-transform-modules-commonjs": "^7.
|
|
20
|
-
"@babel/preset-env": "^7.
|
|
21
|
-
"@types/argparse": "^2.0.
|
|
18
|
+
"@babel/core": "^7.24.4",
|
|
19
|
+
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
|
|
20
|
+
"@babel/preset-env": "^7.24.4",
|
|
21
|
+
"@types/argparse": "^2.0.16",
|
|
22
22
|
"@types/async": "^3.2.24",
|
|
23
23
|
"@types/babel__generator": "^7.6.8",
|
|
24
24
|
"@types/babel__traverse": "^7.20.5",
|
|
@@ -27,38 +27,38 @@
|
|
|
27
27
|
"@types/glob": "^8.1.0",
|
|
28
28
|
"@types/istanbul-lib-instrument": "^1.7.7",
|
|
29
29
|
"@types/jest": "^29.5.12",
|
|
30
|
-
"@types/node": "^20.
|
|
30
|
+
"@types/node": "^20.12.6",
|
|
31
31
|
"@types/ws": "^8.5.10",
|
|
32
32
|
"babel-jest": "^29.7.0",
|
|
33
|
-
"esbuild": "^0.20.
|
|
33
|
+
"esbuild": "^0.20.2",
|
|
34
34
|
"esbuild-plugin-inline-worker": "^0.1.1",
|
|
35
35
|
"jest": "^29.7.0",
|
|
36
36
|
"rimraf": "^5.0.5",
|
|
37
37
|
"ts-jest": "^29.1.2",
|
|
38
38
|
"ts-node": "^10.9.2",
|
|
39
39
|
"tslib": "^2.6.2",
|
|
40
|
-
"typescript": "^5.
|
|
40
|
+
"typescript": "^5.4.4"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@cqse/commons": "0.1.0-beta.
|
|
44
|
-
"@babel/generator": "^7.
|
|
45
|
-
"@babel/parser": "^7.
|
|
46
|
-
"@babel/traverse": "^7.
|
|
47
|
-
"@babel/types": "^7.
|
|
43
|
+
"@cqse/commons": "0.1.0-beta.7",
|
|
44
|
+
"@babel/generator": "^7.24.4",
|
|
45
|
+
"@babel/parser": "^7.24.4",
|
|
46
|
+
"@babel/traverse": "^7.24.1",
|
|
47
|
+
"@babel/types": "^7.24.0",
|
|
48
48
|
"@types/micromatch": "^4.0.6",
|
|
49
49
|
"argparse": "^2.0.1",
|
|
50
50
|
"async": "^3.2.5",
|
|
51
51
|
"bunyan": "^1.8.15",
|
|
52
52
|
"convert-source-map": "^2.0.0",
|
|
53
53
|
"foreground-child": "^3.1.1",
|
|
54
|
-
"glob": "^10.3.
|
|
54
|
+
"glob": "^10.3.12",
|
|
55
55
|
"micromatch": "4.0.5",
|
|
56
56
|
"mkdirp": "^3.0.1",
|
|
57
57
|
"source-map": "0.7.4",
|
|
58
58
|
"typescript-optional": "^2.0.1",
|
|
59
59
|
"unload": "^2.4.1",
|
|
60
60
|
"web-worker": "^1.3.0",
|
|
61
|
-
"@teamscale/lib-instrument": "0.1.0-beta.
|
|
61
|
+
"@teamscale/lib-instrument": "0.1.0-beta.8"
|
|
62
62
|
},
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|