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.1 to 0.5.0

16

cookie/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for cookie 0.4
// Type definitions for cookie 0.5
// Project: https://github.com/jshttp/cookie

@@ -71,2 +71,16 @@ // Definitions by: Pine Mizune <https://github.com/pine>

/**
* Specifies the `string` to be the value for the [`Priority` `Set-Cookie` attribute][rfc-west-cookie-priority-00-4.1].
*
* - `'low'` will set the `Priority` attribute to `Low`.
* - `'medium'` will set the `Priority` attribute to `Medium`, the default priority when not set.
* - `'high'` will set the `Priority` attribute to `High`.
*
* More information about the different priority levels can be found in
* [the specification][rfc-west-cookie-priority-00-4.1].
*
* **note** This is an attribute that has not yet been fully standardized, and may change in the future.
* This also means many clients may ignore this attribute until they understand it.
*/
priority?: 'low' | 'medium' | 'high' | undefined;
/**
* 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}.

@@ -73,0 +87,0 @@ *

6

cookie/package.json
{
"name": "@types/cookie",
"version": "0.4.1",
"version": "0.5.0",
"description": "TypeScript definitions for cookie",

@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cookie",

"dependencies": {},
"typesPublisherContentHash": "7d4a6dd505c896319459ae131b5fa8fc0a2ed25552db53dac87946119bb21559",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "024e66190b1671b9dcbdaf5dee8a948f3df0e39ff701b9bfd6e64c49df63e572",
"typeScriptVersion": "3.9"
}

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

### Additional Details
* Last updated: Tue, 06 Jul 2021 20:32:30 GMT
* Last updated: Wed, 13 Apr 2022 19:31:17 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