manasouza / sfin-bills

0 stars 0 forks source link

[Snyk] Security upgrade @google-cloud/firestore from 6.7.0 to 7.0.0 #155

Closed manasouza closed 8 months ago

manasouza commented 9 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 - 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") | **703/1000**
**Why?** Proof of Concept exploit, Recently disclosed, 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) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: @google-cloud/firestore The new version differs by 15 commits.
  • f043d1c chore(main): release 7.0.0 (#1908)
  • eb88276 chore: Fix or suppress eslint warnings introduced with UpdateData. (#1910)
  • da4f8f8 fix: Remove DocumentReference from cursor (#1882)
  • 1f5abb8 chore!: upgrade to Node 14 (#1900)
  • 0afadef feat!: Fix the UpdateData incorrect parameter type issue (#1887)
  • 2e98caa chore(main): release 6.8.0 (#1872)
  • 1d72fca chore: Make compile with NodeJS v20.5.0 (#1906)
  • 8e621d5 fix: Add tests for multiple inequality support (#1878)
  • 81d4423 chore(deps): update actions/checkout action to v4 (#1891)
  • f964634 chore: upgrade protobufjs dependency (#1889)
  • d2b97c4 chore(deps): update dependency jsdoc-region-tag to v3 (#1881)
  • fba4949 chore(deps): update dependency jsdoc-fresh to v3 (#1880)
  • cc622fc Add warning message when passing DcoumentReference in cursor (#1883)
  • ac35b37 feat: publish proto definitions for SUM/AVG in Firestore (#1856)
  • edbc9b1 Chore: Print runtime env for integration tests (#1865)
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/manasouza/project/69fbdedd-1232-4358-918c-9984ce3b5b97?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/manasouza/project/69fbdedd-1232-4358-918c-9984ce3b5b97?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":"0fdd0790-57de-401b-94d5-e4e13ed335b1","prPublicId":"0fdd0790-57de-401b-94d5-e4e13ed335b1","dependencies":[{"name":"@google-cloud/firestore","from":"6.7.0","to":"7.0.0"}],"packageManager":"npm","projectPublicId":"69fbdedd-1232-4358-918c-9984ce3b5b97","projectUrl":"https://app.snyk.io/org/manasouza/project/69fbdedd-1232-4358-918c-9984ce3b5b97?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-INFLIGHT-6095116"],"upgrade":["SNYK-JS-INFLIGHT-6095116"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[703],"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)
manasouza commented 9 months ago

There's a breaking change for node 14: image

Need to upgrade code to node 14 first