msw 0.43.0 → 0.43.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.
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
 
4
4
  /**
5
- * Mock Service Worker (0.43.0).
5
+ * Mock Service Worker (0.43.1).
6
6
  * @see https://github.com/mswjs/msw
7
7
  * - Please do NOT modify this file.
8
8
  * - Please do NOT serve this file on production.
@@ -682,7 +682,7 @@ var cookieUtils3 = __toESM(require("cookie"));
682
682
  var cookie = (name, value, options) => {
683
683
  return (res) => {
684
684
  const serializedCookie = cookieUtils3.serialize(name, value, options);
685
- res.headers.set("Set-Cookie", serializedCookie);
685
+ res.headers.append("Set-Cookie", serializedCookie);
686
686
  if (typeof document !== "undefined") {
687
687
  document.cookie = serializedCookie;
688
688
  }
@@ -670,7 +670,7 @@ import * as cookieUtils3 from "cookie";
670
670
  var cookie = (name, value, options) => {
671
671
  return (res) => {
672
672
  const serializedCookie = cookieUtils3.serialize(name, value, options);
673
- res.headers.set("Set-Cookie", serializedCookie);
673
+ res.headers.append("Set-Cookie", serializedCookie);
674
674
  if (typeof document !== "undefined") {
675
675
  document.cookie = serializedCookie;
676
676
  }
package/lib/node/index.js CHANGED
@@ -689,7 +689,7 @@ var cookieUtils3 = __toESM(require("cookie"));
689
689
  var cookie = (name, value, options) => {
690
690
  return (res) => {
691
691
  const serializedCookie = cookieUtils3.serialize(name, value, options);
692
- res.headers.set("Set-Cookie", serializedCookie);
692
+ res.headers.append("Set-Cookie", serializedCookie);
693
693
  if (typeof document !== "undefined") {
694
694
  document.cookie = serializedCookie;
695
695
  }