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

@types/cookies

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/cookies - npm Package Compare versions

Comparing version 0.7.6 to 0.7.7

24

cookies/index.d.ts

@@ -46,4 +46,4 @@ // Type definitions for cookies 0.7

interface Option {
keys?: string[] | Keygrip;
secure?: boolean;
keys?: string[] | Keygrip | undefined;
secure?: boolean | undefined;
}

@@ -59,3 +59,3 @@

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

@@ -65,11 +65,11 @@ * a Date object indicating the cookie's expiration

*/
expires?: Date;
expires?: Date | undefined;
/**
* a string indicating the path of the cookie (/ by default).
*/
path?: string;
path?: string | undefined;
/**
* a string indicating the domain of the cookie (no default).
*/
domain?: string;
domain?: string | undefined;
/**

@@ -79,7 +79,7 @@ * a boolean indicating whether the cookie is only to be sent

*/
secure?: boolean;
secure?: boolean | undefined;
/**
* "secureProxy" option is deprecated; use "secure" option, provide "secure" to constructor if needed
*/
secureProxy?: boolean;
secureProxy?: boolean | undefined;
/**

@@ -89,3 +89,3 @@ * a boolean indicating whether the cookie is only to be sent over HTTP(S),

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

@@ -95,3 +95,3 @@ * a boolean or string indicating whether the cookie is a "same site" cookie (false by default).

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

@@ -104,3 +104,3 @@ * a boolean indicating whether the cookie is to be signed (false by default).

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

@@ -113,3 +113,3 @@ * a boolean indicating whether to overwrite previously set

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

@@ -116,0 +116,0 @@

{
"name": "@types/cookies",
"version": "0.7.6",
"version": "0.7.7",
"description": "TypeScript definitions for cookies",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cookies",
"license": "MIT",

@@ -37,4 +38,4 @@ "contributors": [

},
"typesPublisherContentHash": "09a4522e334d7a4d84019482a9f1b00d7b41792842dc6238a27404c92cde2a72",
"typeScriptVersion": "3.3"
"typesPublisherContentHash": "7f3377e80f3a99e1036f9ffd979c52c1934e00c1bbc9de51fb30b092c4e4d451",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Tue, 22 Dec 2020 21:35:03 GMT
* Last updated: Tue, 06 Jul 2021 20:32:31 GMT
* Dependencies: [@types/keygrip](https://npmjs.com/package/@types/keygrip), [@types/express](https://npmjs.com/package/@types/express), [@types/connect](https://npmjs.com/package/@types/connect), [@types/node](https://npmjs.com/package/@types/node)

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

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