Socket
Socket
Sign inDemoInstall

httpsnippet

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

httpsnippet - npm Package Compare versions

Comparing version 1.16.4 to 1.16.5

26

package.json
{
"version": "1.16.4",
"version": "1.16.5",
"name": "httpsnippet",

@@ -69,20 +69,22 @@ "description": "HTTP Request snippet generator for *most* languages",

"devDependencies": {
"codeclimate-test-reporter": "0.1.0",
"codeclimate-test-reporter": "0.1.1",
"echint": "^1.5.0",
"glob": "^5.0.14",
"istanbul": "^0.3.17",
"mocha": "^2.2.5",
"glob": "^6.0.1",
"istanbul": "^0.4.0",
"mocha": "^2.3.4",
"require-directory": "^2.1.1",
"should": "^7.0.2",
"standard": "^5.0.0"
"should": "^7.1.1",
"standard": "^5.4.1"
},
"dependencies": {
"bluebird": "^2.9.34",
"chalk": "^1.1.0",
"commander": "^2.8.1",
"chalk": "^1.1.1",
"commander": "^2.9.0",
"debug": "^2.2.0",
"event-stream": "^3.3.1",
"event-stream": "^3.3.2",
"form-data": "^1.0.0-rc3",
"har-validator": "^1.8.0"
"fs-readfile-promise": "^2.0.1",
"fs-writefile-promise": "^1.0.3",
"har-validator": "^2.0.2",
"pinkie-promise": "^2.0.0"
}
}

@@ -17,3 +17,3 @@ 'use strict'

this.indentation = indentation
this.lineJoin = join ? join : '\n'
this.lineJoin = join || '\n'
}

@@ -20,0 +20,0 @@

@@ -11,3 +11,3 @@ 'use strict'

var util = require('util')
var validate = require('har-validator')
var validate = require('har-validator/lib/async')

@@ -14,0 +14,0 @@ // constructor

@@ -47,3 +47,3 @@ /**

}
}else if (methodsWithBody.indexOf(source.method.toUpperCase()) >= 0) {
} else if (methodsWithBody.indexOf(source.method.toUpperCase()) >= 0) {
if (source.postData.text) {

@@ -50,0 +50,0 @@ code.push(1, '.%s(body)', source.method.toLowerCase())

Sorry, the diff of this file is not supported yet

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