Socket
Socket
Sign inDemoInstall

mitm

Package Overview
Dependencies
1
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.1 to 1.3.2

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 1.3.2 (Nov 10, 2016)
- Adds compatibility with Node v7.
Thanks, [Eric Hacke](https://github.com/ehacke), for the help!
## 1.3.1 (Sep 6, 2016)

@@ -2,0 +6,0 @@ - Fixes calling `Socket.prototype.ref` and `Socket.prototype.unref` on the returned client and server sockets.

2

index.js

@@ -13,3 +13,3 @@ var _ = require("underscore")

var slice = Function.call.bind(Array.prototype.slice)
var normalizeConnectArgs = Net._normalizeConnectArgs
var normalizeConnectArgs = Net._normalizeConnectArgs || Net._normalizeArgs
var createRequestAndResponse = Http._connectionListener

@@ -16,0 +16,0 @@ module.exports = Mitm

{
"name": "mitm",
"version": "1.3.1",
"version": "1.3.2",
"description": "Intercept and mock outgoing network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Useful when testing code that hits remote servers.",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc