npm tough-cookie 4.0.0
Version 4.0.0

latest releases: 4.1.4, 5.0.0-rc.1, 5.0.0-rc.0...
4 years ago

Breaking Changes (Major Version)

  • Modernized JS Syntax
    • Use ESLint and Prettier to apply consistent, modern formatting (add dependency on universalify, eslint and prettier)
  • Upgraded version dependencies for psl and async
  • Re-order parameters for findCookies() - callback fn has to be last in order to comply with universalify
  • Use Classes instead of function prototypes to define classes
    • Might break people using .call() to do inheritance using function prototypes

Minor Changes

  • SameSite cookie support
  • Cookie prefix support
  • Support for promises
  • '.local' support
  • Numerous bug fixes!

Don't miss a new tough-cookie release

NewReleases is sending notifications on new releases.