@flakiness/sdk 0.111.0 → 0.113.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/lib/cli/cli.js CHANGED
@@ -164,7 +164,7 @@ var Sequence = class _Sequence {
164
164
  return new _Sequence(
165
165
  function(fromIdx) {
166
166
  fromIdx = Math.max(0, Math.min(length, fromIdx));
167
- let idx = _Sequence.fromList(leftsums).partitionPoint((x) => x <= fromIdx);
167
+ let idx = _Sequence.fromList(leftsums).partitionPoint(((x) => x <= fromIdx));
168
168
  if (idx >= seqs.length) {
169
169
  return {
170
170
  next: () => ({ done: true, value: void 0 })
@@ -1678,8 +1678,7 @@ var LocalReportServer = class _LocalReportServer {
1678
1678
  }
1679
1679
  req.on("aborted", () => logHTTPServer(`REQ ABORTED ${req.method} ${req.originalUrl}`));
1680
1680
  res.on("close", () => {
1681
- if (!res.headersSent)
1682
- logHTTPServer(`RES CLOSED BEFORE SEND ${req.method} ${req.originalUrl}`);
1681
+ if (!res.headersSent) logHTTPServer(`RES CLOSED BEFORE SEND ${req.method} ${req.originalUrl}`);
1683
1682
  });
1684
1683
  next();
1685
1684
  });
@@ -416,8 +416,7 @@ var LocalReportServer = class _LocalReportServer {
416
416
  }
417
417
  req.on("aborted", () => logHTTPServer(`REQ ABORTED ${req.method} ${req.originalUrl}`));
418
418
  res.on("close", () => {
419
- if (!res.headersSent)
420
- logHTTPServer(`RES CLOSED BEFORE SEND ${req.method} ${req.originalUrl}`);
419
+ if (!res.headersSent) logHTTPServer(`RES CLOSED BEFORE SEND ${req.method} ${req.originalUrl}`);
421
420
  });
422
421
  next();
423
422
  });
@@ -251,8 +251,7 @@ var LocalReportServer = class _LocalReportServer {
251
251
  }
252
252
  req.on("aborted", () => logHTTPServer(`REQ ABORTED ${req.method} ${req.originalUrl}`));
253
253
  res.on("close", () => {
254
- if (!res.headersSent)
255
- logHTTPServer(`RES CLOSED BEFORE SEND ${req.method} ${req.originalUrl}`);
254
+ if (!res.headersSent) logHTTPServer(`RES CLOSED BEFORE SEND ${req.method} ${req.originalUrl}`);
256
255
  });
257
256
  next();
258
257
  });
@@ -547,8 +547,7 @@ var LocalReportServer = class _LocalReportServer {
547
547
  }
548
548
  req.on("aborted", () => logHTTPServer(`REQ ABORTED ${req.method} ${req.originalUrl}`));
549
549
  res.on("close", () => {
550
- if (!res.headersSent)
551
- logHTTPServer(`RES CLOSED BEFORE SEND ${req.method} ${req.originalUrl}`);
550
+ if (!res.headersSent) logHTTPServer(`RES CLOSED BEFORE SEND ${req.method} ${req.originalUrl}`);
552
551
  });
553
552
  next();
554
553
  });
package/lib/utils.js CHANGED
@@ -244,8 +244,7 @@ function getCallerLocation(gitRoot, offset = 0) {
244
244
  const stack = err.stack?.split("\n");
245
245
  const caller = stack?.[2 + offset]?.trim();
246
246
  const match = caller?.match(/\((.*):(\d+):(\d+)\)$/);
247
- if (!match)
248
- return void 0;
247
+ if (!match) return void 0;
249
248
  const [, filePath, line, column] = match;
250
249
  return {
251
250
  file: gitFilePath(gitRoot, normalizePath(filePath)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flakiness/sdk",
3
- "version": "0.111.0",
3
+ "version": "0.113.0",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "flakiness": "./lib/cli/cli.js"
@@ -45,7 +45,7 @@
45
45
  "author": "Degu Labs, Inc",
46
46
  "license": "Fair Source 100",
47
47
  "devDependencies": {
48
- "@flakiness/server": "0.111.0",
48
+ "@flakiness/server": "0.113.0",
49
49
  "@playwright/test": "^1.54.0",
50
50
  "@types/babel__code-frame": "^7.0.6",
51
51
  "@types/compression": "^1.8.1",
@@ -53,8 +53,8 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@babel/code-frame": "^7.26.2",
56
- "@flakiness/report": "0.111.0",
57
- "@flakiness/shared": "0.111.0",
56
+ "@flakiness/report": "0.113.0",
57
+ "@flakiness/shared": "0.113.0",
58
58
  "@rgrove/parse-xml": "^4.2.0",
59
59
  "body-parser": "^1.20.3",
60
60
  "chalk": "^5.6.2",