@tusbar/cache-control
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,2 @@ | ||
interface CacheControlValue { | ||
export interface CacheControlValue { | ||
maxAge?: number | null; | ||
@@ -19,3 +19,3 @@ sharedMaxAge?: number | null; | ||
} | ||
declare class CacheControl implements CacheControlValue { | ||
export declare class CacheControl implements CacheControlValue { | ||
maxAge: number | null; | ||
@@ -41,4 +41,3 @@ sharedMaxAge: number | null; | ||
} | ||
declare function parse(header?: string): CacheControl; | ||
declare function format(cc: CacheControlValue): string; | ||
export { CacheControl, parse, format }; | ||
export declare function parse(header?: string): CacheControl; | ||
export declare function format(cc: CacheControlValue): string; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Bertrand Marron <bertrand.marron@gmail.com>", | ||
@@ -8,0 +8,0 @@ "description": "Format and parse HTTP Cache-Control header", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
57411
0
99