New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

testcafe-hammerhead

Package Overview
Dependencies
Maintainers
7
Versions
350
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testcafe-hammerhead - npm Package Compare versions

Comparing version 24.7.1 to 24.7.2

1

lib/request-pipeline/request-hooks/response-mock/get-response.js

@@ -58,2 +58,3 @@ "use strict";

response.statusCode = 500;
mock.hasError = true;
mock.error = err;

@@ -60,0 +61,0 @@ response.body = Buffer.from(ERROR_MOCKING_PAGE_CONTENT);

@@ -19,2 +19,3 @@ "use strict";

this.error = null;
this.hasError = false;
if (headers)

@@ -21,0 +22,0 @@ this.headers = (0, lowercase_header_names_1.default)(headers);

2

lib/request-pipeline/utils.js

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

async function handleRequestMockingErrorIfNecessary(ctx) {
if (ctx.destRes.statusCode !== 500)
if (!ctx.mock.hasError)
return;

@@ -164,0 +164,0 @@ const targetRule = ctx.requestFilterRules[0];

{
"name": "testcafe-hammerhead",
"description": "A powerful web-proxy used as a core for the TestCafe testing framework (https://github.com/DevExpress/testcafe).",
"version": "24.7.1",
"version": "24.7.2",
"homepage": "https://github.com/DevExpress/testcafe-hammerhead",

@@ -6,0 +6,0 @@ "bugs": {

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

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