Socket
Socket
Sign inDemoInstall

@aller/blink-labrador

Package Overview
Dependencies
Maintainers
16
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.1 to 0.6.2

9

lib/utils/cookie-utils.js

@@ -17,10 +17,13 @@ "use strict";

function setCookie(doc, name, value, now) {
expireCookie(doc, name, value);
var date = new Date(now);
date.setTime(date.getTime() + 365 * 24 * 60 * 60 * 1000);
var expires = date.toGMTString();
doc.cookie = name + "=" + value + "; Path=/; Expires=" + expires + "; Secure;";
var domain = window.location.hostname;
domain = domain.split(".").reverse().splice(0, 2).reverse().join(".");
doc.cookie = name + "=" + value + "; Path=/; Expires=" + expires + "; Secure; Domain=" + domain;
}
function expireCookie(doc, name, value) {
doc.cookie = name + "=" + value + "; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT; Secure;";
function expireCookie(doc, name) {
doc.cookie = name + "=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT; Secure;";
}
{
"name": "@aller/blink-labrador",
"version": "0.6.1",
"version": "0.6.2",
"description": "Library for using blink on Labrador",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

@@ -42,4 +42,4 @@ <p align="center">

4. Push the release to GitHub.
4. Push the release to GitHub by running `git push` and `git push --tags` from master.
5. It is greatly apprecieated if you write a summary of the release on GitHub releases. You do that by opening the releases overview page on GitHub, clicking your newly pushed release, and then clicking the "Edit tag" button.
5. It is greatly appreciated if you write a summary of the release on GitHub releases. You do that by opening the releases overview page on GitHub, clicking your newly pushed release, and then clicking the "Edit tag" button.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc