[Snyk] Upgrade cookie from 0.7.0 to 1.0.1 #26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade cookie from 0.7.0 to 1.0.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 4 versions ahead of your current version.
The recommended version was released on 2 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-INFLIGHT-6095116
Release notes
Package name: cookie
-
1.0.1 - 2024-10-11
- Allow case insensitive options (#194) 3bed080
-
1.0.0 - 2024-10-08
- Use modern JS features, ship TypeScript definition (#175) 1cc64ff
- Adds
- Minimum node.js v18
- Uses null prototype object for
- Changes
- Require
- Delegates decode implementation details to
- Delegate quote parsing to
- Shift try/catch to decode (#179) 93a5b97
- Improve arg/option error messages (#162) e206fd5 @ MaoShizhong
- Remove
-
0.7.2 - 2024-10-07
- Fix object assignment of
-
0.7.1 - 2024-10-03
- Allow leading dot for domain (#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
-
0.7.0 - 2024-10-02
- perf: parse cookies ~10% faster (#144 by @ kurtextrem and #170)
- fix: narrow the validation of cookies to match RFC6265 (#167 by @ bewinsnw)
- fix: add
from cookie GitHub release notesAdded
v1.0.0...v1.0.1
Breaking changes
__esModulemarker, imports need to useimport { parse, serialize }orimport * as cookieparsereturn valuestrictandpriorityto match the lower case strings (i.e.low, notLOWorLow)maxAgeto be an integer usingNumber.isIntegercheckdecodeoption (i.e. error handling and quote parsing is defined bydecode)decode(#180) c4a2597Other
hasOwnProperty, useundefinedcheck for performance (#183) 8f3ee9e @ gurgundayv0.7.2...v1.0.0
Fixed
hasOwnProperty(#177) bc38ffdv0.7.1...v0.7.2
Fixed
serializewithout options, useobj.hasOwnPropertywhen parsing (#172)v0.7.0...v0.7.1
maintopackage.jsonfor rspack (#166 by @ proudparrot2)v0.6.0...v0.7.0
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
Summary by Sourcery
Build: