raindigi / GraphqlType-API-Registration

Graphql Tutorial Example with typeORM for building a scalable Back-End API and caches management
MIT License
1 stars 1 forks source link

[Snyk] Security upgrade pg from 7.8.0 to 8.4.0 #182

Open saurabharch opened 1 year ago

saurabharch commented 1 year ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - package.json - package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **658/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-SEMVER-3247795](https://snyk.io/vuln/SNYK-JS-SEMVER-3247795) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: pg The new version differs by 250 commits.
  • 7ffe68e Publish
  • 125a268 Update changelog
  • da2bb85 Bump node-fetch from 2.6.0 to 2.6.1
  • 7649890 Update SPONSORS.md
  • c5445f0 Fix metadata for pg-connection-string
  • a02dfac Replace semver with optional peer dependencies
  • 5825843 Public export of DatabaseError
  • e421167 Add ssl=true into the test
  • 9cbea21 Solve issues caused by config.ssl = true
  • 6be3b90 Add support for ?sslmode connection string param
  • f0fc470 Update README.md (#2330)
  • 95b5daa Publish
  • 1f0d3d5 Add test for pgpass check function scope
  • 0758b76 Fix context (this) in _checkPgPass.
  • acfbafa Publish
  • 07ee1ba Bump version
  • 65156e7 Small readme updates & auto-formatting
  • 61e4b7f Merge pull request #2309 from chris--young/ssl-err
  • f4d123b Prevents bad ssl credentials from causing a crash
  • 316bec3 Merge pull request #2294 from charmander/test-fixes
  • 3edcbb7 Fix most SSL negotiation packet tests being ignored
  • 1b022f8 Remove accidentally duplicated methods
  • b8773ce Merge pull request #2289 from brianc/dependabot/npm_and_yarn/lodash-4.17.19
  • 692e418 Fix documenation typo in README (#2291)
See the full diff
Check the changes in this PR to ensure they won't cause issues with your project. ------------ **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.* For more information: 🧐 [View latest project report](https://app.snyk.io/org/saurabharch/project/01b33ceb-8fff-4724-9771-9cdb26440ad7?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/saurabharch/project/01b33ceb-8fff-4724-9771-9cdb26440ad7?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"2c3e4218-25b2-4546-b74b-e2fd3b047fcd","prPublicId":"2c3e4218-25b2-4546-b74b-e2fd3b047fcd","dependencies":[{"name":"pg","from":"7.8.0","to":"8.4.0"}],"packageManager":"npm","projectPublicId":"01b33ceb-8fff-4724-9771-9cdb26440ad7","projectUrl":"https://app.snyk.io/org/saurabharch/project/01b33ceb-8fff-4724-9771-9cdb26440ad7?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-SEMVER-3247795"],"upgrade":["SNYK-JS-SEMVER-3247795"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[658],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lessons/redos/javascript/?loc=fix-pr)