pg-promise 11.10.2 → 11.12.0

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  pg-promise
2
2
  ==========
3
3
 
4
- [![Build Status](https://github.com/vitaly-t/pg-promise/workflows/ci/badge.svg?branch=master)](https://github.com/vitaly-t/pg-promise/actions?query=workflow%3Aci+branch%3Amaster)
4
+ [![Build Status](https://github.com/vitaly-t/pg-promise/actions/workflows/ci.yml/badge.svg)](https://github.com/vitaly-t/pg-promise/actions/workflows/ci.yml)
5
5
  [![Node Version](https://img.shields.io/badge/nodejs-14%20--%2022-green.svg?logo=node.js&style=flat)](https://nodejs.org)
6
6
  [![Postgres Version](https://img.shields.io/badge/postgresql-10%20--%2016-green.svg?logo=postgresql&style=flat)](https://www.postgresql.org)
7
7
 
package/lib/main.js CHANGED
@@ -36,7 +36,7 @@ let originalClientConnect;
36
36
  * @module pg-promise
37
37
  *
38
38
  * @description
39
- * ## pg-promise v11.10
39
+ * ## pg-promise v11.11
40
40
  * All documentation here is for the latest official release only.
41
41
  *
42
42
  * ### Initialization Options
@@ -31,7 +31,7 @@ function isText(txt) {
31
31
  // Proper configuration is having NODE_ENV = 'development', but this
32
32
  // method only checks for 'dev' being present, and regardless of the case.
33
33
  function isDev() {
34
- const env = global.process.env.NODE_ENV || '';
34
+ const env = global.process.env['NODE_ENV'] || '';
35
35
  return env.toLowerCase().indexOf('dev') !== -1;
36
36
  }
37
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-promise",
3
- "version": "11.10.2",
3
+ "version": "11.12.0",
4
4
  "description": "PostgreSQL interface for Node.js",
5
5
  "main": "lib/index.js",
6
6
  "typings": "typescript/pg-promise.d.ts",
@@ -42,26 +42,26 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "assert-options": "0.8.2",
45
- "pg": "8.13.1",
46
- "pg-minify": "1.6.5",
45
+ "pg": "8.14.0",
46
+ "pg-minify": "1.7.0",
47
47
  "spex": "3.4.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "pg-query-stream": "4.7.1"
50
+ "pg-query-stream": "4.8.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@eslint/js": "9.14.0",
54
- "@types/node": "22.9.0",
53
+ "@eslint/js": "9.22.0",
54
+ "@types/node": "22.13.10",
55
55
  "bluebird": "3.7.2",
56
56
  "coveralls": "3.1.1",
57
- "cspell": "8.16.0",
58
- "eslint": "9.14.0",
59
- "globals": "15.12.0",
57
+ "cspell": "8.17.5",
58
+ "eslint": "9.22.0",
59
+ "globals": "16.0.0",
60
60
  "istanbul": "0.4.5",
61
61
  "jasmine-node": "3.0.0",
62
62
  "jsdoc": "4.0.4",
63
63
  "JSONStream": "1.3.5",
64
64
  "tslint": "6.1.3",
65
- "typescript": "5.6.3"
65
+ "typescript": "5.8.2"
66
66
  }
67
67
  }