@naturalcycles/firestore-lib 2.8.0 → 2.8.1

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.
@@ -33,7 +33,7 @@ export class FirestoreStreamReadable extends Readable {
33
33
  // }
34
34
  this.originalLimit = dbQuery._limitValue;
35
35
  this.table = dbQuery.table;
36
- logger.log(`!! using experimentalCursorStream !! ${this.table}, batchSize: ${this.opt.batchSize}`);
36
+ logger.warn(`!! using experimentalCursorStream !! ${this.table}, batchSize: ${this.opt.batchSize}`);
37
37
  }
38
38
  /**
39
39
  * Counts how many times _read was called.
@@ -116,7 +116,7 @@ export class FirestoreStreamReadable extends Readable {
116
116
  this.push(row);
117
117
  }
118
118
  if (qs.empty || (this.originalLimit && this.rowsRetrieved >= this.originalLimit)) {
119
- this.logger.log(`!!!! DONE! ${this.rowsRetrieved} rowsRetrieved, totalWait: ${_ms(this.totalWait)}`);
119
+ this.logger.warn(`!!!! DONE! ${this.rowsRetrieved} rowsRetrieved, totalWait: ${_ms(this.totalWait)}`);
120
120
  this.push(null);
121
121
  this.done = true;
122
122
  }
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "@types/node": "^24",
13
13
  "dotenv": "^17",
14
14
  "firebase-admin": "^13",
15
- "@naturalcycles/dev-lib": "19.34.2"
15
+ "@naturalcycles/dev-lib": "18.4.2"
16
16
  },
17
17
  "exports": {
18
18
  ".": "./dist/index.js"
@@ -38,7 +38,7 @@
38
38
  "engines": {
39
39
  "node": ">=22.12.0"
40
40
  },
41
- "version": "2.8.0",
41
+ "version": "2.8.1",
42
42
  "description": "Firestore implementation of CommonDB interface",
43
43
  "author": "Natural Cycles Team",
44
44
  "license": "MIT",
@@ -48,7 +48,7 @@ export class FirestoreStreamReadable<T extends ObjectWithId = any>
48
48
  this.originalLimit = dbQuery._limitValue
49
49
  this.table = dbQuery.table
50
50
 
51
- logger.log(
51
+ logger.warn(
52
52
  `!! using experimentalCursorStream !! ${this.table}, batchSize: ${this.opt.batchSize}`,
53
53
  )
54
54
  }
@@ -160,7 +160,7 @@ export class FirestoreStreamReadable<T extends ObjectWithId = any>
160
160
  }
161
161
 
162
162
  if (qs!.empty || (this.originalLimit && this.rowsRetrieved >= this.originalLimit)) {
163
- this.logger.log(
163
+ this.logger.warn(
164
164
  `!!!! DONE! ${this.rowsRetrieved} rowsRetrieved, totalWait: ${_ms(this.totalWait)}`,
165
165
  )
166
166
  this.push(null)