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 25.0.2 to 25.0.3

4

lib/request-pipeline/context/base.js

@@ -43,4 +43,8 @@ "use strict";

}
async handleMockError(eventProvider) {
const targetRule = this.requestFilterRules[0];
await eventProvider.callRequestHookErrorHandler(targetRule, this.mock.error);
}
}
exports.default = BaseRequestPipelineContext;module.exports = exports.default;

5

lib/request-pipeline/context/index.js

@@ -363,5 +363,4 @@ "use strict";

return;
const targetRule = this.requestFilterRules[0];
await eventProvider.callRequestHookErrorHandler(targetRule, this.mock.error);
logger_1.default.proxy.onMockResponseError(targetRule, this.mock.error);
await this.handleMockError(eventProvider);
logger_1.default.proxy.onMockResponseError(this.requestFilterRules[0], this.mock.error);
}

@@ -368,0 +367,0 @@ getOnResponseEventData({ includeBody }) {

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

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

@@ -475,2 +475,8 @@ interface StaticContent {

body:string | Function;
/** Determine whether an error occurs on calculation response **/
hasError: boolean;
/** An error occurs on calculation response **/
error: Error | null;
}

@@ -498,2 +504,5 @@

/** Determines whether the request is xhr or fetch request **/
isAjax: boolean;
/** Creates a RequestOptions instance **/

@@ -584,2 +593,5 @@ constructor (params: RequestOptionsParams);

/** Returns request options associated with the current context **/
reqOpts: RequestOptions;
protected constructor (requestId: string);

@@ -601,3 +613,6 @@

getMockResponse (): Promise<IncomingMessageLike>;
/** Handle mock error **/
handleMockError (eventProvider: RequestHookEventProvider): Promise<void>;
}
}
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