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.2 to 2.2.3

14

js-cookie/index.d.ts

@@ -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 @@

9

js-cookie/package.json
{
"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>.
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