Commit Graph

29 Commits

Author SHA1 Message Date
90f16308e3 update links
Signed-off-by: Flummi <git@srv.fail>
2022-11-16 13:47:17 +01:00
0ef1ff3194
reformat code with prettier 2020-06-17 15:32:11 +02:00
31bec14cc2
Merge node-fetch-cookies 2020-06-17 15:28:09 +02:00
c4b04ed3dc
add eslint + prettier
reformat code with prettier
2020-06-17 15:04:32 +02:00
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
58f6c9af6a
Merge ../node-fetch-cookies 2019-11-29 01:52:00 +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
2b1c15c64b
readme: rename parameters according to source 2019-11-28 20:45:19 +01:00
e79b3a0237
readme: add build status badge
bump patch version to 1.3.3
2019-11-26 04:41:10 +01:00
2271c2e055
index: export CookieParseError
readme: add short description of CookieParseError
error: add semicolons
2019-11-25 18:48:49 +01:00
200d3b0a7c
readme: breaking api changes are relevant for 1.3.x or above 2019-11-25 16:41:49 +01:00
d11471260c
readme: options are optional in fetch function 2019-11-25 07:09:08 +01:00
2483a809fa
readme: add missing comma 2019-11-25 07:04:56 +01:00
c02cf8b539
readme: add missing accent grave
bump patch version to 1.3.2
2019-11-25 06:47:15 +01:00
53f6964bee
readme: change note about breaking api changes
bump patch version to 1.3.1
2019-11-25 06:41:08 +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
946c711e90
update documentation
bump patch version
2019-08-15 20:48:12 +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
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
f2ccce9d0e
rewrite node-fetch-cookies for flumm-fetch 2019-07-22 22:42:38 +02:00
ef39af34a9
update readme
version bump
2019-07-22 13:57:47 +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
730ffaf03c
small edit in readme 2019-01-14 04:48:42 +01:00
jkhsjdhjs
901198d8cb
add short readme 2019-01-14 04:46:38 +01:00