Skip to content

Commit

Permalink
[8.15] Update dependency tough-cookie to v5 (main) (#193107) (#193285)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.15`:
- [Update dependency tough-cookie to v5 (main)
(#193107)](https://github.com/elastic/kibana/pull/193107)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-09-18T12:32:42Z","message":"Update
dependency tough-cookie to v5 (main) (#193107)\n\nThis PR contains the
following updates:\r\n\r\n| Package | Type | Update | Change
|\r\n|---|---|---|---|\r\n|
[tough-cookie](https://togithub.com/salesforce/tough-cookie)
|\r\ndevDependencies | major | [`^4.1.4`
->\r\n`^5.0.0`](https://renovatebot.com/diffs/npm/tough-cookie/4.1.4/5.0.0)
|\r\n\r\n---\r\n\r\n### Release
Notes\r\n\r\n<details>\r\n<summary>salesforce/tough-cookie
(tough-cookie)</summary>\r\n\r\n###\r\n[`v5.0.0`](https://togithub.com/salesforce/tough-cookie/releases/tag/v5.0.0)\r\n\r\n[Compare\r\nSource](https://togithub.com/salesforce/tough-cookie/compare/v4.1.4...v5.0.0)\r\n\r\n####
Summary\r\n\r\n##### Breaking Changes\r\n\r\n- We've migrated the
project to TypeScript! First-party types are now\r\navailable.\r\n- The
minimum supported version of node is v18.\r\n- We no longer provide
official support for non-node enviroments.\r\n\r\n##### API
Changes\r\n\r\n- We've standardized most of our exposed interfaces to
accept both\r\n`null` and `undefined` and return only `undefined`.\r\n-
`getCookie` and `getCookies` now accept a `string` or `URL` as
a\r\nparameter.\r\n- We've removed the `inspect` function in favor of
node's\r\n`util.inspect.custom` symbol. Cookies may appear different
when logged\r\nin non-node environments.\r\n\r\n##### Other
Changes\r\n\r\n- Fixed the expiry time not updating when a cookie is
updating.\r\n- Fixed validation errors not getting called in some
callbacks.\r\n-
[New\r\ndocumentation](https://togithub.com/salesforce/tough-cookie/blob/v5.0.0/api/docs/tough-cookie.md)\r\nthat
is always kept up to date!\r\n- Performance improvements.\r\n\r\n####
What's Changed\r\n\r\n- Typescript support
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/264](https://togithub.com/salesforce/tough-cookie/pull/264)\r\n-
\\[v5] Update config by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/269](https://togithub.com/salesforce/tough-cookie/pull/269)\r\n-
Fix prettier in eslint config
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/274](https://togithub.com/salesforce/tough-cookie/pull/274)\r\n-
Updated dev tooling
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/271](https://togithub.com/salesforce/tough-cookie/pull/271)\r\n-
Port 283 fix to v5
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/287](https://togithub.com/salesforce/tough-cookie/pull/287)\r\n-
Remove some
[@&#8203;ts-ignore](https://togithub.com/ts-ignore)\r\ndirectives. by
[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/288](https://togithub.com/salesforce/tough-cookie/pull/288)\r\n-
Clean up validate function.
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/275](https://togithub.com/salesforce/tough-cookie/pull/275)\r\n-
Changes to support full eslint rule configurations
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/289](https://togithub.com/salesforce/tough-cookie/pull/289)\r\n-
Split giant cookie.ts into multiple files.
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/296](https://togithub.com/salesforce/tough-cookie/pull/296)\r\n-
Merge branch 'master' into v5
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/300](https://togithub.com/salesforce/tough-cookie/pull/300)\r\n-
Merge `v5` into `master`
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/303](https://togithub.com/salesforce/tough-cookie/pull/303)\r\n-
Preparing for release `5.0.0-rc.0`
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/304](https://togithub.com/salesforce/tough-cookie/pull/304)\r\n-
Bump
[@&#8203;babel/traverse](https://togithub.com/babel/traverse)\r\nfrom
7.21.3 to 7.23.2
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/305](https://togithub.com/salesforce/tough-cookie/pull/305)\r\n-
Configure dependabot and codeowners
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/306](https://togithub.com/salesforce/tough-cookie/pull/306)\r\n-
Bump\r\n[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)\r\nfrom
5.58.0 to 5.62.0
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/310](https://togithub.com/salesforce/tough-cookie/pull/310)\r\n-
Bump eslint-config-prettier from 8.8.0 to 9.0.0
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/311](https://togithub.com/salesforce/tough-cookie/pull/311)\r\n-
Bump async from 2.6.4 to 3.2.4
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/313](https://togithub.com/salesforce/tough-cookie/pull/313)\r\n-
Avoid using `arguments` by
[@&#8203;wjhsf](https://togithub.com/wjhsf)\r\nin\r\n[https://github.com/salesforce/tough-cookie/pull/316](https://togithub.com/salesforce/tough-cookie/pull/316)\r\n-
Configure dependabot to
ignore\r\n[@&#8203;types/node](https://togithub.com/types/node).
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/319](https://togithub.com/salesforce/tough-cookie/pull/319)\r\n-
Bump dependencies. by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/323](https://togithub.com/salesforce/tough-cookie/pull/323)\r\n-
Bump the dev-dependencies group with 6 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/342](https://togithub.com/salesforce/tough-cookie/pull/342)\r\n-
Bump the dev-dependencies group with 1 update
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/344](https://togithub.com/salesforce/tough-cookie/pull/344)\r\n-
Bump the dev-dependencies group with 3 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/347](https://togithub.com/salesforce/tough-cookie/pull/347)\r\n-
docs: use correct memstore file link
by\r\n[@&#8203;alissonsleal](https://togithub.com/alissonsleal)
in\r\n[https://github.com/salesforce/tough-cookie/pull/349](https://togithub.com/salesforce/tough-cookie/pull/349)\r\n-
Bump the dev-dependencies group with 3 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/351](https://togithub.com/salesforce/tough-cookie/pull/351)\r\n-
Bump the dev-dependencies group with 2 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/354](https://togithub.com/salesforce/tough-cookie/pull/354)\r\n-
Fix expiry time not updating when cookie is updated
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/345](https://togithub.com/salesforce/tough-cookie/pull/345)\r\n-
Change dependabot to monthly
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/355](https://togithub.com/salesforce/tough-cookie/pull/355)\r\n-
Bump the dev-dependencies group with 5 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/358](https://togithub.com/salesforce/tough-cookie/pull/358)\r\n-
Avoid `void` by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/331](https://togithub.com/salesforce/tough-cookie/pull/331)\r\n-
Replace `psl` with `tldts`
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/346](https://togithub.com/salesforce/tough-cookie/pull/346)\r\n-
Bump the production-dependencies group with 1 update
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/362](https://togithub.com/salesforce/tough-cookie/pull/362)\r\n-
Bump the dev-dependencies group with 4 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/363](https://togithub.com/salesforce/tough-cookie/pull/363)\r\n-
docs: fix JSON.serialize -> JSON.stringify
by\r\n[@&#8203;zavan](https://togithub.com/zavan)
in\r\n[https://github.com/salesforce/tough-cookie/pull/361](https://togithub.com/salesforce/tough-cookie/pull/361)\r\n-
Remove workarounds for `util` in non-node environments
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/359](https://togithub.com/salesforce/tough-cookie/pull/359)\r\n-
Accept URL parameter in `getCookies` and `setCookie`
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/364](https://togithub.com/salesforce/tough-cookie/pull/364)\r\n-
Remove community cookie store links
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/367](https://togithub.com/salesforce/tough-cookie/pull/367)\r\n-
Handle unlikely edge case in unimportant util
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/366](https://togithub.com/salesforce/tough-cookie/pull/366)\r\n-
Fix allow listed `files` for what to include in npm package
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/368](https://togithub.com/salesforce/tough-cookie/pull/368)\r\n-
fix\r\n[#&#8203;256](https://togithub.com/salesforce/tough-cookie/issues/256)\r\nby
[@&#8203;hrueger](https://togithub.com/hrueger)
in\r\n[https://github.com/salesforce/tough-cookie/pull/297](https://togithub.com/salesforce/tough-cookie/pull/297)\r\n-
Preparing for release 5.0.0-rc.1
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/369](https://togithub.com/salesforce/tough-cookie/pull/369)\r\n-
Bump\r\n[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)\r\nfrom
6.20.0 to 7.0.0
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/373](https://togithub.com/salesforce/tough-cookie/pull/373)\r\n-
Bump the production-dependencies group with 1 update
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/370](https://togithub.com/salesforce/tough-cookie/pull/370)\r\n-
Fixes eslint plugin dev upgrades
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/375](https://togithub.com/salesforce/tough-cookie/pull/375)\r\n-
restore `parse` export that was accidentally removed
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/376](https://togithub.com/salesforce/tough-cookie/pull/376)\r\n-
Clean up cookie creation
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/381](https://togithub.com/salesforce/tough-cookie/pull/381)\r\n-
Enforce explicit function return type
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/383](https://togithub.com/salesforce/tough-cookie/pull/383)\r\n-
patch removed util methods for vows
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/389](https://togithub.com/salesforce/tough-cookie/pull/389)\r\n-
clean up usage of null/undefined
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/380](https://togithub.com/salesforce/tough-cookie/pull/380)\r\n-
Bump the dev-dependencies group with 2 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/404](https://togithub.com/salesforce/tough-cookie/pull/404)\r\n-
Bump the production-dependencies group with 1 update
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/403](https://togithub.com/salesforce/tough-cookie/pull/403)\r\n-
Remove `@types/psl` from dev dependencies
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/406](https://togithub.com/salesforce/tough-cookie/pull/406)\r\n-
Bump tldts from 6.1.16 to 6.1.18 in the production-dependencies
group\r\nby [@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/411](https://togithub.com/salesforce/tough-cookie/pull/411)\r\n-
Bump the dev-dependencies group with 2 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/412](https://togithub.com/salesforce/tough-cookie/pull/412)\r\n-
Bump ejs from 3.1.9 to 3.1.10
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/413](https://togithub.com/salesforce/tough-cookie/pull/413)\r\n-
Update v5 docs
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/384](https://togithub.com/salesforce/tough-cookie/pull/384)\r\n-
Enable strict type checked rules
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/392](https://togithub.com/salesforce/tough-cookie/pull/392)\r\n-
Preparing for release 5.0.0-rc.2
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/414](https://togithub.com/salesforce/tough-cookie/pull/414)\r\n-
Bump the dev-dependencies group with 4 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/417](https://togithub.com/salesforce/tough-cookie/pull/417)\r\n-
Bump [@&#8203;eslint/js](https://togithub.com/eslint/js) from
8.57.0\r\nto 9.4.0 by
[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/419](https://togithub.com/salesforce/tough-cookie/pull/419)\r\n-
Bump tldts from 6.1.18 to 6.1.24 in the production-dependencies
group\r\nacross 1 directory
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/420](https://togithub.com/salesforce/tough-cookie/pull/420)\r\n-
chore: update deps by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/421](https://togithub.com/salesforce/tough-cookie/pull/421)\r\n-
Use latest TypeScript version
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/423](https://togithub.com/salesforce/tough-cookie/pull/423)\r\n-
Update contributors
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/425](https://togithub.com/salesforce/tough-cookie/pull/425)\r\n-
Bump tldts from 6.1.28 to 6.1.30 in the production-dependencies
group\r\nby [@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/426](https://togithub.com/salesforce/tough-cookie/pull/426)\r\n-
Bump the dev-dependencies group with 4 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/427](https://togithub.com/salesforce/tough-cookie/pull/427)\r\n-
Fix validation errors not calling callbacks
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/424](https://togithub.com/salesforce/tough-cookie/pull/424)\r\n-
Preparing for release 5.0.0-rc.3
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/430](https://togithub.com/salesforce/tough-cookie/pull/430)\r\n-
Remove url-parse and punycode
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/429](https://togithub.com/salesforce/tough-cookie/pull/429)\r\n-
Checks structure instead of instanceof for URL test
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/431](https://togithub.com/salesforce/tough-cookie/pull/431)\r\n-
pre-release cleanup by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/428](https://togithub.com/salesforce/tough-cookie/pull/428)\r\n-
Preparing for release 5.0.0-rc.4
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/432](https://togithub.com/salesforce/tough-cookie/pull/432)\r\n-
use `domainToASCII(str)` instead of `new URL(str).hostName`
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/433](https://togithub.com/salesforce/tough-cookie/pull/433)\r\n-
Bump tldts from 6.1.32 to 6.1.37 in the production-dependencies
group\r\nby [@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/436](https://togithub.com/salesforce/tough-cookie/pull/436)\r\n-
Bump the dev-dependencies group across 1 directory with 6 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/439](https://togithub.com/salesforce/tough-cookie/pull/439)\r\n-
Bump tldts from 6.1.37 to 6.1.41 in the production-dependencies
group\r\nby [@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/443](https://togithub.com/salesforce/tough-cookie/pull/443)\r\n-
Bump the dev-dependencies group with 6 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/444](https://togithub.com/salesforce/tough-cookie/pull/444)\r\n-
upgrade typescript-eslint to 8.0.1
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/440](https://togithub.com/salesforce/tough-cookie/pull/440)\r\n-
Bump the dev-dependencies group with 2 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/448](https://togithub.com/salesforce/tough-cookie/pull/448)\r\n-
Bump eslint from 8.57.0 to 9.9.1
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/449](https://togithub.com/salesforce/tough-cookie/pull/449)\r\n-
Prepare v5 by [@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/451](https://togithub.com/salesforce/tough-cookie/pull/451)\r\n\r\n####
New Contributors\r\n\r\n-
[@&#8203;alissonsleal](https://togithub.com/alissonsleal) made
their\r\nfirst contribution
in\r\n[https://github.com/salesforce/tough-cookie/pull/349](https://togithub.com/salesforce/tough-cookie/pull/349)\r\n-
[@&#8203;zavan](https://togithub.com/zavan) made their
first\r\ncontribution
in\r\n[https://github.com/salesforce/tough-cookie/pull/361](https://togithub.com/salesforce/tough-cookie/pull/361)\r\n-
[@&#8203;hrueger](https://togithub.com/hrueger) made their
first\r\ncontribution
in\r\n[https://github.com/salesforce/tough-cookie/pull/297](https://togithub.com/salesforce/tough-cookie/pull/297)\r\n\r\n**Full
Changelog**:\r\nhttps://github.com/salesforce/tough-cookie/compare/v4.1.3...v5.0.0\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR has been generated by
[Renovate\r\nBot](https://togithub.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"f712e4a47bb653136cc8ceefca08d3524dc00a4b","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","💝community","v9.0.0","backport:all-open"],"title":"Update
dependency tough-cookie to v5
(main)","number":193107,"url":"https://github.com/elastic/kibana/pull/193107","mergeCommit":{"message":"Update
dependency tough-cookie to v5 (main) (#193107)\n\nThis PR contains the
following updates:\r\n\r\n| Package | Type | Update | Change
|\r\n|---|---|---|---|\r\n|
[tough-cookie](https://togithub.com/salesforce/tough-cookie)
|\r\ndevDependencies | major | [`^4.1.4`
->\r\n`^5.0.0`](https://renovatebot.com/diffs/npm/tough-cookie/4.1.4/5.0.0)
|\r\n\r\n---\r\n\r\n### Release
Notes\r\n\r\n<details>\r\n<summary>salesforce/tough-cookie
(tough-cookie)</summary>\r\n\r\n###\r\n[`v5.0.0`](https://togithub.com/salesforce/tough-cookie/releases/tag/v5.0.0)\r\n\r\n[Compare\r\nSource](https://togithub.com/salesforce/tough-cookie/compare/v4.1.4...v5.0.0)\r\n\r\n####
Summary\r\n\r\n##### Breaking Changes\r\n\r\n- We've migrated the
project to TypeScript! First-party types are now\r\navailable.\r\n- The
minimum supported version of node is v18.\r\n- We no longer provide
official support for non-node enviroments.\r\n\r\n##### API
Changes\r\n\r\n- We've standardized most of our exposed interfaces to
accept both\r\n`null` and `undefined` and return only `undefined`.\r\n-
`getCookie` and `getCookies` now accept a `string` or `URL` as
a\r\nparameter.\r\n- We've removed the `inspect` function in favor of
node's\r\n`util.inspect.custom` symbol. Cookies may appear different
when logged\r\nin non-node environments.\r\n\r\n##### Other
Changes\r\n\r\n- Fixed the expiry time not updating when a cookie is
updating.\r\n- Fixed validation errors not getting called in some
callbacks.\r\n-
[New\r\ndocumentation](https://togithub.com/salesforce/tough-cookie/blob/v5.0.0/api/docs/tough-cookie.md)\r\nthat
is always kept up to date!\r\n- Performance improvements.\r\n\r\n####
What's Changed\r\n\r\n- Typescript support
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/264](https://togithub.com/salesforce/tough-cookie/pull/264)\r\n-
\\[v5] Update config by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/269](https://togithub.com/salesforce/tough-cookie/pull/269)\r\n-
Fix prettier in eslint config
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/274](https://togithub.com/salesforce/tough-cookie/pull/274)\r\n-
Updated dev tooling
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/271](https://togithub.com/salesforce/tough-cookie/pull/271)\r\n-
Port 283 fix to v5
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/287](https://togithub.com/salesforce/tough-cookie/pull/287)\r\n-
Remove some
[@&#8203;ts-ignore](https://togithub.com/ts-ignore)\r\ndirectives. by
[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/288](https://togithub.com/salesforce/tough-cookie/pull/288)\r\n-
Clean up validate function.
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/275](https://togithub.com/salesforce/tough-cookie/pull/275)\r\n-
Changes to support full eslint rule configurations
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/289](https://togithub.com/salesforce/tough-cookie/pull/289)\r\n-
Split giant cookie.ts into multiple files.
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/296](https://togithub.com/salesforce/tough-cookie/pull/296)\r\n-
Merge branch 'master' into v5
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/300](https://togithub.com/salesforce/tough-cookie/pull/300)\r\n-
Merge `v5` into `master`
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/303](https://togithub.com/salesforce/tough-cookie/pull/303)\r\n-
Preparing for release `5.0.0-rc.0`
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/304](https://togithub.com/salesforce/tough-cookie/pull/304)\r\n-
Bump
[@&#8203;babel/traverse](https://togithub.com/babel/traverse)\r\nfrom
7.21.3 to 7.23.2
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/305](https://togithub.com/salesforce/tough-cookie/pull/305)\r\n-
Configure dependabot and codeowners
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/306](https://togithub.com/salesforce/tough-cookie/pull/306)\r\n-
Bump\r\n[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)\r\nfrom
5.58.0 to 5.62.0
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/310](https://togithub.com/salesforce/tough-cookie/pull/310)\r\n-
Bump eslint-config-prettier from 8.8.0 to 9.0.0
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/311](https://togithub.com/salesforce/tough-cookie/pull/311)\r\n-
Bump async from 2.6.4 to 3.2.4
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/313](https://togithub.com/salesforce/tough-cookie/pull/313)\r\n-
Avoid using `arguments` by
[@&#8203;wjhsf](https://togithub.com/wjhsf)\r\nin\r\n[https://github.com/salesforce/tough-cookie/pull/316](https://togithub.com/salesforce/tough-cookie/pull/316)\r\n-
Configure dependabot to
ignore\r\n[@&#8203;types/node](https://togithub.com/types/node).
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/319](https://togithub.com/salesforce/tough-cookie/pull/319)\r\n-
Bump dependencies. by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/323](https://togithub.com/salesforce/tough-cookie/pull/323)\r\n-
Bump the dev-dependencies group with 6 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/342](https://togithub.com/salesforce/tough-cookie/pull/342)\r\n-
Bump the dev-dependencies group with 1 update
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/344](https://togithub.com/salesforce/tough-cookie/pull/344)\r\n-
Bump the dev-dependencies group with 3 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/347](https://togithub.com/salesforce/tough-cookie/pull/347)\r\n-
docs: use correct memstore file link
by\r\n[@&#8203;alissonsleal](https://togithub.com/alissonsleal)
in\r\n[https://github.com/salesforce/tough-cookie/pull/349](https://togithub.com/salesforce/tough-cookie/pull/349)\r\n-
Bump the dev-dependencies group with 3 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/351](https://togithub.com/salesforce/tough-cookie/pull/351)\r\n-
Bump the dev-dependencies group with 2 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/354](https://togithub.com/salesforce/tough-cookie/pull/354)\r\n-
Fix expiry time not updating when cookie is updated
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/345](https://togithub.com/salesforce/tough-cookie/pull/345)\r\n-
Change dependabot to monthly
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/355](https://togithub.com/salesforce/tough-cookie/pull/355)\r\n-
Bump the dev-dependencies group with 5 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/358](https://togithub.com/salesforce/tough-cookie/pull/358)\r\n-
Avoid `void` by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/331](https://togithub.com/salesforce/tough-cookie/pull/331)\r\n-
Replace `psl` with `tldts`
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/346](https://togithub.com/salesforce/tough-cookie/pull/346)\r\n-
Bump the production-dependencies group with 1 update
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/362](https://togithub.com/salesforce/tough-cookie/pull/362)\r\n-
Bump the dev-dependencies group with 4 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/363](https://togithub.com/salesforce/tough-cookie/pull/363)\r\n-
docs: fix JSON.serialize -> JSON.stringify
by\r\n[@&#8203;zavan](https://togithub.com/zavan)
in\r\n[https://github.com/salesforce/tough-cookie/pull/361](https://togithub.com/salesforce/tough-cookie/pull/361)\r\n-
Remove workarounds for `util` in non-node environments
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/359](https://togithub.com/salesforce/tough-cookie/pull/359)\r\n-
Accept URL parameter in `getCookies` and `setCookie`
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/364](https://togithub.com/salesforce/tough-cookie/pull/364)\r\n-
Remove community cookie store links
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/367](https://togithub.com/salesforce/tough-cookie/pull/367)\r\n-
Handle unlikely edge case in unimportant util
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/366](https://togithub.com/salesforce/tough-cookie/pull/366)\r\n-
Fix allow listed `files` for what to include in npm package
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/368](https://togithub.com/salesforce/tough-cookie/pull/368)\r\n-
fix\r\n[#&#8203;256](https://togithub.com/salesforce/tough-cookie/issues/256)\r\nby
[@&#8203;hrueger](https://togithub.com/hrueger)
in\r\n[https://github.com/salesforce/tough-cookie/pull/297](https://togithub.com/salesforce/tough-cookie/pull/297)\r\n-
Preparing for release 5.0.0-rc.1
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/369](https://togithub.com/salesforce/tough-cookie/pull/369)\r\n-
Bump\r\n[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)\r\nfrom
6.20.0 to 7.0.0
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/373](https://togithub.com/salesforce/tough-cookie/pull/373)\r\n-
Bump the production-dependencies group with 1 update
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/370](https://togithub.com/salesforce/tough-cookie/pull/370)\r\n-
Fixes eslint plugin dev upgrades
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/375](https://togithub.com/salesforce/tough-cookie/pull/375)\r\n-
restore `parse` export that was accidentally removed
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/376](https://togithub.com/salesforce/tough-cookie/pull/376)\r\n-
Clean up cookie creation
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/381](https://togithub.com/salesforce/tough-cookie/pull/381)\r\n-
Enforce explicit function return type
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/383](https://togithub.com/salesforce/tough-cookie/pull/383)\r\n-
patch removed util methods for vows
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/389](https://togithub.com/salesforce/tough-cookie/pull/389)\r\n-
clean up usage of null/undefined
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/380](https://togithub.com/salesforce/tough-cookie/pull/380)\r\n-
Bump the dev-dependencies group with 2 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/404](https://togithub.com/salesforce/tough-cookie/pull/404)\r\n-
Bump the production-dependencies group with 1 update
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/403](https://togithub.com/salesforce/tough-cookie/pull/403)\r\n-
Remove `@types/psl` from dev dependencies
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/406](https://togithub.com/salesforce/tough-cookie/pull/406)\r\n-
Bump tldts from 6.1.16 to 6.1.18 in the production-dependencies
group\r\nby [@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/411](https://togithub.com/salesforce/tough-cookie/pull/411)\r\n-
Bump the dev-dependencies group with 2 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/412](https://togithub.com/salesforce/tough-cookie/pull/412)\r\n-
Bump ejs from 3.1.9 to 3.1.10
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/413](https://togithub.com/salesforce/tough-cookie/pull/413)\r\n-
Update v5 docs
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/384](https://togithub.com/salesforce/tough-cookie/pull/384)\r\n-
Enable strict type checked rules
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/392](https://togithub.com/salesforce/tough-cookie/pull/392)\r\n-
Preparing for release 5.0.0-rc.2
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/414](https://togithub.com/salesforce/tough-cookie/pull/414)\r\n-
Bump the dev-dependencies group with 4 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/417](https://togithub.com/salesforce/tough-cookie/pull/417)\r\n-
Bump [@&#8203;eslint/js](https://togithub.com/eslint/js) from
8.57.0\r\nto 9.4.0 by
[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/419](https://togithub.com/salesforce/tough-cookie/pull/419)\r\n-
Bump tldts from 6.1.18 to 6.1.24 in the production-dependencies
group\r\nacross 1 directory
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/420](https://togithub.com/salesforce/tough-cookie/pull/420)\r\n-
chore: update deps by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/421](https://togithub.com/salesforce/tough-cookie/pull/421)\r\n-
Use latest TypeScript version
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/423](https://togithub.com/salesforce/tough-cookie/pull/423)\r\n-
Update contributors
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/425](https://togithub.com/salesforce/tough-cookie/pull/425)\r\n-
Bump tldts from 6.1.28 to 6.1.30 in the production-dependencies
group\r\nby [@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/426](https://togithub.com/salesforce/tough-cookie/pull/426)\r\n-
Bump the dev-dependencies group with 4 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/427](https://togithub.com/salesforce/tough-cookie/pull/427)\r\n-
Fix validation errors not calling callbacks
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/424](https://togithub.com/salesforce/tough-cookie/pull/424)\r\n-
Preparing for release 5.0.0-rc.3
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/430](https://togithub.com/salesforce/tough-cookie/pull/430)\r\n-
Remove url-parse and punycode
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/429](https://togithub.com/salesforce/tough-cookie/pull/429)\r\n-
Checks structure instead of instanceof for URL test
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/431](https://togithub.com/salesforce/tough-cookie/pull/431)\r\n-
pre-release cleanup by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/428](https://togithub.com/salesforce/tough-cookie/pull/428)\r\n-
Preparing for release 5.0.0-rc.4
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/432](https://togithub.com/salesforce/tough-cookie/pull/432)\r\n-
use `domainToASCII(str)` instead of `new URL(str).hostName`
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/433](https://togithub.com/salesforce/tough-cookie/pull/433)\r\n-
Bump tldts from 6.1.32 to 6.1.37 in the production-dependencies
group\r\nby [@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/436](https://togithub.com/salesforce/tough-cookie/pull/436)\r\n-
Bump the dev-dependencies group across 1 directory with 6 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/439](https://togithub.com/salesforce/tough-cookie/pull/439)\r\n-
Bump tldts from 6.1.37 to 6.1.41 in the production-dependencies
group\r\nby [@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/443](https://togithub.com/salesforce/tough-cookie/pull/443)\r\n-
Bump the dev-dependencies group with 6 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/444](https://togithub.com/salesforce/tough-cookie/pull/444)\r\n-
upgrade typescript-eslint to 8.0.1
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/440](https://togithub.com/salesforce/tough-cookie/pull/440)\r\n-
Bump the dev-dependencies group with 2 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/448](https://togithub.com/salesforce/tough-cookie/pull/448)\r\n-
Bump eslint from 8.57.0 to 9.9.1
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/449](https://togithub.com/salesforce/tough-cookie/pull/449)\r\n-
Prepare v5 by [@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/451](https://togithub.com/salesforce/tough-cookie/pull/451)\r\n\r\n####
New Contributors\r\n\r\n-
[@&#8203;alissonsleal](https://togithub.com/alissonsleal) made
their\r\nfirst contribution
in\r\n[https://github.com/salesforce/tough-cookie/pull/349](https://togithub.com/salesforce/tough-cookie/pull/349)\r\n-
[@&#8203;zavan](https://togithub.com/zavan) made their
first\r\ncontribution
in\r\n[https://github.com/salesforce/tough-cookie/pull/361](https://togithub.com/salesforce/tough-cookie/pull/361)\r\n-
[@&#8203;hrueger](https://togithub.com/hrueger) made their
first\r\ncontribution
in\r\n[https://github.com/salesforce/tough-cookie/pull/297](https://togithub.com/salesforce/tough-cookie/pull/297)\r\n\r\n**Full
Changelog**:\r\nhttps://github.com/salesforce/tough-cookie/compare/v4.1.3...v5.0.0\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR has been generated by
[Renovate\r\nBot](https://togithub.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"f712e4a47bb653136cc8ceefca08d3524dc00a4b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193107","number":193107,"mergeCommit":{"message":"Update
dependency tough-cookie to v5 (main) (#193107)\n\nThis PR contains the
following updates:\r\n\r\n| Package | Type | Update | Change
|\r\n|---|---|---|---|\r\n|
[tough-cookie](https://togithub.com/salesforce/tough-cookie)
|\r\ndevDependencies | major | [`^4.1.4`
->\r\n`^5.0.0`](https://renovatebot.com/diffs/npm/tough-cookie/4.1.4/5.0.0)
|\r\n\r\n---\r\n\r\n### Release
Notes\r\n\r\n<details>\r\n<summary>salesforce/tough-cookie
(tough-cookie)</summary>\r\n\r\n###\r\n[`v5.0.0`](https://togithub.com/salesforce/tough-cookie/releases/tag/v5.0.0)\r\n\r\n[Compare\r\nSource](https://togithub.com/salesforce/tough-cookie/compare/v4.1.4...v5.0.0)\r\n\r\n####
Summary\r\n\r\n##### Breaking Changes\r\n\r\n- We've migrated the
project to TypeScript! First-party types are now\r\navailable.\r\n- The
minimum supported version of node is v18.\r\n- We no longer provide
official support for non-node enviroments.\r\n\r\n##### API
Changes\r\n\r\n- We've standardized most of our exposed interfaces to
accept both\r\n`null` and `undefined` and return only `undefined`.\r\n-
`getCookie` and `getCookies` now accept a `string` or `URL` as
a\r\nparameter.\r\n- We've removed the `inspect` function in favor of
node's\r\n`util.inspect.custom` symbol. Cookies may appear different
when logged\r\nin non-node environments.\r\n\r\n##### Other
Changes\r\n\r\n- Fixed the expiry time not updating when a cookie is
updating.\r\n- Fixed validation errors not getting called in some
callbacks.\r\n-
[New\r\ndocumentation](https://togithub.com/salesforce/tough-cookie/blob/v5.0.0/api/docs/tough-cookie.md)\r\nthat
is always kept up to date!\r\n- Performance improvements.\r\n\r\n####
What's Changed\r\n\r\n- Typescript support
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/264](https://togithub.com/salesforce/tough-cookie/pull/264)\r\n-
\\[v5] Update config by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/269](https://togithub.com/salesforce/tough-cookie/pull/269)\r\n-
Fix prettier in eslint config
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/274](https://togithub.com/salesforce/tough-cookie/pull/274)\r\n-
Updated dev tooling
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/271](https://togithub.com/salesforce/tough-cookie/pull/271)\r\n-
Port 283 fix to v5
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/287](https://togithub.com/salesforce/tough-cookie/pull/287)\r\n-
Remove some
[@&#8203;ts-ignore](https://togithub.com/ts-ignore)\r\ndirectives. by
[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/288](https://togithub.com/salesforce/tough-cookie/pull/288)\r\n-
Clean up validate function.
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/275](https://togithub.com/salesforce/tough-cookie/pull/275)\r\n-
Changes to support full eslint rule configurations
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/289](https://togithub.com/salesforce/tough-cookie/pull/289)\r\n-
Split giant cookie.ts into multiple files.
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/296](https://togithub.com/salesforce/tough-cookie/pull/296)\r\n-
Merge branch 'master' into v5
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/300](https://togithub.com/salesforce/tough-cookie/pull/300)\r\n-
Merge `v5` into `master`
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/303](https://togithub.com/salesforce/tough-cookie/pull/303)\r\n-
Preparing for release `5.0.0-rc.0`
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/304](https://togithub.com/salesforce/tough-cookie/pull/304)\r\n-
Bump
[@&#8203;babel/traverse](https://togithub.com/babel/traverse)\r\nfrom
7.21.3 to 7.23.2
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/305](https://togithub.com/salesforce/tough-cookie/pull/305)\r\n-
Configure dependabot and codeowners
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/306](https://togithub.com/salesforce/tough-cookie/pull/306)\r\n-
Bump\r\n[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)\r\nfrom
5.58.0 to 5.62.0
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/310](https://togithub.com/salesforce/tough-cookie/pull/310)\r\n-
Bump eslint-config-prettier from 8.8.0 to 9.0.0
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/311](https://togithub.com/salesforce/tough-cookie/pull/311)\r\n-
Bump async from 2.6.4 to 3.2.4
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/313](https://togithub.com/salesforce/tough-cookie/pull/313)\r\n-
Avoid using `arguments` by
[@&#8203;wjhsf](https://togithub.com/wjhsf)\r\nin\r\n[https://github.com/salesforce/tough-cookie/pull/316](https://togithub.com/salesforce/tough-cookie/pull/316)\r\n-
Configure dependabot to
ignore\r\n[@&#8203;types/node](https://togithub.com/types/node).
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/319](https://togithub.com/salesforce/tough-cookie/pull/319)\r\n-
Bump dependencies. by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/323](https://togithub.com/salesforce/tough-cookie/pull/323)\r\n-
Bump the dev-dependencies group with 6 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/342](https://togithub.com/salesforce/tough-cookie/pull/342)\r\n-
Bump the dev-dependencies group with 1 update
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/344](https://togithub.com/salesforce/tough-cookie/pull/344)\r\n-
Bump the dev-dependencies group with 3 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/347](https://togithub.com/salesforce/tough-cookie/pull/347)\r\n-
docs: use correct memstore file link
by\r\n[@&#8203;alissonsleal](https://togithub.com/alissonsleal)
in\r\n[https://github.com/salesforce/tough-cookie/pull/349](https://togithub.com/salesforce/tough-cookie/pull/349)\r\n-
Bump the dev-dependencies group with 3 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/351](https://togithub.com/salesforce/tough-cookie/pull/351)\r\n-
Bump the dev-dependencies group with 2 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/354](https://togithub.com/salesforce/tough-cookie/pull/354)\r\n-
Fix expiry time not updating when cookie is updated
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/345](https://togithub.com/salesforce/tough-cookie/pull/345)\r\n-
Change dependabot to monthly
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/355](https://togithub.com/salesforce/tough-cookie/pull/355)\r\n-
Bump the dev-dependencies group with 5 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/358](https://togithub.com/salesforce/tough-cookie/pull/358)\r\n-
Avoid `void` by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/331](https://togithub.com/salesforce/tough-cookie/pull/331)\r\n-
Replace `psl` with `tldts`
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/346](https://togithub.com/salesforce/tough-cookie/pull/346)\r\n-
Bump the production-dependencies group with 1 update
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/362](https://togithub.com/salesforce/tough-cookie/pull/362)\r\n-
Bump the dev-dependencies group with 4 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/363](https://togithub.com/salesforce/tough-cookie/pull/363)\r\n-
docs: fix JSON.serialize -> JSON.stringify
by\r\n[@&#8203;zavan](https://togithub.com/zavan)
in\r\n[https://github.com/salesforce/tough-cookie/pull/361](https://togithub.com/salesforce/tough-cookie/pull/361)\r\n-
Remove workarounds for `util` in non-node environments
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/359](https://togithub.com/salesforce/tough-cookie/pull/359)\r\n-
Accept URL parameter in `getCookies` and `setCookie`
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/364](https://togithub.com/salesforce/tough-cookie/pull/364)\r\n-
Remove community cookie store links
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/367](https://togithub.com/salesforce/tough-cookie/pull/367)\r\n-
Handle unlikely edge case in unimportant util
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/366](https://togithub.com/salesforce/tough-cookie/pull/366)\r\n-
Fix allow listed `files` for what to include in npm package
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/368](https://togithub.com/salesforce/tough-cookie/pull/368)\r\n-
fix\r\n[#&#8203;256](https://togithub.com/salesforce/tough-cookie/issues/256)\r\nby
[@&#8203;hrueger](https://togithub.com/hrueger)
in\r\n[https://github.com/salesforce/tough-cookie/pull/297](https://togithub.com/salesforce/tough-cookie/pull/297)\r\n-
Preparing for release 5.0.0-rc.1
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/369](https://togithub.com/salesforce/tough-cookie/pull/369)\r\n-
Bump\r\n[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)\r\nfrom
6.20.0 to 7.0.0
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/373](https://togithub.com/salesforce/tough-cookie/pull/373)\r\n-
Bump the production-dependencies group with 1 update
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/370](https://togithub.com/salesforce/tough-cookie/pull/370)\r\n-
Fixes eslint plugin dev upgrades
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/375](https://togithub.com/salesforce/tough-cookie/pull/375)\r\n-
restore `parse` export that was accidentally removed
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/376](https://togithub.com/salesforce/tough-cookie/pull/376)\r\n-
Clean up cookie creation
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/381](https://togithub.com/salesforce/tough-cookie/pull/381)\r\n-
Enforce explicit function return type
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/383](https://togithub.com/salesforce/tough-cookie/pull/383)\r\n-
patch removed util methods for vows
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/389](https://togithub.com/salesforce/tough-cookie/pull/389)\r\n-
clean up usage of null/undefined
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/380](https://togithub.com/salesforce/tough-cookie/pull/380)\r\n-
Bump the dev-dependencies group with 2 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/404](https://togithub.com/salesforce/tough-cookie/pull/404)\r\n-
Bump the production-dependencies group with 1 update
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/403](https://togithub.com/salesforce/tough-cookie/pull/403)\r\n-
Remove `@types/psl` from dev dependencies
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/406](https://togithub.com/salesforce/tough-cookie/pull/406)\r\n-
Bump tldts from 6.1.16 to 6.1.18 in the production-dependencies
group\r\nby [@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/411](https://togithub.com/salesforce/tough-cookie/pull/411)\r\n-
Bump the dev-dependencies group with 2 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/412](https://togithub.com/salesforce/tough-cookie/pull/412)\r\n-
Bump ejs from 3.1.9 to 3.1.10
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/413](https://togithub.com/salesforce/tough-cookie/pull/413)\r\n-
Update v5 docs
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/384](https://togithub.com/salesforce/tough-cookie/pull/384)\r\n-
Enable strict type checked rules
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/392](https://togithub.com/salesforce/tough-cookie/pull/392)\r\n-
Preparing for release 5.0.0-rc.2
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/414](https://togithub.com/salesforce/tough-cookie/pull/414)\r\n-
Bump the dev-dependencies group with 4 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/417](https://togithub.com/salesforce/tough-cookie/pull/417)\r\n-
Bump [@&#8203;eslint/js](https://togithub.com/eslint/js) from
8.57.0\r\nto 9.4.0 by
[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/419](https://togithub.com/salesforce/tough-cookie/pull/419)\r\n-
Bump tldts from 6.1.18 to 6.1.24 in the production-dependencies
group\r\nacross 1 directory
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/420](https://togithub.com/salesforce/tough-cookie/pull/420)\r\n-
chore: update deps by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/421](https://togithub.com/salesforce/tough-cookie/pull/421)\r\n-
Use latest TypeScript version
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/423](https://togithub.com/salesforce/tough-cookie/pull/423)\r\n-
Update contributors
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/425](https://togithub.com/salesforce/tough-cookie/pull/425)\r\n-
Bump tldts from 6.1.28 to 6.1.30 in the production-dependencies
group\r\nby [@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/426](https://togithub.com/salesforce/tough-cookie/pull/426)\r\n-
Bump the dev-dependencies group with 4 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/427](https://togithub.com/salesforce/tough-cookie/pull/427)\r\n-
Fix validation errors not calling callbacks
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/424](https://togithub.com/salesforce/tough-cookie/pull/424)\r\n-
Preparing for release 5.0.0-rc.3
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/430](https://togithub.com/salesforce/tough-cookie/pull/430)\r\n-
Remove url-parse and punycode
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/429](https://togithub.com/salesforce/tough-cookie/pull/429)\r\n-
Checks structure instead of instanceof for URL test
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/431](https://togithub.com/salesforce/tough-cookie/pull/431)\r\n-
pre-release cleanup by [@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/428](https://togithub.com/salesforce/tough-cookie/pull/428)\r\n-
Preparing for release 5.0.0-rc.4
by\r\n[@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/432](https://togithub.com/salesforce/tough-cookie/pull/432)\r\n-
use `domainToASCII(str)` instead of `new URL(str).hostName`
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/433](https://togithub.com/salesforce/tough-cookie/pull/433)\r\n-
Bump tldts from 6.1.32 to 6.1.37 in the production-dependencies
group\r\nby [@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/436](https://togithub.com/salesforce/tough-cookie/pull/436)\r\n-
Bump the dev-dependencies group across 1 directory with 6 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/439](https://togithub.com/salesforce/tough-cookie/pull/439)\r\n-
Bump tldts from 6.1.37 to 6.1.41 in the production-dependencies
group\r\nby [@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/443](https://togithub.com/salesforce/tough-cookie/pull/443)\r\n-
Bump the dev-dependencies group with 6 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/444](https://togithub.com/salesforce/tough-cookie/pull/444)\r\n-
upgrade typescript-eslint to 8.0.1
by\r\n[@&#8203;wjhsf](https://togithub.com/wjhsf)
in\r\n[https://github.com/salesforce/tough-cookie/pull/440](https://togithub.com/salesforce/tough-cookie/pull/440)\r\n-
Bump the dev-dependencies group with 2 updates
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/448](https://togithub.com/salesforce/tough-cookie/pull/448)\r\n-
Bump eslint from 8.57.0 to 9.9.1
by\r\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\r\n[https://github.com/salesforce/tough-cookie/pull/449](https://togithub.com/salesforce/tough-cookie/pull/449)\r\n-
Prepare v5 by [@&#8203;colincasey](https://togithub.com/colincasey)
in\r\n[https://github.com/salesforce/tough-cookie/pull/451](https://togithub.com/salesforce/tough-cookie/pull/451)\r\n\r\n####
New Contributors\r\n\r\n-
[@&#8203;alissonsleal](https://togithub.com/alissonsleal) made
their\r\nfirst contribution
in\r\n[https://github.com/salesforce/tough-cookie/pull/349](https://togithub.com/salesforce/tough-cookie/pull/349)\r\n-
[@&#8203;zavan](https://togithub.com/zavan) made their
first\r\ncontribution
in\r\n[https://github.com/salesforce/tough-cookie/pull/361](https://togithub.com/salesforce/tough-cookie/pull/361)\r\n-
[@&#8203;hrueger](https://togithub.com/hrueger) made their
first\r\ncontribution
in\r\n[https://github.com/salesforce/tough-cookie/pull/297](https://togithub.com/salesforce/tough-cookie/pull/297)\r\n\r\n**Full
Changelog**:\r\nhttps://github.com/salesforce/tough-cookie/compare/v4.1.3...v5.0.0\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR has been generated by
[Renovate\r\nBot](https://togithub.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"f712e4a47bb653136cc8ceefca08d3524dc00a4b"}}]}]
BACKPORT-->

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[…
  • Loading branch information
3 people authored Oct 2, 2024
1 parent 6e78d2a commit 3cf7ae4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1746,7 +1746,7 @@
"tape": "^5.0.1",
"terser": "^5.31.1",
"terser-webpack-plugin": "^4.2.3",
"tough-cookie": "^4.1.4",
"tough-cookie": "^5.0.0",
"tree-kill": "^1.2.2",
"ts-morph": "^15.1.0",
"tsd": "^0.31.1",
Expand Down
21 changes: 20 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -30161,6 +30161,18 @@ tinyqueue@^2.0.3:
resolved "https://registry.yarnpkg.com/tinyqueue/-/tinyqueue-2.0.3.tgz#64d8492ebf39e7801d7bd34062e29b45b2035f08"
integrity sha512-ppJZNDuKGgxzkHihX8v9v9G5f+18gzaTfrukGrq6ueg0lmH4nqVnA2IPG0AEH3jKEk2GRJCUhDoqpoiw3PHLBA==

tldts-core@^6.1.46:
version "6.1.46"
resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-6.1.46.tgz#062d64981ee83f934f875c178a97e42bcd13bef7"
integrity sha512-zA3ai/j4aFcmbqTvTONkSBuWs0Q4X4tJxa0gV9sp6kDbq5dAhQDSg0WUkReEm0fBAKAGNj+wPKCCsR8MYOYmwA==

tldts@^6.1.32:
version "6.1.46"
resolved "https://registry.yarnpkg.com/tldts/-/tldts-6.1.46.tgz#0c3c4157efe732caeddd06eee6da891b26bd8a75"
integrity sha512-fw81lXV2CijkNrZAZvee7wegs+EOlTyIuVl/z4q6OUzZHQ1jGL2xQzKXq9geYf/1tzo9LZQLrkcko2m8HLh+rg==
dependencies:
tldts-core "^6.1.46"

tmp@^0.0.33:
version "0.0.33"
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
Expand Down Expand Up @@ -30275,7 +30287,7 @@ totalist@^1.0.0:
resolved "https://registry.yarnpkg.com/totalist/-/totalist-1.1.0.tgz#a4d65a3e546517701e3e5c37a47a70ac97fe56df"
integrity sha512-gduQwd1rOdDMGxFG1gEvhV88Oirdo2p+KjoYFU7k2g+i7n6AFFbDQ5kMPUsW0pNbfQsB/cwXvT1i4Bue0s9g5g==

tough-cookie@^4.1.2, tough-cookie@^4.1.3, tough-cookie@^4.1.4:
tough-cookie@^4.1.2, tough-cookie@^4.1.3:
version "4.1.4"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.4.tgz#945f1461b45b5a8c76821c33ea49c3ac192c1b36"
integrity sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==
Expand All @@ -30285,6 +30297,13 @@ tough-cookie@^4.1.2, tough-cookie@^4.1.3, tough-cookie@^4.1.4:
universalify "^0.2.0"
url-parse "^1.5.3"

tough-cookie@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-5.0.0.tgz#6b6518e2b5c070cf742d872ee0f4f92d69eac1af"
integrity sha512-FRKsF7cz96xIIeMZ82ehjC3xW2E+O2+v11udrDYewUbszngYhsGa8z6YUMMzO9QJZzzyd0nGGXnML/TReX6W8Q==
dependencies:
tldts "^6.1.32"

tr46@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09"
Expand Down

0 comments on commit 3cf7ae4

Please sign in to comment.