Comparing version 10.8.1 to 10.8.2
@@ -265,5 +265,11 @@ /** | ||
const pairs = Object.keys(result).map(key => [result, key]); | ||
const seenPairs = new Set(); | ||
let pair; | ||
let pair; | ||
while ((pair = pairs.shift())) { | ||
if (seenPairs.has(pair[1])) { | ||
continue; | ||
} | ||
seenPairs.add(pair[1]); | ||
SerializableEvent._serialize(pairs, ...pair); | ||
@@ -270,0 +276,0 @@ } |
@@ -288,5 +288,5 @@ 'use strict'; | ||
// Remove previous grep query parameter if present | ||
// Remove previous {grep, fgrep, invert} query parameters if present | ||
if (search) { | ||
search = search.replace(/[?&]grep=[^&\s]*/g, '').replace(/^&/, '?'); | ||
search = search.replace(/[?&](?:f?grep|invert)=[^&\s]*/g, '').replace(/^&/, '?'); | ||
} | ||
@@ -293,0 +293,0 @@ |
@@ -678,3 +678,5 @@ 'use strict'; | ||
for (const k in obj) { | ||
if (Object.prototype.hasOwnProperty.call(obj, k)) { | ||
const descriptor = Object.getOwnPropertyDescriptor(obj, k); | ||
if (descriptor && descriptor.writable) { | ||
obj[k] = _breakCircularDeps(obj[k], k); | ||
@@ -681,0 +683,0 @@ } |
{ | ||
"name": "mocha", | ||
"version": "10.8.1", | ||
"version": "10.8.2", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "description": "simple, flexible, fun test framework", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2128443
30609
1