chnirt / nestjs-graphql-best-practice

NestJS (Express + TypeORM + GraphQL + MongoDB) codebase containing real world examples (CRUD, auth, advanced patterns, etc).
https://github.com/chnirt/nestjs-graphql-best-practice
MIT License
1.31k stars 249 forks source link

[Snyk] Security upgrade typeorm from 0.2.45 to 0.3.18 #419

Open chnirt opened 11 months ago

chnirt commented 11 months 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 #### 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") | **631/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 6.2 | Missing Release of Resource after Effective Lifetime
[SNYK-JS-INFLIGHT-6095116](https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116) | No | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: typeorm The new version differs by 250 commits.
  • b6ef306 updated glob version
  • b5d2599 build(deps-dev): bump the npm_and_yarn group group with 1 update (#10591)
  • 080528b fix: resolve circular dependency when using Vite (#10273)
  • 338df16 feat: add support for table comment in MySQL (#10017)
  • 15bc887 build: update CircleCI config & repair failing tests (#10590)
  • b5ec088 docs: update Chinese faq.md (#10593)
  • a00b1df feat: implement OR operator (#10086)
  • dd59524 fix: prevent using absolute table path in migrations unless required (#10123)
  • 4329996 docs: update Soft-Delete, Restore-Soft-Delete examples (#10585)
  • 7ecc8f3 docs: updated id to _id (#10584)
  • 8b4df5b fix: added fail callback while opening the database in Cordova (#10566)
  • 173910e fix: should automatically cache if alwaysEnable (#10137)
  • 73ee70b fix: correctly keep query.data from ormOption for commit / rollback subscribers (#10151)
  • e67d704 feat: nullable embedded entities (#10289)
  • 5c28154 feat: BeforeQuery and AfterQuery events (#10234)
  • 0f11739 docs: fix typos (#10243)
  • b188c1e chore: initial setup of ESLint (#10203)
  • 25e6ecd fix: nested transactions issues (#10210)
  • 3cda7ec feat: add isolated where statements (#10213)
  • 149226d fix: backport postgres connection error handling to crdb (#10177)
  • 122b683 fix: mssql datasource testonborrow not affecting anything (#10589)
  • dc1bfed fix: resolve issues on upsert (#10588)
  • a939654 fix: remove dynamic require calls (#10196)
  • f6b87e3 perf: improve SapQueryRunner performance (#10198)
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/chnirt/project/c35eacd1-94ab-4090-be0c-c6d8c7671e02?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/chnirt/project/c35eacd1-94ab-4090-be0c-c6d8c7671e02?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":"4391cb60-b9cb-479f-b12f-4183b7ba6fe4","prPublicId":"4391cb60-b9cb-479f-b12f-4183b7ba6fe4","dependencies":[{"name":"typeorm","from":"0.2.45","to":"0.3.18"}],"packageManager":"npm","projectPublicId":"c35eacd1-94ab-4090-be0c-c6d8c7671e02","projectUrl":"https://app.snyk.io/org/chnirt/project/c35eacd1-94ab-4090-be0c-c6d8c7671e02?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-INFLIGHT-6095116"],"upgrade":["SNYK-JS-INFLIGHT-6095116"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[631],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc=fix-pr)