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

hoxy

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hoxy - npm Package Compare versions

Comparing version 3.0.3 to 3.1.0

3

lib/proxy.js

@@ -144,2 +144,5 @@ /*

}
if (typeof tester === 'function') {
return !!tester(testee);
}
if (isUrl) {

@@ -146,0 +149,0 @@ return getUrlTester(tester)(testee);

2

package.json
{
"name": "hoxy",
"version": "3.0.3",
"version": "3.1.0",
"author": "Greg Reimer <gregreimer@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Web-hacking proxy API for node",

# Hoxy
An HTTP hacking tool for JavaScript programmers. Please see the [documentation page](http://greim.github.io/hoxy/) for more info.
An HTTP hacking tool for JavaScript programmers.
## Full Documentation
http://greim.github.io/hoxy/
## Example
```js

@@ -9,6 +15,14 @@ var hoxy = require('hoxy');

proxy.intercept({
// intercept during the response phase
phase: 'response',
// only intercept html pages
mimeType: 'text/html',
// expose the response body as a cheerio object
// (cheerio is a jQuery clone)
as: '$'
}, function(req, resp) {
resp.$('title').text('Unicorns!');

@@ -19,3 +33,3 @@ // all page titles will now say "Unicorns!"

# Version 3.0
## Version 3.0

@@ -31,4 +45,5 @@ Hoxy has released version 3.0.

# Release notes:
## Release notes:
* **3.1.0** Filtering options now accept functions.
* **3.0.3** Fixed `Cycle#serve()` breakage on Windows.

@@ -35,0 +50,0 @@ * **3.0.2** Fix for a Windows EADDRNOTAVAIL error.

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