@twin.org/entity-storage-connector-mongodb 0.0.2-next.7 → 0.0.2-next.8

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.
@@ -221,6 +221,8 @@ class MongoDbEntityStorageConnector {
221
221
  const cursorValue = cursor ? Number(cursor) : 0;
222
222
  const collection = await this.getCollection();
223
223
  const entities = await collection
224
+ // False positive, this is not an array find call
225
+ // eslint-disable-next-line unicorn/no-array-callback-reference
224
226
  ?.find(filter, { projection })
225
227
  .sort(sort)
226
228
  .skip(cursorValue)
@@ -219,6 +219,8 @@ class MongoDbEntityStorageConnector {
219
219
  const cursorValue = cursor ? Number(cursor) : 0;
220
220
  const collection = await this.getCollection();
221
221
  const entities = await collection
222
+ // False positive, this is not an array find call
223
+ // eslint-disable-next-line unicorn/no-array-callback-reference
222
224
  ?.find(filter, { projection })
223
225
  .sort(sort)
224
226
  .skip(cursorValue)
package/docs/changelog.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @twin.org/entity-storage-connector-mongodb - Changelog
2
2
 
3
+ ## [0.0.2-next.8](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-mongodb-v0.0.2-next.7...entity-storage-connector-mongodb-v0.0.2-next.8) (2025-08-29)
4
+
5
+
6
+ ### Features
7
+
8
+ * eslint migration to flat config ([f033b64](https://github.com/twinfoundation/entity-storage/commit/f033b64984c0e6a8129d929c9dd816dcc1b8dab0))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/entity-storage-models bumped from 0.0.2-next.7 to 0.0.2-next.8
16
+ * devDependencies
17
+ * @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.7 to 0.0.2-next.8
18
+
3
19
  ## [0.0.2-next.7](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-mongodb-v0.0.2-next.6...entity-storage-connector-mongodb-v0.0.2-next.7) (2025-08-20)
4
20
 
5
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/entity-storage-connector-mongodb",
3
- "version": "0.0.2-next.7",
3
+ "version": "0.0.2-next.8",
4
4
  "description": "Entity Storage connector implementation using MongoDb storage",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,10 +16,10 @@
16
16
  "dependencies": {
17
17
  "@twin.org/core": "next",
18
18
  "@twin.org/entity": "next",
19
- "@twin.org/entity-storage-models": "0.0.2-next.7",
19
+ "@twin.org/entity-storage-models": "0.0.2-next.8",
20
20
  "@twin.org/logging-models": "next",
21
21
  "@twin.org/nameof": "next",
22
- "mongodb": "6.18.0"
22
+ "mongodb": "6.19.0"
23
23
  },
24
24
  "main": "./dist/cjs/index.cjs",
25
25
  "module": "./dist/esm/index.mjs",