postman-runtime 7.29.2 → 7.30.1

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.
@@ -6,7 +6,7 @@ var _ = require('lodash'),
6
6
  sdk = require('postman-collection'),
7
7
  sandbox = require('postman-sandbox'),
8
8
  serialisedError = require('serialised-error'),
9
- ToughCookie = require('tough-cookie').Cookie,
9
+ ToughCookie = require('@postman/tough-cookie').Cookie,
10
10
 
11
11
  createItemContext = require('../create-item-context'),
12
12
 
@@ -328,9 +328,6 @@ module.exports = {
328
328
 
329
329
  !Array.isArray(args) && (args = []);
330
330
 
331
- // set expected args length to make sure callback is always called
332
- args.length = cookieStore[fnName].length - 1;
333
-
334
331
  // there's no way cookie store can identify the difference
335
332
  // between regular and programmatic access. So, for now
336
333
  // we check for programmatic access using the cookieJar
@@ -10,7 +10,7 @@ var _ = require('lodash'),
10
10
  * @const
11
11
  * @type {String[]}
12
12
  */
13
- ALLOWED_REQUEST_MUTATIONS = ['url', 'method', 'headers', 'body'],
13
+ ALLOWED_REQUEST_MUTATIONS = ['url', 'method', 'headers', 'body', 'auth'],
14
14
 
15
15
  extractVisualizerData,
16
16
  getResponseJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-runtime",
3
- "version": "7.29.2",
3
+ "version": "7.30.1",
4
4
  "description": "Underlying library of executing Postman Collections",
5
5
  "author": "Postman Inc.",
6
6
  "license": "Apache-2.0",
@@ -31,6 +31,7 @@
31
31
  "release": "node npm/create-release.js",
32
32
  "test": "npm run test-lint && npm run test-system && npm run test-unit && npm run test-integration && npm run test-integration-legacy",
33
33
  "test-browser": "node npm/test-browser.js",
34
+ "test-contract": "node npm/test-contract.js",
34
35
  "test-electron": "node npm/test-electron.js",
35
36
  "test-integration": "nyc --nycrc-path=.nycrc.js node npm/test-integration.js",
36
37
  "test-integration-legacy": "nyc --nycrc-path=.nycrc.js node npm/test-integration-legacy.js",
@@ -40,40 +41,40 @@
40
41
  "test-unit": "nyc --nycrc-path=.nycrc.js node npm/test-unit.js"
41
42
  },
42
43
  "dependencies": {
43
- "async": "3.2.3",
44
- "aws4": "1.11.0",
44
+ "@postman/tough-cookie": "4.1.2-postman.1",
45
+ "async": "3.2.4",
46
+ "aws4": "1.12.0",
45
47
  "handlebars": "4.7.7",
46
- "httpntlm": "1.7.7",
48
+ "httpntlm": "1.8.2",
47
49
  "js-sha512": "0.8.0",
48
50
  "lodash": "4.17.21",
49
51
  "mime-types": "2.1.35",
50
52
  "node-oauth1": "1.3.0",
51
53
  "performance-now": "2.1.0",
52
- "postman-collection": "4.1.4",
53
- "postman-request": "2.88.1-postman.31",
54
- "postman-sandbox": "4.0.8",
54
+ "postman-collection": "4.1.7",
55
+ "postman-request": "2.88.1-postman.32",
56
+ "postman-sandbox": "4.2.2",
55
57
  "postman-url-encoder": "3.0.5",
56
58
  "serialised-error": "1.1.3",
57
- "tough-cookie": "3.0.1",
58
59
  "uuid": "8.3.2"
59
60
  },
60
61
  "devDependencies": {
61
62
  "@postman/shipit": "^0.4.0",
62
- "ajv": "^8.11.0",
63
+ "ajv": "^8.12.0",
63
64
  "browserify": "^17.0.0",
64
- "chai": "^4.3.6",
65
+ "chai": "^4.3.7",
65
66
  "chalk": "^4.1.2",
66
67
  "dependency-check": "^4.1.0",
67
- "editorconfig": "^0.15.3",
68
+ "editorconfig": "^1.0.1",
68
69
  "eslint": "^7.32.0",
69
70
  "eslint-plugin-jsdoc": "^36.1.1",
70
71
  "eslint-plugin-lodash": "^7.4.0",
71
- "eslint-plugin-mocha": "^10.0.5",
72
- "eslint-plugin-security": "^1.5.0",
72
+ "eslint-plugin-mocha": "^10.1.0",
73
+ "eslint-plugin-security": "^1.6.0",
73
74
  "express": "^4.17.2",
74
75
  "graphql": "^15.7.2",
75
76
  "js-yaml": "^4.1.0",
76
- "karma": "^6.3.20",
77
+ "karma": "^6.4.1",
77
78
  "karma-browserify": "^8.1.0",
78
79
  "karma-chrome-launcher": "^3.1.1",
79
80
  "karma-mocha": "^2.0.1",
@@ -83,12 +84,12 @@
83
84
  "parse-gitignore": "^1.0.1",
84
85
  "passport": "^0.6.0",
85
86
  "passport-http": "^0.3.0",
86
- "recursive-readdir": "^2.2.2",
87
+ "recursive-readdir": "^2.2.3",
87
88
  "server-destroy": "^1.0.1",
88
89
  "shelljs": "^0.8.5",
89
90
  "sinon": "^12.0.1",
90
91
  "teleport-javascript": "^1.0.0",
91
- "terser": "^5.14.0",
92
+ "terser": "^5.16.1",
92
93
  "tmp": "^0.2.1",
93
94
  "yankee": "^1.0.8"
94
95
  },