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.4.1 to 3.4.2

6

lib/modules/request-recorder.js

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

import nock from 'nock';
import get from 'lodash.get';
import cloneDeep from 'lodash.clonedeep';

@@ -124,4 +125,7 @@ import compareUrls from 'compare-urls';

} else if (anyFlagPresent(['stub'])) {
const host = options.host || options.hostname;
const port = get(options, 'port', { http: 80, https: 443 }[protocol]);
const scope = `${protocol}://${host}:${port}`;
expectedCassette.push({
scope: `${protocol}://${options.host || options.hostname}:${options.port}`,
scope,
method: options.method,

@@ -128,0 +132,0 @@ path: options.path,

2

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