Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

testcafe-hammerhead

Package Overview
Dependencies
Maintainers
6
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 31.7.0 to 31.7.1

lib/utils/encoding.js

3

lib/index.js

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

const contentTypeUtils = __importStar(require("./utils/content-type"));
const encoding_1 = require("./utils/encoding");
exports.default = {

@@ -92,3 +93,5 @@ Proxy: proxy_1.default,

contentTypeUtils,
decodeBufferToString: encoding_1.decodeBufferToString,
encodeStringToBuffer: encoding_1.encodeStringToBuffer,
};module.exports = exports.default;

4

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

@@ -24,3 +24,3 @@ "bugs": {

"debug": "4.3.1",
"esotope-hammerhead": "0.6.7",
"esotope-hammerhead": "0.6.8",
"http-cache-semantics": "^4.1.0",

@@ -27,0 +27,0 @@ "httpntlm": "^1.8.10",

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

/** Extract String from Buffer **/
export function decodeBufferToString (content: Buffer, contentType: string): string;
/** Convert String to Buffer **/
export function encodeStringToBuffer (content: string, contentType: string): Buffer;
/** Allows to accept cross-origin request for proxy routes **/

@@ -624,0 +630,0 @@ function acceptCrossOrigin (res: ServerResponse): void;

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