Socket
Socket
Sign inDemoInstall

fetch-mock

Package Overview
Dependencies
Maintainers
3
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-mock - npm Package Compare versions

Comparing version 7.5.0 to 7.5.1

4

es5/lib/fetch-handler.js

@@ -48,3 +48,5 @@ 'use strict';

// Do not include this class in the stacktrace
Error.captureStackTrace(_this, _this.constructor);
if (Error.captureStackTrace) {
Error.captureStackTrace(_this, _this.constructor);
}
return _this;

@@ -51,0 +53,0 @@ }

{
"name": "fetch-mock",
"version": "7.5.0",
"version": "7.5.1",
"description": "Mock http requests made using fetch (or isomorphic-fetch)",

@@ -5,0 +5,0 @@ "main": "src/server.js",

@@ -14,3 +14,5 @@ const responseBuilder = require('./response-builder');

// Do not include this class in the stacktrace
Error.captureStackTrace(this, this.constructor);
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
}
}

@@ -17,0 +19,0 @@ }

Sorry, the diff of this file is too big to display

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