readme: add missing accent grave
bump patch version to 1.3.2
This commit is contained in:
parent
53f6964bee
commit
c02cf8b539
|
@ -148,7 +148,7 @@ Returns whether the cookie is valid for a request to `url`.
|
|||
This change has been introduced to simplify the usage of this library, since `rw` is used for `flags` in most cases anyways.
|
||||
- `CookieJar.addFromFile(file)` has been renamed to the async function `async CookieJar.load([file = this.file])`, which uses the fsPromises API for non-blocking cookie loading.
|
||||
The default value for `file` is the file passed to the constructor.
|
||||
- `CookieJar.save(file)` was moved to `async CookieJar.save([file = this.file]) now also uses the fsPromises API.
|
||||
- `CookieJar.save(file)` was moved to `async CookieJar.save([file = this.file])` now also uses the fsPromises API.
|
||||
- `new CookieJar()` now doesn't load cookies from the specified file anymore. To do so, call `await CookieJar.load()` after creating the CookieJar.
|
||||
**NOTE: `CookieJar.load()` will throw an error if the cookie jar doesn't exist or doesn't contain valid JSON!**
|
||||
|
||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "node-fetch-cookies",
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "node-fetch-cookies",
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.2",
|
||||
"description": "node-fetch wrapper that adds support for cookie-jars",
|
||||
"main": "src/index.mjs",
|
||||
"engines": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user