discordjs / builders

A collection of builders that you can use when creating your bot.
Apache License 2.0
97 stars 37 forks source link

fix: use zod instead of ow for max/min option validation #66

Closed suneettipirneni closed 2 years ago

suneettipirneni commented 2 years ago

Please describe the changes this PR makes and why it should be merged:

Uses zod instead of ow for validation on the min max options.

Status and versioning classification:

codecov-commenter commented 2 years ago

Codecov Report

Merging #66 (bab7d31) into main (0263f00) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #66   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        22    +1     
  Lines          276       291   +15     
  Branches        37        37           
=========================================
+ Hits           276       291   +15     
Impacted Files Coverage Δ
...ns/slashCommands/mixins/CommandNumberOptionBase.ts 100.00% <100.00%> (ø)
src/interactions/slashCommands/options/integer.ts 100.00% <100.00%> (ø)
src/interactions/slashCommands/options/number.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2e1e860...bab7d31. Read the comment docs.