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

@otterhttp/cookie

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@otterhttp/cookie - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

20

dist/index.d.ts

@@ -11,14 +11,14 @@ /**

}): Record<string, string>;
type SerializeOptions = Partial<{
encode: (str: string) => string;
maxAge: number;
domain: string;
path: string;
httpOnly: boolean;
secure: boolean;
sameSite: boolean | "Strict" | "strict" | "Lax" | "lax" | "None" | "none" | string;
expires: Date;
}>;
type SerializeOptions = {
encode?: ((str: string) => string) | null | undefined;
maxAge?: number | null | undefined;
domain?: string | null | undefined;
path?: string | null | undefined;
httpOnly?: boolean | null | undefined;
secure?: boolean | null | undefined;
sameSite?: boolean | "Strict" | "strict" | "Lax" | "lax" | "None" | "none" | string | null | undefined;
expires?: Date | null | undefined;
};
declare function serialize(name: string, val: string, options?: SerializeOptions): string;
export { type SerializeOptions, parse, serialize };
{
"name": "@otterhttp/cookie",
"version": "3.0.1",
"version": "3.0.2",
"type": "module",

@@ -5,0 +5,0 @@ "description": "HTTP cookie parser and serializer for Node.js",

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