browsertime 22.5.4 → 22.5.5
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Browsertime changelog (we do [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
## 22.5.5 - 2024-07-07
|
|
4
|
+
### Fixed
|
|
5
|
+
* Fix stopping --tcpdump [#2155](https://github.com/sitespeedio/browsertime/pull/2155).
|
|
6
|
+
|
|
3
7
|
## 22.5.4 - 2024-07-06
|
|
4
8
|
### Fixed
|
|
5
9
|
* Update to Chrome-HAR 0.13.3 [#2148](https://github.com/sitespeedio/browsertime/pull/2148).
|
package/lib/support/tcpdump.js
CHANGED
|
@@ -32,7 +32,10 @@ export class TCPDump {
|
|
|
32
32
|
this.tcpdumpProcess = execa('sudo', parameters);
|
|
33
33
|
}
|
|
34
34
|
async stop() {
|
|
35
|
-
|
|
35
|
+
if (this.tcpdumpProcess) {
|
|
36
|
+
await this.tcpdumpProcess.kill('SIGINT');
|
|
37
|
+
this.tcpdumpProcess = undefined;
|
|
38
|
+
}
|
|
36
39
|
}
|
|
37
40
|
|
|
38
41
|
async mv(url, iteration) {
|
package/package.json
CHANGED
|
@@ -4,9 +4,7 @@ export class TCPDump {
|
|
|
4
4
|
options: any;
|
|
5
5
|
start(iteration: any): Promise<void>;
|
|
6
6
|
tcpdumpProcess: import("execa").ResultPromise<{}>;
|
|
7
|
-
stop(): Promise<
|
|
8
|
-
reject: false;
|
|
9
|
-
}>>;
|
|
7
|
+
stop(): Promise<void>;
|
|
10
8
|
mv(url: any, iteration: any): Promise<void>;
|
|
11
9
|
}
|
|
12
10
|
//# sourceMappingURL=tcpdump.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tcpdump.d.ts","sourceRoot":"","sources":["../../lib/support/tcpdump.js"],"names":[],"mappings":"AAKA;IACE,0CAGC;IAFC,aAAwB;IACxB,aAAsB;IAExB,qCAsBC;IADC,kDAA+C;IAEjD
|
|
1
|
+
{"version":3,"file":"tcpdump.d.ts","sourceRoot":"","sources":["../../lib/support/tcpdump.js"],"names":[],"mappings":"AAKA;IACE,0CAGC;IAFC,aAAwB;IACxB,aAAsB;IAExB,qCAsBC;IADC,kDAA+C;IAEjD,sBAKC;IAED,4CAQC;CACF"}
|