airbits-http-utils
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -83,5 +83,4 @@ var jwt = require("jsonwebtoken"); | ||
let parts = rawCookies.split("; " + name + "="); | ||
if (parts.length | ||
=== 2) return parts.pop().split(";").shift(); | ||
match = rawCookies.match(new RegExp(name + '=([^;]+)')); | ||
if (match) return match[1]; | ||
} | ||
@@ -88,0 +87,0 @@ |
{ | ||
"name": "airbits-http-utils", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "http utilitities for xens project", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3297
65