@travetto/model-memory 7.0.4 → 7.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +7 -7
  2. package/src/service.ts +7 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/model-memory",
3
- "version": "7.0.4",
3
+ "version": "7.0.6",
4
4
  "type": "module",
5
5
  "description": "Memory backing for the travetto model module.",
6
6
  "keywords": [
@@ -26,14 +26,14 @@
26
26
  "directory": "module/model-memory"
27
27
  },
28
28
  "dependencies": {
29
- "@travetto/config": "^7.0.4",
30
- "@travetto/di": "^7.0.4",
31
- "@travetto/model": "^7.0.4",
32
- "@travetto/schema": "^7.0.4"
29
+ "@travetto/config": "^7.0.6",
30
+ "@travetto/di": "^7.0.6",
31
+ "@travetto/model": "^7.0.6",
32
+ "@travetto/schema": "^7.0.6"
33
33
  },
34
34
  "peerDependencies": {
35
- "@travetto/cli": "^7.0.4",
36
- "@travetto/test": "^7.0.4"
35
+ "@travetto/cli": "^7.0.7",
36
+ "@travetto/test": "^7.0.6"
37
37
  },
38
38
  "peerDependenciesMeta": {
39
39
  "@travetto/cli": {
package/src/service.ts CHANGED
@@ -1,13 +1,16 @@
1
1
  import { Readable } from 'node:stream';
2
2
  import { buffer as toBuffer } from 'node:stream/consumers';
3
3
 
4
- import { Class, TimeSpan, DeepPartial, castTo, BlobMeta, ByteRange, BinaryInput, BinaryUtil, JSONUtil } from '@travetto/runtime';
4
+ import {
5
+ type Class, type TimeSpan, type DeepPartial, castTo, type BlobMeta,
6
+ type ByteRange, type BinaryInput, BinaryUtil, JSONUtil
7
+ } from '@travetto/runtime';
5
8
  import { Injectable } from '@travetto/di';
6
9
  import { Config } from '@travetto/config';
7
10
  import {
8
- ModelType, IndexConfig, ModelCrudSupport, ModelExpirySupport, ModelStorageSupport, ModelIndexedSupport,
9
- ModelRegistryIndex, NotFoundError, ExistsError, OptionalId, ModelBlobSupport,
10
- ModelCrudUtil, ModelExpiryUtil, ModelIndexedUtil, ModelStorageUtil, ModelBlobUtil,
11
+ type ModelType, type IndexConfig, type ModelCrudSupport, type ModelExpirySupport, type ModelStorageSupport, type ModelIndexedSupport,
12
+ ModelRegistryIndex, NotFoundError, ExistsError, type OptionalId, type ModelBlobSupport,
13
+ ModelCrudUtil, ModelExpiryUtil, ModelIndexedUtil, ModelStorageUtil, ModelBlobUtil
11
14
  } from '@travetto/model';
12
15
 
13
16
  const ModelBlobNamespace = '__blobs';