postman-runtime 7.37.0 → 7.37.2

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.
@@ -51,10 +51,10 @@ var _ = require('lodash'),
51
51
  'uri'
52
52
  ],
53
53
 
54
- nonceRegex = /nonce="([^"]*)"/,
55
- realmRegex = /realm="([^"]*)"/,
56
- qopRegex = /qop="([^"]*)"/,
57
- opaqueRegex = /opaque="([^"]*)"/,
54
+ nonceRegex = /nonce="([^"]*)"/i,
55
+ realmRegex = /realm="([^"]*)"/i,
56
+ qopRegex = /qop="([^"]*)"/i,
57
+ opaqueRegex = /opaque="([^"]*)"/i,
58
58
  _extractField,
59
59
  SHA512_256,
60
60
  nodeCrypto;
@@ -140,7 +140,8 @@ _extractField = function (string, regexp) {
140
140
  */
141
141
  function _getDigestAuthHeader (headers) {
142
142
  return headers.find(function (property) {
143
- return (property.key.toLowerCase() === WWW_AUTHENTICATE) && (_.startsWith(property.value, DIGEST_PREFIX));
143
+ return (property.key.toLowerCase() === WWW_AUTHENTICATE) &&
144
+ (_.startsWith(String(property.value).toLowerCase(), DIGEST_PREFIX.toLowerCase()));
144
145
  });
145
146
  }
146
147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-runtime",
3
- "version": "7.37.0",
3
+ "version": "7.37.2",
4
4
  "description": "Underlying library of executing Postman Collections",
5
5
  "author": "Postman Inc.",
6
6
  "license": "Apache-2.0",
@@ -56,7 +56,7 @@
56
56
  "performance-now": "2.1.0",
57
57
  "postman-collection": "4.4.0",
58
58
  "postman-request": "2.88.1-postman.33",
59
- "postman-sandbox": "4.5.0",
59
+ "postman-sandbox": "4.6.1",
60
60
  "postman-url-encoder": "3.0.5",
61
61
  "serialised-error": "1.1.3",
62
62
  "strip-json-comments": "3.1.1",
@@ -73,12 +73,12 @@
73
73
  "eslint": "^7.32.0",
74
74
  "eslint-plugin-jsdoc": "^36.1.1",
75
75
  "eslint-plugin-lodash": "^7.4.0",
76
- "eslint-plugin-mocha": "^10.2.0",
77
- "eslint-plugin-security": "^1.7.1",
76
+ "eslint-plugin-mocha": "^10.4.1",
77
+ "eslint-plugin-security": "^2.1.1",
78
78
  "express": "^4.17.2",
79
79
  "graphql": "^15.7.2",
80
80
  "js-yaml": "^4.1.0",
81
- "karma": "^6.4.2",
81
+ "karma": "^6.4.3",
82
82
  "karma-browserify": "^8.1.0",
83
83
  "karma-chrome-launcher": "^3.2.0",
84
84
  "karma-mocha": "^2.0.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.27.0",
97
- "tmp": "^0.2.1",
98
- "webpack": "^5.89.0",
96
+ "terser": "^5.30.0",
97
+ "tmp": "^0.2.3",
98
+ "webpack": "^5.91.0",
99
99
  "yankee": "^1.0.8"
100
100
  },
101
101
  "engines": {