Skip to content

fix: Bump parse from 8.6.0 to 8.6.2 - #964

Merged
mtrezza merged 1 commit into
parse-community:masterfrom
mtrezza:fix/parse-8.6.2
Oct 27, 2026
Merged

mtrezza merged 1 commit into
parse-community:masterfrom
mtrezza:fix/parse-8.6.2

Conversation

@mtrezza

@mtrezza mtrezza commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Security

This addresses the two open Dependabot alerts for ws:

The only vulnerable copy was ws 8.20.0 at the lock root, pinned exactly by the direct dependency parse 8.6.0. parse 8.6.2 pins ws 8.21.3, which is outside both vulnerable ranges. After this change the lock contains a single ws copy, 8.21.3.

Runtime Impact

  • The example never imports parse itself. The global Parse used in cloud code and in the tests is the one that parse-server 9.10.7 exposes (require('parse/node'), then global.Parse = Parse).
  • parse-server 9.10.7 and @parse/push-adapter 8.5.5 both depend on parse 8.6.2. Because the root copy was 8.6.0, each of them used its own nested copy (parse 8.6.2 with ws 8.21.3). The vulnerable root copy (parse 8.6.0 with ws 8.20.0) was therefore never loaded at runtime.
  • With the root at 8.6.2, npm deduplicates those nested copies (parse 8.6.2, ws 8.21.3, idb-keyval 6.3.0) into the root. parse-server and the push adapter load the same versions as before, now from one shared copy. The push adapter uses parse/node only for Parse.Error.
  • The ws limits introduced in 8.21.0 (maxBufferedChunks, maxFragments) and the other ws changes listed below are already in effect through parse-server's nested ws 8.21.3 copy, so the LiveQuery server behaves as before.

Changes

parse 8.6.0 → 8.6.2:

ws 8.20.0 → 8.21.3:

  • 8.20.1: Fixed an uninitialized memory disclosure in websocket.close() when a TypedArray is passed as reason (GHSA-58qx-3vcg-4xpx). close() now throws a TypeError if reason is neither a string nor a Uint8Array.
  • 8.21.0: Added the maxBufferedChunks and maxFragments options, and fixed a remote memory exhaustion DoS from a high volume of tiny fragments and data chunks (GHSA-96hv-2xvq-fx4p).
  • 8.21.1: Empty fragments now count toward the limit, and the defaults are lowered to 262144 (maxBufferedChunks) and 16384 (maxFragments).
  • 8.21.2: Test fix only.
  • 8.21.3: The server now rejects permessage-deflate offers whose client_max_window_bits is smaller than its configured clientMaxWindowBits.

Breaking Changes

None

Code Changes Required

None. The upgrade is a drop-in replacement. Only package.json and package-lock.json change, and the lock diff is limited to the parse, ws and idb-keyval entries.

Summary by CodeRabbit

  • Chores
    • Updated the app’s Parse package from version 8.6.0 to 8.6.2. Supporting package versions were also updated, and redundant lockfile entries were removed. No user-facing feature changes are included in this release.

@parse-github-assistant

Copy link
Copy Markdown

🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review.

Tip

  • Keep pull requests small. Large PRs will be rejected. Break complex features into smaller, incremental PRs.
  • Use Test Driven Development. Write failing tests before implementing functionality. Ensure tests pass.
  • Group code into logical blocks. Add a short comment before each block to explain its purpose.
  • We offer conceptual guidance. Coding is up to you. PRs must be merge-ready for human review.
  • Our review focuses on concept, not quality. PRs with code issues will be rejected. Use an AI agent.
  • Human review time is precious. Avoid review ping-pong. Inspect and test your AI-generated code.

Note

Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect.

Caution

Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code.

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 9dcf8a11-3f9d-4eba-8950-418545d0c108
Commits

Reviewing files that changed from the base of the PR and between 2597083 and 682fcaf.

Files selected for processing: 2
  • package-lock.json
  • package.json

Included review availability: This review used your included allowance. Your plan provides up to 5 included reviews per hour; 3 remain after this review.

Walkthrough

The root parse dependency is updated from 8.6.0 to 8.6.2. The lockfile updates the resolved parse, idb-keyval, and ws package records and removes redundant nested records.

Changes: Parse dependency update

Layer / File(s) Summary
Update Parse and resolved dependencies
package.json, package-lock.json
The manifest and lockfile update parse to 8.6.2. The lockfile updates idb-keyval to 6.3.0 and ws to 8.21.3, removes redundant nested records, and adds a nested semver record under the parse-server legacy dependency record.

Priority: Normal

Estimated code review effort: 2 (Simple) | ~8 minutes

Possibly related PRs

  • parse-community/parse-server-example#946: This PR updates parse-server and records nested parse and ws resolutions. The current PR updates the root parse dependency and removes the remaining duplicate resolutions.

Suggested reviewers: semantic-release-bot

Merge Risk: Minimal · up to 682fc

The dependency update is internally consistent and ready to merge.

Pre-merge checks: Passed 6
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title begins with the required prefix "fix:" and the first letter after the prefix is capitalized ("Bump"). It accurately describes the main change: the root parse dependency is bumped from 8.6.0 …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Security Check Passed PASS. The pull request changes only package.json and package-lock.json. It upgrades parse from 8.6.0 to 8.6.2 and changes every locked ws entry from 8.20.0 to 8.21.3, with no remaining vulnera…
Engage In Review Feedback Passed PASS: The supplied review data reports zero actionable findings and no posted CodeRabbit review threads. Therefore, no feedback comment required engagement, implementation, or reviewer retraction.
Full details: Title check

Explanation

The title begins with the required prefix "fix:" and the first letter after the prefix is capitalized ("Bump"). It accurately describes the main change: the root parse dependency is bumped from 8.6.0 to 8.6.2 in package.json and package-lock.json, which also resolves the ws copy to 8.21.3 and addresses the two reported ws Dependabot alerts.

Full details: Security Check

Explanation

PASS. The pull request changes only package.json and package-lock.json. It upgrades parse from 8.6.0 to 8.6.2 and changes every locked ws entry from 8.20.0 to 8.21.3, with no remaining vulnerable ws copy. No application code, scripts, or security-sensitive logic was added or modified.

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@mtrezza
mtrezza merged commit fc4e731 into parse-community:master Oct 27, 2026
4 checks passed
@mtrezza
mtrezza deleted the fix/parse-8.6.2 branch October 27, 2026 17:13
parseplatformorg pushed a commit that referenced this pull request Oct 27, 2026
## [3.1.4](3.1.3...3.1.4) (2026-10-27)

### Bug Fixes

* Bump parse from 8.6.0 to 8.6.2 ([#964](#964)) ([fc4e731](fc4e731))
@parseplatformorg

Copy link
Copy Markdown

🎉 This change has been released in version 3.1.4

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants