sistema creado v0.5.0
This commit is contained in:
3
api/node_modules/cookie/index.js
generated
vendored
3
api/node_modules/cookie/index.js
generated
vendored
@@ -21,7 +21,6 @@ exports.serialize = serialize;
|
||||
*/
|
||||
|
||||
var __toString = Object.prototype.toString
|
||||
var __hasOwnProperty = Object.prototype.hasOwnProperty
|
||||
|
||||
/**
|
||||
* RegExp to match cookie-name in RFC 6265 sec 4.1.1
|
||||
@@ -131,7 +130,7 @@ function parse(str, opt) {
|
||||
var key = str.slice(keyStartIdx, keyEndIdx);
|
||||
|
||||
// only assign once
|
||||
if (!__hasOwnProperty.call(obj, key)) {
|
||||
if (!obj.hasOwnProperty(key)) {
|
||||
var valStartIdx = startIndex(str, eqIdx + 1, endIdx);
|
||||
var valEndIdx = endIndex(str, endIdx, valStartIdx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user