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

@travetto/cache

Package Overview
Dependencies
Maintainers
1
Versions
330
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/cache - npm Package Compare versions

Comparing version 4.1.0 to 4.1.2

4

package.json
{
"name": "@travetto/cache",
"version": "4.1.0",
"version": "4.1.2",
"description": "Caching functionality with decorators for declarative use.",

@@ -29,3 +29,3 @@ "keywords": [

"@travetto/di": "^4.1.0",
"@travetto/model": "^4.1.0"
"@travetto/model": "^4.1.2"
},

@@ -32,0 +32,0 @@ "peerDependencies": {

@@ -44,3 +44,3 @@ import { ExpiresAt, Index, Model, ModelExpirySupport, NotFoundError } from '@travetto/model';

async postConstruct(): Promise<void> {
if (isStorageSupported(this.#modelService) && Env.dynamic) {
if (isStorageSupported(this.#modelService) && (Env.dynamic || this.#modelService.config?.autoCreate)) {
await this.#modelService.createModel?.(CacheRecord);

@@ -47,0 +47,0 @@ }

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