Skip to content

Commit e8c27e3

Browse files
Fix documentation typos (#613)
Co-authored-by: Colin Casey <casey.colin@gmail.com>
1 parent 60a74ac commit e8c27e3

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

api/docs/tough-cookie.createcookiejaroptions.allowsecureonlocal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
## CreateCookieJarOptions.allowSecureOnLocal property
66

7-
Flag to indicate if localhost and loopback addresses with an unsecure scheme should store and retrieve `Secure` cookies.
7+
Flag to indicate if localhost and loopback addresses with an insecure scheme should store and retrieve `Secure` cookies.
88

9-
If `true`<!-- -->, localhost, loopback addresses or similarly local addresses are treated as secure contexts and thus will store and retrieve `Secure` cookies even with an unsecure scheme.
9+
If `true`<!-- -->, localhost, loopback addresses or similarly local addresses are treated as secure contexts and thus will store and retrieve `Secure` cookies even with an insecure scheme.
1010

1111
If `false`<!-- -->, only secure schemes (`https` and `wss`<!-- -->) will store and retrieve `Secure` cookies.
1212

api/docs/tough-cookie.createcookiejaroptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ boolean \| undefined
5050

5151
</td><td>
5252

53-
_(Optional)_ Flag to indicate if localhost and loopback addresses with an unsecure scheme should store and retrieve `Secure` cookies.
53+
_(Optional)_ Flag to indicate if localhost and loopback addresses with an insecure scheme should store and retrieve `Secure` cookies.
5454

55-
If `true`<!-- -->, localhost, loopback addresses or similarly local addresses are treated as secure contexts and thus will store and retrieve `Secure` cookies even with an unsecure scheme.
55+
If `true`<!-- -->, localhost, loopback addresses or similarly local addresses are treated as secure contexts and thus will store and retrieve `Secure` cookies even with an insecure scheme.
5656

5757
If `false`<!-- -->, only secure schemes (`https` and `wss`<!-- -->) will store and retrieve `Secure` cookies.
5858

lib/cookie/cookieJar.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ export interface CreateCookieJarOptions {
185185
*/
186186
allowSpecialUseDomain?: boolean | undefined
187187
/**
188-
* Flag to indicate if localhost and loopback addresses with an unsecure scheme should store and retrieve `Secure` cookies.
188+
* Flag to indicate if localhost and loopback addresses with an insecure scheme should store and retrieve `Secure` cookies.
189189
*
190190
* If `true`, localhost, loopback addresses or similarly local addresses are treated as secure contexts
191-
* and thus will store and retrieve `Secure` cookies even with an unsecure scheme.
191+
* and thus will store and retrieve `Secure` cookies even with an insecure scheme.
192192
*
193193
* If `false`, only secure schemes (`https` and `wss`) will store and retrieve `Secure` cookies.
194194
*

0 commit comments

Comments
 (0)