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

@luvio/service-cache

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luvio/service-cache - npm Package Compare versions

Comparing version 5.7.1 to 5.8.0

3

dist/types/v1/cache.d.ts
import { type KeySet } from '@luvio/service-store/v1';
import type { NamedService, ServiceDescriptor } from '@luvio/utils';
import type { Key, NamedStoreService } from '@luvio/service-store/v1';

@@ -69,3 +68,1 @@ import type { TypeStoreEntry } from './type-store';

}
export type NamedCacheService<Name extends string = 'cache'> = NamedService<Name, Cache>;
export type CacheControllerServiceDescriptor = ServiceDescriptor<Cache, 'cache', '1.0'>;

12

dist/types/v1/index.d.ts

@@ -1,3 +0,9 @@

export * from './cache';
export * from './recordable-cache';
export * from './type-store';
import { type Cache } from './cache';
import type { NamedService, ServiceDescriptor } from '@luvio/utils';
import type { StoreService } from '@luvio/service-store/v1';
export { RecordableCache } from './recordable-cache';
export { TypeStore, TypeStoreEntry } from './type-store';
export { Cache, CacheControlMetadata, CacheEntry } from './cache';
export type NamedCacheService<Name extends string = 'cache'> = NamedService<Name, Cache>;
export type CacheServiceDescriptor = ServiceDescriptor<Cache, 'cache', '1.0'>;
export declare function buildServiceDescriptor(store: StoreService): CacheServiceDescriptor;

@@ -90,2 +90,10 @@ /**

export { DefaultCache, RecordableCache };
function buildServiceDescriptor(store) {
return {
type: 'cache',
version: '1.0',
service: new DefaultCache({ store }),
};
}
export { RecordableCache, buildServiceDescriptor };
import { type KeySet } from '@luvio/service-store/v1';
import type { NamedService, ServiceDescriptor } from '@luvio/utils';
import type { Key, NamedStoreService } from '@luvio/service-store/v1';

@@ -69,3 +68,1 @@ import type { TypeStoreEntry } from './type-store';

}
export type NamedCacheService<Name extends string = 'cache'> = NamedService<Name, Cache>;
export type CacheControllerServiceDescriptor = ServiceDescriptor<Cache, 'cache', '1.0'>;

@@ -1,3 +0,9 @@

export * from './cache';
export * from './recordable-cache';
export * from './type-store';
import { type Cache } from './cache';
import type { NamedService, ServiceDescriptor } from '@luvio/utils';
import type { StoreService } from '@luvio/service-store/v1';
export { RecordableCache } from './recordable-cache';
export { TypeStore, TypeStoreEntry } from './type-store';
export { Cache, CacheControlMetadata, CacheEntry } from './cache';
export type NamedCacheService<Name extends string = 'cache'> = NamedService<Name, Cache>;
export type CacheServiceDescriptor = ServiceDescriptor<Cache, 'cache', '1.0'>;
export declare function buildServiceDescriptor(store: StoreService): CacheServiceDescriptor;
{
"name": "@luvio/service-cache",
"version": "5.7.1",
"version": "5.8.0",
"private": false,

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

"dependencies": {
"@luvio/service-store": "^5.7.1",
"@luvio/utils": "^5.7.1"
"@luvio/service-store": "^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