{"name":"testcafe-hammerhead","version":"31.7.9","author":{"name":"Developer Express Inc."},"license":"MIT","_id":"testcafe-hammerhead@31.7.9","maintainers":[{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"b53ec2af-fe76-46a8-a520-9cf15a82cc85"}}],"homepage":"https://github.com/DevExpress/testcafe-hammerhead","bugs":{"url":"https://github.com/DevExpress/testcafe-hammerhead/issues"},"dist":{"shasum":"3c728fca4c779839c9bb09987123e060e37d2008","tarball":"http://registry-npm.ywwl.com/testcafe-hammerhead/download/testcafe-hammerhead-31.7.9.tgz","fileCount":156,"integrity":"sha512-wgVqOBl0zORvAhvwNOJFFUhgQpD/OMK5QpTcYysqllxUYEjl9eroXT/W9okTAVj1e6Sgu8N2QCGvobGSyrNmIw==","signatures":[{"sig":"MEQCIFXS31cTvJL8Y9bbv0pe2urZFtdtAT/aY3e9jYKz+6/9AiBSknzFtdngTKbnEL7JygY2FfbCaomVgrGOQWFSam/0Wg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDS1IFS2U8ZHAFLU4Rf2jd3SQsq8oOS61ZxbHWO6/ZdcgIgRpBJ058Wv2uDoVGIJgcvqMkI1buDEd8VyCV4C2lpNSo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/testcafe-hammerhead@31.7.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3188692,"size":673996,"noattachment":false,"key":"/testcafe-hammerhead/-/testcafe-hammerhead-31.7.9.tgz"},"main":"lib/index","types":"ts-defs/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"cbaae23f0b195ee4e3bd5dd1c2ce5ff6feb409a4","scripts":{"test":"gulp travis"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"b53ec2af-fe76-46a8-a520-9cf15a82cc85"}},"overrides":{"mocha":{"diff":"^9.0.0","serialize-javascript":"^7.0.4"}},"repository":{"url":"git+https://github.com/DevExpress/testcafe-hammerhead.git","type":"git"},"_npmVersion":"11.20.0","description":"A powerful web-proxy used as a core for the TestCafe testing framework (https://github.com/DevExpress/testcafe).","directories":{},"_nodeVersion":"26.13.0","dependencies":{"ws":"^7.4.6","mime":"~1.4.1","debug":"4.3.1","bowser":"1.6.0","lodash":"^4.17.21","nanoid":"^3.1.12","parse5":"^7.1.2","pinkie":"2.0.4","semver":"7.5.3","mustache":"^2.1.1","lru-cache":"11.0.2","os-family":"^1.0.0","crypto-md5":"^1.0.0","iconv-lite":"0.5.1","merge-stream":"^1.0.1","tough-cookie":"4.1.3","tunnel-agent":"0.6.0","@electron/asar":"^3.2.3","@node-ntlm/core":"^0.3.2","@adobe/css-tools":"^4.3.0-rc.1","acorn-hammerhead":"0.6.2","esotope-hammerhead":"0.6.9","match-url-wildcard":"0.0.4","read-file-relative":"^1.2.0","http-cache-semantics":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"del":"^3.0.0","tmp":"^0.2.7","chai":"^2.3.0","gulp":"^5.0.0","mocha":"^11.3.0","tslib":"^2.4.0","eslint":"^10.0.3","rollup":"^2.38.5","address":"^2.0.3","del-cli":"^3.0.1","express":"^5.2.1","globals":"^17.4.0","@types/ws":"^7.4.7","gulp-step":"^1.0.1","multiline":"^1.0.2","basic-auth":"1.0.4","gulp-clone":"^2.0.1","typescript":"^4.7.4","@types/node":"^14.0.27","body-parser":"^1.20.4","gulp-rename":"^1.2.2","gulp-uglify":"^3.0.2","js-beautify":"^1.13.5","express-ntlm":"2.1.5","gulp-ll-next":"^2.1.0","@types/estree":"0.0.46","@types/lodash":"^4.14.129","@types/semver":"^7.5.0","gulp-mustache":"^3.0.1","@eslint/compat":"^2.0.3","@types/mustache":"0.8.32","gulp-eslint-new":"^2.6.1","gulp-typescript":"^5.0.0","@types/lru-cache":"7.10.10","@types/tough-cookie":"^4.0.1","@rollup/plugin-commonjs":"^17.1.0","eslint-plugin-hammerhead":"^0.4.0","@typescript-eslint/parser":"^8.57.0","rollup-plugin-typescript2":"^0.32.1","@rollup/plugin-node-resolve":"^11.1.1","eslint-plugin-no-only-tests":"^2.0.1","@devexpress/gulp-qunit-harness":"^1.1.0","babel-plugin-add-module-exports":"^1.0.0","openssl-self-signed-certificate":"1.1.6","@typescript-eslint/eslint-plugin":"^8.57.0"},"_npmOperationalInternal":{"tmp":"tmp/testcafe-hammerhead_31.7.9_1793269565444_0.11106846715009777","host":"s3://npm-registry-packages-npm-production"},"readme":"# testcafe-hammerhead\n`testcafe-hammerhead` is a powerful Web proxy used as a core for the [TestCafe](https://github.com/devexpress/testcafe) testing framework.\n\n## Core Concepts\n\n`testcafe-hammerhead` is a URL-rewriting proxy. This means that it rewrites all properties of the appropriate JavaScript objects that contain a URL value (`Location`, `HTMLLinkElement.href`, etc). You can see it if you open a proxied page, invoke the browser's DevTools and inspect any element.\n\nIn addition, the proxied web page does not know that it is opened under a proxy. The proxy intercepts access attempts to all URL-containing properties and provides the original values.\n\n## First Look\n1. Clone the Hammerhead repository\n    ```cmd\n    git clone https://github.com/DevExpress/testcafe-hammerhead.git\n    ```\n1. Go to the `testcafe-hammerhead` folder\n    ```cmd\n    cd testcafe-hammerhead\n    ```\n1. Install the dependencies\n    ```cmd\n    npm install\n    ```\n1. Run the [Hammerhead playground](https://github.com/DevExpress/testcafe-hammerhead/blob/master/test/playground/server.js) to see our proxy in action\n    ```cmd\n    node node_modules/gulp/bin/gulp http-playground\n    ```\n\nThis opens a playground page where you can specify a webpage to proxy. Enter the page URL and hit **Proxy!**.\n\n## Features\n\n* HTTP/HTTPS requests\n* WebSockets, EventSource\n* file upload\n* request events (`onRequest`, `onResponse`)\n* bypassing requests\n* custom UI on a web page\n\n##  Reporting Issues and Contributing\n\nRead our [Contributing Guide](https://github.com/DevExpress/testcafe-hammerhead/blob/master/CONTRIBUTING.md) to learn how to contribute to the project.\n\n[![Build Status](https://img.shields.io/github/checks-status/DevExpress/testcafe-hammerhead/master?label=Tests)](https://github.com/DevExpress/testcafe-hammerhead/commits/master)\n\n[![Sauce Test Status](https://saucelabs.com/browser-matrix/testcafebot.svg)](https://saucelabs.com/u/testcafebot)\n","publish_time":1793269565621,"_cnpm_publish_time":1793269565621,"dist-tags":{"latest":"31.7.9"}}