Skip to content

refactor: Bump lru-cache from 10.4.0 to 11.2.6#10302

Merged
mtrezza merged 1 commit intoparse-community:alphafrom
mtrezza:refactor/lru-cache-11.2.6
Mar 24, 2026
Merged

refactor: Bump lru-cache from 10.4.0 to 11.2.6#10302
mtrezza merged 1 commit intoparse-community:alphafrom
mtrezza:refactor/lru-cache-11.2.6

Conversation

@mtrezza
Copy link
Copy Markdown
Member

@mtrezza mtrezza commented Mar 24, 2026

Changes

  • 10.4.1–10.4.3: Engine field adjustments only
  • 11.0.0: Raised Node.js requirement to node: 20 || >=22
  • 11.0.1: Removed implements Map<K,V> from TypeScript types
  • 11.0.2: Documentation fix
  • 11.1.0: Added onInsert callback option
  • 11.2.0: Added perf option for custom time source
  • 11.2.1: Moved esbuild to devDependency
  • 11.2.2: Fixed ignored-abort fetches not updating cache
  • 11.2.3: Fixed timer cleanup for ttlAutopurge; license changed from ISC to BlueOak-1.0.0
  • 11.2.4: Fixed autopurge timer cleanup on eviction and clear()
  • 11.2.5: Fixed background fetch promise preservation
  • 11.2.6: Default export now serves minified version

Closes #10057

Summary by CodeRabbit

  • Chores
    • Updated lru-cache dependency to version 11.2.6.

@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.

@parseplatformorg
Copy link
Copy Markdown
Contributor

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

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

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 24, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 91f4d254-06af-482e-ad5d-a1db5fd6b292

📥 Commits

Reviewing files that changed from the base of the PR and between 9ec6f28 and 49866ce.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

The lru-cache runtime dependency version in package.json was updated from 10.4.0 to 11.2.6, incorporating bug fixes, performance improvements, and new features including a perf option and onInsert method.

Changes

Cohort / File(s) Summary
Dependency Version Update
package.json
Updated lru-cache version from 10.4.0 to 11.2.6, including new features (perf option, onInsert method) and Node.js v20+ requirement.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description provides detailed changelog information about the lru-cache upgrade but does not follow the required template structure with Issue, Approach, and Tasks sections. Reorganize the description to follow the repository template: add explicit Issue section, Approach section explaining the upgrade rationale, and complete the Tasks checklist with applicable items.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: bumping the lru-cache dependency from version 10.4.0 to 11.2.6, which is the primary and only code change in this PR.
Linked Issues check ✅ Passed The PR successfully upgrades lru-cache from 10.4.0 to 11.2.6 as specified in issue #10057, addressing all major version changes and bug fixes listed in the objective requirements.
Out of Scope Changes check ✅ Passed All changes in the PR are directly related to the dependency upgrade objective; only the lru-cache version in package.json was modified with no extraneous changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.53%. Comparing base (9ec6f28) to head (49866ce).
⚠️ Report is 47 commits behind head on alpha.

Additional details and impacted files
@@           Coverage Diff           @@
##            alpha   #10302   +/-   ##
=======================================
  Coverage   92.53%   92.53%           
=======================================
  Files         192      192           
  Lines       16502    16502           
  Branches      227      227           
=======================================
  Hits        15270    15270           
  Misses       1212     1212           
  Partials       20       20           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mtrezza mtrezza merged commit 6fcbb17 into parse-community:alpha Mar 24, 2026
40 of 41 checks passed
@mtrezza mtrezza deleted the refactor/lru-cache-11.2.6 branch March 24, 2026 15:53
@parseplatformorg
Copy link
Copy Markdown
Contributor

🎉 This change has been released in version 9.7.0-alpha.4

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Mar 24, 2026
@parseplatformorg
Copy link
Copy Markdown
Contributor

🎉 This change has been released in version 9.7.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:released Released as stable version state:released-alpha Released as alpha version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants