New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@edge-runtime/cookies

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edge-runtime/cookies - npm Package Compare versions

Comparing version 3.2.3 to 3.3.0

8

dist/index.d.ts

@@ -178,2 +178,3 @@ // Type definitions for cookie 0.5

getAll(...args: [key: string] | [options: ResponseCookie] | []): ResponseCookie[];
has(name: string): boolean;
/**

@@ -190,2 +191,7 @@ * {@link https://wicg.github.io/cookie-store/#CookieStore-set CookieStore#set} without the Promise.

declare function stringifyCookie(c: ResponseCookie | RequestCookie): string;
/** Parse a `Cookie` header value */
declare function parseCookie(cookie: string): Map<string, string>;
/** Parse a `Set-Cookie` header value */
declare function parseSetCookie(setCookie: string): undefined | ResponseCookie;
/**

@@ -205,2 +211,2 @@ * @source https://github.com/nfriedly/set-cookie-parser/blob/master/lib/set-cookie.js

export { CookieListItem, RequestCookie, RequestCookies, ResponseCookie, ResponseCookies, splitCookiesString };
export { CookieListItem, RequestCookie, RequestCookies, ResponseCookie, ResponseCookies, parseCookie, parseSetCookie, splitCookiesString, stringifyCookie };

@@ -25,3 +25,6 @@ "use strict";

ResponseCookies: () => ResponseCookies,
splitCookiesString: () => splitCookiesString
parseCookie: () => parseCookie,
parseSetCookie: () => parseSetCookie,
splitCookiesString: () => splitCookiesString,
stringifyCookie: () => stringifyCookie
});

@@ -265,2 +268,5 @@ module.exports = __toCommonJS(src_exports);

}
has(name) {
return this._parsed.has(name);
}
/**

@@ -313,3 +319,6 @@ * {@link https://wicg.github.io/cookie-store/#CookieStore-set CookieStore#set} without the Promise.

ResponseCookies,
splitCookiesString
parseCookie,
parseSetCookie,
splitCookiesString,
stringifyCookie
});

2

package.json

@@ -5,3 +5,3 @@ {

"homepage": "https://edge-runtime.vercel.app/packages/cookies",
"version": "3.2.3",
"version": "3.3.0",
"main": "dist/index.js",

@@ -8,0 +8,0 @@ "module": "dist/index.mjs",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc