Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Aug 22, 2023
1 parent 00cd486 commit 8343d4b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pg-promise",
"version": "11.5.3",
"version": "11.5.4",
"description": "PostgreSQL interface for Node.js",
"main": "lib/index.js",
"typings": "typescript/pg-promise.d.ts",
Expand Down Expand Up @@ -42,21 +42,21 @@
},
"dependencies": {
"assert-options": "0.8.1",
"pg": "8.11.2",
"pg": "8.11.3",
"pg-minify": "1.6.3",
"spex": "3.3.0"
},
"devDependencies": {
"@types/node": "20.4.5",
"@types/node": "20.5.2",
"bluebird": "3.7.2",
"coveralls": "3.1.1",
"cspell": "6.31.2",
"eslint": "8.46.0",
"cspell": "7.0.1",
"eslint": "8.47.0",
"istanbul": "0.4.5",
"jasmine-node": "3.0.0",
"jsdoc": "4.0.2",
"JSONStream": "1.3.5",
"pg-query-stream": "4.5.2",
"pg-query-stream": "4.5.3",
"tslint": "6.1.3",
"typescript": "5.1.6"
}
Expand Down
12 changes: 6 additions & 6 deletions test/db.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ describe('Connection', () => {
.catch(reason => {
error = reason;
}), // Terminate connection after a short delay, before the query finishes
promise.delay(1000)
.then(() => db.one('SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE pid = $1', pid))])
promise.delay(1000)
.then(() => db.one('SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE pid = $1', pid))])
.finally(() => {
obj.done(error);
done();
Expand Down Expand Up @@ -1299,7 +1299,7 @@ describe('Transactions', () => {
return promise.all([db.one(`select count(*)
from users
where login = $1`, 'Test'), // 0 is expected;
db.one(`select count(*)
db.one(`select count(*)
from person
where name = $1`, 'Test') // 0 is expected;
]);
Expand Down Expand Up @@ -1507,11 +1507,11 @@ describe('Transactions', () => {
}, reason => {
error = reason;
}), // Terminate the connections during verify, which causes an 'error' event from the pool
promise.delay(500).then(() => {
return db.query(`SELECT pg_terminate_backend(pid)
promise.delay(500).then(() => {
return db.query(`SELECT pg_terminate_backend(pid)
FROM pg_stat_activity
WHERE pid <> pg_backend_pid();`);
})]).then(() => {
})]).then(() => {
done();
}, (err) => {
done(err);
Expand Down

0 comments on commit 8343d4b

Please sign in to comment.