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

hock

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hock - npm Package Compare versions

Comparing version

to
1.3.2

@@ -392,14 +392,6 @@ var http = require('http'),

*
* @param {function} callback invoked when hock is ready and listening
*
* @returns {Hock}
*/
var createHock = function(options) {
// options is optional
if (typeof options === 'function') {
callback = options;
options = {};
}
var hock = new Hock(options);
return hock;
return new Hock(options);
};

@@ -406,0 +398,0 @@

{
"name": "hock",
"description": "A mocking server for HTTP requests",
"version": "1.3.1",
"version": "1.3.2",
"author": "Maciej Małecki <me@mmalecki.com>",

@@ -6,0 +6,0 @@ "contributors": [