postman-collection
Advanced tools
Comparing version 4.3.0 to 4.4.0
@@ -19,4 +19,4 @@ var _ = require('../util').lodash, | ||
* @param {*} value Any JS variable within which we are trying to discover {{variables}} | ||
* @param {[Object]} seen Set of objects traversed before to avoid infinite recursion | ||
* @param {[Object]} result Set of variables to accumulate result in the recursive call | ||
* @param {Set.<Object>} seen Set of objects traversed before to avoid infinite recursion | ||
* @param {Set.<Object>} result Set of variables to accumulate result in the recursive call | ||
* @returns {Object} Set of variables | ||
@@ -23,0 +23,0 @@ */ |
@@ -9,2 +9,8 @@ var _ = require('../util').lodash, | ||
/** | ||
* A map of package names to the IDs of the packages | ||
* | ||
* @typedef {Object.<string, { id: string }>} Packages | ||
*/ | ||
_.inherit(( | ||
@@ -53,2 +59,3 @@ | ||
* @param {String[]|String} [options.exec] Script to execute | ||
* @param {Packages} [options.packages] Packages required by the script | ||
*/ | ||
@@ -67,2 +74,10 @@ update: function (options) { | ||
this.type = options.type || 'text/javascript'; | ||
/** | ||
* The packages required by the script | ||
* | ||
* @type {Packages} | ||
*/ | ||
this.packages = options.packages; | ||
_.has(options, 'src') && ( | ||
@@ -69,0 +84,0 @@ |
{ | ||
"name": "postman-collection", | ||
"version": "4.3.0", | ||
"version": "4.4.0", | ||
"description": "Enables developers to use a unified Postman Collection format Object across projects", | ||
@@ -5,0 +5,0 @@ "author": "Postman Inc.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
507389
11329