Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

universal-cookie

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universal-cookie - npm Package Compare versions

Comparing version 7.0.1 to 7.0.2

1

cjs/types.d.ts

@@ -14,2 +14,3 @@ export type Cookie = any;

sameSite?: boolean | 'none' | 'lax' | 'strict';
partitioned?: boolean;
}

@@ -16,0 +17,0 @@ export interface CookieChangeOptions {

@@ -14,2 +14,3 @@ export type Cookie = any;

sameSite?: boolean | 'none' | 'lax' | 'strict';
partitioned?: boolean;
}

@@ -16,0 +17,0 @@ export interface CookieChangeOptions {

6

package.json
{
"name": "universal-cookie",
"version": "7.0.1",
"version": "7.0.2",
"description": "Universal cookies for JavaScript",

@@ -50,7 +50,7 @@ "types": "cjs/index.d.ts",

"devDependencies": {
"@babel/cli": "^7.23.4",
"@babel/cli": "^7.23.9",
"rimraf": "^5.0.5",
"rollup": "^4.9.2",
"rollup": "^4.9.6",
"typescript": "^5.3.3"
}
}

@@ -44,2 +44,3 @@ <h3 align="center">

- sameSite (boolean|none|lax|strict): Strict or Lax enforcement
- partitioned (boolean): Indicates that the cookie should be stored using partitioned storage

@@ -75,2 +76,3 @@ ### `get(name, [options])`

- sameSite (boolean|none|lax|strict): Strict or Lax enforcement
- partitioned (boolean): Indicates that the cookie should be stored using partitioned storage

@@ -90,2 +92,3 @@ ### `remove(name, [options])`

- sameSite (boolean|none|lax|strict): Strict or Lax enforcement
- partitioned (boolean): Indicates that the cookie should be stored using partitioned storage

@@ -92,0 +95,0 @@ ### `addChangeListener(callback)`

@@ -14,2 +14,3 @@ export type Cookie = any;

sameSite?: boolean | 'none' | 'lax' | 'strict';
partitioned?: boolean;
}

@@ -16,0 +17,0 @@ export interface CookieChangeOptions {

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