@edge-runtime/cookies
Advanced tools
Comparing version
@@ -1,7 +0,1 @@ | ||
// Type definitions for cookie 0.5 | ||
// Project: https://github.com/jshttp/cookie | ||
// Definitions by: Pine Mizune <https://github.com/pine> | ||
// Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/** | ||
@@ -66,2 +60,13 @@ * Basic HTTP cookie parser and serializer for HTTP servers. | ||
/** | ||
* Specifies the `boolean` value for the [`Partitioned` `Set-Cookie`](rfc-cutler-httpbis-partitioned-cookies) | ||
* attribute. When truthy, the `Partitioned` attribute is set, otherwise it is not. By default, the | ||
* `Partitioned` attribute is not set. | ||
* | ||
* **note** This is an attribute that has not yet been fully standardized, and may change in the future. | ||
* This also means many clients may ignore this attribute until they understand it. | ||
* | ||
* More information about can be found in [the proposal](https://github.com/privacycg/CHIPS) | ||
*/ | ||
partitioned?: boolean | undefined; | ||
/** | ||
* Specifies the value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.4|`Path` `Set-Cookie` attribute}. | ||
@@ -197,2 +202,2 @@ * By default, the path is considered the "default path". | ||
export { CookieListItem, RequestCookie, RequestCookies, ResponseCookie, ResponseCookies, parseCookie, parseSetCookie, stringifyCookie }; | ||
export { type CookieListItem, type RequestCookie, RequestCookies, type ResponseCookie, ResponseCookies, parseCookie, parseSetCookie, stringifyCookie }; |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://edge-runtime.vercel.app/packages/cookies", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"main": "dist/index.js", | ||
@@ -29,6 +29,6 @@ "module": "dist/index.mjs", | ||
"devDependencies": { | ||
"@types/cookie": "0.5.2", | ||
"tsup": "7", | ||
"@edge-runtime/format": "2.2.0", | ||
"@edge-runtime/jest-environment": "2.3.5" | ||
"@types/cookie": "0.6.0", | ||
"tsup": "8", | ||
"@edge-runtime/format": "2.2.1", | ||
"@edge-runtime/jest-environment": "2.3.8" | ||
}, | ||
@@ -35,0 +35,0 @@ "engines": { |
56866
21.38%7
16.67%820
0.74%