You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

alexa-cookie2

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alexa-cookie2 - npm Package Compare versions

Comparing version

to
3.0.3

2

alexa-cookie.js

@@ -46,3 +46,3 @@ /* jshint -W097 */

if (!headers || !headers['set-cookie']) return Cookie;
const cookies = cookieTools.parse(Cookie);
const cookies = cookieTools.parse(Cookie || '');
for (let cookie of headers['set-cookie']) {

@@ -49,0 +49,0 @@ cookie = cookie.match(/^([^=]+)=([^;]+);.*/);

@@ -10,3 +10,3 @@ /* jshint -W097 */

const express = require('express');
const proxy = require('http-proxy-middleware');
const proxy = require('http-proxy-middleware').createProxyMiddleware;
const querystring = require('querystring');

@@ -13,0 +13,0 @@ const cookieTools = require('cookie');

{
"name": "alexa-cookie2",
"version": "3.0.2",
"version": "3.0.3",
"description": "Generate Cookie and CSRF for Alexa Remote",

@@ -26,3 +26,3 @@ "author": {

"express": "^4.17.1",
"http-proxy-middleware": "^0.20.0",
"http-proxy-middleware": "^1.0.2",
"http-proxy-response-rewrite": "^0.0.1",

@@ -29,0 +29,0 @@ "https": "^1.0.0",

@@ -49,2 +49,5 @@ # alexa-cookie

### 3.0.3 (2020.03.16)
* (Apollon77) Prevent error for empty Cookie cases (on communication errors)
### 3.0.2 (2019.12.27)

@@ -51,0 +54,0 @@ * (Apollon77) Prevent error when no headers are existent