Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

addsearch-js-client

Package Overview
Dependencies
Maintainers
3
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

addsearch-js-client - npm Package Compare versions

Comparing version 0.8.5 to 0.8.6

2

package.json
{
"name": "addsearch-js-client",
"version": "0.8.5",
"version": "0.8.6",
"description": "AddSearch API JavaScript client",

@@ -5,0 +5,0 @@ "main": "index.js",

const setCookie = function(cookieName, cookieValue, expireDays) {
if (!document) {
return;
}
const date = new Date();

@@ -9,2 +12,5 @@ date.setTime(date.getTime() + (expireDays * 24 * 60 * 60 * 1000));

const getCookie = function(cookieName) {
if (!document) {
return;
}
let name = cookieName + "=";

@@ -26,2 +32,5 @@ let decodedCookie = decodeURIComponent(document.cookie);

const deleteCookie = function(name) {
if (!document) {
return;
}
document.cookie = name +'=; Path=/; Expires=Thu, 01 Jan 2000 00:00:01 GMT;';

@@ -28,0 +37,0 @@ }

Sorry, the diff of this file is too big to display

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