Socket
Socket
Sign inDemoInstall

tiny-cookie

Package Overview
Dependencies
0
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.3 to 0.5.4

2

bower.json
{
"name": "tiny-cookie",
"version": "0.5.3",
"version": "0.5.4",
"main": "tiny-cookie.js",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/Alex1990/tiny-cookie",

{
"name": "tiny-cookie",
"version": "0.5.4",
"description": "A tiny cookie manipulation plugin",
"version": "0.5.3",
"main": "tiny-cookie.js",
"author": {

@@ -6,0 +7,0 @@ "name": "Alex Chao",

@@ -43,3 +43,3 @@ # tiny-cookie

Set a cookie with encoding the value, using `encodeURIComponent`. The `options` parameter is an object. And its property can be a valid cookie option, such as `path`, `domain`, `expires`/`max-age` or `secure`. For example, you can set the expiration:
Set a cookie with encoding the value, using `encodeURIComponent`. The `options` parameter is an object. And its property can be a valid cookie option, such as `path`(default: root path `/`), `domain`, `expires`/`max-age` or `secure`. For example, you can set the expiration:

@@ -46,0 +46,0 @@ ```js

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