Skip to content

[Snyk] Security upgrade @google-cloud/datastore from 2.0.0 to 3.1.0 - #20

Open
philvarner-snyk wants to merge 1 commit into
masterfrom
snyk-fix-5cf0ea2063a4e57b45201899910f96ce
Open

[Snyk] Security upgrade @google-cloud/datastore from 2.0.0 to 3.1.0#20
philvarner-snyk wants to merge 1 commit into
masterfrom
snyk-fix-5cf0ea2063a4e57b45201899910f96ce

Conversation

@philvarner-snyk

Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity HTTP Response Splitting
SNYK-JS-AXIOS-15969258
  186  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-15969258
@philvarner-snyk

Copy link
Copy Markdown
Author

Merge Risk: High

This major version upgrade from 2.0.0 to 3.1.0 introduces a significant breaking change in how the library is imported.

Breaking Change:

  • ES Module Syntax: The v3.0.0 release changed the library's import style to be consistent with ES modules. Code that uses require will likely need to be updated.

Example:
Previously, you might have imported the client like this:
const Datastore = require('@google-cloud/datastore');

Now, you will need to use object destructuring:
const { Datastore } = require('@google-cloud/datastore');

Recommendation:
Developers must update all import statements for @google-cloud/datastore to use the new ES module-consistent syntax to avoid runtime errors.

Source: GitHub CHANGELOG.md

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@philvarner-snyk

philvarner-snyk commented Apr 11, 2026

Copy link
Copy Markdown
Author

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants