supercov 4.11.0 → 4.11.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supercov",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.1",
|
|
4
4
|
"description": "Coverage, security and code quality for coding agents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"coverage",
|
|
@@ -120,14 +120,14 @@
|
|
|
120
120
|
"test:windows-tls": "node scripts/windows-tls-test.mjs"
|
|
121
121
|
},
|
|
122
122
|
"optionalDependencies": {
|
|
123
|
-
"@supercov/cli-darwin-arm64": "4.11.
|
|
124
|
-
"@supercov/cli-darwin-x64": "4.11.
|
|
125
|
-
"@supercov/cli-linux-arm64-gnu": "4.11.
|
|
126
|
-
"@supercov/cli-linux-arm64-musl": "4.11.
|
|
127
|
-
"@supercov/cli-linux-x64-gnu": "4.11.
|
|
128
|
-
"@supercov/cli-linux-x64-musl": "4.11.
|
|
129
|
-
"@supercov/cli-win32-arm64": "4.11.
|
|
130
|
-
"@supercov/cli-win32-x64": "4.11.
|
|
123
|
+
"@supercov/cli-darwin-arm64": "4.11.1",
|
|
124
|
+
"@supercov/cli-darwin-x64": "4.11.1",
|
|
125
|
+
"@supercov/cli-linux-arm64-gnu": "4.11.1",
|
|
126
|
+
"@supercov/cli-linux-arm64-musl": "4.11.1",
|
|
127
|
+
"@supercov/cli-linux-x64-gnu": "4.11.1",
|
|
128
|
+
"@supercov/cli-linux-x64-musl": "4.11.1",
|
|
129
|
+
"@supercov/cli-win32-arm64": "4.11.1",
|
|
130
|
+
"@supercov/cli-win32-x64": "4.11.1"
|
|
131
131
|
},
|
|
132
132
|
"peerDependencies": {
|
|
133
133
|
"@playwright/test": ">=1.55.0",
|
|
@@ -719,6 +719,16 @@ class CoveragePhaseController {
|
|
|
719
719
|
ArrayBuffer.isView(result))
|
|
720
720
|
return result;
|
|
721
721
|
const candidate = result;
|
|
722
|
+
// A native dialog is Playwright's own object, returned as it is. Its
|
|
723
|
+
// `type()` was taken for a locator's action: it returned a promise
|
|
724
|
+
// where Playwright returns a string, and started a phase whose
|
|
725
|
+
// activation waits on the page, which runs nothing while the dialog
|
|
726
|
+
// is open, so the dialog could never be answered and the page never
|
|
727
|
+
// closed. Nothing a dialog's methods do is the application's work.
|
|
728
|
+
if (typeof candidate["accept"] === "function" &&
|
|
729
|
+
typeof candidate["dismiss"] === "function" &&
|
|
730
|
+
typeof candidate["defaultValue"] === "function")
|
|
731
|
+
return result;
|
|
722
732
|
if (typeof candidate["contexts"] === "function" &&
|
|
723
733
|
typeof candidate["newContext"] === "function")
|
|
724
734
|
trackBrowser(result);
|