Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mocha

Package Overview
Dependencies
Maintainers
3
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha - npm Package Compare versions

Comparing version 10.8.1 to 10.8.2

8

lib/nodejs/serializer.js

@@ -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 @@ }

4

lib/reporters/html.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc