Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next release 2.5.0 #657

Merged
merged 3 commits into from
Mar 1, 2024
Merged

Next release 2.5.0 #657

merged 3 commits into from
Mar 1, 2024

Conversation

ignlg
Copy link
Owner

@ignlg ignlg commented Mar 1, 2024

  • Improves the limit property to support negative, Infinity, and NaN values. They will be set as 0 and the heap will not be limited.
  • Adds the setLimit method to set the limit of the heap. It returns NaN if the limit is negative, or NaN. This method is useful to check if the limit was set as expected.
  • Improves tests and documentation.

… enhancing limit setter

🔧 fix(Heap.ts): update method aliases to use JSDoc {@link} notation for better documentation
🚚 chore(Heap.ts): refactor limit setter to handle negative, NaN, and Infinity values
🔍 test(heap-public-methods.test.ts): add tests for limit and setLimit methods in Heap class
… to limit

🚀 chore(package.json): bump version to 2.5.0 for latest changes and improvements
@ignlg ignlg merged commit a3bb403 into master Mar 1, 2024
7 checks passed
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.

None yet

1 participant