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 4.1.0 to 4.1.1

5

lib/modules/request-recorder.js

@@ -182,3 +182,6 @@ import assert from 'assert';

const requestBody = tryParseJson(body);
pendingMocks[idx].record.body = nullAsString(requestBody);
const requestBodyStr = nullAsString(requestBody);
if (!isEqual(scope.body, requestBodyStr)) {
pendingMocks[idx].record.body = requestBodyStr;
}
return scope.body;

@@ -185,0 +188,0 @@ }

2

package.json
{
"name": "node-tdd",
"type": "module",
"version": "4.1.0",
"version": "4.1.1",
"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