Socket
Socket
Sign inDemoInstall

browsermob-proxy-api

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browsermob-proxy-api - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

.idea/.name

10

index.js

@@ -136,2 +136,12 @@ var http = require('http');

// LittleProxy HTTP request/response filters
addRequestFilter: function(port, js, callback) {
this._post('/proxy/' + port + '/filter/request', js, JAVASCRIPT_MIME, callback);
},
addResponseFilter: function(port, js, callback) {
this._post('/proxy/' + port + '/filter/response', js, JAVASCRIPT_MIME, callback);
},
// Legacy HTTP request/response filters
addRequestInterceptor: function(port, js, callback) {

@@ -138,0 +148,0 @@ this._post('/proxy/' + port + '/interceptor/request', js, JAVASCRIPT_MIME, callback);

2

package.json
{
"name": "browsermob-proxy-api",
"version": "0.3.1",
"version": "0.3.2",
"description": "NodeJS bindings for controlling a browsermob-proxy instance (creating ports, HARs, etc)",

@@ -5,0 +5,0 @@ "main": "index.js",

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