Socket
Socket
Sign inDemoInstall

postman-collection

Package Overview
Dependencies
Maintainers
5
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 4.4.1 to 4.5.0

13

lib/collection/event.js

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

*/
_postman_propertyName: 'Event'
_postman_propertyName: 'Event',
/**
* Check whether an object is an instance of {@link Event}.
*
* @param {*} obj -
* @returns {Boolean}
*/
isEvent: function isPostmanEvent (obj) {
return Boolean(obj) && ((obj instanceof Event) ||
_.inSuperChain(obj.constructor, '_postman_propertyName', Event._postman_propertyName));
}
});

@@ -93,0 +104,0 @@

@@ -97,2 +97,11 @@ var _ = require('../util').lodash,

}
},
/**
* Checks if the script is empty i.e does not have any code to execute.
*
* @returns {Boolean}
*/
isEmpty: function () {
return _.isEmpty(_.trim(this.toSource()));
}

@@ -99,0 +108,0 @@ });

8

package.json
{
"name": "postman-collection",
"version": "4.4.1",
"version": "4.5.0",
"description": "Enables developers to use a unified Postman Collection format Object across projects",

@@ -44,3 +44,3 @@ "author": "Postman Inc.",

"postman-url-encoder": "3.0.5",
"semver": "7.5.4",
"semver": "7.6.3",
"uuid": "8.3.2"

@@ -60,7 +60,7 @@ },

"eslint-plugin-lodash": "^7.4.0",
"eslint-plugin-mocha": "^10.2.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-security": "^1.7.1",
"js-yaml": "^4.1.0",
"jsdoc": "^3.6.11",
"karma": "^6.4.2",
"karma": "^6.4.4",
"karma-browserify": "^8.1.0",

@@ -67,0 +67,0 @@ "karma-chrome-launcher": "^3.2.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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