debd1c5aca
merge latest node-fetch-cookies version
2019-12-02 18:51:36 +01:00
f18fc55999
cookie-jar: make logging ignored cookies optional
...
by adding a callback function to the class attributes
readme: update accordingly
bump patch version
fix #2
2019-12-02 18:46:46 +01:00
20c2a996c3
fix infinite recursion
2019-11-29 02:40:09 +01:00
6bde778519
merge latest node-fetch-cookies version
2019-11-29 01:51:54 +01:00
303185c9ff
readme: rename fetch cookieJar parameter to cookieJars
...
cookie: trim line
2019-11-29 01:47:17 +01:00
eeeba02b83
cookie parser: more strict parsing + bugfixes
2019-11-26 04:15:01 +01:00
425067e759
cookie-jar,cookie,index: consistent spacing
...
errors: fix paramError function
2019-11-25 23:14:34 +01:00
2271c2e055
index: export CookieParseError
...
readme: add short description of CookieParseError
error: add semicolons
2019-11-25 18:48:49 +01:00
cf1e42d359
errors: fix usage of unset parameter
2019-11-25 15:56:03 +01:00
Flummi
fdd99dfbd9
update flumm-fetch
2019-11-25 15:41:12 +01:00
5c6ccbd3e8
improve performance by using a Set instead of array filtering in fetch and CookieJar.cookiesValidForRequest()
...
use fsPromises API instead of the synchronous one
move cookie loading to seperate async CookieJar.load() function
make cookie saving async (CookieJar.save())
add helper function for creating type errors to error.mjs
move CookieParseError to error.mjs
change readme according to changes
bump minor version to 1.3.0
this version requires at least nodejs 11.14.0
2019-11-25 06:30:12 +01:00
d9e3f4154a
fix import statements for nodejs 12.x.x ES module specifier resolution
...
exclude unnecessary files from tarball
2019-09-07 21:35:09 +02:00
Flummi
84275bfcd7
he she it, the mjs must fit
2019-08-28 19:56:18 +00:00
3f66e804e5
re-add static Cookie.fromObject() function
2019-08-17 05:42:18 +02:00
ff7aaf3706
export cookieJar, class CookieJar and class Cookie in index.mjs
2019-08-17 05:39:31 +02:00
afa7151e6a
fix Cookie.hasExpired() for session cookies
2019-08-17 05:15:16 +02:00
7b5998327d
fix Cookie.hasExpired() for session cookies
...
bump patch version
2019-08-17 05:13:22 +02:00
0c767b3fee
merge latest node-fetch-cookies version
2019-08-15 23:14:23 +02:00
c9dc1d99ed
shorten cookie class a bit
2019-08-15 22:59:28 +02:00
e5bf5729d1
remove unnecessary re-initialization of CookieJar.cookies
2019-08-15 22:53:02 +02:00
f902fa6379
add CookieParseError class
...
catch CookieParseErrors when adding to jar, log a warning
add option to delete session cookies to CookieJar.deleteExpired()
cookie path may be uri encoded. decode it when comparing
check cookie domain attribute validity when parsing
minor version bump
2019-08-15 13:32:49 +02:00
7e7a19403c
improve session cookie handling
2019-08-15 01:06:22 +02:00
9f498864bb
bugfixes
2019-08-14 23:35:55 +02:00
f613a8c32e
filter cookies with same names before sending
...
duplicate names may occur if we store cookies with the same name for example.com with subdomains and for sub.example.com
2019-08-14 00:38:11 +02:00
14a874f208
generators are awesome
...
rewrite internal cookie storage
fix incorrect splitting of key value pairs when parsing serialized cookies
minor version bump
2019-08-13 22:19:25 +02:00
bd2009cf72
remove unnecessary parameter from cookie jar construction
2019-07-24 16:49:25 +02:00
d7087a0322
remove unnecessary code from cookie jar class
2019-07-24 16:45:04 +02:00
5b4105322d
Merge ../node-fetch-cookies
2019-07-24 16:40:05 +02:00
4a84e2ad7c
remove unnecessary line
2019-07-24 16:39:20 +02:00
f75cb67979
use a global cookie jar instead of specifying the cookie jar every time
2019-07-22 23:22:53 +02:00
f2ccce9d0e
rewrite node-fetch-cookies for flumm-fetch
2019-07-22 22:42:38 +02:00
83a640e9fb
allow cookieJars to be null in fetch wrapper
...
version bump
2019-07-22 13:52:54 +02:00
a2976d9cf8
make specifying a file for cookie-jars optional
2019-07-20 23:39:15 +02:00
d2e88e3b1a
add a proper documentation
...
featuring an actually working usage example!
also: change exports in index.mjs for easier import
2019-06-16 00:06:28 +02:00
jkhsjdhjs
e38327127d
remove test.mjs
2019-01-14 04:46:59 +01:00
f6c3ba8a61
fixes to get it working
2019-01-14 04:30:38 +01:00
d92f8d3564
initial commit
2019-01-13 23:30:17 +01:00