Socket
Socket
Sign inDemoInstall

httpsnippet

Package Overview
Dependencies
44
Maintainers
4
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.19.0 to 1.19.1

2

package.json
{
"version": "1.19.0",
"version": "1.19.1",
"name": "httpsnippet",

@@ -4,0 +4,0 @@ "description": "HTTP Request snippet generator for *most* languages",

@@ -29,3 +29,3 @@ /**

// Construct query string
if (source.queryString.length) {
if (Object.keys(source.queryObj).length) {
var qs = 'querystring = ' + JSON.stringify(source.queryObj)

@@ -32,0 +32,0 @@

@@ -68,3 +68,3 @@ /**

'%s %s', opts.binary ? '--data-binary' : (opts.short ? '-d' : '--data'),
helpers.escape(helpers.quote(source.postData.text))
helpers.quote(source.postData.text)
)

@@ -79,3 +79,3 @@ }

'%s %s', opts.binary ? '--data-binary' : (opts.short ? '-d' : '--data'),
helpers.escape(helpers.quote(source.postData.text))
helpers.quote(source.postData.text)
)

@@ -82,0 +82,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc