postman-collection
Advanced tools
Comparing version 3.4.6-beta.2 to 3.4.6
@@ -183,2 +183,3 @@ var _ = require('../util').lodash, | ||
// do not proceed on empty param, but empty strings are in fact valid. | ||
// eslint-disable-next-line lodash/prefer-is-nil | ||
if (_.isNull(item) || _.isUndefined(item) || _.isNaN(item)) { return; } | ||
@@ -344,6 +345,8 @@ | ||
// on it | ||
prune && _.forEach(list.reference, function (value, key) { | ||
if (sourceKeys.hasOwnProperty(key)) { return; } // de not delete if source obj has this variable | ||
list.remove(key); // use PropertyList functions to remove so that the .members array is cleared too | ||
}); | ||
if (prune) { | ||
_.forEach(list.reference, function (value, key) { | ||
if (sourceKeys.hasOwnProperty(key)) { return; } // de not delete if source obj has this variable | ||
list.remove(key); // use PropertyList functions to remove so that the .members array is cleared too | ||
}); | ||
} | ||
}, | ||
@@ -350,0 +353,0 @@ |
@@ -102,7 +102,9 @@ var _ = require('../util').lodash, | ||
// on it | ||
(prune !== false) && _.forEach(list.reference, function (value, key) { | ||
if (obj.hasOwnProperty(key)) { return; } // de not delete if source obj has this variable | ||
list.remove(key); // use PropertyList functions to remove so that the .members array is cleared too | ||
ops && ops.deleted.push(key); | ||
}); | ||
if (prune !== false) { | ||
_.forEach(list.reference, function (value, key) { | ||
if (obj.hasOwnProperty(key)) { return; } // de not delete if source obj has this variable | ||
list.remove(key); // use PropertyList functions to remove so that the .members array is cleared too | ||
ops && ops.deleted.push(key); | ||
}); | ||
} | ||
@@ -109,0 +111,0 @@ return ops; |
@@ -5,3 +5,3 @@ { | ||
"author": "Postman Labs <help@getpostman.com>", | ||
"version": "3.4.6-beta.2", | ||
"version": "3.4.6", | ||
"keywords": [ | ||
@@ -50,3 +50,3 @@ "postman" | ||
"devDependencies": { | ||
"async": "2.6.1", | ||
"async": "2.6.2", | ||
"browserify": "16.2.3", | ||
@@ -57,5 +57,5 @@ "btoa": "1.2.1", | ||
"dependency-check": "3.3.0", | ||
"eslint": "5.15.2", | ||
"eslint-plugin-jsdoc": "4.4.0", | ||
"eslint-plugin-lodash": "5.0.1", | ||
"eslint": "5.15.3", | ||
"eslint-plugin-jsdoc": "4.4.2", | ||
"eslint-plugin-lodash": "5.1.0", | ||
"eslint-plugin-mocha": "5.3.0", | ||
@@ -74,15 +74,10 @@ "eslint-plugin-security": "1.4.0", | ||
"mustache": "3.0.1", | ||
"packity": "0.3.2", | ||
"parse-gitignore": "1.0.1", | ||
"postman-jsdoc-theme": "0.0.3", | ||
"postman-request": "2.88.1-postman.7.1", | ||
"postman-request": "2.88.1-postman.8", | ||
"puppeteer": "1.13.0", | ||
"recursive-readdir": "2.2.2", | ||
"require-all": "3.0.0", | ||
"schema-compiler": "0.0.3", | ||
"shelljs": "0.8.3", | ||
"strip-json-comments": "2.0.1", | ||
"tv4": "1.3.0", | ||
"watchify": "3.11.1", | ||
"yankee": "1.0.8" | ||
"strip-json-comments": "2.0.1" | ||
}, | ||
@@ -89,0 +84,0 @@ "homepage": "https://github.com/postmanlabs/postman-collection#readme", |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
494815
30
10565
0