@travetto/model
Advanced tools
Comparing version 4.1.0 to 4.1.2
{ | ||
"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()); |
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
160167
2965