Skip to content

Commit

Permalink
Update dependency cookie to v1 (#2909)
Browse files Browse the repository at this point in the history
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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;180](https://redirect.github.com/jshttp/cookie/issues/180))  [`c4a2597`](https://redirect.github.com/jshttp/cookie/commit/c4a2597)
    -   Shift try/catch to decode ([#&#8203;179](https://redirect.github.com/jshttp/cookie/issues/179))  [`93a5b97`](https://redirect.github.com/jshttp/cookie/commit/93a5b97)
-   Improve arg/option error messages ([#&#8203;162](https://redirect.github.com/jshttp/cookie/issues/162))  [`e206fd5`](https://redirect.github.com/jshttp/cookie/commit/e206fd5) [@&#8203;MaoShizhong](https://redirect.github.com/MaoShizhong)

**Other**

-   Remove `hasOwnProperty`, use `undefined` check for performance ([#&#8203;183](https://redirect.github.com/jshttp/cookie/issues/183))  [`8f3ee9e`](https://redirect.github.com/jshttp/cookie/commit/8f3ee9e) [@&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;144](https://redirect.github.com/jshttp/cookie/issues/144) by [@&#8203;kurtextrem](https://redirect.github.com/kurtextrem) and [#&#8203;170](https://redirect.github.com/jshttp/cookie/issues/170))
    -   fix: narrow the validation of cookies to match RFC6265 ([#&#8203;167](https://redirect.github.com/jshttp/cookie/issues/167) by [@&#8203;bewinsnw](https://redirect.github.com/bewinsnw))
    -   fix: add `main` to `package.json` for rspack ([#&#8203;166](https://redirect.github.com/jshttp/cookie/issues/166) by [@&#8203;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
renovate[bot] authored Oct 21, 2024
1 parent 4a43c4b commit aaae0b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"buffer": "6.0.3",
"chalk": "5.3.0",
"cheerio": "1.0.0",
"cookie": "0.7.2",
"cookie": "1.0.1",
"cors": "2.8.5",
"coveralls": "3.1.1",
"create-next-app": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
"constants-browserify": "1.0.0",
"content-disposition": "0.5.4",
"content-type": "1.0.5",
"cookie": "0.7.2",
"cookie": "1.0.1",
"cross-spawn": "7.0.3",
"crypto-browserify": "3.12.0",
"css.escape": "1.5.1",
Expand Down

0 comments on commit aaae0b5

Please sign in to comment.