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

hammock

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hammock - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

lib/request.js

@@ -10,4 +10,6 @@

this.method = options.method || 'GET';
this.connection = {};
this.cookies = {};
};
module.exports = MockRequest;

@@ -30,2 +30,5 @@ var _ = require('lodash'),

};
MockResponse.prototype.getHeader = function(name) {
return this.headers[name];
};
MockResponse.prototype.end = function(str) {

@@ -32,0 +35,0 @@ this.buffer.push(str);

5

package.json
{
"name": "hammock",
"version": "0.0.2",
"version": "0.0.3",
"description": "Node.js mock / polyfill http object library for http req / res",

@@ -21,4 +21,7 @@ "main": "index.js",

],
"dependencies": {
"lodash": "1.0.0-rc.3"
},
"author": "Tommy Messbauer",
"license": "MIT"
}
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