pg-promise 11.12.1 → 11.13.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/lib/utils/index.js +1 -1
- package/package.json +3 -3
package/lib/utils/index.js
CHANGED
|
@@ -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 =
|
|
34
|
+
const env = 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.
|
|
3
|
+
"version": "11.13.0",
|
|
4
4
|
"description": "PostgreSQL interface for Node.js",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "typescript/pg-promise.d.ts",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"assert-options": "0.8.2",
|
|
45
|
-
"pg": "8.14.
|
|
45
|
+
"pg": "8.14.1",
|
|
46
46
|
"pg-minify": "1.7.0",
|
|
47
47
|
"spex": "3.4.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"pg-query-stream": "4.8.
|
|
50
|
+
"pg-query-stream": "4.8.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@eslint/js": "9.22.0",
|