You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since it's used in MSW, which runs in ambiguous environments, I propose to support running Cookies in Node.js. We already do some checks for localStorage (here) but otherwise still remain incompatible with Node.js runtime.
It's okay if it returns nothing whenever we rely on the document.
The text was updated successfully, but these errors were encountered:
This library accesses
document
directly, implying that it needs either a browser or browser-like environment to run:cookies/src/CookieStore.ts
Line 94 in d2cad32
Since it's used in MSW, which runs in ambiguous environments, I propose to support running Cookies in Node.js. We already do some checks for
localStorage
(here) but otherwise still remain incompatible with Node.js runtime.It's okay if it returns nothing whenever we rely on the
document
.The text was updated successfully, but these errors were encountered: