postman-runtime 7.35.0 → 7.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -457,6 +457,8 @@ module.exports = {
457
457
  shouldSkipExecution = true;
458
458
  });
459
459
 
460
+ const currentEventItem = event.parent && event.parent();
461
+
460
462
  // finally execute the script
461
463
  this.host.execute(event, {
462
464
  id: executionId,
@@ -468,7 +470,9 @@ module.exports = {
468
470
  // legacy options
469
471
  legacy: {
470
472
  _itemId: item.id,
471
- _itemName: item.name
473
+ _itemName: item.name,
474
+ _itemPath: item.getPath && item.getPath(),
475
+ _eventItemName: currentEventItem && currentEventItem.name
472
476
  }
473
477
  }, function (err, result) {
474
478
  this.host.removeAllListeners(EXECUTION_REQUEST_EVENT_BASE + executionId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-runtime",
3
- "version": "7.35.0",
3
+ "version": "7.36.0",
4
4
  "description": "Underlying library of executing Postman Collections",
5
5
  "author": "Postman Inc.",
6
6
  "license": "Apache-2.0",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@postman/tough-cookie": "4.1.3-postman.1",
46
- "async": "3.2.4",
46
+ "async": "3.2.5",
47
47
  "aws4": "1.12.0",
48
48
  "handlebars": "4.7.8",
49
49
  "httpntlm": "1.8.13",
@@ -54,9 +54,9 @@
54
54
  "node-forge": "1.3.1",
55
55
  "node-oauth1": "1.3.0",
56
56
  "performance-now": "2.1.0",
57
- "postman-collection": "4.2.1",
57
+ "postman-collection": "4.3.0",
58
58
  "postman-request": "2.88.1-postman.33",
59
- "postman-sandbox": "4.3.0",
59
+ "postman-sandbox": "4.4.0",
60
60
  "postman-url-encoder": "3.0.5",
61
61
  "serialised-error": "1.1.3",
62
62
  "strip-json-comments": "3.1.1",
@@ -93,9 +93,9 @@
93
93
  "shelljs": "^0.8.5",
94
94
  "sinon": "^12.0.1",
95
95
  "teleport-javascript": "^1.0.0",
96
- "terser": "^5.22.0",
96
+ "terser": "^5.24.0",
97
97
  "tmp": "^0.2.1",
98
- "webpack": "^5.86.0",
98
+ "webpack": "^5.89.0",
99
99
  "yankee": "^1.0.8"
100
100
  },
101
101
  "engines": {