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

hammock

Package Overview
Dependencies
Maintainers
2
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 2.0.1 to 2.1.0

3

lib/response.js

@@ -109,2 +109,5 @@ var events = require('events');

MockResponse.prototype._buildBody = function _buildBody() {
if (this.buffer.length === 0) {
return '';
}
if (this.buffer.length === 1) {

@@ -111,0 +114,0 @@ return this.buffer[0];

2

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

@@ -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