pg-promise 10.15.3 → 10.15.4

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.
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "pg-promise",
3
- "version": "10.15.3",
3
+ "version": "10.15.4",
4
4
  "description": "PostgreSQL interface for Node.js",
5
5
  "main": "lib/index.js",
6
6
  "typings": "typescript/pg-promise.d.ts",
7
7
  "scripts": {
8
- "check-spelling": "cspell --config=.cspell.json \"**/*.{md,ts,js}\" --no-progress",
8
+ "spelling": "cspell --config=.cspell.json \"**/*.{md,ts,js}\" --no-progress",
9
9
  "coverage": "istanbul cover ./node_modules/jasmine-node/bin/jasmine-node test",
10
10
  "doc": "jsdoc -c ./jsdoc/jsdoc.js ./jsdoc/README.md -t ./jsdoc/templates/custom",
11
11
  "lint": "eslint ./lib ./test/*.js ./test/db --fix",
@@ -49,7 +49,7 @@
49
49
  "@types/node": "18.11.9",
50
50
  "bluebird": "3.7.2",
51
51
  "coveralls": "3.1.1",
52
- "cspell": "6.14.3",
52
+ "cspell": "6.15.0",
53
53
  "eslint": "8.28.0",
54
54
  "istanbul": "0.4.5",
55
55
  "jasmine-node": "3.0.0",
@@ -293,15 +293,15 @@ declare namespace pg {
293
293
 
294
294
  interface IClient extends EventEmitter {
295
295
 
296
- query<T>(config: any, values: any[], callback: (err: Error, result: IResult<T>) => void): undefined
296
+ query<T>(config: any, values: any[], callback: (err: Error, result: IResult<T>) => void): void
297
297
 
298
- query<T>(config: any, callback: (err: Error, result: IResult<T>) => void): undefined
298
+ query<T>(config: any, callback: (err: Error, result: IResult<T>) => void): void
299
299
 
300
300
  query<T>(config: any, values: any[]): Promise<IResult<T>>
301
301
 
302
302
  query<T>(config: any): Promise<IResult<T>>
303
303
 
304
- release();
304
+ release(): void
305
305
 
306
306
  connectionParameters: IConnectionParameters
307
307
  database: string