From 74f393b8092c2261fc73a91440d7b6ae81bbc854 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 3 Nov 2024 06:11:54 +0000 Subject: [PATCH] fix: upgrade pg-promise from 11.9.1 to 11.10.0 Snyk has created this PR to upgrade pg-promise from 11.9.1 to 11.10.0. See this package in npm: pg-promise See this project in Snyk: https://app.snyk.io/org/ludeknovy/project/6001874a-311f-46e3-8e8c-e69318c103b2?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 77 ++++++++++++++++++++++++++++++++--------------- package.json | 2 +- 2 files changed, 54 insertions(+), 25 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7442ad4..60ea40f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "multer": "^1.4.5-lts.1", "node-pg-migrate": "^6.2.2", "pg": "^8.12.0", - "pg-promise": "^11.9.1", + "pg-promise": "^11.10.0", "uuid": "^9.0.1", "winston": "^3.14.2", "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz" @@ -3293,9 +3293,9 @@ } }, "node_modules/assert-options": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/assert-options/-/assert-options-0.8.1.tgz", - "integrity": "sha512-5lNGRB5g5i2bGIzb+J1QQE1iKU/WEMVBReFIc5pPDWjcPj23otPL0eI6PB2v7QPi0qU6Mhym5D3y0ZiSIOf3GA==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/assert-options/-/assert-options-0.8.2.tgz", + "integrity": "sha512-XaXoMxY0zuwAb0YuZjxIm8FeWvNq0aWNIbrzHhFjme8Smxw4JlPoyrAKQ6808k5UvQdhvnWqHZCphq5mXd4TDA==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -9556,14 +9556,14 @@ } }, "node_modules/pg": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/pg/-/pg-8.12.0.tgz", - "integrity": "sha512-A+LHUSnwnxrnL/tZ+OLfqR1SxLN3c/pgDztZ47Rpbsd4jUytsTtwQo/TLPRzPJMp/1pbhYVhH9cuSZLAajNfjQ==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/pg/-/pg-8.13.0.tgz", + "integrity": "sha512-34wkUTh3SxTClfoHB3pQ7bIMvw9dpFU1audQQeZG837fmHfHpr14n/AELVDoOYVDW2h5RDWU78tFjkD+erSBsw==", "license": "MIT", "dependencies": { - "pg-connection-string": "^2.6.4", - "pg-pool": "^3.6.2", - "pg-protocol": "^1.6.1", + "pg-connection-string": "^2.7.0", + "pg-pool": "^3.7.0", + "pg-protocol": "^1.7.0", "pg-types": "^2.1.0", "pgpass": "1.x" }, @@ -9589,9 +9589,20 @@ "optional": true }, "node_modules/pg-connection-string": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.6.4.tgz", - "integrity": "sha512-v+Z7W/0EO707aNMaAEfiGnGL9sxxumwLl2fJvCQtMn9Fxsg+lPpPkdcyBSv/KFgpGdYkMfn+EI1Or2EHjpgLCA==" + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.7.0.tgz", + "integrity": "sha512-PI2W9mv53rXJQEOb8xNR8lH7Hr+EKa6oJa38zsK0S/ky2er16ios1wLKhZyxzD7jUReiWokc9WK5nxSnC7W1TA==", + "license": "MIT" + }, + "node_modules/pg-cursor": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/pg-cursor/-/pg-cursor-2.12.1.tgz", + "integrity": "sha512-V13tEaA9Oq1w+V6Q3UBIB/blxJrwbbr35/dY54r/86soBJ7xkP236bXaORUTVXUPt9B6Ql2BQu+uwQiuMfRVgg==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "pg": "^8" + } }, "node_modules/pg-int8": { "version": "1.0.1", @@ -9611,32 +9622,50 @@ } }, "node_modules/pg-pool": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.6.2.tgz", - "integrity": "sha512-Htjbg8BlwXqSBQ9V8Vjtc+vzf/6fVUuak/3/XXKA9oxZprwW3IMDQTGHP+KDmVL7rtd+R1QjbnCFPuTHm3G4hg==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.7.0.tgz", + "integrity": "sha512-ZOBQForurqh4zZWjrgSwwAtzJ7QiRX0ovFkZr2klsen3Nm0aoh33Ls0fzfv3imeH/nw/O27cjdz5kzYJfeGp/g==", + "license": "MIT", "peerDependencies": { "pg": ">=8.0" } }, "node_modules/pg-promise": { - "version": "11.9.1", - "resolved": "https://registry.npmjs.org/pg-promise/-/pg-promise-11.9.1.tgz", - "integrity": "sha512-qvMmyDvWd64X0a25hCuWV40GLMbgeYf4z7ZmzxQqGHtUIlzMtxcMtaBHAMr7XVOL62wFv2ZVKW5pFruD/4ZAOg==", + "version": "11.10.0", + "resolved": "https://registry.npmjs.org/pg-promise/-/pg-promise-11.10.0.tgz", + "integrity": "sha512-Dc4GjtwUaN+hTUmU4bVAy/CXFEFoGdTMdUTh2la/HUmvkwTeNXxiBcaD3E6GMcOnU4YZ/YsWn+SfaYSCycssnQ==", "license": "MIT", "dependencies": { - "assert-options": "0.8.1", - "pg": "8.12.0", + "assert-options": "0.8.2", + "pg": "8.13.0", "pg-minify": "1.6.5", "spex": "3.3.0" }, "engines": { "node": ">=14.0" + }, + "peerDependencies": { + "pg-query-stream": "4.7.0" } }, "node_modules/pg-protocol": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.6.1.tgz", - "integrity": "sha512-jPIlvgoD63hrEuihvIg+tJhoGjUsLPn6poJY9N5CnlPd91c2T18T/9zBtLxZSb1EhYxBRoZJtzScCaWlYLtktg==" + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.7.0.tgz", + "integrity": "sha512-hTK/mE36i8fDDhgDFjy6xNOG+LCorxLG3WO17tku+ij6sVHXh1jQUJ8hYAnRhNla4QVD2H8er/FOjc/+EgC6yQ==", + "license": "MIT" + }, + "node_modules/pg-query-stream": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/pg-query-stream/-/pg-query-stream-4.7.0.tgz", + "integrity": "sha512-aQpK8yfFTvOzvPmhXEzWfkwM24lv2Y3TfFY0HJYwx0YM/2fL4DhqpBhLni2Kd+l9p/XoDEi+HFvEvOCm7oqaLg==", + "license": "MIT", + "peer": true, + "dependencies": { + "pg-cursor": "^2.12.0" + }, + "peerDependencies": { + "pg": "^8" + } }, "node_modules/pg-types": { "version": "2.2.0", diff --git a/package.json b/package.json index d18cc21..a2f25c3 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "multer": "^1.4.5-lts.1", "node-pg-migrate": "^6.2.2", "pg": "^8.12.0", - "pg-promise": "^11.9.1", + "pg-promise": "^11.10.0", "uuid": "^9.0.1", "winston": "^3.14.2", "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz"