@travetto/model-query 4.1.2 → 4.1.4

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-query",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
4
4
  "description": "Datastore abstraction for advanced query support.",
5
5
  "keywords": [
6
6
  "datastore",
@@ -27,12 +27,12 @@
27
27
  "directory": "module/model-query"
28
28
  },
29
29
  "dependencies": {
30
- "@travetto/di": "^4.1.0",
31
- "@travetto/model": "^4.1.2",
32
- "@travetto/schema": "^4.1.0"
30
+ "@travetto/di": "^4.1.1",
31
+ "@travetto/model": "^4.1.3",
32
+ "@travetto/schema": "^4.1.1"
33
33
  },
34
34
  "peerDependencies": {
35
- "@travetto/test": "^4.1.0"
35
+ "@travetto/test": "^4.1.1"
36
36
  },
37
37
  "peerDependenciesMeta": {
38
38
  "@travetto/test": {
@@ -63,8 +63,8 @@ export abstract class ModelQueryCrudSuite extends BaseModelSuite<ModelQueryCrudS
63
63
  const promises = todo1v.map(x => svc.updateOneWithQuery(Todo, x, { where: { version: todo1.version } }));
64
64
 
65
65
  const results = await Promise.allSettled(promises);
66
- const rejected = results.filter((x): x is PromiseRejectedResult => x.status === 'rejected');
67
- const fulfilled = results.filter((x): x is PromiseFulfilledResult<Todo> => x.status === 'fulfilled');
66
+ const rejected = results.filter(x => x.status === 'rejected');
67
+ const fulfilled = results.filter(x => x.status === 'fulfilled');
68
68
 
69
69
  for (const el of rejected) {
70
70
  assert(el.reason instanceof NotFoundError);