All notable changes to this project will be documented in this file.
- Added parameter checking to setCookie so as to error out when no URL was passed in
- Added loose mode to the serialized options. Now a serialized cookie jar with loose mode enabled will honor that flag when deserialized.
- Added allowSpecialUseDomain and prefixSecurity to the serialized options. Now any options accepted passed in to the cookie jar will be honored when serialized and deserialized.
- Added handling of IPv6 host names so that they would work with tough cookie.
- Modernized JS Syntax
- Use ESLint and Prettier to apply consistent, modern formatting (add dependency on
universalify
,eslint
andprettier
)
- Use ESLint and Prettier to apply consistent, modern formatting (add dependency on
- Upgraded version dependencies for
psl
andasync
- Re-order parameters for
findCookies()
- callback fn has to be last in order to comply withuniversalify
- Use Classes instead of function prototypes to define classes
- Might break people using
.call()
to do inheritance using function prototypes
- Might break people using
- SameSite cookie support
- Cookie prefix support
- Support for promises
- '.local' support
- Numerous bug fixes!