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

node-tdd

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-tdd - npm Package Compare versions

Comparing version 5.2.3 to 5.2.4

4

lib/modules/request-recorder.js

@@ -237,3 +237,2 @@ import assert from 'assert';

if (anyFlagPresent(['magic', 'response'])) {
const interceptorBody = tryParseJson(interceptor.body);
const responseBody = tryParseJson([

@@ -245,5 +244,6 @@ healSqs

));
updateAndRestoreModifiers(pendingMocks[idx].record, 'response', interceptorBody, responseBody);
const interceptorBody = tryParseJson(interceptor.body);
// eslint-disable-next-line no-param-reassign
interceptor.body = responseBody;
updateAndRestoreModifiers(pendingMocks[idx].record, 'response', interceptorBody, responseBody);
}

@@ -250,0 +250,0 @@

{
"name": "node-tdd",
"type": "module",
"version": "5.2.3",
"version": "5.2.4",
"description": "Drop in extension for mocha to abstract commonly used test setups",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

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