@travetto/model-mongo 4.1.0 → 4.1.3

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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 ArcSine Technologies
3
+ Copyright (c) 2020 ArcSine Technologies
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/model-mongo",
3
- "version": "4.1.0",
3
+ "version": "4.1.3",
4
4
  "description": "Mongo backing for the travetto model module.",
5
5
  "keywords": [
6
6
  "mongo",
@@ -25,13 +25,13 @@
25
25
  "directory": "module/model-mongo"
26
26
  },
27
27
  "dependencies": {
28
- "@travetto/config": "^4.1.0",
29
- "@travetto/model": "^4.1.0",
30
- "@travetto/model-query": "^4.1.0",
31
- "mongodb": "^6.6.2"
28
+ "@travetto/config": "^4.1.1",
29
+ "@travetto/model": "^4.1.3",
30
+ "@travetto/model-query": "^4.1.3",
31
+ "mongodb": "^6.7.0"
32
32
  },
33
33
  "peerDependencies": {
34
- "@travetto/command": "^4.1.0"
34
+ "@travetto/command": "^4.1.1"
35
35
  },
36
36
  "peerDependenciesMeta": {
37
37
  "@travetto/command": {
package/src/service.ts CHANGED
@@ -232,7 +232,7 @@ export class MongoModelService implements
232
232
  await SchemaValidator.validate(cls, item, view);
233
233
  }
234
234
 
235
- item = await ModelCrudUtil.prePersist(cls, item);
235
+ item = await ModelCrudUtil.prePersist(cls, item, 'partial');
236
236
 
237
237
  let final: Record<string, unknown> = item;
238
238