Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

restify

Package Overview
Dependencies
Maintainers
0
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restify - npm Package Compare versions

Comparing version 0.3.11 to 0.3.12

3

lib/client.js

@@ -401,3 +401,4 @@ // Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.

if (res.headers['content-md5'] && !self.noContentMD5) {
if (res.headers['content-md5'] && !self.noContentMD5 &&
options.method !== 'HEAD') {
var hash = crypto.createHash('md5');

@@ -404,0 +405,0 @@ hash.update(res.body);

{
"name": "restify",
"description": "REST framework specifically meant for web service APIs",
"version": "0.3.11",
"version": "0.3.12",
"repository": {

@@ -16,7 +16,7 @@ "type": "git",

"retry": "0.4.0",
"semver": "1.0.8"
"semver": "~1.0.8"
},
"scripts": {
"pretest": "which gjslint 2>&1 > /dev/null; if [[ \"$?\" = 0 ]] ; then gjslint --nojsdoc -r . -x lib/sprintf.js -e node_modules; fi && ./node_modules/.bin/jshint lib tst",
"test": "./node_modules/.bin/whiskey --quiet --sequential --timeout 4000 -t \"`find tst -name *.test.js | xargs`\""
"pretest": "gjslint --nojsdoc -r . -x lib/sprintf.js -e node_modules; jshint lib tst",
"test": "whiskey --quiet --sequential --timeout 4000 -t \"`find tst -name *.test.js | xargs`\""
},

@@ -23,0 +23,0 @@ "man": [

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