Skip to content

feat: connect number helpers from @poppinss/utils - #5147

Open
deformator852 wants to merge 1 commit into
adonisjs:7.xfrom
deformator852:feat/connect-number-helpers
Open

feat: connect number helpers from @poppinss/utils#5147
deformator852 wants to merge 1 commit into
adonisjs:7.xfrom
deformator852:feat/connect-number-helpers

Conversation

@deformator852

Copy link
Copy Markdown

❓ Type of change

  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Re-exports number helpers from @poppinss/utils as @adonisjs/core/helpers/number.

Methods: clamp, between, toFinite, parse.

The helpers are also registered as the Edge global number.

Bumps @poppinss/utils to ^7.1.0 so the /number export is available.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

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.

1 participant