@dra2020/baseclient 1.0.152 → 1.0.154

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.
@@ -11,6 +11,8 @@ export declare class DataFlow {
11
11
  usesList: UseItem[];
12
12
  inCompute: boolean;
13
13
  constructor();
14
+ destroy(): void;
15
+ _destroy(): void;
14
16
  dfid(): any;
15
17
  compute(): void;
16
18
  uses(df: IDataFlow, name?: string): void;
@@ -34,6 +34,18 @@ export class DataFlow
34
34
  this.inCompute = false;
35
35
  }
36
36
 
37
+ // override in subclass
38
+ destroy(): void
39
+ {
40
+ this._destroy();
41
+ }
42
+
43
+ _destroy(): void
44
+ {
45
+ // Premise is that the 'id' value may contain significant storage
46
+ this.usesList.forEach(ui => { delete ui.id });
47
+ }
48
+
37
49
  // override in subclass
38
50
  dfid(): any { return null }
39
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dra2020/baseclient",
3
- "version": "1.0.152",
3
+ "version": "1.0.154",
4
4
  "description": "Utility functions for Javascript projects.",
5
5
  "main": "dist/baseclient.js",
6
6
  "types": "./dist/all/all.d.ts",
@@ -33,10 +33,12 @@
33
33
  "@types/node": "20.11.30",
34
34
  "@types/object-hash": "^3.0.6",
35
35
  "source-map-loader": "^5.0.0",
36
- "ts-loader": "^9.5.1",
36
+ "ts-loader": "^9.5.2",
37
37
  "tsify": "^5.0.4",
38
- "typescript": "^5.4.3",
39
- "webpack": "^5.91.0",
38
+ "pbkdf2":"^3.1.3",
39
+ "elliptic": "^6.6.1",
40
+ "typescript": "^5.8.3",
41
+ "webpack": "^5.99.5",
40
42
  "webpack-cli": "^5.1.4"
41
43
  },
42
44
  "dependencies": {