@squiz/db-lib 1.32.1-alpha.3 → 1.32.1-alpha.31

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,36 +2,36 @@
2
2
  1 info using npm@9.5.0
3
3
  2 info using node@v18.15.0
4
4
  3 timing npm:load:whichnode Completed in 1ms
5
- 4 timing config:load:defaults Completed in 2ms
5
+ 4 timing config:load:defaults Completed in 3ms
6
6
  5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 0ms
7
7
  6 timing config:load:builtin Completed in 0ms
8
- 7 timing config:load:cli Completed in 2ms
8
+ 7 timing config:load:cli Completed in 1ms
9
9
  8 timing config:load:env Completed in 1ms
10
10
  9 info found workspace root at /builds/developer-experience/cmp
11
11
  10 timing config:load:file:/builds/developer-experience/cmp/.npmrc Completed in 0ms
12
- 11 timing config:load:project Completed in 20ms
12
+ 11 timing config:load:project Completed in 21ms
13
13
  12 timing config:load:file:/root/.npmrc Completed in 1ms
14
14
  13 timing config:load:user Completed in 1ms
15
15
  14 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
16
- 15 timing config:load:global Completed in 0ms
16
+ 15 timing config:load:global Completed in 1ms
17
17
  16 timing config:load:setEnvs Completed in 1ms
18
- 17 timing config:load Completed in 28ms
19
- 18 timing npm:load:configload Completed in 28ms
18
+ 17 timing config:load Completed in 31ms
19
+ 18 timing npm:load:configload Completed in 31ms
20
20
  19 timing npm:load:mkdirpcache Completed in 0ms
21
- 20 timing npm:load:mkdirplogs Completed in 0ms
21
+ 20 timing npm:load:mkdirplogs Completed in 1ms
22
22
  21 verbose title npm run compile
23
23
  22 verbose argv "run" "compile" "--"
24
- 23 timing npm:load:setTitle Completed in 2ms
24
+ 23 timing npm:load:setTitle Completed in 1ms
25
25
  24 timing config:load:flatten Completed in 4ms
26
- 25 timing npm:load:display Completed in 5ms
27
- 26 verbose logfile logs-max:10 dir:/builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-04-18T05_11_36_475Z-
28
- 27 verbose logfile /builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-04-18T05_11_36_475Z-debug-0.log
26
+ 25 timing npm:load:display Completed in 6ms
27
+ 26 verbose logfile logs-max:10 dir:/builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-05-04T23_28_50_265Z-
28
+ 27 verbose logfile /builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-05-04T23_28_50_265Z-debug-0.log
29
29
  28 timing npm:load:logFile Completed in 4ms
30
30
  29 timing npm:load:timers Completed in 0ms
31
31
  30 timing npm:load:configScope Completed in 0ms
32
- 31 timing npm:load Completed in 41ms
32
+ 31 timing npm:load Completed in 44ms
33
33
  32 silly logfile done cleaning log files
34
- 33 timing command:run Completed in 2723ms
34
+ 33 timing command:run Completed in 3739ms
35
35
  34 verbose exit 0
36
- 35 timing npm Completed in 2777ms
36
+ 35 timing npm Completed in 3796ms
37
37
  36 info ok
@@ -39,7 +39,7 @@ export declare abstract class AbstractRepository<SHAPE extends object, DATA_CLAS
39
39
  });
40
40
  protected getConnection(): Promise<PoolClient>;
41
41
  create(value: DATA_CLASS, transactionClient?: PoolClient | null): Promise<SHAPE>;
42
- update(where: Partial<SHAPE>, newValue: Partial<SHAPE>, transactionClient?: PoolClient | null): Promise<SHAPE[]>;
42
+ update(where: Partial<SHAPE>, newValue: Exclude<Partial<SHAPE>, Record<string, never>>, transactionClient?: PoolClient | null): Promise<SHAPE[]>;
43
43
  delete(where: Partial<SHAPE>, transactionClient?: PoolClient | null): Promise<number>;
44
44
  protected createWhereStringFromPartialModel(values: Partial<SHAPE>, initialIndex?: number): string;
45
45
  protected executeQueryRaw(query: string, values: any[], transactionClient?: PoolClient | null): Promise<any[]>;