Socket
Socket
Sign inDemoInstall

postman-collection

Package Overview
Dependencies
Maintainers
3
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postman-collection - npm Package Compare versions

Comparing version 0.4.9 to 0.4.10

7

lib/collection/request-body.js

@@ -57,3 +57,3 @@ var _ = require('../util').lodash,

_.isString(options.file) && (file = { ref: file });
_.isString(options.file) && (file = { src: file });

@@ -142,2 +142,7 @@ // If mode is raw but options does not give raw content, set it to empty string

if (mode === RequestBody.MODES.file) {
// Handle file mode.
return !(data.src || data.content);
}
return !data || !(_.isString(data) ? data.length : (_.isFunction(data.count) && data.count()));

@@ -144,0 +149,0 @@ }

2

package.json

@@ -5,3 +5,3 @@ {

"author": "Postman Labs <help@getpostman.com>",
"version": "0.4.9",
"version": "0.4.10",
"keywords": [

@@ -8,0 +8,0 @@ "postman"

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