whistle 2.9.36-beta → 2.9.37-beta

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.
package/lib/util/index.js CHANGED
@@ -3069,7 +3069,7 @@ function getCookieItem(name, cookie) {
3069
3069
  cookie = cookie ? escapeValue(cookie) : cookie;
3070
3070
  return name + '=' + (cookie == null ? '' : cookie);
3071
3071
  }
3072
- var attrs = [escapeValue(cookie.value)];
3072
+ var attrs = [name + '=' + escapeValue(cookie.value)];
3073
3073
  var maxAge = cookie.maxAge || cookie.maxage ||
3074
3074
  cookie.MaxAge || cookie['Max-Age'] || cookie['max-age'];
3075
3075
  maxAge = parseInt(cookie.maxAge, 10);
@@ -3086,7 +3086,7 @@ function getCookieItem(name, cookie) {
3086
3086
  path && attrs.push('Path=' + path);
3087
3087
  domain && attrs.push('Domain=' + domain);
3088
3088
  sameSite && attrs.push('SameSite=' + sameSite);
3089
- return name + attrs.join('; ');
3089
+ return attrs.join('; ');
3090
3090
  }
3091
3091
 
3092
3092
  function addMapArr(obj, key, value) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "whistle",
3
3
  "description": "HTTP, HTTP2, HTTPS, Websocket debugging proxy",
4
- "version": "2.9.36-beta",
4
+ "version": "2.9.37-beta",
5
5
  "dataDirname": ".whistle",
6
6
  "localUIHost": "local.whistlejs.com",
7
7
  "port": 8899,