@travetto/cache
Advanced tools
Comparing version 5.0.0-rc.10 to 5.0.0-rc.11
{ | ||
"name": "@travetto/cache", | ||
"version": "5.0.0-rc.10", | ||
"version": "5.0.0-rc.11", | ||
"description": "Caching functionality with decorators for declarative use.", | ||
@@ -28,8 +28,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@travetto/di": "^5.0.0-rc.9", | ||
"@travetto/model": "^5.0.0-rc.10" | ||
"@travetto/di": "^5.0.0-rc.10", | ||
"@travetto/model": "^5.0.0-rc.11" | ||
}, | ||
"peerDependencies": { | ||
"@travetto/test": "^5.0.0-rc.9", | ||
"@travetto/transformer": "^5.0.0-rc.6" | ||
"@travetto/test": "^5.0.0-rc.10", | ||
"@travetto/transformer": "^5.0.0-rc.7" | ||
}, | ||
@@ -36,0 +36,0 @@ "peerDependenciesMeta": { |
@@ -29,3 +29,2 @@ <!-- This file was generated by @travetto/doc and should not be modified directly --> | ||
Currently, the following are packages that provide [Expiry](https://github.com/travetto/travetto/tree/main/module/model/src/service/expiry.ts#L11): | ||
* [Data Modeling Support](https://github.com/travetto/travetto/tree/main/module/model#readme "Datastore abstraction for core operations.") - @travetto/model: [FileModelService](https://github.com/travetto/travetto/tree/main/module/model/src/provider/file.ts#L49), [MemoryModelService](https://github.com/travetto/travetto/tree/main/module/model/src/provider/memory.ts#L54) | ||
* [DynamoDB Model Support](https://github.com/travetto/travetto/tree/main/module/model-dynamodb#readme "DynamoDB backing for the travetto model module.") - @travetto/model-dynamodb | ||
@@ -39,2 +38,4 @@ * [Elasticsearch Model Source](https://github.com/travetto/travetto/tree/main/module/model-elasticsearch#readme "Elasticsearch backing for the travetto model module, with real-time modeling support for Elasticsearch mappings.") - @travetto/model-elasticsearch | ||
* [SQLite Model Service](https://github.com/travetto/travetto/tree/main/module/model-sqlite#readme "SQLite backing for the travetto model module, with real-time modeling support for SQL schemas.") - @travetto/model-sqlite | ||
* [Memory Model Support](https://github.com/travetto/travetto/tree/main/module/model-memory#readme "Memory backing for the travetto model module.") - @travetto/model-memory | ||
* [File Model Support](https://github.com/travetto/travetto/tree/main/module/model-file#readme "File system backing for the travetto model module.") - @travetto/model-file | ||
@@ -50,3 +51,3 @@ ## Decorators | ||
```typescript | ||
import { MemoryModelService } from '@travetto/model'; | ||
import { MemoryModelService } from '@travetto/model-memory'; | ||
import { Cache, CacheService } from '@travetto/cache'; | ||
@@ -92,3 +93,3 @@ | ||
```typescript | ||
import { MemoryModelService } from '@travetto/model'; | ||
import { MemoryModelService } from '@travetto/model-memory'; | ||
import { Cache, EvictCache, CacheService } from '@travetto/cache'; | ||
@@ -130,3 +131,4 @@ | ||
import { InjectableFactory } from '@travetto/di'; | ||
import { MemoryModelService, ModelExpirySupport } from '@travetto/model'; | ||
import { ModelExpirySupport } from '@travetto/model'; | ||
import { MemoryModelService } from '@travetto/model-memory'; | ||
import { CacheModelⲐ } from '@travetto/cache'; | ||
@@ -133,0 +135,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Util } from '@travetto/runtime'; | ||
import { BinaryUtil } from '@travetto/runtime'; | ||
@@ -38,4 +38,4 @@ import { CoreCacheConfig } from './types'; | ||
const key = `${config.keySpace!}_${this.toSafeJSON(keyParams)}`; | ||
return Util.hash(key, 32); | ||
return BinaryUtil.hash(key, 32); | ||
} | ||
} |
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
31051
142
Updated@travetto/di@^5.0.0-rc.10
Updated@travetto/model@^5.0.0-rc.11