postman-collection
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -178,2 +178,18 @@ var _ = require('../util').lodash, | ||
}, this); | ||
}, | ||
/** | ||
* Calls the callback for each itemgroup belonging to itself. All ItemGroups encountered will also, | ||
* call the callback on their own ItemGroups. | ||
* @private | ||
* | ||
* @param {Function} callback | ||
*/ | ||
forEachItemGroup: function forEachItemGroup (callback) { | ||
this.items.each(function (item) { | ||
if (ItemGroup.isItemGroup(item)) { | ||
item.forEachItemGroup(callback); | ||
callback(item, this); | ||
} | ||
}, this); | ||
} | ||
@@ -180,0 +196,0 @@ }); |
@@ -5,3 +5,3 @@ { | ||
"author": "Postman Labs <help@getpostman.com>", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "postman" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
240813
5525