Skip to content

Conversation

@onsails
Copy link
Member

@onsails onsails commented Dec 31, 2025

snyk-top-banner

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

Snyk changed the following file(s):

  • package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-QS-14724253
  710  

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:

🦉 Allocation of Resources Without Limits or Throttling

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-QS-14724253
Copilot AI review requested due to automatic review settings December 31, 2025 09:58
@onsails onsails requested review from a team and ivkhaqq as code owners December 31, 2025 09:58
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the realm dependency from version 11.10.1 to 20.0.0 to address a high-severity security vulnerability (SNYK-JS-QS-14724253: Allocation of Resources Without Limits or Throttling). This is an automated security fix generated by Snyk.

  • Security fix for high-severity vulnerability with a score of 710
  • Major version upgrade spanning from v11 to v20 (9 major versions)
  • Failed yarn.lock update that requires manual intervention

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"react-timer-mixin": "0.13.4",
"readable-stream": "4.4.2",
"realm": "11.10.1",
"realm": "20.0.0",
Copy link

Copilot AI Dec 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a major version upgrade from realm 11.10.1 to 20.0.0, which spans multiple major versions (v11 to v20). Realm typically introduces breaking changes between major versions that may require code changes:

  1. The API for schema definitions, migrations, and database operations may have changed significantly
  2. The current migration logic (schemaVersion: 75, onMigration callback) needs to be verified against the new version's API
  3. Type definitions from 'realm' imports (Results, ObjectChangeCallback, Collection, CollectionChangeSet, etc.) may have changed
  4. The Realm constructor and configuration options may have been updated

Before merging, you should:

  • Review the Realm migration guides from v11 through v20
  • Test all database operations including migrations, CRUD operations, and queries
  • Verify that the existing schema definitions are compatible
  • Update any deprecated API usage
Suggested change
"realm": "20.0.0",
"realm": "11.10.1",

Copilot uses AI. Check for mistakes.
"react-timer-mixin": "0.13.4",
"readable-stream": "4.4.2",
"realm": "11.10.1",
"realm": "20.0.0",
Copy link

Copilot AI Dec 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description indicates that the yarn.lock file failed to update. This must be resolved before merging because:

  1. Without an updated yarn.lock, the dependency resolution is incomplete and may cause installation failures
  2. Other developers pulling this branch will not get the correct version of realm or its transitive dependencies
  3. CI/CD pipelines may fail or install incorrect versions

You need to manually run yarn install to update the yarn.lock file and commit it with this change.

Copilot uses AI. Check for mistakes.
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.

3 participants