Closed wjhsf closed 3 weeks ago
I tracked this down to https://github.com/salesforce/tough-cookie/pull/289/commits/bae5ae80ca849a4eef1d866a97cc1736939036eb which was included in https://github.com/salesforce/tough-cookie/pull/289. Since this was included in a bundle of eslint-related changes I can only assume the method was flagged as unused because, otherwise, we should have seen unit test failures. It must have never had any coverage 😞
The
expiryDate
method on theCookie
class was accidentally removed in the v5 release. It will be restored in the v5.0.1 release.