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

@travetto/model

Package Overview
Dependencies
Maintainers
1
Versions
371
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/model - npm Package Compare versions

Comparing version 4.1.0 to 4.1.2

2

package.json
{
"name": "@travetto/model",
"version": "4.1.0",
"version": "4.1.2",
"description": "Datastore abstraction for core operations.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -30,3 +30,3 @@ import { Readable } from 'node:stream';

export class MemoryModelConfig {
autoCreate?: boolean;
autoCreate?: boolean = true;
namespace?: string;

@@ -109,2 +109,5 @@ cullRate?: number | TimeSpan;

if (!index) {
if (!this.#indices[idx.type].has(idxName)) {
this.#indices[idx.type].set(idxName, new Map());
}
if (idx.type === 'sorted') {

@@ -111,0 +114,0 @@ this.#indices[idx.type].get(idxName)!.set(key, index = new Map());

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