Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tusbar/cache-control

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tusbar/cache-control - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

9

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc