New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@luvio/service-cache-control

Package Overview
Dependencies
Maintainers
0
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luvio/service-cache-control - npm Package Compare versions

Comparing version 5.7.1 to 5.8.0

5

dist/types/v1/cache-control.d.ts

@@ -1,2 +0,2 @@

import { type NamedService, type Result, type ServiceDescriptor } from '@luvio/utils';
import { type Result } from '@luvio/utils';
import type { TypeStore, CacheControlMetadata, NamedCacheService } from '@luvio/service-cache/v1';

@@ -41,4 +41,1 @@ import type { MaxAgeRequestConfig } from './cache-control-strategies/max-age-cache-control-strategy';

}
export type NamedCacheControllerService<Name extends string = 'cacheController'> = NamedService<Name, CacheController>;
export type CacheControllerServiceDescriptor = ServiceDescriptor<CacheController, 'cacheControl', '1.0'>;
export declare function buildCacheControlService(services: NamedCacheService): CacheController;

7

dist/types/v1/index.d.ts

@@ -1,1 +0,6 @@

export * from './cache-control';
import { CacheController } from './cache-control';
import type { ServiceDescriptor, NamedService } from '@luvio/utils';
import type { Cache } from '@luvio/service-cache/v1';
export type NamedCacheControllerService<Name extends string = 'cacheController'> = NamedService<Name, CacheController>;
export type CacheControlServiceDescriptor = ServiceDescriptor<CacheController, 'cacheControl', '1.0'>;
export declare function buildServiceDescriptor(cache: Cache): CacheControlServiceDescriptor;

@@ -147,6 +147,11 @@ /**

}
function buildCacheControlService(services) {
return new CacheController(services);
function buildServiceDescriptor(cache) {
return {
type: 'cacheControl',
version: '1.0',
service: new CacheController({ cache }),
};
}
export { CacheController, buildCacheControlService };
export { buildServiceDescriptor };

@@ -1,2 +0,2 @@

import { type NamedService, type Result, type ServiceDescriptor } from '@luvio/utils';
import { type Result } from '@luvio/utils';
import type { TypeStore, CacheControlMetadata, NamedCacheService } from '@luvio/service-cache/v1';

@@ -41,4 +41,1 @@ import type { MaxAgeRequestConfig } from './cache-control-strategies/max-age-cache-control-strategy';

}
export type NamedCacheControllerService<Name extends string = 'cacheController'> = NamedService<Name, CacheController>;
export type CacheControllerServiceDescriptor = ServiceDescriptor<CacheController, 'cacheControl', '1.0'>;
export declare function buildCacheControlService(services: NamedCacheService): CacheController;

@@ -1,1 +0,6 @@

export * from './cache-control';
import { CacheController } from './cache-control';
import type { ServiceDescriptor, NamedService } from '@luvio/utils';
import type { Cache } from '@luvio/service-cache/v1';
export type NamedCacheControllerService<Name extends string = 'cacheController'> = NamedService<Name, CacheController>;
export type CacheControlServiceDescriptor = ServiceDescriptor<CacheController, 'cacheControl', '1.0'>;
export declare function buildServiceDescriptor(cache: Cache): CacheControlServiceDescriptor;
{
"name": "@luvio/service-cache-control",
"version": "5.7.1",
"version": "5.8.0",
"private": false,

@@ -34,4 +34,4 @@ "description": "OneStore Cache Control Service definition",

"dependencies": {
"@luvio/service-cache": "^5.7.1",
"@luvio/utils": "^5.7.1"
"@luvio/service-cache": "^5.8.0",
"@luvio/utils": "^5.8.0"
},

@@ -38,0 +38,0 @@ "bundlesize": [

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