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 4.0.3 to 4.1.0

2

dist/index.d.ts

@@ -122,3 +122,3 @@ /**

*/
interface CookieListItem extends Pick<CookieSerializeOptions, 'domain' | 'path' | 'secure' | 'sameSite'> {
interface CookieListItem extends Pick<CookieSerializeOptions, 'domain' | 'path' | 'secure' | 'sameSite' | 'partitioned'> {
/** A string with the name of a cookie. */

@@ -125,0 +125,0 @@ name: string;

@@ -42,2 +42,3 @@ "use strict";

"sameSite" in c && c.sameSite && `SameSite=${c.sameSite}`,
"partitioned" in c && c.partitioned && "Partitioned",
"priority" in c && c.priority && `Priority=${c.priority}`

@@ -78,2 +79,3 @@ ].filter(Boolean);

secure,
partitioned,
priority

@@ -93,3 +95,4 @@ } = Object.fromEntries(

...secure && { secure: true },
...priority && { priority: parsePriority(priority) }
...priority && { priority: parsePriority(priority) },
...partitioned && { partitioned: true }
};

@@ -96,0 +99,0 @@ return compact(cookie);

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

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

@@ -32,3 +32,3 @@ "module": "dist/index.mjs",

"@edge-runtime/format": "2.2.1",
"@edge-runtime/jest-environment": "2.3.8"
"@edge-runtime/jest-environment": "2.3.10"
},

@@ -35,0 +35,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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