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 3.1.1 to 3.1.2

3

lib/modules/request-recorder.js

@@ -220,3 +220,4 @@ "use strict";

body: tryParseJson(r.body),
rawHeaders: opts.stripHeaders === true ? undefined : r.rawHeaders
rawHeaders: opts.stripHeaders === true ? undefined : r.rawHeaders,
reqheaders: rewriteHeaders(r.reqheaders)
})), null, 2)

@@ -223,0 +224,0 @@ }, resolve));

@@ -34,3 +34,3 @@ "use strict";

return Object.fromEntries(Object.entries(headers).map(([k, v]) => [k.toLowerCase(), fn(k, v)]));
return Object.fromEntries(Object.entries(headers).sort(([a], [b]) => a > b ? 1 : -1).map(([k, v]) => [k.toLowerCase(), fn(k, v)]));
};
{
"name": "node-tdd",
"version": "3.1.1",
"version": "3.1.2",
"description": "Drop in extension for mocha to abstract commonly used test setups",

@@ -5,0 +5,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