es-cookie icon indicating copy to clipboard operation
es-cookie copied to clipboard

A simple, lightweight module for handling cookies

Results 4 es-cookie issues
Sort by recently updated
recently updated
newest added

When I set a cookie with domain `example.com` from `foo.example.com` the domain of the cookie is being set to `.example.com`. `Cookies.set('mycookie', 'myvalue', {domain: 'example.com'}` will result in: `"mycookie=myvalue; Domain=.example.com; Path=/"`...

I have a SvelteKit app that is dependent on @auth0/auth0-spa-js. That library is currently CJS and is [dependent on es-cookie@^1.3.2](https://github.com/auth0/auth0-spa-js/blob/f4283f970268b6dc5d8097eebecc92ab0ca8098c/package.json#L83). My app is crashing with the following message because [email protected]...

`Expires` should work even when it is above **the maximum date**

In attempting to use this library, I am finding that my cookies are not being saved even when no errors are occurring. Frankly, I don't know if it's because I...