fetch-cookie
Advanced tools
Changelog
[3.0.1] - 2024-02-24
Changelog
[3.0.0] - 2024-02-21
FetchCookieImpl
interface. ([#81])module.exports = fetchCookie
style,
instead use more standard and future-proof exports.default = fetchCookie
.
When using CJS, you now need to const fetchCookie = require('fetch-cookie').default
instead of const fetchCookie = require('fetch-cookie')
previously.Changelog
[2.2.0] - 2024-02-01
CookieJar
interface. ([#81])Changelog
[2.1.0] - 2022-07-12
package.json
to be compatible with bundlers. ([#72])Changelog
[2.0.5] - 2022-05-26
exports
default
in package.json
. ([#72])Changelog
[2.0.4] - 2022-05-25
Changelog
[2.0.3] - 2022-03-16
Changelog
[2.0.2] - 2022-03-15
exports
object in package.json
, falling back on main
and module
fields. [#69]Changelog
[2.0.1] - 2022-03-03
import fetchCookie = require('fetch-cookie')
but the type will be wrong (it's a function, not an object with a
default
property as TypeScript assumes).Changelog
[2.0.0] - 2022-02-17
require('fetch-cookie/node-fetch')
)
was removed. Just require('node-fetch')
and you're good to go with
redirects!