Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency cookie to v1 (#2878)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [cookie](https://redirect.github.com/jshttp/cookie) | [`0.7.2` -> `1.0.1`](https://renovatebot.com/diffs/npm/cookie/0.6.0/1.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/cookie/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cookie/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cookie/0.6.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cookie/0.6.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>jshttp/cookie (cookie)</summary> ### [`v1.0.1`](https://redirect.github.com/jshttp/cookie/releases/tag/v1.0.1) [Compare Source](https://redirect.github.com/jshttp/cookie/compare/v1.0.0...v1.0.1) **Added** - Allow case insensitive options ([#​194](https://redirect.github.com/jshttp/cookie/issues/194)) [`3bed080`](https://redirect.github.com/jshttp/cookie/commit/3bed080) ### [`v1.0.0`](https://redirect.github.com/jshttp/cookie/releases/tag/v1.0.0) [Compare Source](https://redirect.github.com/jshttp/cookie/compare/v0.7.2...v1.0.0) **Breaking changes** - Use modern JS features, ship TypeScript definition ([#​175](https://redirect.github.com/jshttp/cookie/issues/175)) [`1cc64ff`](https://redirect.github.com/jshttp/cookie/commit/1cc64ff) - Minimum node.js v18 - Uses null prototype object for `parse` return value - Changes `strict` and `priority` to match the lower case strings (i.e. `low`, not `LOW` or `Low`) - Require `maxAge` to be an integer using `Number.isInteger` check - Delegates decode implementation details to `decode` option (i.e. error handling and quote parsing is defined by `decode`) - Delegate quote parsing to `decode` ([#​180](https://redirect.github.com/jshttp/cookie/issues/180)) [`c4a2597`](https://redirect.github.com/jshttp/cookie/commit/c4a2597) - Shift try/catch to decode ([#​179](https://redirect.github.com/jshttp/cookie/issues/179)) [`93a5b97`](https://redirect.github.com/jshttp/cookie/commit/93a5b97) - Improve arg/option error messages ([#​162](https://redirect.github.com/jshttp/cookie/issues/162)) [`e206fd5`](https://redirect.github.com/jshttp/cookie/commit/e206fd5) [@​MaoShizhong](https://redirect.github.com/MaoShizhong) **Other** - Remove `hasOwnProperty`, use `undefined` check for performance ([#​183](https://redirect.github.com/jshttp/cookie/issues/183)) [`8f3ee9e`](https://redirect.github.com/jshttp/cookie/commit/8f3ee9e) [@​gurgunday](https://redirect.github.com/gurgunday) ### [`v0.7.2`](https://redirect.github.com/jshttp/cookie/releases/tag/v0.7.2) [Compare Source](https://redirect.github.com/jshttp/cookie/compare/v0.7.1...v0.7.2) **Fixed** - Fix object assignment of `hasOwnProperty` ([#​177](https://redirect.github.com/jshttp/cookie/issues/177)) [`bc38ffd`](https://redirect.github.com/jshttp/cookie/commit/bc38ffd) ### [`v0.7.1`](https://redirect.github.com/jshttp/cookie/releases/tag/v0.7.1): 0.7.1 [Compare Source](https://redirect.github.com/jshttp/cookie/compare/v0.7.0...v0.7.1) **Fixed** - Allow leading dot for domain ([#​174](https://redirect.github.com/jshttp/cookie/issues/174)) - Although not permitted in the spec, some users expect this to work and user agents ignore the leading dot according to spec - Add fast path for `serialize` without options, use `obj.hasOwnProperty` when parsing ([#​172](https://redirect.github.com/jshttp/cookie/issues/172)) ### [`v0.7.0`](https://redirect.github.com/jshttp/cookie/releases/tag/v0.7.0): 0.7.0 [Compare Source](https://redirect.github.com/jshttp/cookie/compare/v0.6.0...v0.7.0) - perf: parse cookies ~10% faster ([#​144](https://redirect.github.com/jshttp/cookie/issues/144) by [@​kurtextrem](https://redirect.github.com/kurtextrem) and [#​170](https://redirect.github.com/jshttp/cookie/issues/170)) - fix: narrow the validation of cookies to match RFC6265 ([#​167](https://redirect.github.com/jshttp/cookie/issues/167) by [@​bewinsnw](https://redirect.github.com/bewinsnw)) - fix: add `main` to `package.json` for rspack ([#​166](https://redirect.github.com/jshttp/cookie/issues/166) by [@​proudparrot2](https://redirect.github.com/proudparrot2)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/X-oss-byte/Nextjs).
- Loading branch information