Skip to content

Commit ccf1f54

Browse files
authored
Resolves issue #114 for GHSA-pxg6-pf52-xh8x.
1 parent 429cfd4 commit ccf1f54

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

HISTORY.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
unreleased
22
==========
33

4+
5+
- Fix object assignment of `hasOwnProperty`
6+
7+
- Allow leading dot for domain
8+
- Although not permitted in the spec, some users expect this to work and user agents ignore the leading dot according to spec
9+
- Add fast path for `serialize` without options, use `obj.hasOwnProperty` when parsing
10+
11+
- perf: parse cookies ~10% faster
12+
- fix: narrow the validation of cookies to match RFC6265
13+
- fix: add `main` to `package.json` for rspack
14+
15+
- Add `partitioned` option
16+
17+
- Add `priority` option
18+
- Fix `expires` option to reject invalid dates
19+
- pref: improve default decode speed
20+
- pref: remove slow string split in parse
421
522
- pref: read value only when assigning in parse
623
- pref: remove unnecessary regexp in parse

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"middleware"
1414
],
1515
"dependencies": {
16-
"cookie": "0.4.2",
16+
"cookie": "0.7.2",
1717
"cookie-signature": "1.0.6"
1818
},
1919
"devDependencies": {

0 commit comments

Comments
 (0)