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

@types/js-cookie

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/js-cookie - npm Package Compare versions

Comparing version 2.2.6 to 2.2.7

12

js-cookie/index.d.ts

@@ -18,3 +18,3 @@ // Type definitions for js-cookie 2.2

*/
expires?: number | Date;
expires?: number | Date | undefined;

@@ -24,3 +24,3 @@ /**

*/
path?: string;
path?: string | undefined;

@@ -31,3 +31,3 @@ /**

*/
domain?: string;
domain?: string | undefined;

@@ -38,3 +38,3 @@ /**

*/
secure?: boolean;
secure?: boolean | undefined;

@@ -46,3 +46,3 @@ /**

*/
sameSite?: 'strict' | 'Strict' | 'lax' | 'Lax' | 'none' | 'None';
sameSite?: 'strict' | 'Strict' | 'lax' | 'Lax' | 'none' | 'None' | undefined;

@@ -111,3 +111,3 @@ /**

*/
withConverter<TConv extends object>(converter: CookieReadConverter | { write?: CookieWriteConverter<TConv>; read?: CookieReadConverter; }): CookiesStatic<TConv>;
withConverter<TConv extends object>(converter: CookieReadConverter | { write?: CookieWriteConverter<TConv> | undefined; read?: CookieReadConverter | undefined; }): CookiesStatic<TConv>;
}

@@ -114,0 +114,0 @@

{
"name": "@types/js-cookie",
"version": "2.2.6",
"version": "2.2.7",
"description": "TypeScript definitions for js-cookie",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-cookie",
"license": "MIT",

@@ -42,4 +43,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "968ab7dc2c45bd219bb1e9b9bd237290e61180bbc5e0fe3e02b515bff16f3840",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "4c4affe1d1b24aed086239e7e5404ff729b04a34e42f14081b888e71c553a411",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sat, 11 Apr 2020 02:45:45 GMT
* Last updated: Tue, 06 Jul 2021 21:33:45 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `Cookies`

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