hcunit icon indicating copy to clipboard operation
hcunit copied to clipboard

Bump github.com/Masterminds/goutils from 1.1.0 to 1.1.1

Open dependabot[bot] opened this issue 1 year ago • 0 comments

Bumps github.com/Masterminds/goutils from 1.1.0 to 1.1.1.

Release notes

Sourced from github.com/Masterminds/goutils's releases.

Correct the output of the RandomAlpha functions

This release corrects an error in the RandomAlphaNumeric(int) and CryptoRandomAlphaNumeric(int) functions. We have issued a security advisory for this change:

The functions RandomAlphaNumeric(int) and CryptoRandomAlphaNumeric(int) are not as random as they should be. Small values of int in the functions above will return a smaller subset of results than they should. For example, RandomAlphaNumeric(1) will always return a digit in the 0-9 range, while RandomAlphaNumeric(4) will return around ~7 million of the ~13M possible permutations.

See the related Security Advisory

Commits
  • f192353 Merge pull request from GHSA-xg2h-wx96-xgxr
  • c707277 further simplified and cleaned up tests
  • 869801f Remove unnecessary checks on a value that is already definitely an alphanum
  • 864fea7 Merge pull request #28 from misoboy/master
  • 740ce87 added function DefaultString, DefaultIfBlank
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

dependabot[bot] avatar Mar 07 '23 02:03 dependabot[bot]