@types/js-cookie
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -7,2 +7,3 @@ // Type definitions for js-cookie 2.2 | ||
// Yuto Doi <https://github.com/yutod> | ||
// Nicolas Reynis <https://github.com/nreynis> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -36,2 +37,15 @@ // TypeScript Version: 2.3 | ||
secure?: boolean; | ||
/** | ||
* Asserts that a cookie must not be sent with cross-origin requests, | ||
* providing some protection against cross-site request forgery | ||
* attacks (CSRF) | ||
*/ | ||
sameSite?: 'Strict' | 'Lax' | 'None'; | ||
/** | ||
* An attribute which will be serialized, conformably to RFC 6265 | ||
* section 5.2. | ||
*/ | ||
[property: string]: any; | ||
} | ||
@@ -38,0 +52,0 @@ |
{ | ||
"name": "@types/js-cookie", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "TypeScript definitions for js-cookie", | ||
@@ -26,2 +26,7 @@ "license": "MIT", | ||
"githubUsername": "yutod" | ||
}, | ||
{ | ||
"name": "Nicolas Reynis", | ||
"url": "https://github.com/nreynis", | ||
"githubUsername": "nreynis" | ||
} | ||
@@ -38,4 +43,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "08f874098c6b2ae9f3fd608da536cc03e2fc5bd11d0212ec7c56d413d22a4a2b", | ||
"typesPublisherContentHash": "c8811e4fda46bcf937a6b8bc762388e6d8446a33dc37b22aeae345970daa7f74", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for js-cookie ( https://github.com/js-cookie/js-cookie ). | ||
This package contains type definitions for js-cookie (https://github.com/js-cookie/js-cookie). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Wed, 27 Mar 2019 23:19:37 GMT | ||
* Last updated: Mon, 07 Oct 2019 23:28:30 GMT | ||
* Dependencies: none | ||
@@ -18,2 +18,2 @@ * Global values: Cookies | ||
# Credits | ||
These definitions were written by Theodore Brown <https://github.com/theodorejb>, BendingBender <https://github.com/BendingBender>, Antoine Lépée <https://github.com/alepee>, Yuto Doi <https://github.com/yutod>. | ||
These definitions were written by Theodore Brown <https://github.com/theodorejb>, BendingBender <https://github.com/BendingBender>, Antoine Lépée <https://github.com/alepee>, Yuto Doi <https://github.com/yutod>, and Nicolas Reynis <https://github.com/nreynis>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7176
98