Skip to content

Commit

Permalink
Update tough-cookie
Browse files Browse the repository at this point in the history
This is only supported since http-cookie-agent 6.0.6 [1], so make sure
to require the latest version too (it was already in package-lock.json).

    npm i --engines-strict {http-cookie-agent,tough-cookie}@latest

[1]: 3846masa/http-cookie-agent@0547fa920b
  • Loading branch information
lucaswerkmeister committed Jan 1, 2025
1 parent 4a2dd9d commit 3717f93
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 50 deletions.
72 changes: 24 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"node": ">=18.2.0"
},
"dependencies": {
"http-cookie-agent": "^6.0.3",
"tough-cookie": "^4.1.3",
"http-cookie-agent": "^6.0.8",
"tough-cookie": "^5.0.0",
"undici": "^6.12.0"
},
"devDependencies": {
Expand Down

1 comment on commit 3717f93

@lucaswerkmeister
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: the command in the commit message is slightly wrong (because npm, in its infinite wisdom, silently ignores invalid options). The option I actually meant is --engine-strict (not “engines”). That said, it doesn’t make a difference in this case AFAICT.

Please sign in to comment.