fix(core): update
This commit is contained in:
		
							
								
								
									
										32
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										32
									
								
								package.json
									
									
									
									
									
								
							@@ -22,26 +22,26 @@
 | 
			
		||||
  },
 | 
			
		||||
  "homepage": "https://gitlab.com/pushrocks/smartdata#README",
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@pushrocks/lik": "^6.0.2",
 | 
			
		||||
    "@pushrocks/smartdelay": "^3.0.1",
 | 
			
		||||
    "@pushrocks/smartlog": "^3.0.1",
 | 
			
		||||
    "@pushrocks/smartmongo": "^2.0.7",
 | 
			
		||||
    "@pushrocks/smartpromise": "^4.0.2",
 | 
			
		||||
    "@pushrocks/smartrx": "^3.0.2",
 | 
			
		||||
    "@pushrocks/smartstring": "^4.0.2",
 | 
			
		||||
    "@pushrocks/smarttime": "^4.0.1",
 | 
			
		||||
    "@pushrocks/smartunique": "^3.0.3",
 | 
			
		||||
    "@pushrocks/taskbuffer": "^3.0.10",
 | 
			
		||||
    "@push.rocks/lik": "^6.0.2",
 | 
			
		||||
    "@push.rocks/smartdelay": "^3.0.1",
 | 
			
		||||
    "@push.rocks/smartlog": "^3.0.2",
 | 
			
		||||
    "@push.rocks/smartmongo": "^2.0.7",
 | 
			
		||||
    "@push.rocks/smartpromise": "^4.0.2",
 | 
			
		||||
    "@push.rocks/smartrx": "^3.0.2",
 | 
			
		||||
    "@push.rocks/smartstring": "^4.0.7",
 | 
			
		||||
    "@push.rocks/smarttime": "^4.0.1",
 | 
			
		||||
    "@push.rocks/smartunique": "^3.0.3",
 | 
			
		||||
    "@push.rocks/taskbuffer": "^3.0.10",
 | 
			
		||||
    "@tsclass/tsclass": "^4.0.42",
 | 
			
		||||
    "mongodb": "^5.6.0"
 | 
			
		||||
    "mongodb": "^5.7.0"
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@gitzone/tsbuild": "^2.1.66",
 | 
			
		||||
    "@gitzone/tsrun": "^1.2.42",
 | 
			
		||||
    "@gitzone/tstest": "^1.0.74",
 | 
			
		||||
    "@pushrocks/qenv": "^5.0.2",
 | 
			
		||||
    "@pushrocks/tapbundle": "^5.0.8",
 | 
			
		||||
    "@types/node": "^20.3.1",
 | 
			
		||||
    "@gitzone/tsrun": "^1.2.44",
 | 
			
		||||
    "@gitzone/tstest": "^1.0.77",
 | 
			
		||||
    "@push.rocks/qenv": "^5.0.2",
 | 
			
		||||
    "@push.rocks/tapbundle": "^5.0.8",
 | 
			
		||||
    "@types/node": "^20.4.2",
 | 
			
		||||
    "@types/shortid": "0.0.29"
 | 
			
		||||
  },
 | 
			
		||||
  "files": [
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										3071
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										3071
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -1,6 +1,6 @@
 | 
			
		||||
import { tap, expect } from '@pushrocks/tapbundle';
 | 
			
		||||
import { Qenv } from '@pushrocks/qenv';
 | 
			
		||||
import * as smartmongo from '@pushrocks/smartmongo';
 | 
			
		||||
import { tap, expect } from '@push.rocks/tapbundle';
 | 
			
		||||
import { Qenv } from '@push.rocks/qenv';
 | 
			
		||||
import * as smartmongo from '@push.rocks/smartmongo';
 | 
			
		||||
import { smartunique } from '../ts/smartdata.plugins.js';
 | 
			
		||||
 | 
			
		||||
const testQenv = new Qenv(process.cwd(), process.cwd() + '/.nogit/');
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
import { tap, expect } from '@pushrocks/tapbundle';
 | 
			
		||||
import { Qenv } from '@pushrocks/qenv';
 | 
			
		||||
import * as smartmongo from '@pushrocks/smartmongo';
 | 
			
		||||
import { tap, expect } from '@push.rocks/tapbundle';
 | 
			
		||||
import { Qenv } from '@push.rocks/qenv';
 | 
			
		||||
import * as smartmongo from '@push.rocks/smartmongo';
 | 
			
		||||
import { smartunique } from '../ts/smartdata.plugins.js';
 | 
			
		||||
 | 
			
		||||
import * as mongodb from 'mongodb';
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
import { tap, expect } from '@pushrocks/tapbundle';
 | 
			
		||||
import { Qenv } from '@pushrocks/qenv';
 | 
			
		||||
import * as smartmongo from '@pushrocks/smartmongo';
 | 
			
		||||
import { tap, expect } from '@push.rocks/tapbundle';
 | 
			
		||||
import { Qenv } from '@push.rocks/qenv';
 | 
			
		||||
import * as smartmongo from '@push.rocks/smartmongo';
 | 
			
		||||
import { smartunique } from '../ts/smartdata.plugins.js';
 | 
			
		||||
 | 
			
		||||
const testQenv = new Qenv(process.cwd(), process.cwd() + '/.nogit/');
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
import { tap, expect } from '@pushrocks/tapbundle';
 | 
			
		||||
import { Qenv } from '@pushrocks/qenv';
 | 
			
		||||
import * as smartmongo from '@pushrocks/smartmongo';
 | 
			
		||||
import { tap, expect } from '@push.rocks/tapbundle';
 | 
			
		||||
import { Qenv } from '@push.rocks/qenv';
 | 
			
		||||
import * as smartmongo from '@push.rocks/smartmongo';
 | 
			
		||||
import { smartunique } from '../ts/smartdata.plugins.js';
 | 
			
		||||
 | 
			
		||||
const testQenv = new Qenv(process.cwd(), process.cwd() + '/.nogit/');
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 * autocreated commitinfo by @pushrocks/commitinfo
 | 
			
		||||
 */
 | 
			
		||||
export const commitinfo = {
 | 
			
		||||
  name: '@pushrocks/smartdata',
 | 
			
		||||
  version: '5.0.20',
 | 
			
		||||
  name: '@push.rocks/smartdata',
 | 
			
		||||
  version: '5.0.21',
 | 
			
		||||
  description: 'do more with data'
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,4 @@
 | 
			
		||||
import * as plugins from './smartdata.plugins.js';
 | 
			
		||||
import { ObjectMap } from '@pushrocks/lik';
 | 
			
		||||
 | 
			
		||||
import { SmartdataCollection } from './smartdata.classes.collection.js';
 | 
			
		||||
import { EasyStore } from './smartdata.classes.easystore.js';
 | 
			
		||||
@@ -17,7 +16,7 @@ export class SmartdataDb {
 | 
			
		||||
  mongoDb: plugins.mongodb.Db;
 | 
			
		||||
  status: TConnectionStatus;
 | 
			
		||||
  statusConnectedDeferred = plugins.smartpromise.defer();
 | 
			
		||||
  smartdataCollectionMap = new ObjectMap<SmartdataCollection<any>>();
 | 
			
		||||
  smartdataCollectionMap = new plugins.lik.ObjectMap<SmartdataCollection<any>>();
 | 
			
		||||
 | 
			
		||||
  constructor(smartdataOptions: plugins.tsclass.database.IMongoDescriptor) {
 | 
			
		||||
    this.smartdataOptions = smartdataOptions;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,5 @@
 | 
			
		||||
import * as plugins from './smartdata.plugins.js';
 | 
			
		||||
 | 
			
		||||
import { ObjectMap } from '@pushrocks/lik';
 | 
			
		||||
 | 
			
		||||
import { SmartdataDb } from './smartdata.classes.db.js';
 | 
			
		||||
import { SmartdataDbCursor } from './smartdata.classes.cursor.js';
 | 
			
		||||
import { type IManager, SmartdataCollection } from './smartdata.classes.collection.js';
 | 
			
		||||
@@ -241,9 +239,9 @@ export class SmartDataDbDoc<T extends TImplements, TImplements, TManager extends
 | 
			
		||||
   * also store any referenced objects to DB
 | 
			
		||||
   * better for data consistency
 | 
			
		||||
   */
 | 
			
		||||
  public saveDeep(savedMapArg: ObjectMap<SmartDataDbDoc<any, any>> = null) {
 | 
			
		||||
  public saveDeep(savedMapArg: plugins.lik.ObjectMap<SmartDataDbDoc<any, any>> = null) {
 | 
			
		||||
    if (!savedMapArg) {
 | 
			
		||||
      savedMapArg = new ObjectMap<SmartDataDbDoc<any, any>>();
 | 
			
		||||
      savedMapArg = new plugins.lik.ObjectMap<SmartDataDbDoc<any, any>>();
 | 
			
		||||
    }
 | 
			
		||||
    savedMapArg.add(this);
 | 
			
		||||
    this.save();
 | 
			
		||||
 
 | 
			
		||||
@@ -4,16 +4,16 @@ import * as tsclass from '@tsclass/tsclass';
 | 
			
		||||
export { tsclass };
 | 
			
		||||
 | 
			
		||||
// @pushrocks scope
 | 
			
		||||
import * as lik from '@pushrocks/lik';
 | 
			
		||||
import * as smartdelay from '@pushrocks/smartdelay';
 | 
			
		||||
import * as smartlog from '@pushrocks/smartlog';
 | 
			
		||||
import * as smartpromise from '@pushrocks/smartpromise';
 | 
			
		||||
import * as smartq from '@pushrocks/smartpromise';
 | 
			
		||||
import * as smartrx from '@pushrocks/smartrx';
 | 
			
		||||
import * as smartstring from '@pushrocks/smartstring';
 | 
			
		||||
import * as smarttime from '@pushrocks/smarttime';
 | 
			
		||||
import * as smartunique from '@pushrocks/smartunique';
 | 
			
		||||
import * as taskbuffer from '@pushrocks/taskbuffer';
 | 
			
		||||
import * as lik from '@push.rocks/lik';
 | 
			
		||||
import * as smartdelay from '@push.rocks/smartdelay';
 | 
			
		||||
import * as smartlog from '@push.rocks/smartlog';
 | 
			
		||||
import * as smartpromise from '@push.rocks/smartpromise';
 | 
			
		||||
import * as smartq from '@push.rocks/smartpromise';
 | 
			
		||||
import * as smartrx from '@push.rocks/smartrx';
 | 
			
		||||
import * as smartstring from '@push.rocks/smartstring';
 | 
			
		||||
import * as smarttime from '@push.rocks/smarttime';
 | 
			
		||||
import * as smartunique from '@push.rocks/smartunique';
 | 
			
		||||
import * as taskbuffer from '@push.rocks/taskbuffer';
 | 
			
		||||
import * as mongodb from 'mongodb';
 | 
			
		||||
 | 
			
		||||
export {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user