dependabot[bot]
02a7e2ad2d
Bump lodash from 4.17.15 to 4.17.21
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 17:57:28 +00:00
da938955f5
index: shorten code
2020-06-17 15:35:44 +02: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
41f1671139
release 1.4.0
2020-06-17 15:09:52 +02:00
c4b04ed3dc
add eslint + prettier
...
reformat code with prettier
2020-06-17 15:04:32 +02:00
jkhsjdhjs
120ce5c6c6
Merge pull request #6 from Farkal/master
...
Transmit cookies on redirect
2020-06-17 13:41:49 +02:00
Etienne Prothon
ab5ee770b8
set option if not defined
2020-06-16 15:02:27 +02:00
Etienne Prothon
648f12a1eb
fix typo and improve as asked
2020-06-16 00:23:55 +02:00
Etienne Prothon
389d5fd426
return the last result
2020-06-15 14:48:22 +02:00
Etienne Prothon
4406b16455
transmit cookies on redirect
2020-06-15 14:18:58 +02:00
d66adf6d4e
release 1.3.6
2020-05-31 19:04:20 +02:00
aa58ddf1ab
travis: auto deploy on tagged commit
2020-05-31 18:48:45 +02:00
jkhsjdhjs
7d3393d9e5
Merge pull request #5 from sliterok/patch-1
...
Moved definition of CookieJar.cookies because it caused TypeError on constructor
2020-05-31 15:02:00 +02:00
sliterok
63fe16443e
Moved definition of CookieJar.cookies because it caused TypeError on constructor
...
Creating new CookieJar instance while passing array of Cookies as third argument causes typeError
`new CookieJar('', 'r', cookies)`
```(node:29588) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'get' of undefined
at CookieJar.addCookie (\node_modules\node-fetch-cookies\src\cookie-jar.mjs:44:26)
at \node_modules\node-fetch-cookies\src\cookie-jar.mjs:15:44
at CoreMongooseArray.forEach (<anonymous>)
at new CookieJar (\node_modules\node-fetch-cookies\src\cookie-jar.mjs:15:21)```
2020-05-29 19:26:47 +05:00
1da2b97182
update package-lock.json
2020-03-01 03:12:15 +01:00
4447c6858a
merge node-fetch-cookies
2020-03-01 03:08:45 +01:00
a691a46ffb
travis: test on latest, lts and 11.14.0 (the minimum for this package)
2020-03-01 03:06:51 +01:00
153d268cc7
merge node-fetch-cookies 1.3.5
2020-02-14 10:09:40 +01:00
ba2f52ae08
fix TypeError when passing a CookieJar without the "r" flag to fetch
...
bump patch version to 1.3.5
2020-02-14 10:03:30 +01:00
Flummi
b8b48b389d
update flumm-fetch to 1.0.1
2020-02-13 14:55:13 +01: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
836a748d9e
test: change boolean check
2019-12-02 16:00:12 +01:00
45c90bd277
Merge ../node-fetch-cookies
2019-11-29 03:47:42 +01:00
4cb934a773
add tests for Cookie.fromObject() and Cookie.serialize()
2019-11-29 03:47:24 +01:00
20c2a996c3
fix infinite recursion
2019-11-29 02:40:09 +01:00
4d45de85d0
add package-lock.json
2019-11-29 01:55:47 +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
788475a1ea
travis: use nodejs 13
...
previous versions require the --experimental-modules flag
2019-11-26 04:34:39 +01:00
01af8846c0
add travis ci for tests
2019-11-26 04:31:18 +01:00
624219ad08
add a few tests for cookie.mjs + errors.mjs
2019-11-26 04:16:16 +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
200d3b0a7c
readme: breaking api changes are relevant for 1.3.x or above
2019-11-25 16:41: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
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
Flummi
671fc3c746
gitfap -> github
2019-11-25 04:02:17 +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