feat-skip-requests-package-runtime
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -101,2 +101,22 @@ var _ = require("lodash"), | ||
/** | ||
* Return the item path | ||
* | ||
* @param {any} item - sdk item | ||
*/ | ||
function getItemPath(item) { | ||
let path = "", | ||
current = item; | ||
while (current) { | ||
if (current.name) { | ||
path = current.name + (path !== "" ? "/" : "") + path; | ||
} | ||
current = current.__parent; | ||
} | ||
return path; | ||
} | ||
/** | ||
* Fetch domain name from CookieStore event arguments. | ||
@@ -554,4 +574,4 @@ * | ||
_itemName: item.name, | ||
_itemPath: item.getPath() | ||
} | ||
_itemPath: getItemPath(item), | ||
}, | ||
}, | ||
@@ -558,0 +578,0 @@ function (err, result) { |
{ | ||
"name": "feat-skip-requests-package-runtime", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Underlying library of executing Postman Collections", | ||
@@ -58,3 +58,3 @@ "author": "Postman Inc.", | ||
"postman-request": "2.88.1-postman.33", | ||
"feat-skip-requests-package-sandbox": "^0.0.10", | ||
"feat-skip-requests-package-sandbox": "^0.0.11", | ||
"postman-url-encoder": "3.0.5", | ||
@@ -61,0 +61,0 @@ "serialised-error": "1.1.3", |
Sorry, the diff of this file is too big to display
10811
4890981
+ Addedfeat-skip-requests-package-sandbox@0.0.11(transitive)
- Removedfeat-skip-requests-package-sandbox@0.0.10(transitive)