Skip to content

Conversation

@webdeveric
Copy link
Owner

  • Updated dependencies
  • Added randomInt()
  • Added getRandomItem()

@webdeveric webdeveric requested a review from Copilot June 2, 2025 00:54
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 updates project dependencies and introduces new utility functions, randomInt() and getRandomItem(), to provide additional random operations.

  • Added tests for randomInt() and getRandomItem()
  • Updated counter() tests to verify generator behavior
  • Expanded module exports in the index file and updated dependency versions in package.json

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/randomInt.test.ts New tests for randomInt(), including edge cases
test/getRandomItem.test.ts New tests to verify getRandomItem() functionality
test/counter.test.ts Additional tests ensuring proper generator behavior
src/randomInt.ts Implementation of randomInt() with overload support
src/getRandomItem.ts Implementation of getRandomItem() with overloads
src/counter.ts Updated generator typedef and return behavior
src/index.ts Updated exports to include new modules
package.json Dependency version bumps and minor package updates

@webdeveric webdeveric merged commit 68091a2 into master Jun 2, 2025
4 checks passed
@webdeveric webdeveric deleted the dev branch June 2, 2025 01:00
@github-actions
Copy link

github-actions bot commented Jun 2, 2025

🎉 This PR is included in version 0.60.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants