secure-cookie
Advanced tools
Comparing version 0.0.4 to 0.0.5
/*! | ||
* secure-cookie v0.0.4 | ||
* secure-cookie v0.0.5 | ||
* (c) Ismail H. Ayaz | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* secure-cookie v0.0.4 | ||
* secure-cookie v0.0.5 | ||
* (c) Ismail H. Ayaz | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
{ | ||
"name": "secure-cookie", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Cookie library/middleware with signing and encryption support", | ||
@@ -42,9 +42,9 @@ "main": "dist/index.js", | ||
"@types/express": "^4.17.13", | ||
"@types/jest": "^27.0.1", | ||
"@types/node": "^16.9.1", | ||
"@types/jest": "^27.0.2", | ||
"@types/node": "^16.9.4", | ||
"@types/prettier": "^2.3.2", | ||
"@types/supertest": "^2.0.11", | ||
"@types/tsscmp": "^1.0.0", | ||
"@typescript-eslint/eslint-plugin": "^4.31.1", | ||
"@typescript-eslint/parser": "^4.31.1", | ||
"@typescript-eslint/eslint-plugin": "^4.31.2", | ||
"@typescript-eslint/parser": "^4.31.2", | ||
"eslint": "^7.32.0", | ||
@@ -55,3 +55,3 @@ "eslint-config-prettier": "^8.3.0", | ||
"husky": "^7.0.2", | ||
"jest": "^27.2.0", | ||
"jest": "^27.2.1", | ||
"koa": "^2.13.1", | ||
@@ -68,3 +68,3 @@ "koa-router": "^10.1.1", | ||
"tslib": "^2.3.1", | ||
"typedoc": "0.22.3", | ||
"typedoc": "0.22.4", | ||
"typedoc-plugin-markdown": "^3.11.0", | ||
@@ -71,0 +71,0 @@ "typescript": "^4.4.3" |
@@ -29,3 +29,3 @@ // eslint-disable-next-line no-control-regex | ||
*/ | ||
secure?: boolean | undefined; | ||
secure?: boolean; | ||
/** | ||
@@ -32,0 +32,0 @@ * a boolean indicating whether the cookie is only to be sent over HTTP(S), and not made available to client JavaScript (`true` by default). |
@@ -28,3 +28,3 @@ import http, {IncomingMessage, ServerResponse} from 'http'; | ||
*/ | ||
secure?: boolean | undefined; | ||
secure?: boolean; | ||
/** | ||
@@ -44,3 +44,3 @@ * If string, provided value will be appended cookie name with dot. For example with given value `mysig` | ||
secure?: CookiesOptions["secure"]; | ||
secure: CookiesOptions["secure"]; | ||
@@ -47,0 +47,0 @@ encrypted: boolean; |
@@ -25,3 +25,3 @@ export interface CookieAttrs { | ||
*/ | ||
secure?: boolean | undefined; | ||
secure?: boolean; | ||
/** | ||
@@ -28,0 +28,0 @@ * a boolean indicating whether the cookie is only to be sent over HTTP(S), and not made available to client JavaScript (`true` by default). |
@@ -26,3 +26,3 @@ /// <reference types="node" /> | ||
*/ | ||
secure?: boolean | undefined; | ||
secure?: boolean; | ||
/** | ||
@@ -39,3 +39,3 @@ * If string, provided value will be appended cookie name with dot. For example with given value `mysig` | ||
export declare class Cookies { | ||
secure?: CookiesOptions["secure"]; | ||
secure: CookiesOptions["secure"]; | ||
encrypted: boolean; | ||
@@ -42,0 +42,0 @@ signed: boolean; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
265062