@travetto/cache
Advanced tools
Comparing version 5.0.0-rc.1 to 5.0.0-rc.2
{ | ||
"name": "@travetto/cache", | ||
"version": "5.0.0-rc.1", | ||
"version": "5.0.0-rc.2", | ||
"description": "Caching functionality with decorators for declarative use.", | ||
@@ -28,8 +28,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@travetto/di": "^5.0.0-rc.1", | ||
"@travetto/model": "^5.0.0-rc.1" | ||
"@travetto/di": "^5.0.0-rc.2", | ||
"@travetto/model": "^5.0.0-rc.2" | ||
}, | ||
"peerDependencies": { | ||
"@travetto/test": "^5.0.0-rc.1", | ||
"@travetto/transformer": "^5.0.0-rc.1" | ||
"@travetto/test": "^5.0.0-rc.2", | ||
"@travetto/transformer": "^5.0.0-rc.2" | ||
}, | ||
@@ -36,0 +36,0 @@ "peerDependenciesMeta": { |
@@ -1,2 +0,2 @@ | ||
import { TimeSpan, TimeUtil } from '@travetto/base'; | ||
import { TimeSpan, TimeUtil } from '@travetto/runtime'; | ||
@@ -3,0 +3,0 @@ import { CacheService } from './service'; |
@@ -1,4 +0,4 @@ | ||
import { AppError } from '@travetto/base'; | ||
import { AppError } from '@travetto/runtime'; | ||
/** Cache Error Class */ | ||
export class CacheError extends AppError { } |
import { ExpiresAt, Index, Model, ModelExpirySupport, NotFoundError } from '@travetto/model'; | ||
import { Text } from '@travetto/schema'; | ||
import { Inject, Injectable } from '@travetto/di'; | ||
import { AppError, Env, TimeUtil } from '@travetto/base'; | ||
import { AppError, Runtime, TimeUtil } from '@travetto/runtime'; | ||
import { isIndexedSupported, isStorageSupported } from '@travetto/model/src/internal/service/common'; | ||
@@ -44,3 +44,3 @@ | ||
async postConstruct(): Promise<void> { | ||
if (isStorageSupported(this.#modelService) && (Env.dynamic || this.#modelService.config?.autoCreate)) { | ||
if (isStorageSupported(this.#modelService) && (Runtime.dynamic || this.#modelService.config?.autoCreate)) { | ||
await this.#modelService.createModel?.(CacheRecord); | ||
@@ -47,0 +47,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { Util } from '@travetto/base'; | ||
import { Util } from '@travetto/runtime'; | ||
@@ -3,0 +3,0 @@ import { CoreCacheConfig } from './types'; |
@@ -10,3 +10,3 @@ import assert from 'node:assert'; | ||
import { isIndexedSupported } from '@travetto/model/src/internal/service/common'; | ||
import { Class } from '@travetto/base'; | ||
import { Class } from '@travetto/runtime'; | ||
import { Schema } from '@travetto/schema'; | ||
@@ -13,0 +13,0 @@ |
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
31343
+ Added@types/node@22.10.0(transitive)
- Removed@types/node@22.10.1(transitive)
Updated@travetto/di@^5.0.0-rc.2
Updated@travetto/model@^5.0.0-rc.2