aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/request/node_modules/tough-cookie
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/request/node_modules/tough-cookie')
-rw-r--r--deps/npm/node_modules/request/node_modules/tough-cookie/lib/cookie.js4
-rw-r--r--deps/npm/node_modules/request/node_modules/tough-cookie/package.json42
2 files changed, 25 insertions, 21 deletions
diff --git a/deps/npm/node_modules/request/node_modules/tough-cookie/lib/cookie.js b/deps/npm/node_modules/request/node_modules/tough-cookie/lib/cookie.js
index 0afe4a2a96..12da297ac4 100644
--- a/deps/npm/node_modules/request/node_modules/tough-cookie/lib/cookie.js
+++ b/deps/npm/node_modules/request/node_modules/tough-cookie/lib/cookie.js
@@ -58,11 +58,11 @@ var CONTROL_CHARS = /[\x00-\x1F]/;
// (see: https://github.com/ChromiumWebApps/chromium/blob/b3d3b4da8bb94c1b2e061600df106d590fda3620/net/cookies/parsed_cookie.cc#L60)
// '=' and ';' are attribute/values separators
// (see: https://github.com/ChromiumWebApps/chromium/blob/b3d3b4da8bb94c1b2e061600df106d590fda3620/net/cookies/parsed_cookie.cc#L64)
-var COOKIE_PAIR = /^(([^=;]+))\s*=\s*(("?)[^\n\r\0]*\3)/
+var COOKIE_PAIR = /^(([^=;]+))\s*=\s*([^\n\r\0]*)/;
// Used to parse non-RFC-compliant cookies like '=abc' when given the `loose`
// option in Cookie.parse:
-var LOOSE_COOKIE_PAIR = /^((?:=)?([^=;]*)\s*=\s*)?(("?)[^\n\r\0]*\3)/;
+var LOOSE_COOKIE_PAIR = /^((?:=)?([^=;]*)\s*=\s*)?([^\n\r\0]*)/;
// RFC6265 S4.1.1 defines path value as 'any CHAR except CTLs or ";"'
// Note ';' is \x3B
diff --git a/deps/npm/node_modules/request/node_modules/tough-cookie/package.json b/deps/npm/node_modules/request/node_modules/tough-cookie/package.json
index 24c18e2ecb..565dbe1914 100644
--- a/deps/npm/node_modules/request/node_modules/tough-cookie/package.json
+++ b/deps/npm/node_modules/request/node_modules/tough-cookie/package.json
@@ -2,20 +2,24 @@
"_args": [
[
"tough-cookie@~2.2.0",
- "/Users/ogd/Documents/projects/npm/npm/node_modules/request"
+ "/Users/rebecca/code/npm/node_modules/request"
]
],
"_from": "tough-cookie@>=2.2.0 <2.3.0",
- "_id": "tough-cookie@2.2.1",
+ "_id": "tough-cookie@2.2.2",
"_inCache": true,
"_installable": true,
"_location": "/request/tough-cookie",
- "_nodeVersion": "0.12.5",
+ "_nodeVersion": "5.1.1",
+ "_npmOperationalInternal": {
+ "host": "packages-13-west.internal.npmjs.com",
+ "tmp": "tmp/tough-cookie-2.2.2.tgz_1457564639182_0.5129188685677946"
+ },
"_npmUser": {
"email": "jstash@gmail.com",
"name": "jstash"
},
- "_npmVersion": "2.11.2",
+ "_npmVersion": "3.3.12",
"_phantomChildren": {},
"_requested": {
"name": "tough-cookie",
@@ -28,11 +32,11 @@
"_requiredBy": [
"/request"
],
- "_resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.1.tgz",
- "_shasum": "3b0516b799e70e8164436a1446e7e5877fda118e",
+ "_resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz",
+ "_shasum": "c83a1830f4e5ef0b93ef2a3488e724f8de016ac7",
"_shrinkwrap": null,
"_spec": "tough-cookie@~2.2.0",
- "_where": "/Users/ogd/Documents/projects/npm/npm/node_modules/request",
+ "_where": "/Users/rebecca/code/npm/node_modules/request",
"author": {
"email": "jstashewsky@salesforce.com",
"name": "Jeremy Stashewsky"
@@ -68,8 +72,8 @@
},
"directories": {},
"dist": {
- "shasum": "3b0516b799e70e8164436a1446e7e5877fda118e",
- "tarball": "http://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.1.tgz"
+ "shasum": "c83a1830f4e5ef0b93ef2a3488e724f8de016ac7",
+ "tarball": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz"
},
"engines": {
"node": ">=0.10.0"
@@ -77,28 +81,28 @@
"files": [
"lib"
],
- "gitHead": "f1055655ea56c85bd384aaf7d5b740b916700b6f",
+ "gitHead": "cc46628c4d7d2e8c372ecba29293ca8a207ec192",
"homepage": "https://github.com/SalesforceEng/tough-cookie",
"keywords": [
"HTTP",
- "RFC2965",
- "RFC6265",
"cookie",
- "cookiejar",
"cookies",
+ "set-cookie",
+ "cookiejar",
"jar",
- "set-cookie"
+ "RFC6265",
+ "RFC2965"
],
"license": "BSD-3-Clause",
"main": "./lib/cookie",
"maintainers": [
{
- "name": "jstash",
- "email": "jeremy@goinstant.com"
+ "email": "jeremy@goinstant.com",
+ "name": "jstash"
},
{
- "name": "goinstant",
- "email": "services@goinstant.com"
+ "email": "services@goinstant.com",
+ "name": "goinstant"
}
],
"name": "tough-cookie",
@@ -112,5 +116,5 @@
"suffixup": "curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js",
"test": "vows test/*_test.js"
},
- "version": "2.2.1"
+ "version": "2.2.2"
}