tough-cookie 3.0.1 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +284 -215
- package/lib/cookie.js +1084 -816
- package/lib/memstore.js +190 -129
- package/lib/pathMatch.js +2 -2
- package/lib/permuteDomain.js +17 -8
- package/lib/pubsuffix-psl.js +35 -3
- package/lib/store.js +34 -33
- package/lib/utilHelper.js +39 -0
- package/lib/validators.js +95 -0
- package/lib/version.js +1 -1
- package/package.json +48 -17
package/package.json
CHANGED
|
@@ -6,28 +6,52 @@
|
|
|
6
6
|
},
|
|
7
7
|
"contributors": [
|
|
8
8
|
{
|
|
9
|
-
"name": "
|
|
10
|
-
"website": "https://github.com/
|
|
9
|
+
"name": "Ivan Nikulin",
|
|
10
|
+
"website": "https://github.com/inikulin"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "Shivan Kaul Sahib",
|
|
14
|
+
"website": "https://github.com/ShivanKaul"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "Clint Ruoho",
|
|
18
|
+
"website": "https://github.com/ruoho"
|
|
11
19
|
},
|
|
12
20
|
{
|
|
13
21
|
"name": "Ian Livingstone",
|
|
14
22
|
"website": "https://github.com/ianlivingstone"
|
|
15
23
|
},
|
|
16
24
|
{
|
|
17
|
-
"name": "
|
|
18
|
-
"website": "https://github.com/
|
|
25
|
+
"name": "Andrew Waterman",
|
|
26
|
+
"website": "https://github.com/awaterma"
|
|
19
27
|
},
|
|
20
28
|
{
|
|
21
|
-
"name": "
|
|
22
|
-
"website": "https://github.com/
|
|
29
|
+
"name": "Michael de Libero ",
|
|
30
|
+
"website": "https://github.com/medelibero-sfdc"
|
|
23
31
|
},
|
|
24
32
|
{
|
|
25
|
-
"name": "
|
|
26
|
-
"website": "https://github.com/
|
|
33
|
+
"name": "Jonathan Stewmon",
|
|
34
|
+
"website": "https://github.com/jstewmon"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "Miguel Roncancio",
|
|
38
|
+
"website": "https://github.com/miggs125"
|
|
27
39
|
},
|
|
28
40
|
{
|
|
29
41
|
"name": "Sebastian Mayr",
|
|
30
42
|
"website": "https://github.com/Sebmaster"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "Alexander Savin",
|
|
46
|
+
"website": "https://github.com/apsavin"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "Lalit Kapoor",
|
|
50
|
+
"website": "https://github.com/lalitkapoor"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "Sam Thompson",
|
|
54
|
+
"website": "https://github.com/sambthompson"
|
|
31
55
|
}
|
|
32
56
|
],
|
|
33
57
|
"license": "BSD-3-Clause",
|
|
@@ -43,7 +67,7 @@
|
|
|
43
67
|
"RFC6265",
|
|
44
68
|
"RFC2965"
|
|
45
69
|
],
|
|
46
|
-
"version": "
|
|
70
|
+
"version": "4.1.1",
|
|
47
71
|
"homepage": "https://github.com/salesforce/tough-cookie",
|
|
48
72
|
"repository": {
|
|
49
73
|
"type": "git",
|
|
@@ -58,22 +82,29 @@
|
|
|
58
82
|
],
|
|
59
83
|
"scripts": {
|
|
60
84
|
"version": "genversion lib/version.js && git add lib/version.js",
|
|
61
|
-
"test": "vows test/*_test.js",
|
|
62
|
-
"cover": "nyc --reporter=lcov --reporter=html vows test/*_test.js"
|
|
85
|
+
"test": "vows test/*_test.js && npm run eslint",
|
|
86
|
+
"cover": "nyc --reporter=lcov --reporter=html vows test/*_test.js",
|
|
87
|
+
"eslint": "eslint --env node --ext .js .",
|
|
88
|
+
"prettier": "prettier '**/*.{json,ts,yaml,md}'",
|
|
89
|
+
"format": "npm run eslint -- --fix"
|
|
63
90
|
},
|
|
64
91
|
"engines": {
|
|
65
92
|
"node": ">=6"
|
|
66
93
|
},
|
|
67
94
|
"devDependencies": {
|
|
68
|
-
"async": "^
|
|
95
|
+
"async": "^2.6.2",
|
|
96
|
+
"eslint": "^5.16.0",
|
|
97
|
+
"eslint-config-prettier": "^4.2.0",
|
|
98
|
+
"eslint-plugin-prettier": "^3.0.1",
|
|
69
99
|
"genversion": "^2.1.0",
|
|
70
|
-
"nyc": "^
|
|
71
|
-
"
|
|
100
|
+
"nyc": "^14.0.0",
|
|
101
|
+
"prettier": "^1.17.0",
|
|
72
102
|
"vows": "^0.8.2"
|
|
73
103
|
},
|
|
74
104
|
"dependencies": {
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
105
|
+
"psl": "^1.1.33",
|
|
106
|
+
"punycode": "^2.1.1",
|
|
107
|
+
"universalify": "^0.2.0",
|
|
108
|
+
"url-parse": "^1.5.3"
|
|
78
109
|
}
|
|
79
110
|
}
|