Skip to content

Commit

Permalink
Lock tough-cookie to 4.0.0
Browse files Browse the repository at this point in the history
Too many breaking changes in `4.1.0`
  • Loading branch information
szmarczak committed Aug 29, 2022
1 parent c09b985 commit 36cf6a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"tempy": "^3.0.0",
"then-busboy": "^5.1.1",
"to-readable-stream": "^3.0.0",
"tough-cookie": "^4.0.0",
"tough-cookie": "4.0.0",
"ts-node": "^10.8.2",
"typescript": "^4.7.4",
"xo": "^0.50.0"
Expand Down
4 changes: 1 addition & 3 deletions test/cookies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ test('does not throw on invalid cookies when options.ignoreInvalidCookies is set
response.end();
});

const cookieJar = new toughCookie.CookieJar(undefined, {
allowSpecialUseDomain: false,
});
const cookieJar = new toughCookie.CookieJar();

await got({
cookieJar,
Expand Down

0 comments on commit 36cf6a8

Please sign in to comment.