tough-cookie 4.0.0 integration broken #1131
Labels
bug
Something does not work as it should
enhancement
This change will extend Got features
✭ help wanted ✭
Since this commit in tough-cookie (salesforce/tough-cookie@d5d6f79#diff-d721bcd439ec1bdd00213161a426ebd8 , code below) the following line to check the cookieJar won't work anymore:
got/source/normalize-arguments.ts
Line 171 in 62b3388
as the code in tough-cookie patches the prototype so the length of all the methods will always return 0.
https://github.com/salesforce/tough-cookie/blob/2524513d49b7fab37639dfb7c6b87994c2bd7791/lib/cookie.js#L1618-L1629
The workaround provided here #1082 will also work here.
-- one more workaround:
The text was updated successfully, but these errors were encountered: