Socket
Socket
Sign inDemoInstall

@types/cookie

Package Overview
Dependencies
0
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0 to 0.4.1

14

cookie/index.d.ts

@@ -20,3 +20,3 @@ // Type definitions for cookie 0.4

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

@@ -45,3 +45,3 @@ /**

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

@@ -55,3 +55,3 @@ * Specifies the boolean value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.6|`HttpOnly` `Set-Cookie` attribute}.

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

@@ -67,3 +67,3 @@ * Specifies the number (in seconds) to be the value for the `Max-Age`

*/
maxAge?: number;
maxAge?: number | undefined;
/**

@@ -73,3 +73,3 @@ * Specifies the value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.4|`Path` `Set-Cookie` attribute}.

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

@@ -92,3 +92,3 @@ * Specifies the boolean or string to be the value for the {@link https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7|`SameSite` `Set-Cookie` attribute}.

*/
sameSite?: true | false | 'lax' | 'strict' | 'none';
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
/**

@@ -102,3 +102,3 @@ * Specifies the boolean value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.5|`Secure` `Set-Cookie` attribute}. When truthy, the

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

@@ -105,0 +105,0 @@

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

@@ -27,4 +28,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "16f378b41a83402d78b875cb82a69c45ef888ee03788db1e6bcd4515daca6aab",
"typeScriptVersion": "2.9"
"typesPublisherContentHash": "7d4a6dd505c896319459ae131b5fa8fc0a2ed25552db53dac87946119bb21559",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Wed, 13 May 2020 15:49:11 GMT
* Last updated: Tue, 06 Jul 2021 20:32:30 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc