@cedarjs/web 1.1.1-next.18 → 2.0.0-rc.24

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.
@@ -33,7 +33,7 @@ __export(MiddlewareResponse_exports, {
33
33
  });
34
34
  module.exports = __toCommonJS(MiddlewareResponse_exports);
35
35
  var import_fetch = require("@whatwg-node/fetch");
36
- var import_cookie = __toESM(require("cookie"), 1);
36
+ var cookie = __toESM(require("cookie"), 1);
37
37
  var import_cookie_jar = require("@cedarjs/cookie-jar");
38
38
  class MiddlewareShortCircuit extends Error {
39
39
  mwResponse;
@@ -73,7 +73,7 @@ class MiddlewareResponse {
73
73
  for (const [ckName, ckParams] of this.cookies) {
74
74
  this.headers.append(
75
75
  "Set-Cookie",
76
- import_cookie.default.serialize(ckName, ckParams.value, ckParams.options)
76
+ cookie.serialize(ckName, ckParams.value, ckParams.options)
77
77
  );
78
78
  }
79
79
  throw new MiddlewareShortCircuit(
@@ -113,7 +113,7 @@ class MiddlewareResponse {
113
113
  for (const [ckName, ckParams] of this.cookies) {
114
114
  this.headers.append(
115
115
  "Set-Cookie",
116
- import_cookie.default.serialize(ckName, ckParams.value, ckParams.options)
116
+ cookie.serialize(ckName, ckParams.value, ckParams.options)
117
117
  );
118
118
  }
119
119
  return new import_fetch.Response(this.body, {
@@ -1,5 +1,5 @@
1
1
  import { Response as PonyResponse } from "@whatwg-node/fetch";
2
- import cookie from "cookie";
2
+ import * as cookie from "cookie";
3
3
  import { CookieJar } from "@cedarjs/cookie-jar";
4
4
  class MiddlewareShortCircuit extends Error {
5
5
  mwResponse;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/web",
3
- "version": "1.1.1-next.18+5ffd3124d",
3
+ "version": "2.0.0-rc.24",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -145,12 +145,12 @@
145
145
  "dependencies": {
146
146
  "@apollo/client": "3.13.9",
147
147
  "@babel/runtime-corejs3": "7.27.6",
148
- "@cedarjs/auth": "1.1.1-next.18+5ffd3124d",
149
- "@cedarjs/server-store": "1.1.1-next.18+5ffd3124d",
148
+ "@cedarjs/auth": "2.0.0-rc.24",
149
+ "@cedarjs/server-store": "2.0.0-rc.24",
150
150
  "@dr.pogodin/react-helmet": "2.0.4",
151
151
  "@whatwg-node/fetch": "0.9.21",
152
152
  "apollo-upload-client": "18.0.1",
153
- "cookie": "0.7.2",
153
+ "cookie": "1.0.2",
154
154
  "core-js": "3.42.0",
155
155
  "graphql": "16.9.0",
156
156
  "graphql-sse": "2.5.4",
@@ -166,8 +166,8 @@
166
166
  "@babel/core": "^7.26.10",
167
167
  "@babel/plugin-transform-runtime": "7.27.4",
168
168
  "@babel/runtime": "7.27.6",
169
- "@cedarjs/framework-tools": "1.1.1-next.18",
170
- "@cedarjs/internal": "1.1.1-next.18+5ffd3124d",
169
+ "@cedarjs/framework-tools": "2.0.0-rc.24",
170
+ "@cedarjs/internal": "2.0.0-rc.24",
171
171
  "@rollup/plugin-babel": "6.0.4",
172
172
  "@testing-library/jest-dom": "6.5.0",
173
173
  "@testing-library/react": "14.3.1",
@@ -191,5 +191,5 @@
191
191
  "publishConfig": {
192
192
  "access": "public"
193
193
  },
194
- "gitHead": "5ffd3124d3d4ceb7843408264c96ecceff8542f5"
194
+ "gitHead": "ce96a12c39646361695a287b05eee7ec92aab200"
195
195
  }